Answer the question
In order to leave comments, you need to log in
What "iron" components affect the conversion speed in ffmpeg?
Hello!
We are going to do mass processing of video from mp4 to x264 to HLS format in order to replace the unprotected HTML5 player on the video platform. Now we are thinking about technology in order to process the accumulated material relatively quickly. . I'll attach the conversion code at the very bottom.
Question: What is more important for video conversion video card or processor? There seems to be a lot of algorithms now that allow you to convert on the GPU and, according to tests on the Internet, they give a significant increase. It is very interesting how things are in real use. Tk now there is a choice to rent a server without a GPU, but with a powerful set of CPUs, or vice versa, look for a computer with a good video card. Is it possible to save on RAM and SSD speed, or do they also play a significant role?
The code :
ffmpeg -v quiet -stats -xerror -i test/video-1920-1080.mp4 \
-c:v h264 -profile:v main -level 4.0 \
-filter:v:0 "scale=-2:'min(720 ,ih)'" \
-filter:v:1 "scale=-2:'min(1080,ih)'" \
-b:v:0 3000k \
-b:v:1 6000k \
-c:a copy \
-force_key_frames "expr:gte(t,n_forced*2)" \
-map 0:0 -map 0:1 -map 0:0 -map 0:1 -f hls \
-var_stream_map "v:0,a:0 v :1,a:1" \
-master_pl_name index.m3u8 \
-hls_time 10 -hls_playlist_type vod \
-hls_segment_filename test/video/%v_%04d.ts test/video/%v.m3u8
Answer the question
In order to leave comments, you need to log in
Good to you too!
We are going to do mass processing of video from mp4 to x264 to HLS format in order to replace the unprotected HTML5 player on the video platform.
What is more important for video conversion video card or processor? Because It seems that now there are many algorithms that allow you to convert on the GPU, and according to tests on the Internet, they give a significant increase. It is very interesting how things are in real use. Now there is a choice to rent a server without a GPU, but with a powerful set of CPUs, or vice versa, look for a computer with a good video card.
Is it possible to save on RAM and SSD speed, or do they also play a significant role?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question