[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rm to mp3



Thanks for the help so far. I dumped the raw streaming using mplayer, and then used a 3
pass mencoder method to convert the dumped stream to avi. I would finally like to be able
to edit the video and save it to a DVD or a VCD. Here are some problems that crop up.

The 3 pass method converts source.rm to test.avi
I used transcode to encode the avi for mpeg encoding. See below for the error. The
program exits.

I played avi file using mplayer. It plays (Video and Audio). I am supposing the latter
because I have not been able to fix the sound issue with mplayer. But that later. I moved
 test.avi to a windows machine and tried to play using windows media player. That just
emits sound. No video.

I am at a loss :-( Please help.

here is the o/p from transcode
-----------------
transcode -i test.avi -x avi -V -y MPEG-2enc,mp2enc -F 4 -Z 480x480 -E 44100 -b 128 -o
pka
*** WARNING: The option -V is deprecated. ***
*** Transcode internal frame handling is now in YV12 / YUV420 ***
*** format by default because most codecs can only handle this format, ***
*** otherwise leading to unnecessary time and quality wasting conversions. ***
*** If you want to have to "old" behaviour (RGB24 as internal format), ***
*** then please use the new -1/--use_rgb option ***
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source test.avi (ok)
[transcode] V: import format    | unknown RIFF data, AVI (V=avi|A=(null))
[transcode] V: import frame     | 240x180  1.33:1
[transcode] V: zoom             | 480x480  1.00:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.260
[transcode] V: decoding fps,frc | 30.000,5
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x55    MPEG layer-3 [16000,16,1]  116 kbps
[transcode] A: export format    | 0x50    MPEG layer-2 [44100,16,1]  128 kbps
[transcode] V: encoding fps,frc | 30.000,5
[transcode] A: bytes per frame  | 1066 (1066.666667)
[transcode] A: adjustment       | 668@1000
[transcode] V: IA32 accel mode  | sse (sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using mmxext for memcpy
[transcode] V: video buffer     | 10 @ 480x480
[import_avi.so] v0.4.2 (2002-05-24) (video) * | (audio) *
Video format not supported by import module
Please try --uyvy or --use_rgb
[transcode] failed to init import modules
[transcode] critical: plug-in initialization failed

$ mencoder sample-svcd.mpg -ovc lavc -lavcopts vcodec=mpeg4:aspect=16.0/9.0 -vop
crop=714:548:0:14 -oac copy -o output.avi
----------------------------
--- c m <cmorgan047@yahoo.com> wrote:
> --- Ron Johnson <ron.l.johnson@cox.net> wrote:
> 
> > > 
> > > here is a script which uses 
> > > mplayer and external program lame to encode a mp3 
> > > from source
> > > 
> > > #!/bin/bash
> > > FIFO="MYFIFO"
> > > PLAYER="mplayer"
> > > ENCODER="lame"
> > > PLAYER_LOC=`which $PLAYER`
> > > ENCODER_LOC=`which $ENCODER`
> > > PLAYER_OPTS="-ao pcm:file="$FIFO" -vo null -vc
> > dummy "
> > > ENCODER_OPTS=""
> > > 
> > > if [ $# -ne 2 ]; then
> > >      echo "Usage: "$0" <source> <out filename>"
> > >      exit 1
> > > fi
> > > 
> > > if [ ${#PLAYER_LOC} -eq 0 ]; then
> > >     echo "This requires "$PLAYER" be present in
> > your
> > > path"
> > >     exit 1
> > > fi
> > > 
> > > if [ ${#ENCODER_LOC} -eq 0 ]; then
> > >     echo "This requires "$ENCODER" be present in
> > your
> > > path"
> > >     exit 1
> > > fi
> > > 
> > > if [ ! -f $FIFO ]; then
> > >     mkfifo $FIFO
> > > else
> > >     echo "FIFO "$FIFO" already exists. Exiting"
> > >     exit 1
> > > fi
> > > 
> > > $PLAYER $PLAYER_OPTS ${1} &
> > > $ENCODER $ENCODER_OPTS $FIFO ${2}
> > > rm $FIFO
> > 
> > Interesting.  But that's only for audio files.  Will
> > something 
> > like it also work on video files?
> 
> 
> it should work also with video files.
> " -vo null -vc dummy "
> these options were to process the video stream with a
> dummy codec and pass to the null output driver.
> 
> the audio stream of couse is still sent to the FIFO.
> 
> if you leave these options off you would see the video
> stream but it also may take longer to process.
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Plan great trips with Yahoo! Travel: Now over 17,000 guides!
> http://travel.yahoo.com/p-travelguide
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 



Reply to: