[FFmpeg-trac] #9568(undetermined:new): FFmpeg crashed when input dshow filter (was: FFmpeg crashed with input dshow filter)
FFmpeg
trac at avcodec.org
Sun Dec 26 03:00:23 EET 2021
#9568: FFmpeg crashed when input dshow filter
-------------------------------------+-------------------------------------
Reporter: kgp700 | Owner: (none)
Type: defect | Status: new
Priority: critical | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by kgp700):
* summary: FFmpeg crashed with input dshow filter => FFmpeg crashed when
input dshow filter
Old description:
> Precondition :
> 1. Build ffmpeg x86(32bit) binary with this commit
> (https://github.com/FFmpeg/FFmpeg/commit/911ba8417e8881a7380842e69e11ca05fdc46575
> #diff-d1c8390949244131fb904eb8338dcc0c33fedaf006bac94bfc0b6448aa0b595c)
> or master commit
>
> How to reproduce:
> 1.Run with Precondition build ffmpeg
> {{{
> "F:\Infinity_Media_Encoder_Alpha52\Tools\ffmpeg32\ffmpeg.exe" -y
> -rtbufsize 2100M -f dshow -i video="OBS-Camera":audio="OBS-Audio"
> -pix_fmt yuv420p -vcodec libx264 -preset fast -profile:v high -g 60
> -keyint_min 60 -b:v 6500k -threads 0 -x264-params
> ref=2:fullrange=off:colorprim=bt709:me=umh:ref=4:mixed-
> refs=1:deblock=1,1:8x8dct=1:bframes=5:merange=25:subme=8:psy-
> rd=0.3:trellis=1:direct=auto:chroma_me=1:weightp=2:no-dct-decimate=1:no-
> fast-pskip=1:rc_lookahead=50:qcomp=0.9:ipratio=1.41:aq-mode=3:aq-
> strength=0.6:b-adapt=1:b-pyramid=1:no-scenecut=1 -bufsize:v 6500k
> -maxrate:v 6500k -minrate:v 6500k -acodec aac -b:a 192k -ar 48000
> -map_metadata -1 -map_chapters -1 -f flv
> "rtmp://192.168.50.243:1936/livetest2/kgn"
> }}}
>
> Actual Result : FFmpeg crashed (last log is [dshow @ 069c6c80] Selecting
> pin Video on video)
>
> Comment :
> 1. '''only reproduce on x86 build''', can't reproduce on x86_64 build
> 2. no problem with this commit build
> (https://github.com/FFmpeg/FFmpeg/commit/56709ca8aaffed529b62b2afa4288325d64dae57)
> 3. I guess this issue caused by this commit :
> https://github.com/FFmpeg/FFmpeg/commit/911ba8417e8881a7380842e69e11ca05fdc46575
> #diff-d1c8390949244131fb904eb8338dcc0c33fedaf006bac94bfc0b6448aa0b595c
New description:
Precondition :
1. Build ffmpeg x86(32bit) binary with this commit
(https://github.com/FFmpeg/FFmpeg/commit/911ba8417e8881a7380842e69e11ca05fdc46575
#diff-d1c8390949244131fb904eb8338dcc0c33fedaf006bac94bfc0b6448aa0b595c) or
release/4.4 or master commit
2. dshow input : OBS 27.1.3 + OBS Virtual Cam 2.0.5 plugin
How to reproduce:
1.Run with Precondition build ffmpeg
{{{
"F:\Infinity_Media_Encoder_Alpha52\Tools\ffmpeg32\ffmpeg.exe" -y
-rtbufsize 2100M -f dshow -i video="OBS-Camera":audio="OBS-Audio" -pix_fmt
yuv420p -vcodec libx264 -preset fast -profile:v high -g 60 -keyint_min 60
-b:v 6500k -threads 0 -x264-params
ref=2:fullrange=off:colorprim=bt709:me=umh:ref=4:mixed-
refs=1:deblock=1,1:8x8dct=1:bframes=5:merange=25:subme=8:psy-
rd=0.3:trellis=1:direct=auto:chroma_me=1:weightp=2:no-dct-decimate=1:no-
fast-pskip=1:rc_lookahead=50:qcomp=0.9:ipratio=1.41:aq-mode=3:aq-
strength=0.6:b-adapt=1:b-pyramid=1:no-scenecut=1 -bufsize:v 6500k
-maxrate:v 6500k -minrate:v 6500k -acodec aac -b:a 192k -ar 48000
-map_metadata -1 -map_chapters -1 -f flv
"rtmp://192.168.50.243:1936/livetest2/kgn"
}}}
Actual Result : FFmpeg crashed (last log is [dshow @ 069c6c80] Selecting
pin Video on video)
Comment :
1. '''only reproduce on x86 build''', can't reproduce on x86_64 build
2. no problem with this commit build
(https://github.com/FFmpeg/FFmpeg/commit/56709ca8aaffed529b62b2afa4288325d64dae57)
3. I guess this issue caused by this commit :
https://github.com/FFmpeg/FFmpeg/commit/911ba8417e8881a7380842e69e11ca05fdc46575
#diff-d1c8390949244131fb904eb8338dcc0c33fedaf006bac94bfc0b6448aa0b595c
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9568#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list