[FFmpeg-user] converting AV from mpeg_ts to mp4 container error

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 8 13:24:48 CET 2013


Albert Scholtalbers <compuvision.sr <at> gmail.com> writes:

> I have h264/aac recording in mpeg_ts container. When I cut 
> out a minute of material based on the filesize at that 
> particular time and taking the sync frame into account 
> and want to convert this into an mp4 container I get 
> sometimes the following error:
> 
> [h264 @ 000000000030da00] no frame!
> [mpegts @ 00000000003edec0] max_analyze_duration 5000000 reached at 5013333
> [mpegts @ 00000000003edec0] decoding for stream 1 failed
> [mpegts @ 00000000003edec0] Could not find codec parameters for stream 1
> (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size
> Consider increasing the value for the 'analyzeduration' and 'probesize'
> options
> [mpegts @ 00000000003edec0] PES packet size mismatch
>     Last message repeated 1 times
> Input #0, mpegts, from 'sample.ts':
>   Duration: 00:01:20.39, start: 9427.715211, bitrate: 1718 kb/s
>   Program 1
>     Stream #0:0[0x44]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
> stereo, s16, 133 kb/s
>     Stream #0:1[0x45]: Video: h264 ([27][0][0][0] / 0x001B), 29.97 tbr, 90k
> tbn, 180k tbc

Please never post cut console output, always post your command 
line together with the complete, uncut console output 
(at least the first 50 and the last 50 lines).

If you have a sample that can be decoded / remuxed with an 
older version of FFmpeg but not with a newer one, please 
upload, that would be an important bug.

Thank you, Carl Eugen



More information about the ffmpeg-user mailing list