VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Sep 2016
    Location
    Deutschland
    Search PM
    Hi,

    I was trying to encode a file using ffmpeg. But unfortunately, it does only encode a single file. If I try to encode another one, it freezes just before it would normally start to encode the file.
    To get the next file, I need to reboot...

    Any ideas?

    My command-line (I pasted the parameters from somehwere, since I am still trying to get it to work reliably):
    %ffmpeg% -i %original% -pix_fmt nv12 -c:v hevc_qsv -preset:v 7 -profile:v 1 -load_plugin 2 -level:v 5.1 -b:v 38M -maxrate:v 40M-1 -minrate:v 1M -bufsize:v 19M-1 -g:v 250 -bf:v 3 -refs:v 5 -bitrate_limit 1 -async_depth 4 out.qsv.mp4

    Edit:
    The initialization of the encoder seems to be just unstable: It works about 50% of the time.
    Last edited by Epaminaidos; 21st Sep 2016 at 16:13.
    Quote Quote  
  2. Originally Posted by Epaminaidos View Post
    Edit:
    The initialization of the encoder seems to be just unstable: It works about 50% of the time.
    I think this is somehow related to opening and closing encoding session in QSV - some time is required to close session (IMHO - pure speculation - that's why i don't like QSV - looks like instability when compared to NVEnc - but maybe this is only in ffmpeg).

    Try to introduce some delay before starting new session.
    Quote Quote  
  3. Member
    Join Date
    Sep 2016
    Location
    Deutschland
    Search PM
    Originally Posted by pandy View Post
    Try to introduce some delay before starting new session.
    This will not help. I just came home and started an encode. Not even the first one worked.

    BTW: ffmpeg uses about 17% CPU while doing nothing. That's a rather strange value on a quad-core...
    Quote Quote  
  4. Member
    Join Date
    Sep 2016
    Location
    Deutschland
    Search PM
    One more thing: waiting while ffmpeg is frozen does not help either. I just waited for about two hours.
    Quote Quote  
  5. Member
    Join Date
    Nov 2009
    Location
    United States
    Search PM
    On my Pentium g4500 I have no problem running your command line multiple times.
    I compile FFmpeg myself, on Windows 7.
    Need more info to help you.

    Do you have the latest Intel® Media Server Studio installed ?
    Do you compile your own FFmpeg or use a precompiled one?
    What cpu do you have?
    What OS do you use?

    Try QSVEnc: https://onedrive.live.com/?id=6BDD4375AC8933C6%21482&cid=6BDD4375AC8933C6
    With QSVEnc you can use a totally hardware de/encoding pipeline (with supported formats) including resizing if needed.
    Last edited by gregalan; 22nd Sep 2016 at 22:34.
    Quote Quote  
  6. Member
    Join Date
    Sep 2016
    Location
    Deutschland
    Search PM
    Originally Posted by gregalan View Post
    Do you have the latest Intel® Media Server Studio installed ?
    I installed the latest version while trying to get it to work. When I realized, the setting was unstable, I uninstalled it. It did not change anything: Encording was still unstable.
    Currently, it is not installed.
    Do you compile your own FFmpeg or use a precompiled one?
    It's the precompiled Windows 64-bit static package, downloaded on monday.
    What cpu do you have?
    Core-i7-6700HQ
    What OS do you use?
    Windows 10
    Can you tell me a little more about what this is?
    I am not really comfortable downloading some executable from an unknown OneDrive-Account and executing it.
    Quote Quote  
  7. Originally Posted by Epaminaidos View Post
    I am not really comfortable downloading some executable from an unknown OneDrive-Account and executing it.
    If this make you more comfortable then read about software on author page:
    http://rigaya34589.blog135.fc2.com/
    Quote Quote  
  8. Member
    Join Date
    Sep 2016
    Location
    Deutschland
    Search PM
    Originally Posted by pandy View Post
    If this make you more comfortable then read about software on author page:
    http://rigaya34589.blog135.fc2.com/
    I was a little afraid that this page would come up. I already came accross this tool a few days ago but could not believe that a serious tool would only have a japanese homepage.
    I'll have a look into it. Thank you for the hint.
    Quote Quote  
  9. Member
    Join Date
    Sep 2016
    Location
    Deutschland
    Search PM
    Originally Posted by pandy View Post
    If this make you more comfortable then read about software on author page:
    http://rigaya34589.blog135.fc2.com/
    Thank you!
    I checked it and it's working perfectly fine
    BTW: Does it matter if Media Server Studio installed or not?
    The encoding worked perfectly fine before and after the installation. I am just not sure if there is any difference in the result's quality.
    Quote Quote  
  10. Originally Posted by Epaminaidos View Post
    BTW: Does it matter if Media Server Studio installed or not?
    The encoding worked perfectly fine before and after the installation. I am just not sure if there is any difference in the result's quality.
    IMHO important is graphics driver - Media Server Studio looks like not the most important component (and drivers provided with Studio are for MS Windows Server).
    I really can't understand why companies like Intel and even way worse AMD completely ignore that good documentation is mandatory to promote their technologies.
    From my perspective NVidia maybe is not best quality or most functionally advanced but NVidia documentation can be considered as reference.

    Originally Posted by Epaminaidos
    but could not believe that a serious tool would only have a japanese homepage
    Yep, Rigaya completely ignore English (but technological terms used by him are English anyway)... a bit sad as automatic translation is not so good...
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!