Video transcoding suggestions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RazorSharpe
    Confirmed User
    • Aug 2001
    • 2238

    #1

    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.
  • StariaDaniel
    Confirmed User
    • Oct 2007
    • 415

    #2
    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 ...
    YezzClips.com - Sell your clips and photosets - Promote YezzClips Clipstores and get 20% revshare for life
    YooGirls.com - Sell your non-nude content - Promote Yoogirls Clipstores and get 20% revshare for life
    [email protected] • ICQ #464114379

    Comment

    • RazorSharpe
      Confirmed User
      • Aug 2001
      • 2238

      #3
      Originally posted by StariaDaniel
      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.

      Comment

      • RazorSharpe
        Confirmed User
        • Aug 2001
        • 2238

        #4
        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.

        Comment

        • StariaDaniel
          Confirmed User
          • Oct 2007
          • 415

          #5
          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).
          YezzClips.com - Sell your clips and photosets - Promote YezzClips Clipstores and get 20% revshare for life
          YooGirls.com - Sell your non-nude content - Promote Yoogirls Clipstores and get 20% revshare for life
          [email protected] • ICQ #464114379

          Comment

          • Helix
            Confirmed User
            • Feb 2002
            • 6021

            #6
            Can be helpful --> http://www.rodrigopolo.com/ffmpeg/

            Comment

            Working...