[FFmpeg-user] ffmpeg fails on mp2v codec

Jan Ehrhardt phpdev at ehrhardt.nl
Sat Feb 22 21:48:32 CET 2014


FFmpeg fails on transcoding a mov file with a mp2v video codec.
Error messages:

Unknown MOV field order 0x0200
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003984e0] Could not find codec
parameters for stream 0 (Video: none (mp2v / 0x7632706D), 720x480,
5388 kb/s): unknown codec

Commandline:
ffmpeg -i UEFC4AM.mov -acodec mp3 -vcodec h264 -y test.mp4
Complete output below

The latest Subjunk MEncoder has no problems with this video. It
reports the same errors but continues the transcoding.

Commandline:
mencoder UEFC4AM.mov -oac mp3lame -ovc x264 -o test.mp4
Complete output below

Does anybody have an idea what is going wrong? Can it be fixed
with a command line option?

Jan


FFMpeg output:

C:\>ffmpeg -i UEFC4AM.mov -acodec mp3 -vcodec h264 -y test.mp4
ffmpeg version N-60813-g44b22bb Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb 22 2014 03:16:53 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
  libavutil      52. 65.100 / 52. 65.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  1.103 /  4.  1.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Unknown MOV field order 0x0200
[mov,mp4,m4a,3gp,3g2,mj2 @ 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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'UEFC4AM.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2014-02-12 03:27:28
  Duration: 00:02:03.97, start: 0.000000, bitrate: 5839 kb/s
    Stream #0:0(und): Video: none (mp2v / 0x7632706D), 720x480, 5388 kb/s, SAR 4
0:33 DAR 20:11, 29.96 fps, 29.97 tbr, 90k tbn, 90k tbc (default)
    Metadata:
      creation_time   : 2014-02-12 03:27:28
      handler_name    : Core Media Data Handler
    Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp,
 448 kb/s (default)
    Metadata:
      creation_time   : 2014-02-12 03:27:28
      handler_name    : Core Media Data Handler
[buffer @ 0000000004fe5c60] Unable to parse option value "-1" as pixel format
    Last message repeated 1 times
[buffer @ 0000000004fe5c60] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0000000005035540] Error applying options to the
 filter.
Error opening filters!

MEncoder output:

C:\>mencoder UEFC4AM.mov -oac mp3lame -ovc x264 -o test.mp4
MEncoder SB55 (C) 2000-2014 MPlayer Team
Custom build by SubJunk, http://www.spirton.com


WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0  data: 0x0 - 0x564dc33
libavformat version 55.30.100 (internal)
libavformat file format detected.
Unknown MOV field order 0x0200
[mov,mp4,m4a,3gp,3g2,mj2 @ 0195f9c0]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
[lavf] stream 0: video (unknown), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang und
VIDEO:  [mp2v]  720x480  24bpp  29.970 fps  5388.6 kbps (657.8 kbyte/s)
[V] filefmt:44  fourcc:0x7632706D  size:720x480  fps:29.970  ftime:=0.0334
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.49.101 (internal)
[ac3 @ 0198eb80]Channel layout '5.1(side)' with 6 channels does not match specif
ied number of channels 2: ignoring specified channel layout
AUDIO: 48000 Hz, 2 ch, floatle, 448.0 kbit/14.58% (ratio: 56000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
MP3 audio selected.
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
x264 [info]: using SAR=109/90
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
Pos:   0.0s      2f ( 2%)  0.00fps Trem:   0min   0mb  A-V:0.003 [0:0]
[VD_FFMPEG] DRI failure.
Pos:   1.6s     50f ( 2%)  0.00fps Trem:   0min   0mb  A-V:0.057 [0:231]
Writing header...
ODML: vprp aspect is 16384:9018.
Setting audio delay to 0.072s.
Writing header...
ODML: vprp aspect is 16384:9018.
Setting audio delay to 0.072s.
Pos:   4.0s    120f ( 2%) 69.16fps Trem:   1min  24mb  A-V:0.067 [836:235]

Skipping frame!
Pos: 123.9s   3715f (99%) 51.13fps Trem:   0min  29mb  A-V:0.018 [1760:234]

Skipping frame!
Pos: 123.9s   3716f (99%) 51.14fps Trem:   0min  29mb  A-V:0.018 [1760:234]

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16384:9018.
Setting audio delay to 0.072s.

Video stream: 1767.986 kbit/s  (220998 B/s)  size: 27379576 bytes  123.890 secs
 3716 frames

Audio stream:  234.285 kbit/s  (29285 B/s)  size: 3630240 bytes  123.960 secs
x264 [info]: frame I:15    Avg QP:22.37  size: 47839
x264 [info]: frame P:1917  Avg QP:25.26  size: 11506
x264 [info]: frame B:1781  Avg QP:29.35  size:  2586
x264 [info]: consecutive B-frames:  9.5% 76.1% 10.3%  4.1%
x264 [info]: mb I  I16..4:  6.1% 81.6% 12.4%
x264 [info]: mb P  I16..4:  0.6%  3.6%  0.5%  P16..4: 42.8% 20.3% 13.8%  0.0%  0
.0%    skip:18.5%
x264 [info]: mb B  I16..4:  0.0%  0.1%  0.0%  B16..8: 31.5%  5.4%  1.7%  direct:
 2.1%  skip:59.3%  L0:29.7% L1:53.0% BI:17.2%
x264 [info]: 8x8 transform intra:77.7% inter:72.4%
x264 [info]: coded y,uvDC,uvAC intra: 76.9% 74.7% 32.2% inter: 24.7% 20.5% 1.1%
x264 [info]: i16 v,h,dc,p: 34% 14% 14% 37%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31%  9% 21%  5%  6%  8%  5%  9%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 15% 17%  5%  6%  8%  5%  8%  5%
x264 [info]: i8c dc,h,v,p: 51% 11% 31%  7%
x264 [info]: Weighted P-Frames: Y:13.8% UV:3.9%
x264 [info]: ref P L0: 64.0% 22.4%  9.6%  3.7%  0.4%
x264 [info]: ref B L0: 92.0%  7.7%  0.3%
x264 [info]: ref B L1: 98.6%  1.4%
x264 [info]: kb/s:1767.99



More information about the ffmpeg-user mailing list