VLC cannot record specific elementary streams
Posted: 10 Sep 2016 20:18
Hi,
I'm struggling with vlc recording a specific audio\video track from a TS stream. According to many forum posts it should be simple, but these solutions seem not to work. I have this setup:
2301 is the Video ID
2311 is the Audio ID
The input TS stream contains multiple audio streams.
When I play the output stream, it seems to contain other audio streams and subtitle streams as well and thus the select option has no effect. I just want to get rid of (audio) streams which I'm not interested in.
Please help me with the correct vlc configuration setup.
Thanks in advance.
Kind regards,
Allali
I'm struggling with vlc recording a specific audio\video track from a TS stream. According to many forum posts it should be simple, but these solutions seem not to work. I have this setup:
Code: Select all
vlc.exe -vvv http://192.168.1.100 --audio-language=nl --audio-track=0 sout=#transcode{vfilter=canvas{width=720,height=480,aspect=4:3},vb=1200,vcodec=h264,venc=x264{aud,profile=baseline,preset=superfast},aenc=ffmpeg{strict=-2},acodec=mp4a,ab=96,channels=2,samplerate=44100,audio-sync}:duplicate{dst=std{access=livehttp{seglen=10,delsegs=false,numsegs=0,index="stream.m3u8",index-url=stream-########.ts},mux=ts{use-key-frames},dst=stream-########.ts"}, select="es=2301,es=2311"}
2311 is the Audio ID
The input TS stream contains multiple audio streams.
When I play the output stream, it seems to contain other audio streams and subtitle streams as well and thus the select option has no effect. I just want to get rid of (audio) streams which I'm not interested in.
Please help me with the correct vlc configuration setup.
Thanks in advance.
Kind regards,
Allali