[FFmpeg-trac] #10794(avfilter:new): bwdif_cuda crashed with mpeg2 interlaced 720x480x29.97 (ntsc) stream
FFmpeg
trac at avcodec.org
Fri Jan 12 15:11:45 EET 2024
#10794: bwdif_cuda crashed with mpeg2 interlaced 720x480x29.97 (ntsc) stream
-------------------------------------+-------------------------------------
Reporter: ua0lnj | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: bwdif_cuda | Blocked By:
nvdec |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by ua0lnj:
Old description:
> Summary of the bug:
> mpv segfault with bwdif_cuda and mpeg2 interlaced 720x480x29.97 (ntsc)
> stream
> vdr-plugin-softhddevice crashed too.
>
> How to reproduce:
> mpv -vo=gpu -hwdec=nvdec --hwdec-codecs=all -vf=bwdif_cuda=1:-1:1
> 00001.ts
>
> root at ua0lnjvdr:/# DISPLAY=:0 mpv -vo=gpu -hwdec=nvdec --hwdec-codecs=all
> -vf=bwdif_cuda=1:-1:1 00001.ts
> [ffmpeg/demuxer] mpegts: start time for stream 3 is not set in
> estimate_timings_from_pts
> [ffmpeg/demuxer] mpegts: start time for stream 4 is not set in
> estimate_timings_from_pts
> [ffmpeg/demuxer] mpegts: start time for stream 5 is not set in
> estimate_timings_from_pts
> [ffmpeg/demuxer] mpegts: start time for stream 6 is not set in
> estimate_timings_from_pts
> [ffmpeg/demuxer] mpegts: start time for stream 7 is not set in
> estimate_timings_from_pts
> [ffmpeg/demuxer] mpegts: start time for stream 8 is not set in
> estimate_timings_from_pts
> [ffmpeg/demuxer] mpegts: start time for stream 9 is not set in
> estimate_timings_from_pts
> [ffmpeg/demuxer] mpegts: PES packet size mismatch
> [ffmpeg/demuxer] mpegts: Packet corrupt (stream = 1, dts = 3279839310).
> [ffmpeg/demuxer] mpegts: PES packet size mismatch
> [ffmpeg/demuxer] mpegts: Packet corrupt (stream = 2, dts = 3279842314).
> (+) Video --vid=1 (mpeg2video 720x480 29.970fps)
> (+) Audio --aid=1 --alang=eng (mp2 2ch 48000Hz)
> Audio --aid=2 --alang=eng (mp2 2ch 48000Hz)
> Subs --sid=1 --slang=chi (dvb_subtitle)
> Subs --sid=2 --slang=esl (dvb_subtitle)
> Subs --sid=3 --slang=ara (dvb_subtitle)
> Subs --sid=4 --slang=rus (dvb_subtitle)
> Subs --sid=5 --slang=vie (dvb_subtitle)
> Subs --sid=6 --slang=ind (dvb_subtitle)
> Subs --sid=7 --slang=chi (dvb_subtitle)
> Using hardware decoding (nvdec).
> [ffmpeg] mpv_src_default_in: Changing video frame properties on the fly
> is not supported by all filters.
> Segmentation fault (core dumped)
>
> No problem with yadif_cuda, no problem with bwdif_cuda and mpeg2
> interlaced 720x576x25 streams.
New description:
Summary of the bug:
mpv segfault with bwdif_cuda and mpeg2 interlaced 720x480x29.97 (ntsc)
stream
vdr-plugin-softhddevice crashed too.
How to reproduce:
mpv -vo=gpu -hwdec=nvdec --hwdec-codecs=all -vf=bwdif_cuda=1:-1:1 00001.ts
root at ua0lnjvdr:/# DISPLAY=:0 mpv -vo=gpu -hwdec=nvdec --hwdec-codecs=all
-vf=bwdif_cuda=1:-1:1 00001.ts
[ffmpeg/demuxer] mpegts: start time for stream 3 is not set in
estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 4 is not set in
estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 5 is not set in
estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 6 is not set in
estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 7 is not set in
estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 8 is not set in
estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 9 is not set in
estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: PES packet size mismatch
[ffmpeg/demuxer] mpegts: Packet corrupt (stream = 1, dts = 3279839310).
[ffmpeg/demuxer] mpegts: PES packet size mismatch
[ffmpeg/demuxer] mpegts: Packet corrupt (stream = 2, dts = 3279842314).
(+) Video --vid=1 (mpeg2video 720x480 29.970fps)
(+) Audio --aid=1 --alang=eng (mp2 2ch 48000Hz)
Audio --aid=2 --alang=eng (mp2 2ch 48000Hz)
Subs --sid=1 --slang=chi (dvb_subtitle)
Subs --sid=2 --slang=esl (dvb_subtitle)
Subs --sid=3 --slang=ara (dvb_subtitle)
Subs --sid=4 --slang=rus (dvb_subtitle)
Subs --sid=5 --slang=vie (dvb_subtitle)
Subs --sid=6 --slang=ind (dvb_subtitle)
Subs --sid=7 --slang=chi (dvb_subtitle)
Using hardware decoding (nvdec).
[ffmpeg] mpv_src_default_in: Changing video frame properties on the fly is
not supported by all filters.
Segmentation fault (core dumped)
No problem with yadif_cuda, no problem with bwdif_cuda and mpeg2
interlaced 720x576x25 streams.
Sample:
https://streams.videolan.org/ffmpeg/incoming/00001.ts
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10794#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list