Duplicate and Transcode (Windows)

About encoding, codec settings, muxers and filter usage
LunaBlu
New Cone
New Cone
Posts: 4
Joined: 23 Feb 2006 09:59

Duplicate and Transcode (Windows)

Postby LunaBlu » 28 Mar 2006 10:40

Hi to all and very compliments for your work, this software is wonderful.
I am sorry to trouble, i am used to search the forum to solve my problems but this time i have found no solutions...
I am trying to take an input. I have to transcode this input and to stream it over rtp. At the same time i want to transcode it (with different codecs) and to save it to a file.
I tried and tried more times with this example (2 files like output), but i don't understand what is the problem, it always says "invalid chain" (i use windows and vlc 0.8.4a):

Code: Select all

vlc.exe -vvv "C:\...\test.mpg" :sout=#duplicate{dst=transcode{vcodec=mp4v.....}:std{access=file,mux=mp4,url="C:/.../test1.mp4"}, dst=transcode{vcodec=mp4v....}:std{access=file,mux=mp4,url="C:/.../test2.mp4"}}
Input and output are corrects, they work if i try to stream (or save to a file) after a single transcoding... but not with multiple transcoding.
I tried with quotes, without quotes, i tried everything. What is wrong?
Hoping someone can help me... thank you so much, bye bye. :D

Basil
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Dec 2005 02:44
Location: Russia,Komsomolsk-on-Amur

Postby Basil » 31 Mar 2006 05:53

For example, my work vlm.conf

Code: Select all

new sat10-FM-EchoM-3 broadcast enabled setup sat10-FM-EchoM-3 input "dvb:" setup sat10-FM-EchoM-3 option dvb-frequency=3645000 setup sat10-FM-EchoM-3 option dvb-srate=28000000 setup sat10-FM-EchoM-3 option sout-standard-mux=ts setup sat10-FM-EchoM-3 option sout-standard-access=udp setup sat10-FM-EchoM-3 option sout-standard-sap setup sat10-FM-EchoM-3 option programs=14 setup sat10-FM-EchoM-3 output #duplicate{dst=std{url=239.91.10.14,name=FM-EchoMoskow},select="es=403", dst='transcode{acodec=mpga,ab=128}:std{url=239.92.11.141,name=L-FM-EchoMoskow}',select="es=403", dst='transcode{acodec=mpga,ab=64}:std{url=239.92.11.142,name=LL-FM-EchoMoskow}',select="es=403"}

LunaBlu
New Cone
New Cone
Posts: 4
Joined: 23 Feb 2006 09:59

Postby LunaBlu » 03 Apr 2006 09:28

For example, my work vlm.conf

Code: Select all

new sat10-FM-EchoM-3 broadcast enabled setup sat10-FM-EchoM-3 input "dvb:" setup sat10-FM-EchoM-3 option dvb-frequency=3645000 setup sat10-FM-EchoM-3 option dvb-srate=28000000 setup sat10-FM-EchoM-3 option sout-standard-mux=ts setup sat10-FM-EchoM-3 option sout-standard-access=udp setup sat10-FM-EchoM-3 option sout-standard-sap setup sat10-FM-EchoM-3 option programs=14 setup sat10-FM-EchoM-3 output #duplicate{dst=std{url=239.91.10.14,name=FM-EchoMoskow},select="es=403", dst='transcode{acodec=mpga,ab=128}:std{url=239.92.11.141,name=L-FM-EchoMoskow}',select="es=403", dst='transcode{acodec=mpga,ab=64}:std{url=239.92.11.142,name=LL-FM-EchoMoskow}',select="es=403"}
Hi, thank you very much for your help!! I think to have understood how i have to do... and it seems to work now.
My problem were i was not using VLM, but i thought it wasn't necessary... because i have just 1 input and 2 outputs... isn't it possibile to do that without vlm? Anyway it is just a curiosity, if someone can answer i am glad, otherwise the important thing is that it works.
So thanks very much again, now i am going to try something, and if i have other problems... you will hear from me. :D
Thanks again! Bye. :D
LunaBlu


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 24 guests