[FFmpeg-user] Blackmagic card issue capturing

Christian Bianchini max246 at gmail.com
Wed Mar 2 12:35:13 CET 2016


IT seems like adding the -vsync drop is recording all the time, is this a
bad practices ?

On 2 March 2016 at 11:03, Christian Bianchini <max246 at gmail.com> wrote:

> I have ran with log level and this is the result when it successfully
> capture at 60 FPS:
>
> frame=  153 fps= 61 q=0.0 size=   51752kB time=00:00:02.33
> bitrate=181487.1kbits
> dshow passing through packet of type video size  4147200 timestamp
> 26343746 orig
>  timestamp 26078449 graph timestamp 26343718 diff 265269 Decklink Video
> Capture
> dshow passing through packet of type video size  4147200 timestamp
> 26509532 orig
>  timestamp 26245282 graph timestamp 26509509 diff 264227 Decklink Video
> Capture
> ap
>
> This is when it fails
>
>
> frame=    2 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A
> dup=0 dro
> dshow passing through packet of type video size  4147200 timestamp
> 7165437108888
> 73 orig timestamp 716543716327540 graph timestamp 716543710888873 diff
> -5438667
> Decklink Video Capture
> *** dropping frame 2 from stream 0 at ts 0
> dshow passing through packet of type video size  4147200 timestamp
> 7165437108888
> 73 orig timestamp 716543716494373 graph timestamp 716543710888873 diff
> -5605500
> Decklink Video Capture
> *** dropping frame 2 from stream 0 at ts 0
> dshow passing through packet of type video size  4147200 timestamp
> 7165437108888
> 73 orig timestamp 716543716661206 graph timestamp 716543710888873 diff
> -5772333
> Decklink Video Capture
> *** dropping frame 2 from stream 0 at ts 0
> dshow passing through packet of type video size  4147200 timestamp
> 7165437108888
> 73 orig timestamp 716543716828040 graph timestamp 716543710888873 diff
> -5939167
> Decklink Video Capture
>
>
> Does it makes any sense? is this the capture card failure?
>
>
> On 1 March 2016 at 19:53, Roger Pack <rogerdpack2 at gmail.com> wrote:
>
>> On 3/1/16, Christian Bianchini <christian.bianchini at euservers.net> wrote:
>> > I have got the ffmpeg version N-78598-g98a0053  and trying to capturing
>> > from a Blackmagic card, which sometimes works and sometimes doesnt.
>> >
>> > ffmpeg.exe -y -f dshow -video_size 1920x1080 -pixel_format uyvy422
>> > -rtbufsize 2100 -framerate 59.94 -i "video=Decklink Video Capture"
>> -codec:v
>> > libx264 -preset ultrafast -an -crf 0 test.mkv
>> >
>> > The issue is a not recording at 60 FPS but at  0.. 2...1.3.....0.. and
>> the
>> > file doesnt get big.
>> >
>> > After I stop and restart the process, it captures at 60FPS without
>> issues
>> > and the video is great, but I dont get why I need to restart 3-4 times
>> to
>> > get the record working.
>> >
>> >
>> > this the output that I get when it doesnt work:
>>
>> Appears to not be receiving input.  If you wait awhile it never works?
>> What if you add -loglevel verbose (to the failing runs)?
>> Unfortunately nothing comes to mind...
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>
>
> --
> ---------------------------
> Hardware & Software Developer
> christian at bianchini.ch <christian at biachini.ch>
> www.max246.ch
>



-- 
---------------------------
Hardware & Software Developer
christian at bianchini.ch <christian at biachini.ch>
www.max246.ch


More information about the ffmpeg-user mailing list