leandromoreira / ffmpeg-libav-tutorial

FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more. Translations: πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ πŸ‡°πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡»πŸ‡³ πŸ‡§πŸ‡·
https://github.com/leandromoreira/ffmpeg-libav-tutorial
BSD 3-Clause "New" or "Revised" License
9.94k stars 956 forks source link

read input from /dev/dvb/adapter0/dvr0 #57

Closed vandanachadha closed 4 years ago

vandanachadha commented 4 years ago

I made some changes to the 3_transcoding_c to read from /dev/dvb/adapter0/dvr0 instead of a file. However running thru docker gives me error: LOG: input filename /dev/dvb/adapter0/dvr0 LOG: failed to open input file /dev/dvb/adapter0/dvr0 Makefile:48: recipe for target 'run_transcodingr' failed make: *** [run_transcodingr] Error 255

I also changed the permissions of the /dev/dvb to my user, but still the same error: chown -R abc /dev/dvb

Pls suggest.

vandanachadha commented 4 years ago

The error went after I started docker as follows: docker run --device=/dev/dvb -w /files --rm -.......