-----Original Message-----
From: Carl Eugen Hoyos <[email protected]>
To: FFmpeg user questions <[email protected]>
Sent: Sun, Jan 19, 2020 11:34 am
Subject: Re: [FFmpeg-user] Submitting a Feature Request
> ffmpeg with the command-line interface forces video levels to either 0 - 255
> or 16 - 235
> Ok.
> Could you 1) repeat the usecase for other levels and 2) post the command line
> that produces a file for this use-case but with wrong video levels.
> Carl Eugen
Here is the code that invokes ffmpeg (ffmpeg is invoked from a C language
program).
// Open an input pipe from ffmpeg and an output pipe to a second instance of
ffmpeg
FILE *pipein = popen("ffmpeg -i C0015.MP4 -f image2pipe -vcodec rawvideo
-pix_fmt rgb24 -s 1280x720 -", "r");
FILE *pipeout = popen("ffmpeg -y -f rawvideo -vcodec rawvideo -pix_fmt rgb24 -s
1280x720 -r 59.94 -i - -f mp4 -q:v 5 -vcodec rawvideo -pix_fmt rgb24 -an
output.avi", "w");
Again, this code works perfectly fine, exactly as expected.
I want to add a feature where ffmpeg does not force the levels to 0 - 255 or 16
- 235: out_range=unity.
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".