home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
VLC Source Filter for TV Server
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Yura80" data-source="post: 811760" data-attributes="member: 74171"><p>Hi,</p><p></p><p>I'm developing an experimental directshow streaming source filter for TV Server. It's basically a wrapper for LibVLC and it can use it's powerful capture, muxing and transcoding capabilities to deliver almost any content to MediaPortal TV Server. </p><p></p><p>This is an early proof-of-concept version that needs debugging and optimization, but I already have some good results with it.</p><p></p><p><strong>Usage</strong> is similar to the original MPTVSource filter. When adding channels, enter any URL supported by VLC, followed by transcoding or muxing options, similar to VLC command line. </p><p>When adding channels manually, set Network ID = 0, Transport ID = 0, Service ID = 1, PMT PID = 66.</p><p></p><p><strong>Some examples:</strong></p><p>- "standard" udp/rtp IPTV (similar to the original filter):</p><p><em>rtp://@239.1.1.1:5004</em></p><p></p><p>- wmv/asf stream capture with transcoding to MPEG2:</p><p><em>mms://some-server.tv:8000/file.asf :mms-caching=500 :sout=#transcode{vcodec=mp2v,fps=25,vb=5000,scale=1,acodec=mpga,ab=192,channels=2,samplerate=44100}</em></p><p></p><p>- streaming a local H.264 or MPEG2 video file:</p><p><em>"C:\My Videos\some_video.mkv" :sout-mux=ts</em> </p><p></p><p>- streaming a wmv file (transcoding required):</p><p><em>"C:\My Videos\some_video.wmv" :sout=#transcode{vcodec=mp2v,fps=30,vb=5000,scale=1,acodec=mpga,ab=192,channels=2,samplerate=44100}</em> </p><p></p><p>- usb webcam or another directshow capture device:</p><p><em>dshow:// :dshow-vdev="Integrated Webcam #2" :dshow-adev= :dshow-caching=200 :sout=#transcode{vcodec=mp2v,fps=30,vb=2000,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}</em></p><p></p><p>- capture MPEG2 TS stream via firewire from Motorola DCT-XXXX/QIP-XXXX digital cable box:</p><p><em>dshow:// :dshow-vdev="Motorola AV/C Tuner Device" :dshow-adev= :dshow-caching=200</em></p><p></p><p>- executing external program for channel switching:</p><p><em>dshow:// :dshow-vdev="Motorola AV/C Tuner Device" :dshow-adev= :dshow-caching=200 :exec="C:\Program Files\Timmmoore\MCE 2005 STB Controller\channelw.exe" :exec-opt="-f 2 0620"</em></p><p></p><p><strong>Installation:</strong></p><p><u>Option 1: </u></p><p>Replace original MPIPTVSource filter.</p><p> - install a recent version of VLC Media Player</p><p> - extract 'mpvlcsource_rp.zip' to VLC install directory (\Program Files\VideoLAN\VLC)</p><p> - run 'reg.bat', or manually unregister MPIPTVSource.ax, register MPVLCSource.ax and restart TVServer.</p><p><u>Option 2: </u></p><p>Install as a second virtual DVB IP card and keep the original filter. Requires patched SetupTv.exe and TvLibrary.dll (version 1.2.1 only!)</p><p> - install a recent version of VLC Media Player</p><p> - stop TV Server</p><p> - backup SetupTv.exe and TVLibrary.dll files it the TV Server directory (\Program Files\Team MediaPortal\MediaPortal TV Server)</p><p> - extract 'tvserver_patch.zip' to TV Server directory, replacing existing files </p><p> - extract 'mpvlcsource.zip' to VLC install directory (\Program Files\VideoLAN\VLC)</p><p> - run 'reg.bat', or manually register MPVLCSource.ax and restart TVServer. </p><p></p><p></p><p><strong>Update history:</strong></p><p><u>2011-11-25:</u></p><p>- improved stability</p><p>- added .ini file</p><p>- added :no-remux option (enabled by default)</p><p>- two installation options</p><p></p><p><strong>Source:</strong></p><p>Filter: <a href="https://github.com/yura80/mpvlcsource" target="_blank">https://github.com/yura80/mpvlcsource</a></p><p>TV Server patch: <a href="https://github.com/yura80/MediaPortal-1/commit/c6bec3b787355035b671fa89b3d481725fa7580c" target="_blank">https://github.com/yura80/MediaPortal-1/commit/c6bec3b787355035b671fa89b3d481725fa7580c</a></p><p></p><p>Any feedback is appreciated. </p><p>Please don't forget to attach your logs from TVServer log directory (particularly MPVLCSource-*.Log)</p></blockquote><p></p>
[QUOTE="Yura80, post: 811760, member: 74171"] Hi, I'm developing an experimental directshow streaming source filter for TV Server. It's basically a wrapper for LibVLC and it can use it's powerful capture, muxing and transcoding capabilities to deliver almost any content to MediaPortal TV Server. This is an early proof-of-concept version that needs debugging and optimization, but I already have some good results with it. [B]Usage[/B] is similar to the original MPTVSource filter. When adding channels, enter any URL supported by VLC, followed by transcoding or muxing options, similar to VLC command line. When adding channels manually, set Network ID = 0, Transport ID = 0, Service ID = 1, PMT PID = 66. [B]Some examples:[/B] - "standard" udp/rtp IPTV (similar to the original filter): [I]rtp://@239.1.1.1:5004[/I] - wmv/asf stream capture with transcoding to MPEG2: [I]mms://some-server.tv:8000/file.asf :mms-caching=500 :sout=#transcode{vcodec=mp2v,fps=25,vb=5000,scale=1,acodec=mpga,ab=192,channels=2,samplerate=44100}[/I] - streaming a local H.264 or MPEG2 video file: [I]"C:\My Videos\some_video.mkv" :sout-mux=ts[/I] - streaming a wmv file (transcoding required): [I]"C:\My Videos\some_video.wmv" :sout=#transcode{vcodec=mp2v,fps=30,vb=5000,scale=1,acodec=mpga,ab=192,channels=2,samplerate=44100}[/I] - usb webcam or another directshow capture device: [I]dshow:// :dshow-vdev="Integrated Webcam #2" :dshow-adev= :dshow-caching=200 :sout=#transcode{vcodec=mp2v,fps=30,vb=2000,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}[/I] - capture MPEG2 TS stream via firewire from Motorola DCT-XXXX/QIP-XXXX digital cable box: [I]dshow:// :dshow-vdev="Motorola AV/C Tuner Device" :dshow-adev= :dshow-caching=200[/I] - executing external program for channel switching: [I]dshow:// :dshow-vdev="Motorola AV/C Tuner Device" :dshow-adev= :dshow-caching=200 :exec="C:\Program Files\Timmmoore\MCE 2005 STB Controller\channelw.exe" :exec-opt="-f 2 0620"[/I] [B]Installation:[/B] [U]Option 1: [/U] Replace original MPIPTVSource filter. - install a recent version of VLC Media Player - extract 'mpvlcsource_rp.zip' to VLC install directory (\Program Files\VideoLAN\VLC) - run 'reg.bat', or manually unregister MPIPTVSource.ax, register MPVLCSource.ax and restart TVServer. [U]Option 2: [/U] Install as a second virtual DVB IP card and keep the original filter. Requires patched SetupTv.exe and TvLibrary.dll (version 1.2.1 only!) - install a recent version of VLC Media Player - stop TV Server - backup SetupTv.exe and TVLibrary.dll files it the TV Server directory (\Program Files\Team MediaPortal\MediaPortal TV Server) - extract 'tvserver_patch.zip' to TV Server directory, replacing existing files - extract 'mpvlcsource.zip' to VLC install directory (\Program Files\VideoLAN\VLC) - run 'reg.bat', or manually register MPVLCSource.ax and restart TVServer. [B]Update history:[/B] [U]2011-11-25:[/U] - improved stability - added .ini file - added :no-remux option (enabled by default) - two installation options [B]Source:[/B] Filter: [url]https://github.com/yura80/mpvlcsource[/url] TV Server patch: [url]https://github.com/yura80/MediaPortal-1/commit/c6bec3b787355035b671fa89b3d481725fa7580c[/url] Any feedback is appreciated. Please don't forget to attach your logs from TVServer log directory (particularly MPVLCSource-*.Log) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
VLC Source Filter for TV Server
Contact us
RSS
Top
Bottom