[Ffmpeg-devel] HEADS UP mpeg4 encoder seems to have recently been broken since 8517

Marc Hoffman mmh
Sat Mar 31 14:25:27 CEST 2007


---
yoda:~/ffmpeg/host mmh$ ~/ffmpeg/host/ffmpeg -f rawvideo -s 352x240 -i ~/vid/sman-0-352x240.eyuv xx-bad.mp4 2>&1 | head -20
FFmpeg version SVN-r8565, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-liba52 --enable-libfaac --enable-x264 --enable-libfaad --enable-pp --enable-swscaler --enable-libmp3lame
  libavutil version: 49.4.0
  libavcodec version: 51.40.2
  libavformat version: 51.11.0
  built on Mar 31 2007 08:15:31, gcc: 4.0.1 (Apple Computer, Inc. build 5367)
Input #0, rawvideo, from '/Users/mmh/vid/sman-0-352x240.eyuv':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Video: rawvideo, yuv420p, 352x240, 25.00 fps(r)
y
File 'xx-bad.mp4' already exists. Overwrite ? [y/N] Output #0, mp4, to 'xx-bad.mp4':
  Stream #0.0: Video: mpeg4, yuv420p, 352x240, q=2-31, 200 kb/s, 25.00 fps(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  100 fps=  0 q=24.8 Lsize=    3252kB time=4.0 bitrate=6660.1kbits/s    
video:3250kB audio:0kB global headers:0kB muxing overhead 0.055285%
yoda:~/ffmpeg/host mmh$
----
yoda:~/ffmpeg/host mmh$ ls -l xx-bad.mp4 
-rw-r--r--   1 mmh  mmh  3330071 Mar 31 08:19 xx-bad.mp4

----> previously

mmh at yoda$ ffmpeg -f rawvideo -s 352x240 -i ~/vid/sman-0-352x240.eyuv xx-good.mp4
FFmpeg version SVN-r8517, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-liba52 --enable-libfaac --enable-x264 --enable-libfaad --enable-pp --enable-swscaler --enable-libmp3lame
  libavutil version: 49.4.0
  libavcodec version: 51.40.0
  libavformat version: 51.11.0
  built on Mar 25 2007 13:35:17, gcc: 4.0.1 (Apple Computer, Inc. build 5367)
Input #0, rawvideo, from '/Users/mmh/vid/sman-0-352x240.eyuv':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Video: rawvideo, yuv420p, 352x240, 25.00 fps(r)
Output #0, mp4, to 'xx-good.mp4':
  Stream #0.0: Video: mpeg4, yuv420p, 352x240, q=2-31, 200 kb/s, 25.00 fps(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  100 fps=  0 q=23.2 Lsize=     208kB time=4.0 bitrate= 425.9kbits/s    
video:206kB audio:0kB global headers:0kB muxing overhead 0.707472%

mmh at yoda$ ls -l xx-good.mp4 
-rw-r--r--   1 mmh  mmh  212953 Mar 31 08:21 xx-good.mp4

----->

The good one plays great quicktime mplayer what ever.

The bad one well see for yourself::


yoda:~/ffmpeg/host mmh$ mplayer xx-bad.mp4                
MPlayer dev-SVN-r22514-4.0.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing xx-bad.mp4.

Quicktime/MOV file format detected.
VIDEO:  [mp4v]  352x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.47:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x67b140]SwScaler: BICUBIC scaler, from yuv420p to yuyv422 using MMX2
[swscaler @ 0x67b140]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x67b140]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x67b140]SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x67b140]SwScaler: 352x240 -> 352x240
VO: [macosx] 352x240 => 352x240 Packed YUY2 
[mpeg4 @ 0x6801e0]ac-tex damaged at 1 0
[mpeg4 @ 0x6801e0]Error at MB: 1
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[mpeg4 @ 0x6801e0]ac-tex damaged at 0 0
[mpeg4 @ 0x6801e0]Error at MB: 0
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]2. marker bit missing in 3. esc
[mpeg4 @ 0x6801e0]Error at MB: 5
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]ac-tex damaged at 0 0
[mpeg4 @ 0x6801e0]Error at MB: 0
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]ac-tex damaged at 0 0
[mpeg4 @ 0x6801e0]Error at MB: 0
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]ac-tex damaged at 1 0
[mpeg4 @ 0x6801e0]Error at MB: 1
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]Error at MB: 0 0 
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]ac-tex damaged at 0 0
[mpeg4 @ 0x6801e0]Error at MB: 0
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]dc marker bit missing
[mpeg4 @ 0x6801e0]Error at MB: 1
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]ac-tex damaged at 1 0
[mpeg4 @ 0x6801e0]Error at MB: 1
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors
[mpeg4 @ 0x6801e0]ac-tex damaged at 1 0
[mpeg4 @ 0x6801e0]Error at MB: 1
[mpeg4 @ 0x6801e0]concealing 330 DC, 330 AC, 330 MV errors




More information about the ffmpeg-devel mailing list