Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Will mp4 (x264 encoded) and ogv work with a passthru template?

3 replies [Last post]
Reply

Hi There,

I would like to handle transcoding on my systems because uploading my originals to the BOTR servers will take too long since my original files are encoded as Quicktime Animation--which is an RLE codec. In short, my original video files are upwards toward 500MB, so it makes sense for me to transcode before I upload. So, I am mainly interested in using BOTR as my streaming video solutions since it seems very easy to upload via the PHP API toolkit.

I am using ffmpeg to transcode my originals to two different formats. Here are the details I am using with ffmpeg to do the transcoding;

For the MP4 transcoding:
Audio Codec: AAC
Audio Bitrate: 128k
Video Codec: libx264
Video Bitrate: 256k
Output Format: mp4
Keyframe Interval: 30

For the Ogg Vorbis / Theora transcoding:
Audio Codec: libvorbis
Audio Bitrate: 128k
Video Codec: libtheora
Video Bitrate: 256k
Output Format: ogg

So, if I upload to the BOTR CDN using the simple 'passthru' template, will the video stream properly? At the moment I am currently using the JWPlayer and the transcoded files are playing fine all all the devices I am currently supporting.

If there is anything I should change regarding the details above so that the transcoded files will work properly on the BOTR streaming service, please let me know.

Thank you for your time and help!

Reply

The best solution is to generate a reasonably sized intermediate file and then let our systems take care of the rest. That way things like bitrate switching will still work.

Streaming passthrough files is not really recommended generally, it is mostly intended for making your originals available for download.

Reply

remco,

Thank you for your suggestion. The problem is that my users expect a fast turn around time to see their final media, and uploading even a file that is, for example 50MB instead of the 500MB adds too much time after the video is rendered on my system. While I understand the value of the bitrate switching, etc., I am supporting a narrow set of devices and connection speeds.

If I transcode it on my end and then upload to your streaming service, that would be optimal. While it's not recommended, is it feasible? Will it work? Also, will I be able to get an embed code for the passthru file?

Thanks for your time and help!

Reply

Just upload a smaller conversion in that case. It is not possible to stream a ogv as passthrough, as that will break things in Flash. Uploading an mp4 and using passthrough is possible, but not recommended.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options