Video transcoding

Tutorials, tips and tricks.

Moderator: moderators

Postby reddragon72 » Wed Sep 23, 2009 8:45 pm

Ok so where do I put FFMPEG and what version do I use?
where are those command lines going?
And what about that link that Arcangel provided? will that add setting that can be set in the interface on Subsonic to incorporate video streaming more? If so then how do you add that?

I'm a noob at this and I need to be spoon feed the first parts then after I get it running I will be all set to run off and start making my own mods. I am very tek driven and learn VERY fast, so just kinda help me head in the right direction?

Also if I have subsonic pointed to my video dir on my server is that going to really screwup my audio list or is there a way to make a video side so the the two are separate, maybe install subsonic again into another dir and have one site for vids and one for audio? just a little help is all I ask? Thanks
reddragon72
 
Posts: 18
Joined: Sat Sep 19, 2009 5:29 pm

Postby kwils09 » Wed Feb 10, 2010 10:57 am

awesome share all...
kwils09
 
Posts: 2
Joined: Wed Feb 10, 2010 10:56 am

Postby Castius » Mon Feb 14, 2011 12:37 am

Here is the vlc command i got working.

Copy the whole vlc folder into the transcode folder.
Then create a vlc.bat file in the transcode folder
With this code inside it.
Code: Select all
@echo off
setlocal

REM 1-start, 2-file, 3-bitrate, 4-width, 5-height
c:
cd c:\subsonic\transcode\vlc

vlc -q dummy %2 :sout=#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:standard{access=file,mux=ffmpeg{mux=flv},dst=-}vlc://quit


Fainlly put this in your transcode file in subsonic.
Code: Select all
vlc.bat %o %s %b %w %h



It's based on diego dambra's mod found here.
http://forum.subsonic.org/forum/viewtop ... 84d23f1f0e

and combined with wraithdu's batch method
http://forum.subsonic.org/forum/viewtop ... highlight=
Castius
 
Posts: 34
Joined: Wed Sep 02, 2009 9:11 pm

Postby privatesam » Sun Mar 20, 2011 5:12 pm

Castisus,

Thanks for this script it works and you provided nice, clear, easy instructions. However I've had one seriously issue with it: 100% CPU utilisation. Basically it streams the video great but takes up all the processor. I have to kill processes to stop VLC taking up all the cpu. Any ideas as to a command that can be added to the script to stop this?
privatesam
 
Posts: 19
Joined: Fri Feb 26, 2010 10:09 am

Postby spitefulmonkey » Tue Jun 28, 2011 4:47 am

Has anyone got VLC to close correctly? It stays running even after closing the video stream for me. It also uses 100% cpu
spitefulmonkey
 
Posts: 6
Joined: Tue Jun 28, 2011 4:44 am

Re: Video transcoding

Postby baggacfreak » Wed Oct 12, 2011 12:34 pm

Is it possible to use more then 1 command in the batch file?
If so why not install a program to kill the vlc process before transcoding.

http://www.howtogeek.com/howto/windows/ ... mand-line/
baggacfreak
 
Posts: 6
Joined: Wed Sep 14, 2011 7:43 am

Re: Video transcoding

Postby tornadotj » Thu Jan 12, 2012 3:18 pm

I haven't been able to get iSub on iPad to see any video files within the iSub streamer. I checked, I have ffmpeg set up correctly, but nothing shows up. Is this normal for now?
tornadotj
 
Posts: 15
Joined: Thu Jan 12, 2012 3:01 pm

Previous

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 9 guests