Warum sehe ich kein Bild, wenn ich diese Schritte auf dem Raspberry Pi ausgeführt habe?
sudo apt-get install usbutils
lsusb
wget https://github.com/gkaindl/ambi-tv/archive/master.zip
unzip master.zip
cd ambi-tv-master
make
cd misc
sudo bash get-kernel-source.sh
cd usbtv-driver/
make
sudo mkdir -p /lib/modules/`uname -r`/extra
sudo cp usbtv.ko /lib/modules/`uname -r`/extra
sudo depmod 3.6.11+
sudo modprobe videobuf2_core
sudo modprobe videobuf2_vmalloc
sudo modprobe usbtv
sudo nano /etc/modules
- videobuf2_core
- videobuf2_vmalloc
- usbtv
sudo apt-get install mplayer
sudo mplayer tv:// -tv device=/dev/video0 -hardframedrop
Display More
Log:
sudo mplayer tv:// -tv device=/dev/video0 -hardframedrop
Creating config file: /root/.mplayer/config
MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
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 ;-)
Selected device: usbtv
Capabilities: 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-M; 6 = PAL-60;
inputs: 0 = Composite;
Current input: 0
Current format: YUYV
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Inappropriate ioctl for device
v4l2: ioctl query control failed: Inappropriate ioctl for device
v4l2: ioctl query control failed: Inappropriate ioctl for device
v4l2: ioctl query control failed: Inappropriate ioctl for device
v4l2: ioctl query control failed: Inappropriate ioctl for device
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
SDL SetVideoMode failed: OpenGL not available
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
[VO_SDL] Using driver: fbcon.
vo: couldn't open the X11 display ()!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 720x576 => 720x576 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
V: 0.0 5093/5093 ??% ??% ??,?% 0 0
nach Abbruch mit Strg+C:
MPlayer interrupted by signal 2 in module: flip_page
V: 0.0 10744/10744 ??% ??% ??,?% 0 0
v4l2: ioctl set mute failed: Inappropriate ioctl for device
*** glibc detected *** mplayer: munmap_chunk(): invalid pointer: 0xb3480008 ***
MPlayer interrupted by signal 6 in module: free_demuxer
Display More
Ich frage mich auch, wie man den x Server bei der Einrichtung eines neuen Systems an- und ausschalten kann. Es wird doch nur gefragt, ob man die Tastenkombination Strg+Alt+Entf aktivieren möchte, um den x Server zu beenden. Ich habe den leider noch nicht zu Gesicht bekommen, seit ich versuche die Anleitung umzusetzen.
Wenn ich nach dieser Anleitung gehe passiert auch nichts, allerdings sollte ich dazu sagen, dass ich noch keine LEDs angeschlossen habe.:
Install Debian Wheezy on SD card (2013-07-26)
Run raspi-config, Expand the root file system (expand_rootfs), Configure password, keyboard, locale, timezone, ssh if you want
sudo apt-get install git-core
git clone https://github.com/gkaindl/ambi-tv.git ambi-tv
cd ambi-tv/misc && sudo bash get-kernel-source.sh
cd usbtv-driver && make
sudo mkdir /lib/modules/3.6.11+/extra
sudo cp usbtv.ko /lib/modules/3.6.11+/extra/
sudo depmod 3.6.11+
sudo modprobe videobuf2_core
sudo modprobe videobuf2_vmalloc
sudo modprobe usbtv
Check that video0 is in /dev (if it’s not, STOP, come back here and ask for help)
Add videobuf2_core, videobuf2_vmalloc, and usbtv to /etc/modules
Check for spidev0.0 in /dev (if it’s there, skip the next 2 steps)
Open /etc/modprobe.d/raspi-blacklist.conf and comment out ” blacklist spi-bcm2708” with a #.
sudo reboot
Check for spidev0.0 in /dev (if it’s not, STOP, come back here and ask for help)
cd to the main ambi-tv folder you cloned
make
Create a copy of sample.conf and save as etc/ambi-tv.conf. Configure as necessary
Try running bin/ambi-tv
Use sudo if required, otherwise, change permissions of the offending file with chmod
Add the full path to the ambi-tv executable to /etc/rc.local if you want it to run on startup
Display More
Die beiden Anleitungen kann man nicht miteinander vergleichen oder? Bei der 2. Anleitung wird doch z.B der mplayer gar nicht mitinstalliert und ausgeführt.