alfg / ffmpeg-commander

🛠️ FFmpeg Command Generator Web UI
http://alfg.dev/ffmpeg-commander/
MIT License
711 stars 84 forks source link

Support FFmpeg Devices #30

Open sfahadshahzad opened 2 years ago

sfahadshahzad commented 2 years ago

Hi,

It would be great if you add function to get SDI input from BlackMagic devices.

Regards,

Fahad

alfg commented 2 years ago

Hey @sfahadshahzad, can you provide an example of the command output you're looking for? Thanks.

sfahadshahzad commented 2 years ago

Dear @alfg,

Hope you are doing well and keeping safe.

I am using ffmpeg with decklink to produce perfect CBR MPEGTS output;

ffmpeg -f decklink -i "DeckLink Quad (1)" -deinterlace -s 1920x1080 -r 25 -aspect 16:9 -c:v libx264 -x264opts nal-hrd=cbr:force-cfr=1 \ -b:v 2300k -minrate 4500k -maxrate 4500k -bufsize 5500k -c:a libfdk_aac -b:a 192k \ -flush_packets 0 -muxrate 5500000 -f mpegts "udp://127.0.0.1:10000?pkt_size=1316&bitrate=5500000"

Regards,

Fahad

alfg commented 2 years ago

@sfahadshahzad. Got it. I don't think I'll be supporting input/output devices in the near future for this project. However, I'll keep this issue open as a suggestion to support devices referenced https://ffmpeg.org/ffmpeg-devices.html.