[MPlayer-users] feature request/question on experimental code

Sycotic Smith sycotic at linuxmail.org
Fri Mar 21 19:20:06 CET 2003


Hi,

I was playing around with the experimental -of mpeg and noticed something peculiar.  If the dimensions of the input file are larger than the standard mpeg dimensions, the output file gives errors when playing with mplayer, AND is unplayable with any M$crap player.  Error follows below.  I can upload a few MB of both files if needed.  This is NOT a bugreport, just merely a user asking maybe a dumb question.  I know how to make it the proper size, but should it maybe instead just give ONE warning at runtime instead of every few frames?  Or, should it automagically 'scale' to fit the standard when encoding?

/S. Smith
Input file mplayer identify (created with MEncoder originally, plays fine but is LARGE):
ID_FILENAME=Rosjaneczki.avi
ID_VIDEO_FORMAT=DIVX
ID_VIDEO_BITRATE=2886088
ID_VIDEO_WIDTH=960
ID_VIDEO_HEIGHT=704
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=204

commandline: mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video:vhq -oac mp3lame video-in.avi -o video-out.mpg

MPlayer output of video.mpg:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030318-13:48-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/aaronh/.mplayer/config
Reading /home/aaronh/.mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/aaronh/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /home/aaronh/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing ros.mpg
MPEG-PS file format detected.
Encrypted VOB file (not compiled with libcss support)! Read DOCS/cd-dvd.html.
size restrictions for MP at ML or MPEG1 exceeded! (960x704)
VIDEO:  MPEG1  960x704  (aspect 1)  25.00 fps  800.0 kbps (100.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 28000->192000 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
SDL: Using driver: windib
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 960 x 704 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 960 x 704 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 960x704 => 960x704 Planar YV12
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [win32] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
size restrictions for MP at ML or MPEG1 exceeded! (960x704)
A:   1.0 V:   4.5 A-V: -3.466 ct: -0.297   94/ 94  32% 119%  0.2% 0 0 0%

Exiting... (End of file)

-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze



More information about the MPlayer-users mailing list