Page 1 of 1

Directshow Encoding problem

Posted: 23 Jan 2009 12:04
by joolzg
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

Re: Directshow Encoding problem

Posted: 23 Jan 2009 22:26
by VLC_help
It might be better to create .bat file for that.

Re: Directshow Encoding problem

Posted: 24 Jan 2009 00:26
by joolzg
ok but is this a BUG?

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

joolz

Re: Directshow Encoding problem

Posted: 24 Jan 2009 19:36
by VLC_help
For security reason some playlist auto open features were removed. So I assume it is same case in this one.

Re: Directshow Encoding problem

Posted: 25 Jan 2009 12:17
by joolzg
can you point me to some link for more information please

joolz

Re: Directshow Encoding problem

Posted: 25 Jan 2009 19:07
by VLC_help
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