[MEncoder-users] msmpegv4 vs msmpeg

srdan bejakovic s.bejakovic at gmail.com
Fri Jul 25 02:34:58 CEST 2008


On Wed, Jul 23, 2008 at 6:43 AM, The Wanderer <inverseparadox at comcast.net>wrote:

>
> > I haven't been able to compile ffmpeg separately so I don't know what
> >  it would say.
>
> That's not good either. What kind of problem was it? (Based on the
> below, there's a chance that this might even be relevant to the MPlayer
> problem...)


A bunch of errors of the following form, all from the same file:

libavdevice/alldevices.c:41: error: `ENABLE_AUDIO_BEOS_MUXER' undeclared
(first use in this function)


>
>
> > I did download the windows compiled distribution of mplayer, and
> > mencoder handled the avi just fine, and mplayer opened it and
> > displayed it also.
>
> That probably (but not definitely) means that there's something wrong
> with your copy of MPlayer.
>
> Does this happen with every input file (AVI or otherwise), or just with
> a particular file or group of files?


I tried some mpeg-1 files and it worked fine. I tried a quicktime mp4 video
and it played on windows but not under Solaris. I couldn't find any other
files with the same encoding as the files that are giving me trouble (ms
mpeg4 v2), so I don't know how those would behave.

Off the top of my head, just try adding a few '-v' options to the
> MPlayer command line, and see what - if any - additional information it
> provides. If that doesn't work, we'll probably have to go back and see
> what's going on with your compilation setup.
>


Here is the output under Windows and under Solaris with the -v flag for the
files that are giving me trouble. Windows finds the mpeg4v2 codec, but
Solaris doesn't. Is there maybe some configuration option that handles this?

*** SunOS output

-bash-3.00$ ./mencoder -v in.avi -o out.avi -ovc raw
MEncoder dev-SVN-r27339-3.4.5 (C) 2000-2008 MPlayer Team
Configuration: --disable-ass
init_freetype
get_path('font/font.desc') -> '/export/home/test/.mplayer/font/font.desc'
font: can't open file: /export/home/test/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
[file] File size is 1216512 bytes
STREAM: [file] in.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x129000
LAVF_check: no clue about this gibberish!
AVI file format detected.
list_end=0xD4
======= AVI Header =======
us/frame: 1074594560  (fps=0.001)
max bytes/sec: -1776877312
padding: 0
MainAVIHeader.dwFlags: (268959744)
frames  total: 1677721600   initial: 0
streams: 16777216
Suggested BufferSize: -2143420416
Size:  1073872896 x 1073872896
==========================
list_end=0xD4
====== STREAM Header =====
Type: vids   FCC: GIVN (4749564E)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 83886080/16777216 = 5.000
Start: 0   Len: 1677721600
Suggested BufferSize: -2143420416
Quality 0
Sample size: 0
==========================
list_end=0x12882A
Found movie at 0x800 - 0x12882A
Reading INDEX block, 100 chunks for 1677721600 frames (fpos=1214514).
stream_seek: WARNING! Can't seek to 0x8040E44E !
AVI index offset: 0x0 (movi=0x800 idx0=0x4000000 idx1=0xFA3A0000)
AVI_NI: No video stream found.
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 73
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 67865, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=21065 size=1787695608
LMLM4 Stream Format not found
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 3  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0
idr: 0 sps: 0 pps: 0 PES: 0  MP3: 0, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
stream_seek: WARNING! Can't seek to 0x0 !
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 2  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0
idr: 0 sps: 0 pps: 0 PES: 0  MP3: 0, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
stream_seek: WARNING! Can't seek to 0x0 !
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: no clue about this gibberish!
demux_aac_probe, failed to detect an AAC stream
============ Sorry, this file format is not recognized/supported
=============
=== If this file is an AVI, ASF or MPEG stream, please contact the author!
===
Cannot open demuxer.

Exiting...

*** Windows ouptput

C:\Documents and Settings\Nada\Desktop\MPlayer-1.0rc2>mencoder -v in.avi -o
out.
avi -ovc raw
MEncoder 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.66GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Configuration: --prefix=/usr --language=all --enable-win32dll
--enable-static --enable-qtx --enable-real --enable-md5sum --enable-menu
--disable-vidix-internal --disable-sdl --enable-caca --enable-gl
--enable-freetype --enable-png --enable-jpeg --enable-gif --enable-tga
--enable-mad --disable-tv --disable-dvb --disable-dvbhead
--with-extraincdir=/c/Work/mplayer/live --enable-runtime-cpudetection
init_freetype
get_path('font/font.desc') -> 'C:/Documents and
Settings/Nada/Desktop/MPlayer-1.
0rc2/mplayer/font/font.desc'
font: can't open file: C:/Documents and
Settings/Nada/Desktop/MPlayer-1.0rc2/mpl
ayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
WINSOCK2 init: 0
[file] File size is 1124864 bytes
STREAM: [file] in.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x112a00
LAVF_check: avi format
AVI file format detected.
list_end=0xD4
======= AVI Header =======
us/frame: 200000  (fps=5.000)
max bytes/sec: 68582
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 100   initial: 0
streams: 1
Suggested BufferSize: 16390
Size:  576 x 576
==========================
list_end=0xD4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: GIVN (4E564947)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 5/1 = 5.000
Start: 0   Len: 100
Suggested BufferSize: 16390
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 576
  biPlanes 1
  biBitCount 24
  biCompression 842289229='MP42'
  biSizeImage 995328
===========================
Regenerating keyframe table for DIVX3 video.
list_end=0x112254
Found movie at 0x800 - 0x112254
Reading INDEX block, 100 chunks for 100 frames (fpos=1122908).
list_end=0x224454
Found movie at 0x800 - 0x224454
stream_seek: WARNING! Can't seek to 0x224454 !
AVI index offset: 0x7FC (movi=0x800 idx0=0x4 idx1=0x34A8)
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:-1)
AVI: No audio stream found -> no sound.
AVI video size=1120006 (100) audio size=0 (0)
VIDEO:  [MP42]  576x576  24bpp  5.000 fps  448.0 kbps (54.7 kbyte/s)
[V] filefmt:3  fourcc:0x3234504D  size:576x576  fps: 5.00  ftime:=0.2000
WINSOCK2 init: 0
[file] File size is 0 bytes
STREAM: [file] out.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
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
INFO: libavcodec init OK!
Selected video codec: [ffmp42] vfm: ffmpeg (FFmpeg M$ MPEG-4 v2)
==========================================================================
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 576 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: expand raw
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (576x576->576x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x3  req=0x0
get_path('subfont.ttf') -> 'C:/Documents and
Settings/Nada/Desktop/MPlayer-1.0rc
2/mplayer/subfont.ttf'
Unicode font: 255 glyphs.
*** [raw] Allocating mp_image_t, 576x576x12bpp YUV planar, 497664 bytes
*** [expand] Direct Rendering mp_image_t, 576x576x12bpp YUV planar, 497664
bytes

Muxer frame buffer sending 1 frame(s) to the muxer.
Writing header...
ODML: vprp aspect is 16384:16384.
Writing header...
ODML: vprp aspect is 16384:16384.
Pos:   0.2s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms
0/41
*** [raw] Allocating mp_image_t, 576x576x12bpp YUV planar, 497664 bytes
*** [expand] Direct Rendering mp_image_t, 576x576x12bpp YUV planar, 497664
bytes

Pos:   0.4s      2f ( 0%)   0fps Trem:   0min 158mb  A-V:0.000 [0:0] A/Vms
0/48
...
Pos:  20.0s    100f (49%)  43fps Trem:   0min  95mb  A-V:0.000 [19906:0]
A/Vms 0
ds_fill_buffer: EOF reached (stream: video)

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16384:16384.

Video stream: 19906.560 kbit/s  (2488320 B/s)  size: 49766400 bytes  20.000
secs
  100 frames
Uninit video: ffmpeg
WINSOCK2 uninit



More information about the MEncoder-users mailing list