bonsoir ,
après mplayer woaw c'est génial !!! ou il faut écrire un roman plutôt que d'appuyer sur un bouton pour voir sa vidéo se lire ,
voici mencoder qui est la même chose pour enregistrer ta vidéo sur ton disque dur.
Donc ,j'ai des k7 videos v2000 (oui c'est vieux ) ,que je souhaite numeriser sur mon disque dur grace au boitier dazzle de pinnacle .
pour lire la video j'effectue:
mplayer tv:// -tv driver=v4l2:norm=secam:audiorate=48000:immediatemode=0:
forceaudio:alsa:adevice=hw.2,0:device=/dev/video0:input=0 -vf pp=lb
pour l'encoder en avi je fais :
mencoder tv:// -tv \driver=v4l2:norm=secam:audiorate=48000:immediatemode=0:
forceaudio:alsa:adevice=hw.2,0:device=/dev/video0:
input=0 -o resultat.avi -ovc lavc -lavcopts vcodec=mjpeg:aspect=4/3 -aspect 4:3 \
-noautoexpand -oac pcm -vf pp=lb
MEncoder 1.1-4.7 (C) 2000-2012 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 ;-)
Selected device: Pinnacle Dazzle DVC 90/100/101/
Capabilities: video capture audio 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 = Composite1; 1 = S-Video;
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
Selected input hasn't got a tuner!
[V] filefmt:9 fourcc:0x32595559 size:640x480 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
libavcodec version 54.23.100 (internal)
Opening video filter: [pp=lb]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0xf3c0a0]using unscaled yuyv422 -> yuv420p special converter
videocodec: libavcodec (640x480 fourcc=47504a4d [MJPG])
[mjpeg @ 0xe724a0]Specified pix_fmt is not supported
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrawyuy2] vfm: ffmpeg (RAW YUY2)
==========================================================================
Forcing audio preload to 0, max pts correction to 0.
[PP] Using external postprocessing filter, max q = 6.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (640x480 fourcc=47504a4d [MJPG])
[mjpeg @ 0xe724a0]Specified pix_fmt is not supported
Could not open codec.
FATAL: Cannot initialize video driver.
Exiting...
je suis sur wheezy , apparemment il y aurait un probleme pour encoder en avi avec mjpeg car le paquet :
aptitude show avifile-mjpeg-pluginPas de version courante ou candidate trouvée pour avifile-mjpeg-plugin
Paquet : avifile-mjpeg-plugin
État: n'est pas un paquet réel
n'existe pas sur wheezy .
bon , je destresse , ça fait un moment que j'y suis ,juste pour enregistrer une video sur mon ordi ....
j'ai essayé en mp4 mais le resultat est trop pixelisé !!!
je note que mpeg est en natif avec mencoder :!?#à!!
Dernière modification par Herbert west (29-05-2013 20:36:59)
[I72600k / radeonhd 6870 /asus p8p67 pro b3/syncmaster 3D Samsung 23p displayport ]
[ hp spectre x360 i5 ] / [ raspbery pi 1.2 ] / [ 2 fixes core 2duo de recup ]
" Y a t il un sous-sol dans votre appartement ? "