fabled / bmd-tools

Tools to connect and manage Blackmagic Design video equipment with built-in H.264 encoder
MIT License
37 stars 14 forks source link

Usage instructions #2

Closed deedos closed 10 years ago

deedos commented 10 years ago

Hi. I did suceed to us extract the firmware and execute the binary with sudo, which retunrs me:

sudo ./bmd-streamer [1/4 1edb:bd52]: device connected EP8: 8 bytes: 00 08 05 0e 8d 6f 46 c3 EP8: 36 bytes: 00 24 05 0e 8d bb b1 40 05 0e 8e 08 1b bd 05 0e 8e 54 86 3f 05 0e 8e a0 f0 c4 06 01 8e cf be 01 05 02 05 81 [1/4 1edb:bd52]: FX2Status: Idle (5) [1/4 1edb:bd52]: MAC address 7c:2e:0d:02:1b:43 [1/4 1edb:bd52]: Input Mode, 0x81 (display mode 0x0b) not supported EP8: 8 bytes: 00 08 05 0e 8f 1b fc c0 EP8: 8 bytes: 00 08 05 0e 8f 68 67 3b EP8: 8 bytes: 00 08 05 0e 8f b4 d1 c2 EP8: 8 bytes: 00 08 05 0e 90 01 3c 3d

and goes on.. So:

1) mys format is 1080i 5994. It did not get it properly, right ? 2 ) How should I grab the mpegts stream if I it gets and dums the data correctly ?

Thanks in advance

fabled commented 10 years ago

On Mon Jan 27 2014 11:10:06 PM CET, Daniel Roviriego notifications@github.com wrote:

Hi. I did suceed to us extract the firmware and execute the binary with sudo, which retunrs me:

sudo ./bmd-streamer [1/4 1edb:bd52]: device connected EP8:      8 bytes: 00 08 05 0e 8d 6f 46 c3 EP8:    36 bytes: 00 24 05 0e 8d bb b1 40 05 0e 8e 08 1b bd 05 0e 8e 54 86 3f 05 0e 8e a0 f0 c4 06 01 8e cf be 01 05 02 05 81 [1/4 1edb:bd52]: FX2Status: Idle (5) [1/4 1edb:bd52]: MAC address 7c:2e:0d:02:1b:43 [1/4 1edb:bd52]: Input Mode, 0x81 (display mode 0x0b) not supported EP8:      8 bytes: 00 08 05 0e 8f 1b fc c0 EP8:      8 bytes: 00 08 05 0e 8f 68 67 3b EP8:      8 bytes: 00 08 05 0e 8f b4 d1 c2 EP8:      8 bytes: 00 08 05 0e 90 01 3c 3d

and goes on..  So:

1) mys format is 1080i 5994. It did not get it properly, right ?

I added the tuning info of only the three or four modes I tested. Mostly the ones with pal fps. So this is likely missing from my tables - I can add this sometime nextweek (traveling currently).

2 ) How should I grab the mpegts stream if I it gets and dums the data correctly ?

The raw mpegts stream is dumped to stdout. Log goes to stderr. You can pipe it to ffmpeg/vlc/your favourite media server / streamer.