[Mplayer-felhasznalok] tv capture NOVIRUS

Demeter Zsolt r.soltesz at chello.hu
Fri Dec 23 10:52:34 CET 2005


2005. december 23. 10.18 dátummal Bokor Norbert ezt írta:
> > Az lenne a gondom, hogy vennék fel mencoderrel, de nem akarja:
> > mencoder -force-avi-aspect 4/3 -tv
> > driver=v4l:device=/dev/video0:alsa:adevice=/dev/dsp:input=0:no
>
> rm=PAL:freq=591,25:amode=0:width=720:height=576:fps=25.0:brightness=
>
> > 0:contrast=0:hue=0:saturation=0
> > tv:// -vf hqdn3d -ovc lavc -lavcopts
> > vcodec=mpeg1video:aspect=4/3:vbitrate=6000 -oac mp3lame -lameopts
> > cbr:br=224:mode=1 -o /home/inti/jtvd/files/noname.avi
>
> Igy hirtelenjeben kiprobalnam v4l2 driverrel, ha egyszer azt
> javasolja...
> meg szerintem probalj minel kevesebb opciot megadni, igy ha nem
> megy az alapertelmezettekkel (nekem szokott) akkor meg mindig
> neki lehet allni varazsolni...
> A vesszos tizedest megeszi? Tenyleg nem tudom, azert kerdezem. En
> Ponttal szoktam, de nem is nagyon van a gepemen lokalizacio
> Beallitva
egy jtvd nevű progival akartam az csinálta ennyi opcióval (magam nem ismerem 
őket annyira)
kivettem az opciók nagy részét, de ami az igazi gondom az, hogy hang nincs 
(mivel lehetne csinálni?) a felvétel alatt közben viszont van, tehát fél 
siker :( vagy :)

mencoder -tv 
driver=v4l2:device=/dev/video0:input=0:norm=PAL:freq=591.25:amode=0:width=640:height=480:fps=25.0 
tv:// -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=6000 -oac mp3lame 
-lameopts cbr:br=224:mode=1 -o noname.avi
MEncoder 1istribution-Packman-4.0.2 (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
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.
File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 9  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: BT878 video (Leadtek WinFast 20
 Tuner cap:
 Tuner rxs: LANG1 LANG2
 Capabilites:  video capture  video overlay  VBI capture device  tuner  
read/write  streaming
 supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = 
PAL-N; 6 = NTSC-JP; 7 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video; 3 = Composite3;
 Current input: 0
 Current format: YUV420
v4l2: current audio mode is : MONO
audio block size too low, setting to 8192!
[V] filefmt:9  fourcc:0x32315659  size:640x480  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=3267706d [mpg2])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/2ch/s16le...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Forcing audio preload to 0, max pts correction to 0
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Pos:  30.4s    761f ( 0%)  24fps Trem:   0min   0mb  A-V:0.000 [6049:224]
Flushing video frames


CBR audio: 28000 bytes/sec, 731 bytes/block

Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.

Video stream: 6049.388 kbit/s  (756173 bps)  size: 23017922 bytes  30.440 secs  
761 frames

Audio stream:  224.000 kbit/s  (28000 bps)  size: 851383 bytes  30.407 secs
v4l2: 781 frames successfully processed, 0 frames dropped.

dömedee




More information about the MPlayer-felhasznalok mailing list