Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

andybudd

macrumors newbie
Original poster
Oct 28, 2008
4
0
Hi there,

We have a small cocoa app that captures screen activity and turns it into quicktime movies. We're encoding the videos via quicktime using h.264 and this process takes around 3-4 times the length of the recording. I was wondering if anybody had any suggestions about how we could increase encoding/export speeds and reduce the file sizes?

Oh, and if you happen to know any great freelance Mac encoding experts, I'd love to hear from them.
 

andybudd

macrumors newbie
Original poster
Oct 28, 2008
4
0
ffmpeg

I had a quick look at ffmpeg, but haven't played with it yet. Do you have experiencing using it and how does it compare with QT speed wise?
 

HiRez

macrumors 603
Jan 6, 2004
6,265
2,630
Western US
For one thing you can do 1-pass instead of 2-pass encoding, that can dramatically cut down on encoding time. This will decrease quality to some extent if you are using a variable bit rate, but the quality hit may be negligible compared to the time cost. As I understand it, if you're doing a constant bit rate, there is no need to do 2-pass encoding.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
I wrote a utility for converting videos and I had a separate tool for converting QT movies. QT was almost always slower in every instance that I remember. I didn't do specific testing with timing but from general use it was obvious. I'd suggest you check it out.
 

andybudd

macrumors newbie
Original poster
Oct 28, 2008
4
0
For one thing you can do 1-pass instead of 2-pass encoding, that can dramatically cut down on encoding time. This will decrease quality to some extent if you are using a variable bit rate, but the quality hit may be negligible compared to the time cost. As I understand it, if you're doing a constant bit rate, there is no need to do 2-pass encoding.

That's the first thing we tried and you're right. It did reduce export times by about 40%. We're using constant bit rate so like you say, it wasn't needed anyway.

I'm not sure if there are any useful libraries out there that will help speed up encoding. However the one thing we are looking at doing is providing support for hardware encoding dongles like the Elgato Turbo264. However that will obviously only help a small number of users.

Any other thoughts or ideas are welcome
 

HiRez

macrumors 603
Jan 6, 2004
6,265
2,630
Western US
Yeah, the x264 codec is great. I don't know about the speed of it, but I started using it because it doesn't have a problem with changing gamma profiles that the QuickTime one does.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.