[Libav-user] Capture Camera with Ffmpeg C Code
Hillel Rosensweig
hillelro at yahoo.com
Sun Mar 20 00:01:02 EET 2022
Thanks for the response!
I actually modified transcoding.c, and wrote function 'open_input_source' based on 'open_input_file' to open a device address. (see attachment)
The example works, but stops after a single packet. How can I change the function to capture continuous video stream?
Thanks,
Hillel
On Friday, March 18, 2022, 07:48:48 PM GMT+2, Yurii Monakov <monakov.y at gmail.com> wrote:
Hi, Hillel.
You can start with doc/examples/remuxing.c
Regards,Yurii
ср, 16 марта 2022 г. в 17:56, Hillel Rosensweig via Libav-user <libav-user at ffmpeg.org>:
I have been trying to write a C program which will capture video from my webcam to a file, usinglibav.
I checked the C examples in the ffmpeg git but could not find one which fits this description.
I am sure I am not the first to try to do this - could you refer me to a thread on the list or a code source whichdeals with this issue?
Thank you so much,Hillel_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
libav-user-request at ffmpeg.org with subject "unsubscribe".
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220319/8b4d771d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transcoding.c
Type: application/octet-stream
Size: 29235 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220319/8b4d771d/attachment.obj>
More information about the Libav-user
mailing list