Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/12/2015, à 16:49

furymike

capture video pour numérisation vhs

Bonjour,

J'ai récupéré une vieil ordinateur sur lequel j'ai installé ubuntu 14.04 afin de numériser des vhs.

Après avoir fait un peu de lecture je me suis dirigé vers xdtv.

Je visualise correctement l'image mais je n'ai pas moyen d'enregistrer.
En sortie voici ce que j'obtiens :

Record Informations:

divx_init: initializing FFMpeg Mpeg2 - build 52.22.2
divx_init: audio: FFMpeg MP2
Recording started Sun Dec 20 15:42:28 2015
Recording stopped Sun Dec 20 15:42:34 2015
recording time = 5,750576 seconds,  fps = 25,000000
0 video frames recorded (0,000000 seconds)
0 audio frames recorded (0 audio buffers, 0,000000 seconds)
134 dropped video frames (fpscod=0,000000 fpscapt=23,302013)
142 dropped audio buffers (5,680000 seconds)
@@@@ No video frames recorded
file size = 0,0 Mb,  mean bitrate = 0,000 kbps

Autre détail de je n'ai pas de son et je ne sais pas si c'est lié.

Au démarrage de xdtv :

This is xdtv 2.4.1cvs16 running on Linux/x86_64 (3.19.0-39-generic).
scandir: Aucun fichier ou dossier de ce type
filename = /home/mika/.xdtv/xdtvrc
WARNING: couldn't find framebuffer base address, try manual
         configuration ("xdtv_v4l-conf -a <addr>")
/dev/video [v4l2]: ioctl VIDIOC_S_FBUF: Operation not permitted
v4l-conf: You should install me suid root, I need
          root priviliges for the VIDIOC_S_FBUF ioctl.
xdtv_v4l-conf had some trouble, trying to continue anyway
xinerama 0: 1024x768+0+0
Warning: Missing charsets in String to FontSet conversion
wmhooks: netwm detected
wmhooks: netwm state above supported
wmhooks: netwm fullscreen supported
wmhooks: nothing found...
DGA: server=2.0, include=2.0
VidMode: server=2.2, include=2.2
  available video mode(s): 1024x768 800x600 800x600 848x480 640x480
Selected XvImage adaptor with yuyv support: Radeon Textured Video on port 63 (grabdisplay)
No XvVideo port available.
WARNING: video memory base unknown, may be caused by a problem
  with xdtv_v4l-conf or a non-availability of DGA
  and frame buffer devices: CLASSICAL OVERLAY IS DISABLED !
*** GRABBER DEVICE TYPE = v4l2
Check the linuxtv.org URLs web site. Please wait...
cannot parse url : 'http://linuxtv.org/hg/dvb-apps'
Check the linuxtv.org URLs web site. Please wait...
cannot parse url : 'http://linuxtv.org/hg/dvb-apps'
Check the linuxtv.org URLs web site. Please wait...
cannot parse url : 'http://linuxtv.org/hg/dvb-apps'
Warning: Missing charsets in String to FontSet conversion
No MMX detected
Method glibc
*** AUDIO DEVICE TYPE = alsa
*** MIXER DEVICE TYPE = alsa

You should launch XdTV with the -mixer_tvchan parameter.
Goto the man page to get more informations about that switch.
Your Alsa mixer doesn't propose any of those channels:

   Line, PCM, Capture, Aux, Wave Surround, Line-1
   SB Live Analog/Digital Output Jack or Master

Select the good one for your own audio card.
Or use OSS with the -noalsa parameter.

Je ne suis pas spécialement attaché à xdtv si vous avez un autre logiciel à me conseiller je suis preneur.

J'ai essayé vlc mais je n'arrive même pas à visualiser l'image.

Je vous remercie pour votre aide.

Hors ligne

#2 Le 20/12/2015, à 17:14

furymike

Re : capture video pour numérisation vhs

petite précision :

dans la commande lorsque je rentre :

vlc v4l2:///dev/video0 :input-slave=alsa://hw:1,0 :v4l2-input=1 :v4l2-audio-input=1

j'obtiens le beau plot de vlc mais rien d'autre.

Hors ligne

#3 Le 23/12/2015, à 14:15

furymike

Re : capture video pour numérisation vhs

Bonjour,

Pour ceux qui auront le même problème à l'avenir, j'ai trouvé la solution en utilisant mplayer/mencoder :

sudo mencoder tv:// -tv driver=v4l2:norm=PAL:width=720:height=572:outfmt=uyvy:de
vice=/dev/video0:input=1:fps=25:alsa:amode=1:forcechan=2:audiorate=48000:adevice
=hw.0:forceaudio:immediatemode=0 -ffourcc DX50 -ovc lavc -lavcopts  vcodec=mpeg4
:mbd=2:turbo:vbitrate=1000:keyint=100 -oac mp3lame -lameopts cbr:br=128 -vf pp=l
b,scale=640:480 -noskip -o test.avi

Modifier les options selon les besoins.

Hors ligne