[FFmpeg-trac] #7830(avutil:new): Allocation size of input surface for qsv not takes into account alignment required by qsv
FFmpeg
trac at avcodec.org
Mon Apr 8 13:04:39 EEST 2019
#7830: Allocation size of input surface for qsv not takes into account alignment
required by qsv
-------------------------------------+-------------------------------------
Reporter: alexandr- | Owner:
konovalov |
Type: defect | Status: new
Priority: normal | Component: avutil
Version: git-master | Resolution:
Keywords: qsv | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by alexandr-konovalov):
This is because input frames are submitted via another code path, where
`submit_frame()` is absent.
{{{
#0 qsv_transfer_data_to (ctx=0x1f5a000, dst=0x1fb3140, src=<optimized
out>) at libavutil/hwcontext_qsv.c:926
#1 0x0000000000fb042f in av_hwframe_transfer_data (dst=0x1fb3140,
src=0x1fb2700, flags=flags at entry=0) at libavutil/hwcontext.c:456
#2 0x0000000000530538 in hwupload_filter_frame
(link=link at entry=0x1f558c0, input=<optimized out>) at
libavfilter/vf_hwupload.c:175
#3 0x00000000004be93a in ff_filter_frame_framed (frame=<optimized out>,
link=0x1f558c0) at libavfilter/avfilter.c:1071
#4 ff_filter_frame_to_filter (link=0x1f558c0) at
libavfilter/avfilter.c:1219
#5 ff_filter_activate_default (filter=<optimized out>) at
libavfilter/avfilter.c:1268
#6 ff_filter_activate (filter=<optimized out>) at
libavfilter/avfilter.c:1429
#7 0x00000000004c20dc in ff_filter_graph_run_once
(graph=graph at entry=0x1f53b80) at libavfilter/avfiltergraph.c:1454
#8 0x00000000004c314c in push_frame (graph=0x1f53b80) at
libavfilter/buffersrc.c:187
#9 av_buffersrc_add_frame_internal (ctx=ctx at entry=0x1f55d00,
frame=frame at entry=0x1f53540, flags=flags at entry=4) at
libavfilter/buffersrc.c:261
#10 0x00000000004c37fd in av_buffersrc_add_frame_flags (ctx=0x1f55d00,
frame=frame at entry=0x1f53540, flags=flags at entry=4) at
libavfilter/buffersrc.c:170
#11 0x0000000000498451 in ifilter_send_frame (frame=0x1f53540,
ifilter=0x1f52100) at fftools/ffmpeg.c:2196
#12 send_frame_to_filters (ist=ist at entry=0x1f4eac0,
decoded_frame=decoded_frame at entry=0x1f53540) at fftools/ffmpeg.c:2270
#13 0x0000000000498bfe in decode_video (ist=ist at entry=0x1f4eac0,
pkt=pkt at entry=0x7fffffffdb90, got_output=<optimized out>,
duration_pts=<optimized out>, eof=<optimized out>,
decode_failed=<optimized out>) at fftools/ffmpeg.c:2469
#14 0x000000000049a97b in process_input_packet (ist=0x1f4eac0,
pkt=0x7fffffffdfb0, no_eof=0) at fftools/ffmpeg.c:2623
#15 0x000000000049c567 in process_input (file_index=<optimized out>) at
fftools/ffmpeg.c:4516
#16 transcode_step () at fftools/ffmpeg.c:4636
#17 transcode () at fftools/ffmpeg.c:4690
#18 0x000000000047a7b3 in main (argc=<optimized out>, argv=0x7fffffffe588)
at fftools/ffmpeg.c:4892
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7830#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list