Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7888 closed defect (needs_more_info)

output file's video is incorrect

Reported by: applemax82 Owned by:
Priority: normal Component: avfilter
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i "4k_ffmpeg_h264_20m.flv" -acodec libfdk_aac -profile:a aac_he -ar 44100 -ac 2 -ab 64000 -vcodec h264_qsv -vb 20000000 -r 25/1 -force_key_frames "expr:gte(t,n_forced*5)" -minrate 20000000 -maxrate 30000000 -bufsize 40000000 -preset veryfast -profile:v high -vf "vpp_qsv, hwupload=extra_hw_frames=64,format=qsv" -vsync 1 -async 1 -max_muxing_queue_size 2000 -threads 16 -f flv 4k_ffmpeg_h264_qsv.flv
ffmpeg 4.0.1
built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 by Carl Eugen Hoyos, 5 years ago

Keywords: video intel qsv removed
Resolution: needs_more_info
Status: newclosed
Version: 4.0.3unspecified

comment:2 by applemax82, 5 years ago

I use the above command to do transcoding, but output's video is incorrect.

The source file can be downloaded from http://u.163.com/N3GUSNJN, and password is IeIZuu4M.

but the following command results in correct output's video:

ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i "4k_ffmpeg_h264_20m.flv" -acodec libfdk_aac -profile:a aac_he -ar 44100 -ac 2 -ab 64000 -vcodec h264_qsv -vb 20000000 -r 25/1 -force_key_frames "expr:gte(t,n_forced*5)" -minrate 20000000 -maxrate 30000000 -bufsize 40000000 -preset veryfast -profile:v high -vf "format=nv12, vpp_qsv, hwupload=extra_hw_frames=64,format=qsv" -vsync 1 -async 1 -max_muxing_queue_size 2000 -threads 16 -f flv 4k_ffmpeg_h264_qsv_debug.flv

Note: See TracTickets for help on using tickets.