Page 1 of 1

Get ffmpeg to use more than 1 core for transcoding?

PostPosted: Thu Feb 17, 2011 10:53 pm
by rickeo
The video streaming works wonderfully to my PC's and Android phone with my 720p and below H264 videos in MKV containers, however, it chokes hard on 1080p.

My subsonic box is a stock clocked Core 2 Quad Q6000 and watching the Task Manager in Server 2008R2 when I stream a video, I see in instance of ffmpeg but it will only ever take up to 25% of my CPU (1 core). That one core is obviously pegged when trying to play back some of the higher bitrate 1080p video's I have.

Is there a way to get ffmpeg to use multiple cores for transcoding?

PostPosted: Thu Feb 17, 2011 11:04 pm
by GJ51
I don't think there is. I have the same problem. I've gone to converting all my hd files to mp4 and all my video for mobile to flv so that they play directly without any transcoding. I have a quad core xeon and it too will only use 1 core per stream for transcoding with ffmpeg. Right now I'm focusing on automating the rip and transcode process to their respective folders by using other software on my desktop. It actually makes the whole system work better as JW will play mp4 and flv directly and you can have multiple streams running concurrently with almost no load on the cpu. I can stream several hd videos around my network without killing the server. I think this is a much better approach than the transcode-on-the-fly model. Hopefully Subsonic will find a player that can handle more formats natively and drop the whole transcode thing.

PostPosted: Thu Feb 17, 2011 11:17 pm
by rickeo
If only that was an option, but 200+ rips and ALL of them are in MKV containers. Its the only container that will hold multiple audio and subtitle streams.

Hmm. I guess I'll keep looking around. Thanks!