Opened 8 years ago

Last modified 8 years ago

#5515 new defect

rtbufsize of 0 crashes FFMPeg

Reported by: Danila Galimov 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 Danila Galimov 8 years ago.
ffmpeg_exception.PNG (13.0 KB ) - added by Danila Galimov 8 years ago.
Exception debuger dialog popup

Download all attachments as: .zip

Change History (9)

by Danila Galimov, 8 years ago

Attachment: disassembly.asm added

comment:1 by Danila Galimov, 8 years ago

on this line:

0000000140024DF0 48 F7 F9 idiv rax,rcx

comment:2 by Danila Galimov, 8 years ago

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 by Danila Galimov, 8 years ago

Component: undeterminedffmpeg

comment:4 by Carl Eugen Hoyos, 8 years ago

Component: ffmpegavdevice
Keywords: dshow added

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

comment:5 by Carl Eugen Hoyos, 8 years ago

Keywords: crash added

comment:6 by Danila Galimov, 8 years ago

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

by Danila Galimov, 8 years ago

Attachment: ffmpeg_exception.PNG added

Exception debuger dialog popup

comment:7 by Roger Pack, 8 years ago

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