Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (111)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (8569)

  • avcodec/rpza : Perform pointer advance and checks before using the pointers

    22 août 2013, par Michael Niedermayer
    avcodec/rpza : Perform pointer advance and checks before using the pointers
    

    Fixes out of array accesses
    Fixes Ticket2850

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/rpza.c
  • ffmpeg capture for usb v4l2 card

    8 décembre 2020, par elbarna

    I have a Grabby Terratec USB card.

    &#xA;

    Bus 001 Device 006: ID 0ccd:10af TerraTec Electronic GmbH Terratec G1&#xA;

    &#xA;

    With mencoder I capture fine video and audio using a script like this one

    &#xA;

    #!/bin/sh&#xA;#script for capture&#xA;#settings for pal 25 fps 720:576 normid=5&#xA;#settings for ntsc 30000/1001 fps normid 0 720:480&#xA;#settings for INPUT,0=composite,1=s-video,but depend on card&#xA;&#xA;TITLE="MYMOVIE"&#xA;CROP="612:467:16:1"&#xA;SCALE="560:432"&#xA;DEVVID=0&#xA;INPUT=1&#xA;ADEVICE=hw.2,0&#xA;NORMID=5&#xA;WIDTH=640&#xA;HEIGHT=480&#xA;FPS=25&#xA;AUDIORATE=48000&#xA;ASPECT=4/3&#xA;VFS="yadif,crop=$CROP,scale=$SCALE,harddup"&#xA;&#xA;mencoder tv:// -tv driver=v4l2:normid=$NORMID:width=$WIDTH:height=$HEIGHT:device=/dev/video$DEVVID:input=$INPUT:fps=$FPS:alsa:adevice=$ADEVICE:audiorate=${AUDIORATE}:amode=1:forceaudio:immediatemode=0 -of mpeg -mpegopts format=dvd -oac lavc -ovc lavc -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=8000:vbitrate=6000:keyint=15:acodec=ac3:abitrate=320 -aspect $ASPECT -vf $VFS -o "$TITLE".mpg&#xA;

    &#xA;

    The script capture audio because this line is present

    &#xA;

    :amode=1:forceaudio:immediatemode=0&#xA;

    &#xA;

    Now the problem, I want to capture using ffmpeg with libx265 and aac

    &#xA;

    #!/bin/sh&#xA;SCALE=528:400&#xA;CROP=616:471:14:0&#xA;ASPECT=4:3&#xA;TITLE="MYTITLE"&#xA;&#xA;#usbstream:CARD=Generic&#xA;#    HD-Audio Generic&#xA;#    USB Stream Output&#xA;#sysdefault:CARD=G1&#xA;#    Terratec G1, USB Audio&#xA;#    Default Audio Device&#xA;#front:CARD=G1,DEV=0&#xA;#    Terratec G1, USB Audio&#xA;#    Front output / input&#xA;#usbstream:CARD=G1&#xA;#    Terratec G1&#xA;#    USB Stream Output&#xA;&#xA;ffmpeg -y -f video4linux2 -i /dev/video0  -thread_queue_size 512 -f alsa -i hw:CARD=G1 -ac 2 -vf yadif,crop=$CROP,scale=$SCALE -c:v libx265 -c:a aac -b:v 1200k -b:a 320k -metadata language=eng -metadata title="Mymovie" -aspect $ASPECT "$TITLE".mkv&#xA;

    &#xA;

    The problem is.. video is captured but without audio, I have tried the line

    &#xA;

     -f alsa -i hw:CARD=G1&#xA;

    &#xA;

    and

    &#xA;

     -f alsa -i hw:CARD=G1,DEV=0&#xA;

    &#xA;

    and

    &#xA;

     -f alsa -i hw:2,0&#xA;

    &#xA;

    But no way. The option " :amode=1:forceaudio:immediatemode=0" doesn't exist on ffmpeg.&#xA;Any suggestion ?Thanks

    &#xA;

  • recording live video stream from tv card using ffmpeg in windows

    23 septembre 2015, par user2688423

    I want to capture thumbnail every 1 second from tv card(tv signal) using ffmpeg in windows.

    first of all, to record live video from tv card, I tried below.

    ffmpeg -f dshow -i video="SKYTV HD USB Maxx Video Capture" -r 20 -threads 0 D ://test.mkv

    But it didn’t work.
    the Error message is

    "[dshow@000000000034d920] Could not run filter
    video=SKYTV HD USB Maxx Video Capture : Input/output error"

    I use the device called ’SKYTV HD USB Maxx Video Capture’ for getting tv signal(TV card).

    (people usually suggest "ffmpeg -f oss -i dev/dsp -f video4linux2 -i dev/video0/tmp/out.mpg"
    but I dont think it works at window. this is the error message i got : "Unknown input format: 'video4linux2'")

    what should i do to record live video and get thumbnail every 1 second from tv card(tv signal) using ffmpeg in window ?

    Please help..!