Directshow Encoding problem

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.
joolzg
Blank Cone
Blank Cone
Posts: 22
Joined: 31 Oct 2006 18:12

Directshow Encoding problem

Postby joolzg » 23 Jan 2009 12:04

What i am trying to do is take an external stream, transcode to MPEG2 and stream to my MPEG2 receiver, now If i start VLC and then use the stream wizard i get the transcoded stream out on 224.10.0.4:1234 and everything is ok

If i then save the playlist (see below)
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/">
<title>Playlist</title>
<location>C:\Users\Julian\Desktop\PCTV%20Stream.xspf</location>
<trackList>
<track>
<location>dshow://%20:dshow-vdev=PCTV%20100e/150e%20Device%20:dshow-adev=%20:dshow-caching=200%20:dshow-vdev=%20:dshow-adev=%20:dshow-size=%20:dshow-chroma=%20:dshow-fps=0%20:no-dshow-config%20:no-dshow-tuner%20:dshow-tuner-channel=0%20:dshow-tuner-country=0%20:dshow-tuner-input=0%20:dshow-video-input=-1%20:dshow-audio-input=-1%20:dshow-video-output=-1%20:dshow-audio-output=-1%20:dshow-amtuner-mode=1%20:dshow-audio-channels=0%20:dshow-audio-samplerate=0%20:dshow-audio-bitspersample=0</location>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
<vlc:option>sout=#transcode{vcodec=mp2v,vb=400,scale=1}:duplicate{dst=std{access=udp,mux=ts,dst=224.10.0.4:1234}}</vlc:option>
</extension>
</track>
</trackList>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:node title="PCTV Stream.xspf">
</vlc:node>
<vlc:item tid="0" />
</extension>
</playlist>

quit VLC and then try to open the playlist with VLC i just get the a video window, no transcoding and no streaming?

any ideas whats wrong or should i post this as a bug?

joolz

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Directshow Encoding problem

Postby VLC_help » 23 Jan 2009 22:26

It might be better to create .bat file for that.

joolzg
Blank Cone
Blank Cone
Posts: 22
Joined: 31 Oct 2006 18:12

Re: Directshow Encoding problem

Postby joolzg » 24 Jan 2009 00:26

ok but is this a BUG?

would it not be nice to fix it instead of a workaround!

joolz

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Directshow Encoding problem

Postby VLC_help » 24 Jan 2009 19:36

For security reason some playlist auto open features were removed. So I assume it is same case in this one.

joolzg
Blank Cone
Blank Cone
Posts: 22
Joined: 31 Oct 2006 18:12

Re: Directshow Encoding problem

Postby joolzg » 25 Jan 2009 12:17

can you point me to some link for more information please

joolz

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Directshow Encoding problem

Postby VLC_help » 25 Jan 2009 19:07

If you mean .bat file, then create new text file and paste following text to it

Code: Select all

vlc dshow:// :dshow-vdev=PCTV 100e/150e Device :dshow-adev= :dshow-caching=200 :dshow-vdev= :dshow-adev= :dshow-size= :dshow-chroma= :dshow-fps=0 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-country=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1 :dshow-amtuner-mode=1 :dshow-audio-channels=0 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0 :sout=#transcode{vcodec=mp2v,vb=400,scale=1}:duplicate{dst=std{access=udp,mux=ts,dst=224.10.0.4:1234}}
and rename it to something.bat


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests