Piotr Kwaśnik
2018-12-02 13:39:22 UTC
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
http://192.168.11.227:86/main -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
/mnt/sda1/segment_%d_$(date+%d_%m_%Y"_"%H_%M_%S).mp4
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-***@f
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
http://192.168.11.227:86/main -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
/mnt/sda1/segment_%d_$(date+%d_%m_%Y"_"%H_%M_%S).mp4
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-***@f