[MPlayer-users] mencoder problem- just sits at step

David Tarkowski david.tarkowski at verizon.net
Sat Feb 1 18:40:38 CET 2003


* Steven Adeff (adeffs at rpi.edu) [030131 10:13]:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I'm trying to convert a tivo recording to VCD using mencoder. It gets to a 
> certain step and just sits there like its not doing anything but mplayer is 
> using around 98% of my cpu doing it. Its been sitting like this for the last 
> day or so. Anyone know what I'm doing wrong?

This seems to be a recent bug with mplayer.  If you try to use mplayer with
the -yuv4mpeg option, it will hang as you describe at the end of the avi.  I
was going to submit a bug report about this, but I haven't had time to see
if it is in the latest CVS code.

-Dave

> 
> thanks!
> 
> here's the output:
> 
> [adeffs at indierocksteve Tivo]$ mencvcd Grass-vcd Grass.mpg -vnorm n -vfr 1 
> -svcdout
> which: no toolame in
> (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/kde/bin)
> WARNING: toolame is not found in your path
> /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/kde/bin!
> which: no normalize in
> (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/kde/bin)
> WARNING: normalize is not found in your path
> /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/kde/bin!
> mplayer -noframedrop -vo yuv4mpeg -ao pcm -waveheader -v -osdlevel 0   
> Grass.mpg
> Using GNU internationalization
> Original domain: messages
> Original dirname: /usr/share/locale
> Current domain: mplayer
> Current dirname: /usr/local/share/locale
> 
> 
> MPlayer CVS-030118-00:00-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
> 
> CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
> Multiprocessor/Athlon XP eXtreme
> Performance (Family: 6, Stepping: 2)
> Detected cache-line size is 64 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
> 
> Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
> directory
> Reading config file /home/adeffs/.mplayer/config
> MPlayer was compiled WITHOUT GUI support.
> Reading /home/adeffs/.mplayer/codecs.conf: can't open 
> '/home/adeffs/.mplayer/codecs.conf': No such
> file or directory
> Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs
> CommandLine: '-noframedrop' '-vo' 'yuv4mpeg' '-ao' 'pcm' '-waveheader' '-v' 
> '-osdlevel' '0'
> 'Grass.mpg'
> get_path('font/font.desc') -> '/home/adeffs/.mplayer/font/font.desc'
> font: can't open  /home/adeffs/.mplayer/font/font.desc
> Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or 
> /dev/rtc should be
> readable by the user.)
> Using usleep() timing
> get_path('input.conf') -> '/home/adeffs/.mplayer/input.conf'
> Can't open input config file /home/adeffs/.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
> get_path('Grass.mpg.conf') -> '/home/adeffs/.mplayer/Grass.mpg.conf'
> 
> Playing Grass.mpg
> Not an URL!
> File size is 4114614272 bytes
> Checking for YUV4MPEG2
> DEMUXER: freeing demuxer at 0x8451910
> ASF_check: not ASF guid!
> DEMUXER: freeing demuxer at 0x8451910
> Checking for NuppelVideo
> DEMUXER: freeing demuxer at 0x8451910
> Checking for MOV
> DEMUXER: freeing demuxer at 0x8451910
> Checking for VIVO
> header block 1 size: 0
> DEMUXER: freeing demuxer at 0x8451910
> Checking for REAL
> DEMUXER: freeing demuxer at 0x8451910
> DEMUXER: freeing demuxer at 0x8451910
> DEMUXER: freeing demuxer at 0x8451910
> DEMUXER: freeing demuxer at 0x8451910
> DEMUXER: freeing demuxer at 0x8451910
> Checking for SMJPEG
> DEMUXER: freeing demuxer at 0x8451910
> DEMUXER: freeing demuxer at 0x8452178
> Checking for PVA
> DEMUXER: freeing demuxer at 0x8452178
> system stream synced at 0xD (0)!
> ==> Found audio stream: 0
> ==> Found video stream: 0
> MPEG-PS file format detected.
> Searching for sequence header... OK!
> VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  7250.0 kbps (906.2 kbyte/s)
> [V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
> get_path('sub/') -> '/home/adeffs/.mplayer/sub/'
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
> mp3lib: made decode tables with MMX optimization
> mp3lib: using 3DNow!Ex optimized decore!
> MP3lib: init layer2&3 finished, tables done
> MPEG 1.0, Layer II, 32000 Hz 192 kbit Stereo, BPF: 864
> Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
> AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->128000 (192.0 kbit)
> Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> vo_yuv4mpeg: Using (default) progressive frame mode
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
> Could not find matching colorspace - retrying with -vop scale...
> Opening video filter: [scale]
> SwScale params: -1 x -1 (-1=no scaling)
> 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 - 720 x 480 (preferred csp: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
> VO: [yuv4mpeg] 720x480 => 720x540 Planar YV12
> VO: Description: yuv4mpeg output for mjpegtools (to "stream.yuv")
> VO: Author: Robert Kesterson <robertk at robertk.com>
> Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
> ==========================================================================
> PCM: File: audiodump.wav (WAVE)
> PCM: Samplerate: 32000Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
> PCM: Info: fastest dumping is achieved with -vc null -vo null
> PCM: Info: to write WAVE files use -waveheader (default); for RAW PCM 
> -nowaveheader.
> AO: [pcm] 32000Hz 2ch Signed 16-bit (Little-Endian)
> AO: Description: RAW PCM/WAVE file writer audio output
> AO: Author: Atmosfear
> Building audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit...
> [libaf] Adding filter dummy
> [dummy] Was reinitialized, rate=32000Hz, nch = 2, format = 0x00000001 and bps 
> = 2
> [dummy] Was reinitialized, rate=32000Hz, nch = 2, format = 0x00000001 and bps 
> = 2
> Starting playback...
>    INFO: [yuvscaler] yuvscaler (version 1.6.1) is a general scaling utility 
> for yuv frames
>    INFO: [yuvscaler] (C) 2001 Xavier Biquard <xbiquard at free.fr>
>    INFO: [yuvscaler] yuvscaler -h for help, or man yuvscaler
> ++ WARN: [mpeg2enc] No aspect ratio specifed and no guess possible: assuming 
> 4:3 display aspect!
> ++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by 
> "vcdimager"
> ++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this 
> off using -d
> *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
> *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes%
> *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes%
> MPEG Stream reached EOF-0.234 ct:  0.211  161818/161818  21% 2652%  4.2% 92962 
> 0 0%0%
> ds_fill_buffer: EOF reached (stream: audio)
> MPEG Stream reached EOF-0.181 ct:  0.205  161820/161820  21% 2652%  4.2% 92962 
> 0 0%
> ds_fill_buffer: EOF reached (stream: video)
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> EOF code: 1  99.6 A-V: -0.181 ct:  0.201  161820/161820  21% 2652%  4.2% 92962 
> 0 0%
> 
> Uninit audio filters...
> [libaf] Removing filter dummy
> uninit audio: mp3lib
> uninit video: libmpeg2
> DEMUXER: freeing demuxer at 0x8452178
> DEMUXER: freeing sh_audio at 0x844fd30
> DEMUXER: freeing sh_video at 0x844fdd8
> 
> 
> -- 
> 
> Steven Adeff
> ADEFFS at RPI.EDU
> Graduate, Electric Power Engineering
> Rensselaer Polytechnic Institute - Troy, NY
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list