swap filename/format order
coderofsalvation opened this issue · 2 comments
coderofsalvation commented
it seems that the movie-node has a hard time loading webcam/x11grab.
How to reproduce:
- create movie node
- enter filename
/dev/video0
and formatv4l2
orvideo4linux2
(see docs) - enter filename
:0.0+100,200
formatx11grab
(see docs)
Usually hitting ctl+enter makes the output-socket appear, but here it displays error:
Failed to av_format_open_input <filename>
cannot init str for filter
looking at the docs, the fileformat should be passed to ffmpeg first, before passing the inputfile..perhaps that's happening in the reversed order?
richardpl commented
It does not work as libavdevice is not linked into binary at all currently.
richardpl commented
Look at latest change, It should work now, tested with pulse locally.