[FFmpeg-user] Setting Frame Rate For Seconds Video Stream inside Single MP4

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jun 22 00:52:00 EEST 2018


2018-06-20 13:30 GMT+02:00, Axit Dhaneshkumar Soni <axit.soni at vvdntech.in>:
> Hi FFMPEG Team,
>
> I am facing issue while setting frame-rate for seconds video stream(H264)
> inside Single MP4 file.
>
> Concern is, I have two H264 file with different frame-rate. At the time of
> combining that two H264 video stream into Single MP4, I am able to set the
> frame-rate of First H264 video stream. But not able to set frame-rate of
> Seconds H264 video stream.
>
> For Example (Different Attempts that has been done from my side),
>
>    - *ffmpeg -r:v:0 15 -i 15FPS.h264 -r:v:1 30 -i 30FPS.h264 -c:v:0 copy
>    -c:v:1 copy -map 0 -map 1 output.mp4*

Just remove ":v:x"...

Complete, uncut console output missing and complete, uncut console
output of "ffmpeg -i output.mp4" missing (works fine here, although
the initial console output is misleading).

Carl Eugen


More information about the ffmpeg-user mailing list