bmdtools icon indicating copy to clipboard operation
bmdtools copied to clipboard

Forced to rmmod/modprobe after using bmdcapture

Open nrmmota opened this issue 11 years ago • 8 comments

Cloning from the latest commit: 9692cc63fff2fe5277418199ee39145b79b62622 DesktopVideo (SDK) version: 10.3.1 Decklink Recorder firmware: Latest

~/bmdtools$ BlackmagicFirmwareUpdater status 0: /dev/blackmagic/dv0 [DeckLink Mini Recorder] 0x11 OK

If I Ctrl+C and then restart the process, it just won't work unless I reload the firmware module.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6419895-forced-to-rmmod-modprobe-after-using-bmdcapture?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github).

nrmmota avatar Nov 21 '14 18:11 nrmmota

If you use the example code it works fine? On 21 Nov 2014 19:42, "Nuno Mota" [email protected] wrote:

Cloning from the latest commit: 9692cc6 https://github.com/lu-zero/bmdtools/commit/9692cc63fff2fe5277418199ee39145b79b62622 DesktopVideo (SDK) version: 10.3.1 Decklink Recorder firmware: Latest

~/bmdtools$ BlackmagicFirmwareUpdater status 0: /dev/blackmagic/dv0 [DeckLink Mini Recorder] 0x11 OK

If I Ctrl+C and then restart the process, it just won't work unless I reload the firmware module.

— Reply to this email directly or view it on GitHub https://github.com/lu-zero/bmdtools/issues/39.

lu-zero avatar Nov 21 '14 18:11 lu-zero

I'm not sure what you mean by example code.

I used this: nonius@avip-encoder:~/bmdtools$ ./bmdcapture -m 13 -C 0 -V 3 -F nut -o "strict=experimental:syncpoints=none" -f video.raw Fri Nov 21 18:54:22 2014 Frame received (#1) - No input signal detected - Frames dropped 1 - Total dropped 1 Fri Nov 21 18:54:22 2014 Frame received (#5) - Input returned - Frames dropped 2 - Total dropped 2

If I Ctrl+C and run it again it doesn't work.

nrmmota avatar Nov 21 '14 19:11 nrmmota

if you try running the example code provided with the drivers, do you have the same problem? there is a Capture program you can build.

On Fri, Nov 21, 2014 at 8:07 PM, Nuno Mota [email protected] wrote:

I'm not sure what you mean by example code.

I used this: nonius@avip-encoder:~/bmdtools$ ./bmdcapture -m 13 -C 0 -V 3 -F nut -o "strict=experimental:syncpoints=none" -f video.raw Fri Nov 21 18:54:22 2014 Frame received (#1 https://github.com/lu-zero/bmdtools/pull/1) - No input signal detected - Frames dropped 1 - Total dropped 1 Fri Nov 21 18:54:22 2014 Frame received (#5 https://github.com/lu-zero/bmdtools/issues/5) - Input returned - Frames dropped 2 - Total dropped 2

If I Ctrl+C and run it again it doesn't work.

— Reply to this email directly or view it on GitHub https://github.com/lu-zero/bmdtools/issues/39#issuecomment-64021441.

lu-zero avatar Nov 21 '14 19:11 lu-zero

Capture seems to be expecting SDI because it keeps saying Frame received (#0) - No input signal detected

Though after the first run the second ./Capture command doesn't work either.

rmmod/modprobe also fixes the second not working ./Capture command.

nrmmota avatar Nov 21 '14 19:11 nrmmota

media express works fine? I'm tempted to think that the problem is in the driver if even mediaexpress has the same issue.

On Fri, Nov 21, 2014 at 8:15 PM, Nuno Mota [email protected] wrote:

Capture seems to be expecting SDI because it keeps saying Frame received (#0) - No input signal detected

Though after the first run the second ./Capture command doesn't work either.

rmmod/modprobe also fixes the second not working ./Capture command.

— Reply to this email directly or view it on GitHub https://github.com/lu-zero/bmdtools/issues/39#issuecomment-64022605.

lu-zero avatar Nov 21 '14 19:11 lu-zero

I'm using a baremetal server without any GUI. I suspect Media Express would be the same. I'll try it later when I have some spare time to install x11.

I'm having several issues now with this firmware. bmdcapture shows me a clean raw picture, but ffmpeg 1.2.10 doesn't seem to parse it very well. I get half of the video with green lines.

VLC 2.1.5 simply blows up with a segmentation fault under [ 4330.629950] vlc[4610]: segfault at aac3d000 ip aac3db1a sp b67330d0 error 7 in libyuy2_i420_plugin.so[aac3d000+3000]

One year ago I had more luck with both :), regressions aren't that welcoming.

nrmmota avatar Nov 21 '14 19:11 nrmmota

Do not use ffmpeg. I do not support it in any way. the code is developed using Libav.

lu-zero avatar Nov 21 '14 19:11 lu-zero

Don't worry. The problem was the libswscale. I compiled VLC with it and the picture is crystal clear.

This problem still remains though. I used VLC with decklink support and the same is happening so this might be related to drivers after all.

I'll try to check with mediaexpress.

nrmmota avatar Nov 21 '14 19:11 nrmmota