0

I am combining two H264 into one MP4 file using following command,

ffmpeg -r <framerate> -i <input_fifo_1> -r <framerate_2> -i <input_fifo_2> -c copy -t 20 output.mp4

After execution of command, If I play the MP4 file using following command,

ffplay output.mp4 -vst 0     // TO Play Track 1
ffplay output.mp4 -vst 1     // TO Play Track 2

Second Video Track of MP4 have some minor glitch in video.

To figure it out whether FIFO data has issues, I reversed the fifo input in ffmpeg command. But still I am getting minor glitch in Second Video Track only.

Any Pointers will be appreciated.

toxic_boi_8041
  • 1,424
  • 16
  • 26

0 Answers0