Hello,
I need to generate a stream of h.264 encapsulated in MPEG2 TS. Does VLC support this encapusulation?
Thanks.
David
Code: Select all
sout=#transcode{vcodec="[your video codec]",vb="[your video bitrate]",scale="[the video scale]",acodec="[your audio codec]",ab="[your audio bitrate]"}:std{access=[your access module/streaming method],mux=[your encapsulation format],url="[the target url (if needed)]"}
I was unsure about the fact that your files are already H.264. Transcoding is only needed, if they aren't, but you want to stream through this codec. Ok, so you don't need it.1. What I need is to Encapsulate a stream (either h.264 raw data or other ES) into MPEG2 TS. Both input and output are file format.
No, that's wrong. This "access"-field (although it is called access) describes in fact the output-module in this case. If you enter "file", VLC streams to a file and not to the network. To make streaming-to-file work, you need to give a path too. Since you hadn't done that, VLC did not react at all.2. Field access=[your access module/streaming method] I need to put access = file, it that right?
Code: Select all
sout=#std{access=[access-module, preferable "udp"],mux=[encapsulation-format, should be "ts" (without the quotes) in your case],url="[url incl. port]"} file://[Path to your to-be-streamed file]
Return to “General VLC media player Troubleshooting”
Users browsing this forum: No registered users and 15 guests