
Recherche avancée
Autres articles (111)
-
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (10385)
-
FFMPEG Stream video and capture frames every x minutes
12 octobre 2018, par guitarultimateI’m trying to use ffmpeg on a raspberry pi zero with a camera to stream live video and capture images every x minutes at the same time.
I am able to do either style output (stream or save image) by itself, but when trying to split the output the stream feed always cuts out when it tries to save the image.
I am using a command like :
raspivid -o - -t 0 -w 1280 -h 720 -fps 30 -b 8000000 -g 30 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le \
-f s16le -ac 2 -i /dev/zero \
-f h264 -i pipe:0 -c:v copy -c:a aac \
-ab 128k -g 30 -strict experimental \
-f flv -r 30 rtmp://a.rtmp.youtube.com/live2/{secret} \
-f image2 -vf fps=1/60 img%03d.jpgand receive an error message like :
av_interleaved_write_frame(): Broken pipe
Last message repeated 1 times
[flv @ 0x3766930] Failed to update header with correct duration.
[flv @ 0x3766930] Failed to update header with correct filesize.
Error writing trailer of rtmp://a.rtmp.youtube.com/live2/{secret}: Broken pipe
frame= 253 fps=6.0 q=-1.0 Lq=0.0 size= 7kB time=00:00:10.12 bitrate= 6.0kbits/s speed=0.242x
video:1508kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownRunning either output on it’s own with the same inputs executes perfectly fine.
Any help on how to acheive this ?
-
h264 Licensing, ffmpeg iPhone transcoding
28 février 2013, par NadavRubRequirements
1. An application that should run, to begin with, on iPhone, and, in the end on a plurality
of SmartPhone devices.
2. Aim at having the trans-coding code supporting as much OSs as possible.
3. Application is commercial.Use-case
I. Record video using the portable SmartPhone Camera application
II. Trans-code the video into a plurality of bit-rates using a cutom appiPhone Implementation
A. To satisfy requirement [2], Implement Trans-coding using C++
B. Use ffmpeg for trans-coding.Problem
- Using ffmpeg to encode H264 req usage of the x264 lib
- H264 encoding mandate payment for Licensing.In order to avoid H264 Licensing
- The iPhone device ( and many others ) come with built-in H264 encoding capability
- Usage of the built-in H264 Codec will avoid licensing problems/restrictions
Does ffmpeg, supports, in any way, usage of iPhone's built-in H264 encoder ?
Any help will be appreciated. -
FFmpeg - Turn a 1280x720 video into 720x1280 video and add blur
6 janvier 2021, par offishI've searched around and found multiple solutions. I've found one that works well, but the final video ends up being too big which makes the rendering slow.


I'm giving it a 1280x720 video and want it to turn out like shown here with 720x1280 as the resolution.


-lavfi "[0:v]scale=256/81*iw:256/81*ih,boxblur=luma_radius=min(h\,w)/40:luma_power=3:chroma_radius=min(cw\,ch)/40:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1,crop=w=iw*81/256"



This video ends up being 1280x2274 instead of 720x1280, everything else is fine except the speed and resolution.


-lavfi [0:v]scale=16/9*iw:16/9*ih,boxblur=luma_radius=min(h\,w)/40:luma_power=3:chroma_radius=min(cw\,ch)/40:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1,crop=w=720:h=1280



This cuts the original video, but ends up being 720x1280, faster than the first solution.


-lavfi "[0:v]scale=256/81*iw:256/81*ih,boxblur=luma_radius=min(h\,w)/40:luma_power=3:chroma_radius=min(cw\,ch)/40:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1,crop=w=iw*81/256,scale=720:1280"



This is the same as the first one, but it gets scaled again. It has the correct resolution, but is way to slow for my liking (only about 3.6 it/s, when I've tried other solutions which fluctuates around 35 it/s).


I guess my scaling is wrong, but I don't understand what I should multiply and divide by, to get the result I'm looking for.


Thanks.