Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I was exploring the ffmpeg video conversion. Wanted to know what will be the hardware requirements and the time taken to convert a 5gb video file
typically it depends on how much compression you want. If you want high compression and good quality, it takes forever. But it is also different between video codecs (and to a small extent, audio codecs, as well), some are faster, some are slower.
Hardware requirements are basically "any cpu" (you might get some speedup with graphics card GPU but ffmpeg doesn't use them heavily/typically yet). But with stronger hardware, it will convert "faster" as it were.
FFmpeg can almost run on everything.
You can see this:
https://ffmpeg.org/pipermail/ffmpeg-user/2011-March/000094.html
I don't think there is a standard runtime of coverting 5gb video file. The time may depend on your hardware, the input/output video codec, resolution, format,etc.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Learning to speed up and slow down video using the ffmpeg setpts filter, but I am struggling to get a simple expression to work.
ffmpeg -i .\F5-ff.mp4 -filter:v "setpts=0.25*PTS" ff-test3.mp4
I get the output file, but it is not any faster than the original.
I'm sorry if this has already been addressed. Most related post I've found were trouble shooting more complex operations past this step. Im working in a powershell terminal fyi.
Just realized what was happening...I was looking at the total length of the video, but closer look showed that video portion was actually faster, but total length of file remained unchanged because audio track had not been shortened.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
i use to convert videos by ffmpeg with h264_nvenc codec, currently i noticed that nvidia-smi command shows GPU utilization is less that 20 percent.
how could i utilize more GPU and fasten the process?
You can’t. Nvenc is not gpgpu. It is deticated silicon for accelerating some steps of the video encoding process. The bottle neck is in this component. Not in the vector units.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm sorry that the title is confusing, but it is so complicated I couldn't make a good title. I don't know if it's in the correct stackexchange subdivision in the first place, if it's in the wrong forum, please migrate it!
HD = 1920x1080, UHD = 3840x2160
Let's say I buy a laptop with UHD screen and for example NVIDIA GeForce 980M card. Some games may run slow because the screen is very big.
Now I change the graphics settings for a lower resolution from UHD to like HD. Will changing from an UHD to HD in the graphics settings make the laptop's performance equally fast to the performance of another laptop that is physically build with HD screen, or will it still run a bit slower?
It's basically impossible to give an exact answer to this without measuring the exact computers, but either way, you are not going to notice any difference.
If they cost the same, the difference would be from the laptop manufacturer spending their hardware budget on a higher resultion screen rather than a better processor etc.
If the software and hardware is the same, except for the screen, you wouldn't notice any difference except the price of the computer.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
For a one hour dash cam video in normal speed, is it possible to create a smooth timelapse video from it?
Most tutorials online I found about "timelapse + ffmpeg" are with static jpeg files combined into a timelapse video. These often result jiggle between frames, are the any specific parameters which would make the video looking very smooth & stable?
Should I just setpts=0.5*PTS for the trick? Any must-have or little-known tricks?
Update: this question is asking for specific programmable ffmpeg parameters.
Yes, that's the way specified in the ffmpeg wiki: How to speed up / slow down a video.
ffmpeg -i input.mkv -filter:v "setpts=0.5*PTS" output.mkv
setpts also supports expressions if you feel creative and want to speed up/ slow down based on a curve rather than a constant value.
Eg: -filter:v "setpts=gauss(T/100)*PTS"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 months ago.
Improve this question
My requirement is create a encoded video from raw frames in atleast 4k resolution. Presently I am recording videos #1080p using libavcodec (H.264, MPEG4). What will be the best solution for recording these videos #4k?
Is it possible to do multithreaded encoding using libavcodec?
Another option could be using Intel QuickSync. How good is that?
are there other any solutions available?
Edit: I require atleast 24FPS.
Best is very subjective. You can get faster encoding with lower quality and somebody maybe fine with that. You did not mention your codecs in use. AFAIK, libavcodec with x264 can handle 4k resolution with multiple threads. The hardware will become the limiting factor I think. My i7 manages 4 fps with medium preset main profile and 8 threads running in parallel which goes upto 8 fps for baseline profile. So still some way to go. If you have quad processor system x264 should still be able to do it.
Never used Intel QuickSync so cannot comment there.
A pointer: CUDA based encoding might be faster if that is an option for you.