[FFmpeg-user] converting AV from mpeg_ts to mp4 container error
compuvision.sr at gmail.com
Tue Jan 8 12:33:50 CET 2013
I have h264/aac recording in mpeg_ts container. When I cut out a minute of
based on the filesize at that particular time and taking the sync frame
and want to convert this into an mp4 container I get sometimes the
[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 ( / 0x001B)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
[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
Stream #0:0[0x44]: Audio: aac ( / 0x000F), 48000 Hz,
stereo, s16, 133 kb/s
Stream #0:1[0x45]: Video: h264 ( / 0x001B), 29.97 tbr, 90k
tbn, 180k tbc
Like it is missing information in the 80 seconds clip. The original can be
played my many media players and if I use mediainfo it displays all data on
the file. Why does all other media software "embrace" the file and let
FFmpeg only extract the audio?
The command used:
ffmpeg -i "sample.ts" -vcodec copy -acodec copy -absf aac_adtstoasc
I know that there is a special cut command in FFmpeg to take sub section of
a video file, but the system was build before I obtained that knowledge and
I never encounter problems, until now when working with small samples.
Recordings are made by VLC
More information about the ffmpeg-user