#2410: ffmpeg down with video4linux2. ------------------------------------+------------------------------------ Reporter: dinhka | Owner: Type: defect | Status: new Priority: normal | Component: avdevice Version: git-master | Resolution: Keywords: v4l2 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------
Comment (by dinhka): Replying to [comment:16 cehoyos]: > Replying to [comment:15 dinhka]: > > I asked the author of stk1160 driver, he said the bug is in ffmpeg > > So there is software (any Linux software) that works with the driver? > Did you already test MPlayer? Hi, I use MEncoder: mencoder tv:// -tv driver=v4l2:width=720:height=576:norm=PAL:outfmt=uyvy:device=/dev/video0:input=0:fps=25 -o test.mp4 MEncoder SVN-r31628-4.4.6 (C) 2000-2010 MPlayer Team WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help. success: format: 9 data: 0x0 - 0x0 TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <olschew...@zpr.uni-koeln.de> comment: first try, more to come ;-) Selected device: stk1160 Capabilites: video capture read/write streaming supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM; 15 = SECAM-B; 16 = SECAM-G; 17 = SECAM-H; 18 = SECAM-DK; 19 = SECAM-L; 20 = SECAM-Lc; inputs: 0 = Composite0; 1 = Composite1; 2 = Composite2; 3 = Composite3; Current input: 0 Current format: UYVY Selected input hasn't got a tuner! Unable to open '/dev/dsp': No such file or directory v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped. ============ Sorry, this file format is not recognized/supported ============= === If this file is an AVI, ASF or MPEG stream, please contact the author! === Cannot open demuxer. Exiting... 2. I use vlc, that work /usr/bin/cvlc v4l2:///dev/video0:input=1:width=720:height=576 --run- time 10 --sout='#transcode{vcodec=mp4v, vb=1024}:std{access=file, mux=avi, dst=file_name.avi}'; VLC media player 1.1.13 The Luggage (revision exported) Warning: call to srand(1364557781) Warning: call to rand() Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x96c98ec] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally without any error message [0x96c98ec] main interface error: no suitable interface module [0x96cb6e4] main interface error: no suitable interface module [0x96a38fc] main libvlc error: interface "globalhotkeys,none" initialization failed [0x96cb6e4] dummy interface: using the dummy interface module... [0xb22025fc] mux_avi mux: stream[0] duration:9 totalsize:1355387 frames:249 fps:25.075447 KiB/s:1066 -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2410#comment:17> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac