Notices


Reply
Thread Tools
Posts: 49 | Thanked: 7 times | Joined on Apr 2007
#1
Howdy all. I just wanted to share a recent experience and see if it helped anyone. I was trying to get streaming transcoded video to work with Knots 2. Which it did but after 8-10 minutes the video would stop playing and I'd have to start again. I finally found a solution to stream my videos without converting them with Mediatomb.

In ubuntu it is easy to install with either
Code:
sudo apt-get install mediatomb
or using the application manager and installing it from there.

Once mediatomb is installed edit the config.xml file and everything should work good.
Code:
gksu gedit /etc/mediatomb/config.xml
Change <transcoding enabled="no"> to <transcoding enabled="yes">

Then add
Code:
<transcode mimetype="video/x-msvideo" using="vlcmpeg"/>
to the mimetype-profile-mappings section.

under the <profile name="vlcmpeg" enabled="yes" type="external"> change the agent command to
Code:
<agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=DIV2,vb=800,fps=24,width=400,height=240,aenc=ffmpeg,acodec=mp4a,ab=128,samplerate=44100,channels=2}:standard{access=file,mux=asf,dst=%out} vlc:quit"/>
You will end up with a very watchable video streaming across your network and without having to re-encode your videos. I hope this helps some people out there.
 

The Following 3 Users Say Thank You to jaysin22 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:45.