brak urządzenia /dev/dsp
: 02 gru 2010, 16:01
Witam!
Problem pojawił się po upgrade ubuntu do v 9.10 maverick
przy uruchamianiu mencoder dostaję takie info
Niżej przedstawiam skrypt który napisałem dla mencoder`a
Problem pojawił się po upgrade ubuntu do v 9.10 maverick
przy uruchamianiu mencoder dostaję takie info
Kod: Zaznacz cały
MEncoder 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB 2.0 Camera
Capabilites: video capture streaming
supported norms:
inputs: 0 = Camera 1;
Current input: 0
Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
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
Kod: Zaznacz cały
#!/bin/sh
DATE=`date +%d-%b-%Y-%H:%M:%S`
mencoder tv://-tv driver=v4l:width=:height=:device=/dev/video0 -nosound -ovc lavc -o /home/zomer/folder/film2.ogv.$DATE 2>&1