transcode to mp3 or ogg

About encoding, codec settings, muxers and filter usage
zeefreak
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Sep 2007 00:24

transcode to mp3 or ogg

Postby zeefreak » 21 May 2010 17:16

i am having a little trouble wrapping my head around the cli arguments for transcoding. i'm trying to take an rtsp .ra stream and transcode it to either mp3 or ogg for later playback.

doing cvlc -vvv rtsp://server.domain.com/filename.ra plays the file in question.

my difficulties seem to be with the --sout part of the argument, i don't quite understand after #transcode what needs to go there. are the arguments after #transcode the particulars of the stream coming in, or what i want going out? then i have :standard in which i'm also adding a mux statement, which seems to repeat what i've already told it in the transcode section. i have no doubt that this problem is pebcak. can someone shed a little light on this for me?

the command i'm trying to get is something like:

cvlc -vvv rtsp://server.domain.com/filename.ra --sout '#transcode{acodec=ogg}:standard{access=file,mux=ogg,dst=/home/user/filename.ogg}'

i can send output if you need, but since i'm pretty sure the problem is me, its probably not relevant.

thanks for your help.

zeefreak
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Sep 2007 00:24

Re: transcode to mp3 or ogg

Postby zeefreak » 21 May 2010 17:26

i get a little closer when i run:

cvlc -vvv rtsp://server.domain.com/filename.ra --sout '#transcode{acodec=mpga}:standard{access=file,mux=ogg,dst=/home/user/filename.ogg}'

in that my filename.ogg gets created and actually has data in it [filesize is > 0] but when i try to play it, vlc says its length is 0sec.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests