[FFmpeg-user] BlackMagic multiple capture, BSOD

Bouke (VideoToolShed) bouke at videotoolshed.com
Wed Jun 4 10:41:34 CEST 2014


----- Original Message ----- 
From: "Marton Balint" <cus at passwd.hu>
To: "FFmpeg user questions" <ffmpeg-user at ffmpeg.org>
Sent: Tuesday, June 03, 2014 8:08 PM
Subject: Re: [FFmpeg-user] BlackMagic multiple capture, BSOD


> On Tue, 3 Jun 2014, Roger Pack wrote:
>
>> I think I've heard of this before and thought it was buggy BM 
>> drivers...do
>> other capture devices  handle multiple at the same time?
>>
>>
>> On Tue, Jun 3, 2014 at 10:36 AM, Bouke (VideoToolShed) <
>> bouke at videotoolshed.com> wrote:
>>
>>> Trying to do multiple instances capturing from BM cards.
>>> (Got a decklink Quad and a decklink Studio, doing 5 at a time)
>>> HP Z420, with multithreading enabled (12 cores) Win7 64 bit / 16 gig ram
>>>
>>> It sorta kinda works, but every now and then (about after some 14 start 
>>> /
>>> stops) i get a blue screen of death.
>>>
>>> disabling multithreading gives a slightly better performance, but still
>>> BSOD on the most weird moments...
>>> (on deleting files after some capture attempts)
>>>
>>> Anyone got something like this working? Any hints on the secret 
>>> handshake?
>>> (Compatible hardware, settings, driver versions?)
>>>
>>> Most simple commands (but then i run 5 of these at the same time) below.
>
> Try stopping/starting only once source at a given time, wait a minute or 
> so before stopping/starting the other, that helped me with FMLE captures 
> at least...

Marton,
Did you try different timings? (Shorter of course...)
I can afford a second wait or so, but not really longer..
(And i must admit, i have no idea why it should matter, but will try...)

Bouke


> Regards,
> Marton
>
>>>
>>> Thx,
>>> Bouke
>>>
>>> C:\Users\Bouke>C:\Users\Bouke\Desktop\BMtest\xtras\ffmpeg.exe -f dshow
>>> -rtbufsiz
>>> e 1024000k -pixel_format uyvy422 -framerate 25 -s 1920:1080 -re -i
>>> video="Deckli
>>> nk Video Capture":audio="Decklink Audio Capture" -i
>>> C:\Users\Bouke\Desktop\BMtes
>>> t\slate.png -filter_complex "overlay=enable='lte(t,2)'" -b:v 6M -vcodec
>>> mpeg2vid
>>> eo -pix_fmt yuv422p -acodec mp2 -s 960x540 -aspect 16:9 -f tee -map 0:v
>>> -map 0:a
>>>  "[f=mpegts]udp://192.168.1.61:1231"
>>> ffmpeg version N-60087-g94a5241 Copyright (c) 2000-2014 the FFmpeg
>>> developers
>>>  built on Jan 21 2014 22:06:13 with gcc 4.8.2 (GCC)
>>>  configuration: --enable-gpl --enable-version3 --disable-w32threads
>>> --enable-av
>>> isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
>>> --enab
>>> le-iconv --enable-libass --enable-libbluray --enable-libcaca
>>> --enable-libfreetyp
>>> e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
>>> --ena
>>> ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
>>> --enable-l
>>> ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
>>> --enable-libsp
>>> eex --enable-libtheora --enable-libtwolame --enable-libvidstab
>>> --enable-libvo-aa
>>> cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
>>> --enable-libwavp
>>> ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
>>>  libavutil      52. 63.100 / 52. 63.100
>>>  libavcodec     55. 48.102 / 55. 48.102
>>>  libavformat    55. 25.101 / 55. 25.101
>>>  libavdevice    55.  5.102 / 55.  5.102
>>>  libavfilter     4.  1.100 /  4.  1.100
>>>  libswscale      2.  5.101 /  2.  5.101
>>>  libswresample   0. 17.104 /  0. 17.104
>>>  libpostproc    52.  3.100 / 52.  3.100
>>> Guessed Channel Layout for  Input Stream #0.1 : stereo
>>> Input #0, dshow, from 'video=Decklink Video Capture:audio=Decklink Audio
>>> Capture
>>> ':
>>>  Duration: N/A, start: 0.089250, bitrate: 1536 kb/s
>>>    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422(tv),
>>> 1920x1080, 25
>>> tbr, 10000k tbn, 25 tbc
>>>    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
>>> Input #1, image2, from 'C:\Users\Bouke\Desktop\BMtest\slate.png':
>>>  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
>>>    Stream #1:0: Video: png, rgba, 1920x1080, 25 tbr, 25 tbn, 25 tbc
>>> Output #0, tee, to '[f=mpegts]udp://192.168.1.61:1231':
>>>  Metadata:
>>>    encoder         : Lavf55.25.101
>>>    Stream #0:0: Video: mpeg2video, yuv422p, 960x540 [SAR 1:1 DAR 16:9],
>>> q=2-31,
>>> 6000 kb/s, 90k tbn, 25 tbc (default)
>>>    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
>>> Stream mapping:
>>>  Stream #0:0 (rawvideo) -> overlay:main (graph 0)
>>>  Stream #1:0 (png) -> overlay:overlay (graph 0)
>>>  overlay (graph 0) -> Stream #0:0 (mpeg2video)
>>>  Stream #0:1 -> #0:1 (pcm_s16le -> mp2)
>>> Press [q] to stop, [?] for help
>>> frame=   70 fps= 25 q=2.0 Lsize=N/A time=00:00:02.78 bitrate=N/A
>>> video:118kB audio:44kB subtitle:0 global headers:0kB muxing overhead
>>> -100.013287
>>> %
>>>
>>>
>>>
>>> ---
>>> This email is free from viruses and malware because avast! Antivirus
>>> protection is active.
>>> http://www.avast.com
>>>
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



More information about the ffmpeg-user mailing list