
Recherche avancée
Autres articles (54)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (12571)
-
FFmpeg command to transcode video in order to bypass YouTube Content ID
18 août 2015, par 阿尔曼This is the code I use to crop and add subtitles to the video :
ffmpeg -y -i VTS_01_1.VOB -filter_complex "[0:v] crop=720:432:0:72 [crop]; [crop] ass=VTS_01.ass" -c:v libx264 -c:a aac -strict -2 output.mp4
and this is the result I published on YouTube :
https://www.youtube.com/watch?v=8vwUFO9uF-U
My problem : Some of the videos received Content ID claim and were blocked in 244 countries, for example :
https://www.youtube.com/watch?v=IVt24GLmfVY
My question : Is it possible to transcode video a little bit with FFmpeg in order to bypass YouTube Content ID and how to do it ?
-
Raspberry Pi Camera Module - Stream to LAN
20 août 2015, par user3096434have a little problem with the setup of my RasPi camera infrastructure. Basically I have a RPi 2 which shall act as a MontionEye server from now on and 2 Pi B+ with camera modules.
Previously, when I had only one camera in my network, I used the following command to stream the output from RPi B+ camera module to Youtube in full HD. So far, this command works flawless :
raspivid -n -vf -hf -t 0 -w 1920 -h 1080 -fps 30 -b 3750000 -g 50 -o - | b ffmpeg -ar 8000 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 64k -g 50 -strict experimental -f flv $RTMP_URL/$STREAM_KEY
Now I have a 2nd RPi with a camera module and figured it might be the time for a change towards motioneye, as I then can view both/all camera’s in my network within the same software. I have motioneye installed on my RPi 2 and the software is running correctly.
I have a little problem when it comes to access the data stream from the RPi B+ camera on my local network.
Basically I cannot seem to figure out how to change the ffmpeg portion of the above mentioned command, in a way so it will stream the data to localhost (Or the RPi2 IP where motioneye runs - which one to use ?) instead of Youtube or any other videohoster.
I wonder, if changing the following part is a correct assumption :
Instead of using variables to define Youtube URL and key
-f flv $RTMP_URL/$STREAM_KEY
And change this to
-f flv 10.1.1.11:8080
Will I then be able to add this RPi B+ video stream to my RPi 2 motioneye server, by using motioneye ’add network camera’ function ?
From my understanding I should be able to enter the following details into motioneye ’add network camera’wizard :
Camera type: network camera
RTSP-URL: 10.1.1.11:8080
User: Pi
Pass: [my pwd]
Camera: [my ffmpeg stream shall show here]Thanks in advance !
Uhm, and then... How do I forwarded the video stream from a given camera connected to motioneye ? Like from motioneye to youtube (or similar), without re-encoding the stream ?
Like the command shown above streams directly to youtube. But I want to have it in a way, that video is streamed to local network/motioneye server, and from there I can decide which camera’s stream and when I want to send the videostream to youtube ?
How would a RPi professional realize this ?
The command above explained : Takes full HD video with 30 fps from Pi camera module and hardware encodes it on GPU with 3.75mbit/s. Then I streamcopy the video (no re-encoding) and add some audio, so that the stream complies with youtube rules (yes, no live stream without audio). Audio is taken from virtual SB16 /dev/zero at low sampling rate then encoded to 32k AAC and sent to youtube. Works fine xD.
Just when I have like 3 or more of these RPi cams the youtube stream approach ain’t feasible anymore, as my DSL upstream is limited (10 mbit/s=. Thus I need motioneye server and some magic, so I can watch f.e. all 3 camera’s videostream and then motioneye server can select and streamcopy the video from the Pi’s cam I choose and send it to youtube, as the original command did.
Any help, tips, links to similar projects highly appreciated.
Again, many thanks in advance, and even more thanks just cause you read until here.
—mx
-
ffmpeg adding jpg and mp3 together to make a video for upload on YouTube
16 août 2016, par Daniel MeyerI am trying to take album art and join it with a track. The file formats in question are jpg and mp3. I have a working ffmpeg command
ffmpeg -y -i *.jpg -i *.mp3 -c:a copy result.avi
that creates a video that plays well in VLC, but when I upload it to YouTube, it gets stuck in processing.
The video will play on YouTube in low 240p, but I would like the image to be of 1440 pixel quality.
I know YouTube prefers mp4, and that the video I am creating only has a single image. How can I make some changes so the video will be accepted by YouTube and display correctly ?
YouTube test link : https://www.youtube.com/watch?v=0t2A4erG4II&feature=youtu.be