VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. hi, sorry for my bad english,
    i read in internet, you can use GPU to help FFMPEG to run faster,
    i have this intel HD graphic 4600, and nvidia geforce gtx 750 ti,
    can i use it for FFMPEG?

    if it can, can it set priority(like priority in task manager) to low or background?,
    (i dont want my display lag when browsing)

    thanks for reading
    Quote Quote  
  2. Specify h264_nvenc, hevc_nvenc, h264_qsv, or hevc_qsv as the encoder.

    You can always use Windows' Start command to start programs at low priority.

    Code:
    Start /b /low "Window Name" ffmpeg.exe...
    Quote Quote  
  3. Originally Posted by jagabo View Post
    Specify h264_nvenc, hevc_nvenc, h264_qsv, or hevc_qsv as the encoder.

    You can always use Windows' Start command to start programs at low priority.

    Code:
    Start /b /low "Window Name" ffmpeg.exe...
    you help me again, thanks, ok then
    Code:
    "c:\ffmpeg.exe" -i "%~1" -f segment "%~dp1output\%~n1.%%03d.mp4"
    please, tell me how to put the "h264_nvenc, hevc_nvenc, h264_qsv, or hevc_qsv" in that line
    Quote Quote  
  4. Add to the command line after the source input:
    Code:
    -c:v h264_nvenc
    Do a web search for command line parameters.
    Quote Quote  
  5. Originally Posted by jagabo View Post
    Add to the command line after the source input:
    Code:
    -c:v h264_nvenc
    Do a web search for command line parameters.
    something like this
    Code:
    "c:\ffmpeg.exe" -i "%~1" -c:v h264_nvenc -f segment "%~dp1output\%~n1.%%03d.mp4"
    and the result is
    Code:
    [h264_nvenc @ 000002935ebf6480] Driver does not support the required nvenc API version. Required: 9.0 Found: 8.1
    [h264_nvenc @ 000002935ebf6480] The minimum required Nvidia driver for nvenc is 418.81 or newer
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    i will try other option then,
    thanks for the reply
    Quote Quote  
  6. It says you need a more up to date nvenc driver (from nvidia).
    Quote Quote  
  7. Originally Posted by jagabo View Post
    It says you need a more up to date nvenc driver (from nvidia).
    i have updated the driver and use h264_nvenc, i works, thank a lot to you, hi hi hi

    (edit),
    it super fast, usually the "opening for writing" about 4 to 8 seconds, but after using h264_nvenc, it decreases to 1 or 2 seconds
    Quote Quote  
  8. Originally Posted by jagabo View Post
    It says you need a more up to date nvenc driver (from nvidia).
    something wrong , it indeed fast but the segment cut is not precise, i will back to non "-c:v h264_nvenc" then
    Quote Quote  
  9. Originally Posted by ujang View Post
    Originally Posted by jagabo View Post
    It says you need a more up to date nvenc driver (from nvidia).
    something wrong , it indeed fast but the segment cut is not precise
    You might have to force the GOP size to match the desired segment time. For example, with a 25 fps video set the GOP size to 50 to match the 2 second segment size:

    Code:
    -g 50
    If you get it working, please post the full command line here. It may be useful to others in the future.
    Quote Quote  
  10. Originally Posted by jagabo View Post
    Originally Posted by ujang View Post
    Originally Posted by jagabo View Post
    It says you need a more up to date nvenc driver (from nvidia).
    something wrong , it indeed fast but the segment cut is not precise
    You might have to force the GOP size to match the desired segment time. For example, with a 25 fps video set the GOP size to 50 to match the 2 second segment size:

    Code:
    -g 50
    If you get it working, please post the full command line here. It may be useful to others in the future.
    i will try it later. currently, the batch is processing 500mb of a video file, i don't know when it done,
    meanwhile i looking for alternative way, making a list without -c:v h264_nvenc(or hevc_nvenc, h264_qsv, hevc_qsv),
    and split the result using -c:v h264_nvenc, and i did not make any progress
    Quote Quote  
  11. Originally Posted by jagabo View Post
    Originally Posted by ujang View Post
    Originally Posted by jagabo View Post
    It says you need a more up to date nvenc driver (from nvidia).
    something wrong , it indeed fast but the segment cut is not precise
    You might have to force the GOP size to match the desired segment time. For example, with a 25 fps video set the GOP size to 50 to match the 2 second segment size:

    Code:
    -g 50
    If you get it working, please post the full command line here. It may be useful to others in the future.
    i have test it, with "-c:v h264_nvenc -g 50" faster but still not accurate,
    i still prefer using it without "-c:v h264_nvenc -g 50"
    Quote Quote  
  12. adding '-strict_gop 1' might help
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  13. Originally Posted by Selur View Post
    adding '-strict_gop 1' might help
    thanks for the reply, i added the '-strict_gop 1', the result is like this
    Code:
    "c:\ffmpeg.exe" -i "%~1" -c:v h264_nvenc -g 50 -strict_gop 1 -f segment "%~dp1output\%~n1.%%03d.mp4"
    but the result is not precise,
    i still prefer using " -c:v h264_nvenc",
    i know it very slow (almost 5x slower), but it precise,
    thanks for your concern
    Quote Quote  



Similar Threads