Ffmpeg first segment problem.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Ffmpeg first segment problem.

Piotr Kwaśnik
I have big problem with saving h264 stream to mp4 with ffmpeg.

I'm using different options without any results. When I'm stopping ffmpeg
during create of first segment, the output .mp4 files won't play in Windows
Media Player or Opera, but it is playing in VLC and Chrome. Second segment
is playable on every browsers and players. Here is my rule:

ffmpeg -re -fflags discardcorrupt -fflags +genpts -i -strict -2 -r 24 -acodec copy -vcodec
copy -bsf:a aac_adtstoasc -f segment -segment_time 30
-reset_timestamps 1 -avoid_negative_ts make_zero -segment_format mp4
ffmpeg-user mailing list
[hidden email]

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