
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (54)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
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
Sur d’autres sites (7034)
-
Save .mp4 from YouTube output stream
15 mai 2023, par walolinuxI am currently running a Ffmpeg script in Raspbian which works fine. It captures video from an USB webcam and stream it to YouTube.


ffmpeg -thread_queue_size 512 -f v4l2 -video_size 1920x1080 -i /dev/video0 -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -acodec aac -ab 128k -strict experimental -aspect 16:9 -vcodec h264 -preset veryfast -crf 25 -pix_fmt yuv420p -g 60 -vb 820k -maxrate 820k -bufsize 820k -profile:v baseline -r 30 -f flv rtmp://a.rtmp.youtube.com/live2/XXX-XXX-XXX



But I also want to save the file into an mp4 file.


I have tried adding a .mp4 file to the end, but it generates a corrupt file and the stream does not emit at 1x speed, it get slower to 0.4x


ffmpeg -thread_queue_size 512 -f v4l2 -video_size 1920x1080 -i /dev/video0 -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -acodec aac -ab 128k -strict experimental -aspect 16:9 -vcodec h264 -preset veryfast -crf 25 -pix_fmt yuv420p -g 60 -vb 820k -maxrate 820k -bufsize 820k -profile:v baseline -r 30 -f flv rtmp://a.rtmp.youtube.com/live2/XXX-XXX-XXX output.mp4



I have also tried without result :


-vcodec copy -acodev copy output.mp4



Any idea ? Thanks.


-
Convert audio download with youtube-dl to flac ?
28 janvier 2020, par UrasamIs it possible to download a YouTube video as e.g. mp3 and then convert it to flac with ffmpeg ? I can specify the arguments that ffmpeg shall use after the download with —postprocessor-args but I don’t know how to get the file name there.
--postprocessor-args "-i downloadedfile.xxx -c:a flac downloadedfile.flac"
This would be the argument I want to use. Is this possible ?
-
Raspivid & Avconv add watermark and save .mp4 from Youtube output stream
25 octobre 2017, par walolinuxI have this ffmpeg command working with a USB webcam in my raspberry pi :
ffmpeg -thread_queue_size 512 -f v4l2 -video_size 1280x720 -i /dev/video0 -f lavfi -i anullsrc=cl=stereo:r=44100 -map 0:v -map 1:a -r 30 -aspect 16:9 -c:v h264 -preset veryfast -crf 25 -pix_fmt yuv420p -g 60 -maxrate:v 820k -bufsize:v 820k -profile:v baseline -c:a aac -b:a 128k -strict experimental -flags +global_header -vf "movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-5:main_h-overlay_h-5 [out]" -f tee "[f=flv]rtmp://a.rtmp.youtube.com/live2/XXX|video.flv"
This command adds a watermark (logo), saves mp4 to disk and broadcast to youtube the stream. It is working, but my raspberry pi hangs because it gets out of memory (CPU and RAM).
This is why i have changed my USB webcam to raspicam 2.1.
Now i am trying to do the same but using raspivid and avconv. But this is the only command i have already managed to use :
raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/XXX
I am looking to replicate functionality but with raspicam 2.1.
Thanks.