[FFmpeg-user] ffmpeg fails on mp2v codec
phpdev at ehrhardt.nl
Sat Feb 22 23:01:02 CET 2014
Carl Eugen Hoyos in gmane.comp.video.ffmpeg.user (Sat, 22 Feb 2014
20:52:18 +0000 (UTC)):
>Jan Ehrhardt <phpdev <at> ehrhardt.nl> writes:
>> Unknown MOV field order 0x0200
>> [mov,mp4,m4a,3gp,3g2,mj2 <at> 0000000002a284e0] Could
>> not find codec parameters for
>> stream 0 (Video: none (mp2v / 0x7632706D), 720x480,
>> 5388 kb/s): unknown codec
>> Consider increasing the value for the 'analyzeduration'
>> and 'probesize' options
>Please provide the input sample.
I cannot provide the whole video. It is confidential material (with
HIPAA restrictions). I had to move the moov ATOM to the start of the
file and 'dd' it to 4 video frames (all black). That is just enough to
reproduce the problem. The clip is here:
VLC and MEncoder are smart enough to know that this is a video with a
'MPEG-1/2 Video (mp2v)' codec, but FFmpeg isn't. You have to tell FFMpeg
manually by adding '-vcodec mpeg2video' before the '-i' option. But in
environments where FFmpeg is used for more or less automated transcoding
of all kinds of different video formats, this is hardly an option.
FFMpeg reports "Video: none (mp2v / 0x7632706D)". It should not be a
problem to make a patch to translate the mp2v into mpeg2video, but I
should not know how.
More information about the ffmpeg-user