[vlc-devel] Patch to filter audio PIDs by --audio-language in TS streams
Laurent Aimar
fenrir at via.ecp.fr
Fri Sep 21 20:29:40 CEST 2007
On Fri, Sep 21, 2007, Laurent Aimar wrote:
> Or you can filter by PID using
> vlc file.ts --ts-es-id-pid --sout '#duplicate{es=pid1,pid2,pid3}:transcode{}:...'
Sorry, the right syntax is
vlc file.ts --ts-es-id-pid --sout '#duplicate{dst="transcode{}:...",select="es=pid1,es=pid2"}
If you have
video pid: 100
audio 1 pid: 101
audio 2 pid: 102
vlc file.ts --ts-es-id-pid --sout '#duplicate{dst="transcode{}:...",select="es=100,es=101", \
dst="transcode{}:...",select="es=100,es=102"}
will create 2 outputs, one with first audio, and the second with the other audio.
You could of course run duplicate after the transcode part.
vlc file.ts --ts-es-id-pid --sout 'transcode{}:#duplicate{dst="...", select="..",
dst="...", select=".."}'
Regards,
--
fenrir
More information about the vlc-devel
mailing list