[MEncoder-users] Ipod/Iphone...

John Doe jdmls at yahoo.com
Wed May 28 13:21:54 CEST 2008


----- Original Message ----
> From: Christian Ebert <blacktrash at gmx.net>
> I do my iPod encoding with ffmpeg and *have* to pass "-f ipod"
> for the video to be accepted by the ipod -- otherwise it works
> only with iTunes.
> 
> So the corresponding setting for mencoder might be
> "-lavfopts format=ipod".

Yes, it worked for me too with ffmpeg.  But I need mencoder for the extra codecs and the rotations, etc...
I just tried with format=ipod, but the sound still stops after 2-3 seconds.
Also, the video that lasts 30 seconds, stops playing after like 10 seconds...
It plays fine with mplayer; except for some "FAAD: Failed to decode frame: Gain control not yet implemented".
But the 3 error messages at 4, 14 and 20 seconds seems not to correspond to the video problem...

Here's pass1:

MEncoder dev-SVN-r26596-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xb31b70
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x87f75c8]negative ctts, ignoring
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [avc1]  640x480  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x31637661  size:640x480  fps:25.000  ftime:=0.0400
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
** 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=480 h=352]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6
[swscaler @ 0x87f6098]BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x87f6098]using 8-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x87f6098]using 8-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x87f6098]using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x87f6098]640x480 -> 480x352
x264 [info]: using SAR=44/45
x264 [warning]: frame MB size (30x22) > level limit (396)
x264 [warning]: MB rate (19780) > level limit (11880)
x264 [info]: using cpu capabilities: MMX MMX2 SSE SSE2 Cache64
VIDEO CODEC ID: 28
AUDIO CODEC ID: 15002, TAG: 0
Writing header...
....
Flushing video frames.
Writing index...

Video stream:  449.050 kbit/s  (56131 B/s)  size: 1687493 bytes  30.063 secs  755 frames

Audio stream:  114.608 kbit/s  (14326 B/s)  size: 430011 bytes  30.016 secs
x264 [info]: slice I:18    Avg QP:23.75  size: 11931
x264 [info]: slice P:883   Avg QP:24.21  size:  1668
x264 [info]: mb I  I16..4: 31.6%  0.0% 68.4%
x264 [info]: mb P  I16..4:  5.6%  0.0%  2.1%  P16..4: 31.3% 12.8%  1.6%  0.0%  0.0%    skip:46.6%
x264 [info]: final ratefactor: 22.54
x264 [info]: kb/s:449.0

pass2:

MEncoder dev-SVN-r26596-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xb31b70
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x87f75c8]negative ctts, ignoring
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [avc1]  640x480  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x31637661  size:640x480  fps:25.000  ftime:=0.0400
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
** 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=480 h=352]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6
[swscaler @ 0x87f6098]BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x87f6098]using 8-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x87f6098]using 8-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x87f6098]using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x87f6098]640x480 -> 480x352
x264 [info]: using SAR=44/45
x264 [warning]: frame MB size (30x22) > level limit (396)
x264 [warning]: MB rate (19780) > level limit (11880)
x264 [info]: using cpu capabilities: MMX MMX2 SSE SSE2 Cache64
VIDEO CODEC ID: 28
AUDIO CODEC ID: 15002, TAG: 0
Writing header...
....
Flushing video frames.
Writing index...

Video stream:  496.255 kbit/s  (62031 B/s)  size: 1864886 bytes  30.063 secs  755 frames

Audio stream:  114.608 kbit/s  (14326 B/s)  size: 430011 bytes  30.016 secs
x264 [info]: slice I:18    Avg QP:21.68  size: 13709
x264 [info]: slice P:883   Avg QP:23.35  size:  1833
x264 [info]: mb I  I16..4: 21.9%  0.0% 78.1%
x264 [info]: mb P  I16..4:  5.2%  0.0%  2.5%  P16..4: 31.0% 14.0%  1.8%  0.0%  0.0%    skip:45.5%
x264 [info]: kb/s:496.3


      




More information about the MEncoder-users mailing list