Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-12-2012, 01:56 AM   #1
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
Video transcoding suggestions

Hi,

I know most people are using ffmpeg to transcode videos and this is likely the path I will use too. I was just wondering if anyone could point me to resources where I can read up on best practices on building a transcoding engine. I will be working from multiple file formats (avi, mpeg, wmv, mov, etc. etc.) and would like to convert all these files to mp4 (for regular streaming) and iOS compatible (HLS?) streamable files.

If anyone has any suggestions or opinions on video transcoding they would like to share, it would be greatly appreciated.

Cheers
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2012, 03:53 AM   #2
StariaDaniel
Confirmed User
 
Join Date: Oct 2007
Location: Netherlands
Posts: 415
Hi,
well, totally depends on the existing structure. I use a light-weight DB, mediainfo to determine existing formats, ffmpeg for the convert-process and a PHP script to control the whole process.

There are quite a few sites out there with examples for the convert commands - there's no solution that works for everything - depends on the in- and output too much ...
StariaDaniel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2012, 07:05 AM   #3
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
Quote:
Originally Posted by StariaDaniel View Post
Hi,
well, totally depends on the existing structure. I use a light-weight DB, mediainfo to determine existing formats, ffmpeg for the convert-process and a PHP script to control the whole process.

There are quite a few sites out there with examples for the convert commands - there's no solution that works for everything - depends on the in- and output too much ...
Hi Daniel,

I appreciate your input, thank you. As for the source files, there is no standard, they can be of any quality and any format but the eventual output just needs to work on a PC, Mac, iOS device and other mobile and tablet devices.

I'm not sure what the output files will even be which is pretty much why I'm looking for resources from people who have been there and done that.

Once again, thank you, hopefully other people will chime in and I'll also be doing my own research.
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2012, 02:06 PM   #4
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
Anyone else have any suggestions that they don't mind throwing my way?
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2012, 03:16 PM   #5
StariaDaniel
Confirmed User
 
Join Date: Oct 2007
Location: Netherlands
Posts: 415
Yes, that's exactly my point. You won't use the same ffmpeg command to convert a full hd wmv than you'd use to convert a 640x480 avi. That's why i created the DB like

filename | input_type | input_resolution | input_aspectratio

Then i grouped them like wmv-1920, wmv-1280, wmv-640-to-720 and then created the commands creating the best results (maybe a 1280 mp4 for all videos >= 1280 and a 640 mp4 for all videos regardless of the resolution, as a single/first for the small ones, and as a secondary low quality for the HD files). Also you've to check if the input is 4:3, 16:9, 2,35:1, etc. and maybe add bars on the top or side (if you need the final video to have a specific resolution).
StariaDaniel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-12-2012, 03:37 PM   #6
Helix
Confirmed User
 
Helix's Avatar
 
Join Date: Feb 2002
Location: Michigan
Posts: 5,955
Can be helpful --> http://www.rodrigopolo.com/ffmpeg/
__________________
Free jscott !!!
Free OneHungLo !!!
Free Baddog !!!
Helix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.