Opened 18 months ago

Last modified 16 months ago

#5515 new defect

rtbufsize of 0 crashes FFMPeg

Reported by: bgrh Owned by:
Priority: minor Component: avdevice
Version: git-master Keywords: dshow crash
Cc: rogerdpack@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Execute FFMpeg under Windows with these params:

D:\Tools\FFMpeg\bin>ffmpeg -f dshow -video_size 1920x1080 -rtbufsize 0K -framerate 15 -vcodec mjpeg -i video="USB Video Device" -vcodec copy -f mjpeg

Attachments (2)

disassembly.asm (3.2 KB) - added by bgrh 18 months ago.
ffmpeg_exception.PNG (13.0 KB) - added by bgrh 18 months ago.
Exception debuger dialog popup

Download all attachments as: .zip

Change History (9)

Changed 18 months ago by bgrh

comment:1 Changed 18 months ago by bgrh

on this line:

0000000140024DF0 48 F7 F9 idiv rax,rcx

comment:2 Changed 18 months ago by bgrh

Stack frames:

ffmpeg.exe!0000000140024df0()

[Frames below may be incorrect and/or missing, no symbols loaded for ffmpeg.exe]
ffmpeg.exe!00000001400286fe()
ksproxy.ax!CKsOutputPin::Deliver() + 0x4e bytes
ksproxy.ax!CKsOutputPin::KsDeliver?() + 0x6f bytes
ksproxy.ax!CStandardInterfaceHandler::KsCompleteIo?() + 0x244 bytes
ksproxy.ax!CKsOutputPin::OutputPinBufferHandler?() + 0x22 bytes
ksproxy.ax!CAsyncItemHandler::AsyncItemProc?() + 0x228 bytes
kernel32.dllBaseThreadStart() + 0x3a bytes

comment:3 Changed 18 months ago by bgrh

  • Component changed from undetermined to ffmpeg

comment:4 Changed 18 months ago by cehoyos

  • Component changed from ffmpeg to avdevice
  • Keywords dshow added

Please provide an actual command line together with the complete, uncut console output to make this a valid ticket.

comment:5 Changed 18 months ago by cehoyos

  • Keywords crash added

comment:6 Changed 18 months ago by bgrh

This is the complete command line:

ffmpeg -f dshow -video_size 1920x1080 -rtbufsize 0K -framerate 15 -vcodec mjpeg -i video="USB Video Device" -vcodec copy D:/out_home.avi >out.txt 2>&1

This is console output:

ffmpeg version N-79779-gc5d2d3d Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 23.100 / 55. 23.100
libavcodec 57. 38.100 / 57. 38.100
libavformat 57. 36.100 / 57. 36.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 44.100 / 6. 44.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

Changed 18 months ago by bgrh

Exception debuger dialog popup

comment:7 Changed 16 months ago by rogerdpack

  • Cc rogerdpack@gmail.com added
Note: See TracTickets for help on using tickets.