Question regarding ffmpeg source code
Hi Everybody, I am working on some project involving video streaming using ffmpeg library source codes. Although I searched the web, I could not find a proper answer for lossless encoding with H264. I have two questions: 1- Constant Rate Factor (crf), preset and map are some of the parameters available in the ffmpeg process. However, they are not to be found in the source code available? 2- How can we set these parameters in the source code? Or do you have other suggestion in how to use source code for lossless streaming of multiple videos using MPEG-TS? I would appreciate if you can kindly help me on these. Best Regards, Cihan Topal
Am Mi., 11. Sept. 2019 um 01:12 Uhr schrieb Cihan Topal via ffmpeg-user <ffmpeg-user@ffmpeg.org>:
I am working on some project involving video streaming using ffmpeg library source codes. Although I searched the web, I could not find a proper answer for lossless encoding with H264.
I have two questions: 1- Constant Rate Factor (crf), preset and map are some of the parameters available in the ffmpeg process. However, they are not to be found in the source code available?
I have to guess (you forgot to provide the command line you tested together with the complete, uncut console output) but my guess is that you are using x264 to encode which is not part of the FFmpeg source code but an independent project (that can be used from within FFmpeg). Carl Eugen
Hi Carl, Thank you for your quick reply. I am using the source code to develop my own application. There are command line examples to use with ffmpeg process involving parameters for crf and map options; but in the source codes I couldn't find these attributes in avformat or any other structure. I have to stream three synched video streams with MPEG-TS and one of them has to be lossless. I could stream two lossy videos successfully but I cant add the 3rd lossless one. I am trying huffyuv and rawvideo codecs for the 3rd stream but it ain't working. Thanks, Cihan ________________________________ From: ffmpeg-user <ffmpeg-user-bounces@ffmpeg.org> on behalf of Carl Eugen Hoyos <ceffmpeg@gmail.com> Sent: Wednesday, September 11, 2019 12:16 AM To: FFmpeg user questions <ffmpeg-user@ffmpeg.org> Subject: Re: [FFmpeg-user] Question regarding ffmpeg source code Am Mi., 11. Sept. 2019 um 01:12 Uhr schrieb Cihan Topal via ffmpeg-user <ffmpeg-user@ffmpeg.org>:
I am working on some project involving video streaming using ffmpeg library source codes. Although I searched the web, I could not find a proper answer for lossless encoding with H264.
I have two questions: 1- Constant Rate Factor (crf), preset and map are some of the parameters available in the ffmpeg process. However, they are not to be found in the source code available?
I have to guess (you forgot to provide the command line you tested together with the complete, uncut console output) but my guess is that you are using x264 to encode which is not part of the FFmpeg source code but an independent project (that can be used from within FFmpeg). Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org... To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am Mi., 11. Sept. 2019 um 01:42 Uhr schrieb Cihan Topal via ffmpeg-user <ffmpeg-user@ffmpeg.org>:
Hi Carl,
Thank you for your quick reply. I am using the source code to develop my own application.
Then you may want to ask your question on the right mailing list: http://ffmpeg.org/contact.html#MailingLists This mailing list is for support using the command line utilities. Please find out what top-posting means and avoid it here and on libav-users. [...]
I have to stream three synched video streams with MPEG-TS and one of them has to be lossless. I could stream two lossy videos successfully but I cant add the 3rd lossless one. I am trying huffyuv and rawvideo codecs for the 3rd stream but it ain't working.
You cannot stream huffyuv and rawvideo via mpegts, this is not a limitation of FFmpeg. Carl Eugen
participants (2)
-
Carl Eugen Hoyos -
Cihan Topal