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

[Bug Report] lost audio interval by ffmpeg nvenc encoded mp4 video. #5560

Open
aluminaceramix opened this issue Dec 16, 2024 · 0 comments
Open
Labels
bug report Bug reports that are not yet verified

Comments

@aluminaceramix
Copy link

Describe the bug
lost audio interval in mpv nvdec player by ffmpeg nvenc encoded mp4 video.
no lost audio in same environment by ffmpeg libx264 encoded mp4 video.
tested for about 4min of 4K/60p fireworks video.(around 6GB)

To Reproduce
Steps to reproduce the behavior:

lost audio ffmpeg nvenc encode options are: (tested in 2 patterns)

  1. lost audio in about 2m50s to 3m30s.
    -hwaccel cuda -hwaccel_output_format cuda -c:v h264_cuvid
    -resize 3840x2160
    -i file.mov
    -c:v h264_nvenc -profile:v high -b:v 0 -cq 28 -bf 2 -rc-lookahead 20 -c:a aac
    file.mp4

  2. lost audio in after about 30s.
    -hwaccel cuda -hwaccel_output_format cuda -c:v h264_cuvid
    -resize 3840x2160
    -i file.mov
    -c:v h264_nvenc -qp 25
    file.mp4

no lost audio ffmpeg libx264 encode options are:
-c:v libx264 -crf 23

Desktop (please complete the following information):

  • OS:Debian GNU/Linux 12.7
    NVIDIA RTX A2000
    NVIDIA-Linux-x86_64-550.107.02.run

Additional context
ffmpeg version 5.1.6-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)

mpv 0.35.1 Copyright ツゥ 2000-2023 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
FFmpeg library versions:
libavutil 57.28.100
libavcodec 59.37.100
libavformat 59.27.100
libswscale 6.7.100
libavfilter 8.44.100
libswresample 4.7.100
FFmpeg version: 5.1.6-0+deb12u1

thanks.

@aluminaceramix aluminaceramix added the bug report Bug reports that are not yet verified label Dec 16, 2024
@github-project-automation github-project-automation bot moved this to To triage in Bug fixing Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Bug reports that are not yet verified
Projects
Status: To triage
Development

No branches or pull requests

1 participant