ffmpeg and ASI120MC

any question related to our SDK and driver

Moderators: yang, chad, ray

Post Reply
netzer
Posts: 1
Joined: Mon Dec 09, 2019 12:36 pm

ffmpeg and ASI120MC

Post by netzer » Tue Dec 10, 2019 9:26 am

Hi,

This subject was probably discussed in the past but I still struggle with it.

I would like to used FFMPEG to capture a single frame (either debayered or non debayered) with a predefined exposure setting (e.g., 5 sec).

I tried several variation of:

ffmpeg -f dshow -t 5 -s 1280x960 -pix_fmt rgb8 -i video="ASI120MC Camera (ZWO Design)" -vframes 1 test.tif

but always get unusable results.

Where do I go wrong?

User avatar
chad
Posts: 665
Joined: Thu Feb 09, 2017 4:58 am

Re: ffmpeg and ASI120MC

Post by chad » Thu Dec 12, 2019 3:14 am

Hi,
We are also not familiar with it.
And now we also want to try this, but we are so busy.
So if you have any progress, can you share it with us?
Thanks
Chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China

JamesF
Posts: 90
Joined: Wed Feb 20, 2013 10:27 pm

Re: ffmpeg and ASI120MC

Post by JamesF » Fri Dec 20, 2019 6:19 pm

I imagine ffmpeg has no idea how to capture frames from the camera. Possibly it will only work the way you want when the camera is a V4L2 device.

Is there some specific reason for wanting to do this using ffmpeg? I imagine there are other ways to achieve what you're after that may be easier to get working.

James

User avatar
chad
Posts: 665
Joined: Thu Feb 09, 2017 4:58 am

Re: ffmpeg and ASI120MC

Post by chad » Mon Dec 23, 2019 1:53 am

Hi James,
Now we are also testing the GStreamer. Maybe you can check it.
Thanks
Chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China

Kerisun
Posts: 6
Joined: Tue Sep 17, 2019 10:37 am

Re: ffmpeg and ASI120MC

Post by Kerisun » Mon Dec 23, 2019 10:07 am

I seems to me that it is better to play online games, for example the free racing games https://www.topspeed.com/car-games/raci ... e3558.html I like to play with children

User avatar
chad
Posts: 665
Joined: Thu Feb 09, 2017 4:58 am

Re: ffmpeg and ASI120MC

Post by chad » Wed Dec 25, 2019 2:04 am

Hi Kerisun,
Is there something wrong with your account?
Here is not a good place for advertising。
Thanks
Chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China

Post Reply