[MPlayer-users] mencoder: converting avi to mpeg

mpi at up1.ath.cx mpi at up1.ath.cx
Mon May 6 22:59:02 CEST 2002


mencvcd doesnt work for divx input..
It only seems to work when your input is already a vcd compliant mpeg
file, which makes the whole exercise seem rather useless...
I get the following errors...

bash-2.05a# ./mencvcd test -svcdout -noburn -w /root/movies/twc-theone-divx.avi
   INFO: [yuvscaler] yuvscaler (version 1.6.0) 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


MPlayer CVS-020503-01:09-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Reading /root/.mplayer/codecs.conf: 30 audio & 81 video codecs
CommandLine: '-noframedrop' '-vo' 'yuv4mpeg' '-ao' 'pcm' '-waveheader'
'-v' '-osdlevel' '0' '/root/movies/twc-theone-divx.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc Using Unoptimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_read): Invalid argument Using usleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing /root/movies/twc-theone-divx.avi
Not an URL!
File size is 733517824 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:1677721  eof:0
Cache fill: 19.43% (1630208 bytes)    Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 125638   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 240
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 125638
Suggested BufferSize: 83435
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 414720
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 218337
Suggested BufferSize: 960
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 20004
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=480
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x22B6
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1346  (id=JUNK)
list_end=0x2B64963C
Found movie at 0x280C - 0x2B64963C
Reading INDEX block, 343975 chunks for 125638 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 343975 chunks for 125638 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=725031967
VIDEO:  [DIV3]  576x240  24bpp  23.98 fps  1106.9 kbps (135.1 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:576x240  fps:23.98  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/root/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
init layer2&3 finished, tables done
mp3lib: using generic decore!
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
==========================================================================
Requested video codec family [divxds] (vfm=4) not available (enable it at
compile time!)
Requested video codec family [divx] (vfm=2) not available (enable it at
compile time!)
Requested video codec family [odivx] (vfm=3) not available (enable it at
compile time!)
Requested video codec family [divx4] (vfm=7) not available (enable it at
compile time!)
Requested video codec family [divx4vfw] (vfm=2) not available (enable it
at compile time!)
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Detected video codec: [ffdivx] drv:5 prio:0 (FFmpeg DivX ;-) (MS MPEG-4
v3))
==========================================================================
AO: [pcm] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: RAW PCM/WAVE file writer audio output
AO: Author: Atmosfear
PCM: File: audiodump.wav (WAVE)
PCM: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit
(Little-Endian)
PCM: Info: fastest dumping is achieved with -vo null -hardframedrop.
PCM: Info: to write WAVE files use -waveheader (default); for RAW PCM
-nowaveheader.
Start playing...
VDec: vo config request - 576 x 240, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x401 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(576x240->576x240,flags=3,'MPlayer',0x32315659)
VO: [yuv4mpeg] 576x240 => 576x240 Planar YV12 fs vm
VO: Description: yuv4mpeg output for mjpegtools (to "stream.yuv")
VO: Author: Robert Kesterson <robertk at robertk.com>
*** [vo] Exporting mp_image_t, 576x240x12bpp YUV planar, 207360 bytes
++ WARN: [yuvscaler] Could not infer norm (PAL/SECAM or NTSC) from input
data (frame size=576x240, frame rate=23975999:1000000 fps)!!
**ERROR: [yuvscaler] No norm specified, cannot determine SVCD output size.
Please use the -n option!
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed
read/write)!
./mencvcd: line 256: 11780 Broken pipe             mplayer -noframedrop
-vo yuv4mpeg -ao pcm -waveheader -v -osdlevel 0 $sub $params
**ERROR: [mp2enc] Input not a WAV file - starts not with "RIFF"
**ERROR: [mp2enc] failure reading WAV file


On Mon, 6 May 2002, [iso-8859-2] Horváth István wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > I was wondering to create some vcd's out of the avi-files. I can use the
> > tool vcdimager to create a vcs, but this requires an mpeg-file.
> > I could figure out the options for mencoder to create an mpeg-file.
>
> i don't know exactly, but <mplayer_dir>/TOOLS/mencvcd???? maybe it is your
> program :))
>
> bye
>
> _______________________________________________
> 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