I have 6 streams in one file - but I want only 2

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
rush4hire
Blank Cone
Blank Cone
Posts: 12
Joined: 08 Apr 2007 18:49

I have 6 streams in one file - but I want only 2

Postby rush4hire » 14 Apr 2007 13:59

Image

I play that file and 3 screens open up, and I suppose 3 sound streams are playing too.

This was recorded with SDP, that's why I started using VLC. It's so much better for recording.

Well I'm sure there's a way to get just one stream.
Here's what works, but the output file is the same. How do I select just the 2 streams; the best audio and the best video.

Code: Select all

C:\Program Files\VideoLAN\VLC\vlc.exe "C:\filepath\file.asf" --sout="#duplicate{dst=std{access=file,mux=asf,dst='C:\test\outputfile.asf'},dst=nodisplay}"
Thanks!! :)

rush4hire
Blank Cone
Blank Cone
Posts: 12
Joined: 08 Apr 2007 18:49

Postby rush4hire » 14 Apr 2007 15:10

This will work to get only one audio track:

Code: Select all

Run($vlcpath &' "'& $streamurl &'" --audio-track-id=2 --sout="#duplicate{dst=std{access=file,mux=asf,dst='''& $name &'''},dst=nodisplay}"')
But this does not work

Code: Select all

Run($vlcpath &' "'& $streamurl &'" --audio-track-id=2 --video-track-id=4 --sout="#duplicate{dst=std{access=file,mux=asf,dst='''& $name &'''},dst=nodisplay}"')
----------

I used --file-logging --logfile="C:\test\k6.txt"

I got this when I viewed the stream where I got this file:

Code: Select all

access_mms: selecting stream[0x1] audio (16 kb/s) access_mms: ignoring stream[0x2] audio (12 kb/s) access_mms: ignoring stream[0x3] audio (8 kb/s) access_mms: selecting stream[0x4] video (88 kb/s) access_mms: ignoring stream[0x5] video (43 kb/s) access_mms: ignoring stream[0x6] video (20 kb/s)
But I can't get it to use access_mms as an input module when I'm playing a file on my computer.

I can't get anything to work.
--intf="access_mms" --demux="0x01" --extraintf="access_mms"


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests