[mythtv-users] Network Recorder and VLC transcoding on demand
Bob
mythtv at cox.net
Sat Nov 15 20:36:14 UTC 2008
David W. Allor wrote:
>
> The Question (to be clear):
>
> Does anyone see an error in the transcoding format above? Is it not
> the correct format for the network recorder over rtsp?
>
I have a similar project. If you look at the patches submitted for the
network recorder (http://svn.mythtv.org/trac/ticket/1787), you'll
eventually find a readme file with text as follows:
Here are some examples of VLC usage to test the Network input. These
examples are for the VLC player for Win32 but it should be the same for
the linux version except for the paths. Any movie DVD can be used in
these examples. The IP destination 192.168.1.100:1234 can be changed for
your network configuration:
To stream the content of a DVD:
> vlc.exe dvdsimple://D:
:sout=#duplicate{dst=std{access=udp,mux=ts,dst=192.168.1.100:1234}}
To stream the content of a DVD transcoded in realtime to h264 (fast cpu
needed!)
:
> vlc.exe dvdsimple://D:
:sout=#transcode{vcodec=h264,vb=512,scale=0.5,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=udp,mux=ts,dst=192.168.1.100:1234}
}
To transcode a DVD to h264 in a file named test.ts and then stream it:
> vlc.exe dvdsimple://D:
:sout=#transcode{vcodec=h264,vb=512,scale=0.5,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="test.ts"}}
> vlc.exe "test.ts"
:sout=#duplicate{dst=std{access=udp,mux=ts,dst=192.168.1.100:1234}}
More information about the mythtv-users
mailing list