
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP 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, parPré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, parDeux 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 -
ffmpeg capture for usb v4l2 card
8 décembre 2020, par elbarnaI have a Grabby Terratec USB card.


Bus 001 Device 006: ID 0ccd:10af TerraTec Electronic GmbH Terratec G1



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


#!/bin/sh
#script for capture
#settings for pal 25 fps 720:576 normid=5
#settings for ntsc 30000/1001 fps normid 0 720:480
#settings for INPUT,0=composite,1=s-video,but depend on card

TITLE="MYMOVIE"
CROP="612:467:16:1"
SCALE="560:432"
DEVVID=0
INPUT=1
ADEVICE=hw.2,0
NORMID=5
WIDTH=640
HEIGHT=480
FPS=25
AUDIORATE=48000
ASPECT=4/3
VFS="yadif,crop=$CROP,scale=$SCALE,harddup"

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



The script capture audio because this line is present


:amode=1:forceaudio:immediatemode=0



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


#!/bin/sh
SCALE=528:400
CROP=616:471:14:0
ASPECT=4:3
TITLE="MYTITLE"

#usbstream:CARD=Generic
# HD-Audio Generic
# USB Stream Output
#sysdefault:CARD=G1
# Terratec G1, USB Audio
# Default Audio Device
#front:CARD=G1,DEV=0
# Terratec G1, USB Audio
# Front output / input
#usbstream:CARD=G1
# Terratec G1
# USB Stream Output

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



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


-f alsa -i hw:CARD=G1



and


-f alsa -i hw:CARD=G1,DEV=0



and


-f alsa -i hw:2,0



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


-
recording live video stream from tv card using ffmpeg in windows
23 septembre 2015, par user2688423I 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..!