Use libx264, x264 or h264 for video encoding/decoding?.So having a video as input in any format, I want to convert it to mp4. I am trying to obtain mp4 videos because of the wide implementation of the format in html5 browsers. Other than the above performance problem, the usage of codecs bugs me. So if the efficiency is smaller than 100%, it's better to have N procVideo tasks in parallel, each bound to a single core, rather than doing the task sequentially for each output video. This means that letting ffmpeg process the task procVideo - which takes 1 input video to produce 1 single output video (transcoding/downscaling and so on) - on N processor cores doesn't mean it finish the task N times faster than letting it run the same task bound to a single core. So the question is actually reduced to the parallelism efficiency of the ffmpeg program. Process the video to obtain all output videos in parallel, by bounding each output video to a single processor core which'll work at 100%.Process input video and obtain 1 output video at a time, and let all the cores work at the same time at 100%.So this leads us to basically 2 scenarios: Assuming the video mentioned above as input, for obtaining the 3 output videos 240px, 480px and 720px height sizes), we: Using ffmpeg, I see that all of my laptop's cores (8) are used at 100% and I was wondering what scenarios can improve the overall performance of the whole processing task. 240px, 480px and 720px height) using mp4 format (thus using libx264 with aac codecs). I have a video (fullHD, doesn't matter what encoders / compression format was used to obtain the video) and I want to resize (downscale) to various sizes (e.g. First of all, given the fact that FFMPEG utilizes all cores at 100%, what is the actual parallelism efficiency?.I'm a beginner so please bear with me (although I read some docs on the internet) Performance I have a few questions regarding usage of ffmpeg for processing videos for the web.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |