My problem is quite simple and even have a solution in several tutorial, I want to demux a MPTS stream i got by UDP and save all the programs in different file.
I want to test it in command line before make it run on my program, that's why I will post command line.
Code: Select all
vlc -vvv udp://@228.0.0.2:1234 --sout #duplicate{dst=standard{access=file,mux=ts,dst=fluxZ.avi},select="program=18",dst=standard{access=file,mux=ts,dst=fluxY.avi},select="program=17"} --verbose=1 -I dummy
So with this line, i thought I can save the program 18 of my MPTS stream in the file "fluxY.avi" and save the program 19 in the file "fluxZ.avi" but no... All I have is my two files created with 0 octet (empty) and an error :
Code: Select all
main packetizer error: cannot create packetizer output (mpgv)
Code: Select all
main packetizer error: cannot create packetizer output (mpga)
Please anyone can help me?
I can see my stream with a simple
Code: Select all
--sout #display --program=18
Thanks for all help you can grant me.
(And sorry for bad English... I'm french)