On Sat, Jan 24, 2015 at 12:23:26 +0100, Thomas Seilund wrote: > If I supply input format then I get this error message > > tps@t420:~/AMC/test$ ffmpeg -f v4l2 -list_formats all -f mpegts -i /dev/video1 > ffmpeg version N-69238-g2699a37 Copyright (c) 2000-2015 the FFmpeg > developers > built on Jan 24 2015 11:51:09 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) > configuration: --enable-gpl --enable-libmp3lame --enable-libvpx --enable- > libx264 --enable-version3 --enable-libvorbis --enable-x11grab --enable- > libfreetype --enable-libv4l2 --enable-libfdk-aac --enable-nonfree > libavutil 54. 17.100 / 54. 17.100 > libavcodec 56. 20.100 / 56. 20.100 > libavformat 56. 19.100 / 56. 19.100 > libavdevice 56. 4.100 / 56. 4.100 > libavfilter 5. 8.101 / 5. 8.101 > libswscale 3. 1.101 / 3. 1.101 > libswresample 1. 1.100 / 1. 1.100 > libpostproc 53. 3.100 / 53. 3.100 > Option list_formats not found.
You can't supply two input formats "-f" to one input. ffmpeg is using the second one. > tps@t420:~/AMC/test$ v4l2-ctl --device=/dev/video1 --list-formats-ext > ioctl: VIDIOC_ENUM_FMT > Index : 0 > Type : Video Capture > Pixel Format: 'MPEG' (compressed) > Name : MPEG2-TS with AVC/AAC streams Can you dump the capabilities of the device? (I use v4l-info for that.) IIUC it needs to have the capabilities VIDEO_CAPTURE and STREAMING to be supported by ffmpeg. (I don't know anything about Linux's hdpvr device driver.) > Venlig hilsen Mvh, Moritz _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
