Question regarding ffmpeg source code

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Question regarding ffmpeg source code

FFmpeg-users mailing list
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

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Question regarding ffmpeg source code

Carl Eugen Hoyos-2
Am Mi., 11. Sept. 2019 um 01:12 Uhr schrieb Cihan Topal via
ffmpeg-user <[hidden email]>:

> 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
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Question regarding ffmpeg source code

FFmpeg-users mailing list
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 <[hidden email]> on behalf of Carl Eugen Hoyos <[hidden email]>
Sent: Wednesday, September 11, 2019 12:16 AM
To: FFmpeg user questions <[hidden email]>
Subject: Re: [FFmpeg-user] Question regarding ffmpeg source code

Am Mi., 11. Sept. 2019 um 01:12 Uhr schrieb Cihan Topal via
ffmpeg-user <[hidden email]>:

> 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
[hidden email]
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&amp;data=02%7C01%7Cc.topal%40surrey.ac.uk%7C68cbb80223d44c33950708d736461df2%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C1%7C637037547090391023&amp;sdata=RH%2BrNG%2Bqg%2FYQkrxDCRrwrYH%2B06bonoBU5W09U0btwnA%3D&amp;reserved=0

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Question regarding ffmpeg source code

Carl Eugen Hoyos-2
Am Mi., 11. Sept. 2019 um 01:42 Uhr schrieb Cihan Topal via
ffmpeg-user <[hidden email]>:
>
> 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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".