I have videos in AVI format which contain MP3 and H.264 encoded videos. I can play them successfully on my local Windows computer with videoplayers tools like VLC
Now I remux (without new encoding) them with the following ffmpeg command to MP4 container : Fmpeg.exe -i test.avi -acodec copy -vcodec copy -map 0 test_out.mp4 I still can play the successfully on my local Windows computer with videoplayers tools like VLC Afterwards I uploaded them to a remote server and launched them in browser. Unfortuntely when I call these videos now in browser then - Firefox v64.0 plays no audio (only video) - Chrome plays audio but video is stuttering. So there is a bug in video remxuing of ffmpeg. During problem investigation I dragged the MP4 video onto the well know Avidemux converter tool and got the following warning prompt: "The video contains B-frames, but prestentation time stamp (PTS) are either missing or monotonically increased. Avidemux can try to reconstruct correct PTS by decoding the entire video. This may take a lot of time. Proceed?" I clicked OK, then saved (un-reencoded the new MP4), uploaded it again...and playing works in both browser (Firefox and Chrome) successfuly. So again: remuxing in ffmpeg has a bug with PTS Is there a way to remux correctly from AVI to MP4 container? Thank you Ben _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".