Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mencoder TV
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3501
Location: Berlin

PostPosted: Sun Jul 31, 2005 5:47 pm    Post subject: mencoder TV Reply with quote

Ich kann mit mplayer Fernsehen.
Code:

 mplayer tv:// -ao alsa,oss,sdl,esd,jack,arts, -tv driver=v4l2:outfmt=yv12:device=/dev/v4l/video0:input=0:norm=PAL:chanlist=europe-west:chann el=E9:width=640:height=480:audiorate=44100:alsa:amode=1:adevice=/dev/sound/dsp
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 1.0pre7-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
MPlayer mit CPU-Erkennung zur Laufzeit kompiliert - WARNUNG, das ist nicht optim al!
Kompiliere MPlayer mit --disable-runtime-cpudetection für beste Performance.


85 Audio- & 196 Videocodecs
Linux RTC-Initialisierungsfehler in ioctl (rtc_irqp_set 1024): Permission denied
Versuche, "echo 1024 > /proc/sys/dev/rtc/max-user-freq" zu deinen Systemstartskr ipten hinzuzufügen.
Initialisiere LIRC-Unterstützung...
mplayer: could not connect to socket
mplayer: No such file or directory
Fehler beim Öffnen der LIRC-Unterstützung.
Verwendung der Fernbedienung nicht möglich.
Spiele tv://
Cache fill:  0.00% (0 bytes)    TV erkannt! ;-)
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: KNC One TV-Station RDS / Typhoo
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO STEREO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/wri te  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECA M; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = TV (mono only); 2 = S-Video; 3 = Composite1; 4 = CV id over SVid;
 Current input: 0
 Current format: BGR24
v4l2: current audio mode is : STEREO
Selected channel: E9 (freq: 203.250)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Öffne Videodecoder: [raw] RAW Uncompressed Video
VDec: VO wird versucht, auf 640 x 480 (Bevorzugter Farbraum: Planar YV12) zu set zen.
VDec: using Planar YV12 as output csp (no 0)
Film-Aspekt ist undefiniert - keine Vorskalierung durchgeführt.
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: kein Ton!
Starte Wiedergabe...
DatenÌbergabe unterbrochen (broken pipe)

Trotz der Ausgabe
Code:

Audio: kein Ton!

habe ich Ton.
Wenn ich statt v4l2 v4l nehme, habe ich keinen Ton.

Jetzt zu mencoder.
Code:

mencoder tv:// -tv driver=v4l:input=0:width=512: height=384:amode=1:forcechan=2:immediatemode=0:alsa:outfmt=yv12 -ovc lavc -lavco pts vcodec=mpeg4:vbitrate=3000:vhq:keyint=300 -oac mp3lame -lameopts cbr:br=192: mode=0 -vf pp=lb,crop=480:360:16:12 -ofps 25 -endpos 00:02:00 -o ~/TV_Aufnahme/m encoder-bu1.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MEncoder 1.0pre7-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
MPlayer mit CPU-Erkennung zur Laufzeit kompiliert - WARNUNG, das ist nicht optim al!
Kompiliere MPlayer mit --disable-runtime-cpudetection für beste Performance.
85 Audio- & 196 Videocodecs
Datei nicht gefunden: 'frameno.avi'
Failed to open frameno.avi
Erfolg: Format: 9  Daten: 0x0 - 0x0
TV erkannt! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: KNC One TV-Station RDS / Typhoo
 Capabilites: capture tuner teletext overlay clipping
 Device type: 47
 Supported sizes: 48x32 => 720x578
 Inputs: 5
  0: Television: tuner tv  (tuner:1, norm:pal)
  1: TV (mono only): tuner tv  (tuner:1, norm:pal)
  2: S-Video:  (tuner:0, norm:pal)
  3: Composite1:  (tuner:0, norm:pal)
  4: CVid over SVid:  (tuner:0, norm:pal)
Using input 'Television'
[V] filefmt:9  fourcc:0x32315659  size:512x384  fps:25.00  ftime:=0.0400
Öffne Videofilter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Öffne Videofilter: [crop w=480 h=360 x=16 y=12]
Crop: 480 x 360, 16 ; 12
Öffne Videofilter: [pp=lb]
==========================================================================
Öffne Videodecoder: [raw] RAW Uncompressed Video
VDec: VO wird versucht, auf 512 x 384 (Bevorzugter Farbraum: Planar YV12) zu set zen.
[PP] Verwende externe Postprocessing-Filter, max q = 6
VDec: using Planar YV12 as output csp (no 0)
Film-Aspekt ist undefiniert - keine Vorskalierung durchgeführt.
videocodec: libavcodec (480x360 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Schreibe AVI-Header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader.
Erzwinge Audio-Preload von 0, maximale pts-Korrektur von 0
ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader.

Kein Ton zur Aufnahme. (Auflösung ist auch nur 512x384)
Wenn ich jetzt v4l2 nehme, was ja bei mplayer funktioniert!, gibt es eine Fehlermeldung.

Code:

 mencoder tv:// -tv driver=v4l2:input=0:width=512: height=384:amode=1:forcechan=2:immediatemode=0:alsa:outfmt=yv12 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=3000:vhq:keyint=300 -oac mp3lame -lameopts cbr:br=192: mode=0 -vf pp=lb,crop=480:360:16:12 -ofps 25 -endpos 00:02:00 -o ~/TV_Aufnahme/m encoder-bu3.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MEncoder 1.0pre7-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
MPlayer mit CPU-Erkennung zur Laufzeit kompiliert - WARNUNG, das ist nicht optimal!
Kompiliere MPlayer mit --disable-runtime-cpudetection für beste Performance.
85 Audio- & 196 Videocodecs
Datei nicht gefunden: 'frameno.avi'
Failed to open frameno.avi
Erfolg: Format: 9  Daten: 0x0 - 0x0
TV erkannt! ;-)
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: unable to open '/dev/video': No such file or directory
Speicherzugriffsfehler


Also
Code:

ln -s /dev/v4l/video0 /dev/video


Code:
mencoder tv:// -tv driver=v4l2:input=0:width=512: height=384:amode=1:forcechan=2:immediatemode=0:alsa:outfmt=yv12 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=3000:vhq:keyint=300 -oac mp3lame -lameopts cbr:br=192: mode=0 -vf pp=lb,crop=480:360:16:12 -ofps 25 -endpos 00:02:00 -o ~/TV_Aufnahme/mencoder-bu3.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MEncoder 1.0pre7-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
MPlayer mit CPU-Erkennung zur Laufzeit kompiliert - WARNUNG, das ist nicht optimal!
Kompiliere MPlayer mit --disable-runtime-cpudetection für beste Performance.
85 Audio- & 196 Videocodecs
Datei nicht gefunden: 'frameno.avi'
Failed to open frameno.avi
Erfolg: Format: 9  Daten: 0x0 - 0x0
TV erkannt! ;-)
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: KNC One TV-Station RDS / Typhoo
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO STEREO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = TV (mono only); 2 = S-Video; 3 = Composite1; 4 = CVid over SVid;
 Current input: 0
 Current format: BGR24
v4l2: current audio mode is : STEREO
audio block size too low, setting to 16384!
[V] filefmt:9  fourcc:0x32315659  size:512x480  fps:25.00  ftime:=0.0400
==========================================================================
Öffne Audiodecoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Öffne Videofilter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Öffne Videodecoder: [raw] RAW Uncompressed Video
VDec: VO wird versucht, auf 512 x 480 (Bevorzugter Farbraum: Planar YV12) zu setzen.
VDec: using Planar YV12 as output csp (no 0)
Film-Aspekt ist undefiniert - keine Vorskalierung durchgeführt.
videocodec: libavcodec (512x480 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 Audio ausgewählt
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Schreibe AVI-Header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Erzwinge Audio-Preload von 0, maximale pts-Korrektur von 0
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
error reading audio: Input/output error
....
error reading audio: Input/output error
....
error reading audio: Input/output error
video buffer full - dropping frame
.....
error reading audio: Input/output error
......
video buffer full - dropping frame
........
video buffer full - dropping frame
........

(Unklar ist, warum mencoder ein Problem mit v4l2 hat und mplayer nicht.)
Davon abgesehen, daß ln -s /dev/v4l/video0 /dev/video nicht die feine englische Art ist und es hier eine andere Lösung geben muß, habe ich jetzt zwar nach Eingabe des Kommandos Ton ( hatte ich bisher immer bei Aufnahmen), aber es wird nichts aufgezeichnet. Zwar gibt es die Datei mencoder-bu3.avi, aber ohne Ton und Bild.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum