Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse option value #399

Closed
alfasmartplayer opened this issue Jun 20, 2022 · 3 comments
Closed

Unable to parse option value #399

alfasmartplayer opened this issue Jun 20, 2022 · 3 comments

Comments

@alfasmartplayer
Copy link

Some videos have the following error. If I copy a sound as it is, I don't have any problems. But when I use any encoder (aac, ac3, mp3) I get the following error. I'm pretty sure my command line is working fine as I've converted thousands of movies. It's strange that it only gives this error on some videos. I thought there was a problem with some videos, but I turned it with the handbrake and it completed without any problems... What could be the reason for this error?

[abuffer @ 00000290797b0ac0] Unable to parse option value "(null)" as sample format
[abuffer @ 00000290797b0ac0] Unable to parse option value "(null)" as sample format
[abuffer @ 00000290797b0ac0] Error setting option sample_fmt to value (null).
[in_track_2.0 @ 0000029006b53980] Error applying options to the filter.
avout: failed to create abuffer: Invalid argument.
failed to initialize file reader(s).
@rigaya
Copy link
Owner

rigaya commented Jun 20, 2022

Thank you for reporting the issue.

Seems like the audio decoder not reporting sample format is causing this issue.

Although I'm not being able to reproduce this issue, I have tried avoiding this error, would you please try with the attached version?
NVEncC64_6.06_beta1.zip

@alfasmartplayer
Copy link
Author

Yes, it's working fine now. Thank you so much. I will let you know if there is an issue

NVEncC (x64) 6.06 beta1 (r2216) by rigaya, Jun 20 2022 19:54:59 (VC 1929/Win)
OS Version     Windows 10 x64 (19044) [UTF-8]
CPU            AMD Ryzen 9 5950X 16-Core Processor [4.77GHz] (16C/32T)
GPU            #0: NVIDIA GeForce RTX 3060 Ti (4864 cores, 1770 MHz)[PCIe4x16][472.12]
NVENC / CUDA   NVENC API 11.1, CUDA 11.4, schedule mode: auto
Input Buffers  CUDA, 44 frames
Input Info     avcuvid: H.264/AVC, 1920x1072, 24000/1001 fps
AVSync         vfr
Vpp Filters    copyDtoD
Output Info    H.264/AVC high @ Level 4.1
               1920x1072p 1:1 23.976fps (24000/1001fps)
               avwriter: h264, #1:ac3/5.1(side) -> ac3/5.1(side)/192kbps,
                #2:dca/6ch -> ac3/5.1(side)/192kbps => matroska
Encoder Preset default
Rate Control   VBR
Multipass      none
Bitrate        31 kbps (Max: 60000 kbps)
Target Quality auto
Initial QP     I:20  P:23  B:25
QP Offset      cb:0  cr:0
VBV buf size   auto
Lookahead      on, 32 frames
GOP length     48 frames
B frames       3 frames [ref mode: middle]
Ref frames     3 frames, MultiRef L0:auto L1:auto
AQ             off
VUI            chromaloc:left
Others         mv:Q-pel cabac deblock adapt-transform:auto bdirect:auto
[6.8%] 10429 frames: 385.60 fps, 18540 kb/s, remain 0:06:11, GPU 8%, VE 99%, VD 47%, est out size 14134.8MB

@rigaya
Copy link
Owner

rigaya commented Jun 20, 2022

Thank you for testing, nice to hear it now works fine.

The next release will include this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants