[MEncoder-users] Current SVN doesn't appear to determine codec in mp4

L. Lee llee040 at sbcglobal.net
Wed Nov 9 01:49:25 CET 2011


On 11/8/11 4:51 AM, "Carl Eugen Hoyos" <cehoyos at ag.or.at> wrote:

> L. Lee <llee040 <at> sbcglobal.net> writes:
> 
>> Current svn (compiled today - 11-6-11) shows this instead:
>> 
>> "VIDEO CODEC ID: 0
>> AUDIO CODEC ID: 0, TAG: 0"
>> 
>> Then the following line appears just before encoding fails:
>> 
>> "[mp4 @ 0x10c41d180]track 0: could not find tag, codec not currently
>> supported in container"
> 
> Command line and complete, uncut output (and sample) missing.
> Is the problem also reproducible with MPlayer?
> 
> Carl Eugen
> 

Thanks, Carl Eugen.

The problem is not reproducible with MPlayer. MEncoder produces an empty
file. Here's a sample of the source video.

http://dl.dropbox.com/u/42718751/friendoranemone.mp4

Here's the command.

-----
mencoder friendoranemone.mp4 -o friendoranemone.iPad.mp4 -vf
filmdint=io=30:24/fast=0/sad_thres=2048,softskip,gradfun,fspp,scale=1280:720
,harddup -of lavf -lavfopts format=ipod -alang en -oac faac -faacopts
br=192:mpeg=4:object=2:raw  -fps 30000/1001 -ofps 24000/1001 -mc 0.1 -ovc
x264 -x264encopts 
crf=28:bitrate=1300:nocabac:level_idc=31:bframes=0:global_header:threads=aut
o:subq=5:frameref=1:partitions=all:trellis=1:chroma_me:qcomp=0.7:qp_step=4:m
e=umh:weightp=0:8x8dct=0:direct_pred=auto
-----

Here's the output.

-----
$ /tmp/execme.command ; exit;
MEncoder SVN-r34332-4.2.1 (C) 2000-2011 MPlayer Team
success: format: 0  data: 0x0 - 0x15c68b3
libavformat file format detected.
[h264 @ 0x10e0a31a0]mmco: unref short failure
[h264 @ 0x10e0a31a0]mmco: unref short failure
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  13541.9 kbps (1653.1 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1920x1080  fps:29.970  ftime:=0.0334
Input fps will be interpreted as 29.970 instead.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
** MUXER_LAVF 
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
****************************************************************************
***
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=1280 h=720]
Opening video filter: [fspp]
Opening video filter: [gradfun]
Opening video filter: [softskip]
Opening video filter: [filmdint=io=30:24/fast=0/sad_thres=2048]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 86
[h264 @ 0x10e0a31a0]mmco: unref short failure
[PP] Using external postprocessing filter, max q = 5.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x10e0966c0]BICUBIC scaler, from yuv420p to yuv420p using MMX2
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
AVX
x264 [info]: profile Constrained Baseline, level 3.1
Pos:   0.0s      1f ( 7%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
[h264 @ 0x10e0a31a0]mmco: unref short failure
Pos:   0.0s      3f ( 7%)  0.00fps Trem:   0min   0mb  A-V:0.017 [0:0]

1 duplicate frame(s)!
Pos:   0.5s     14f ( 7%)  0.00fps Trem:   0min   0mb  A-V:0.039 [0:0]

Skipping frame!
Pos:   0.9s     29f (12%)  0.00fps Trem:   0min   0mb  A-V:0.036 [0:189]

Skipping frame!
Pos:   1.0s     34f (15%)  0.00fps Trem:   0min   0mb  A-V:0.026 [0:191]

1 duplicate frame(s)!
Pos:   1.4s     44f (15%) 37.67fps Trem:   0min   0mb  A-V:0.033 [0:194]

Skipping frame!
Pos:   1.5s     49f (19%) 38.16fps Trem:   0min   0mb  A-V:0.039 [0:194]

1 duplicate frame(s)!
Pos:   1.8s     54f (19%) 36.22fps Trem:   0min   0mb  A-V:0.026 [0:193]

Skipping frame!
Pos:   2.0s     64f (23%) 36.63fps Trem:   0min   0mb  A-V:0.033 [0:191]

1 duplicate frame(s)!
Pos:   2.2s     67f (23%) 36.49fps Trem:   0min   0mb  A-V:0.026 [0:190]
VIDEO CODEC ID: 0
AUDIO CODEC ID: 0, TAG: 0
Writing header...
[ipod @ 0x10e09a960]Codec for stream 0 does not use global headers but
container format requires global headers
[ipod @ 0x10e09a960]Codec for stream 1 does not use global headers but
container format requires global headers
[ipod @ 0x10e09a960]Warning, extension is not .m4a nor .m4v Quicktime/Ipod
might not play the file
[ipod @ 0x10e09a960]track 0: could not find tag, codec not currently
supported in container
/tmp/execme.command: line 9:   869 Floating point exception: 8   mencoder
friendoranemone.mp4 -o friendoranemone.iPad.mp4 -vf
filmdint=io=30:24/fast=0/sad_thres=2048,softskip,gradfun,fspp,scale=1280:720
,harddup -of lavf -lavfopts format=ipod -alang en -oac faac -faacopts
br=192:mpeg=4:object=2:raw -fps 30000/1001 -ofps 24000/1001 -mc 0.1 -ovc
x264 -x264encopts 
crf=28:bitrate=1300:nocabac:level_idc=31:bframes=0:global_header:threads=aut
o:subq=5:frameref=1:partitions=all:trellis=1:chroma_me:qcomp=0.7:qp_step=4:m
e=umh:weightp=0:8x8dct=0:direct_pred=auto
-----

Thanks again.

Laine Lee





More information about the MEncoder-users mailing list