
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (23)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (7467)
-
ffmpeg code not working aws lambda environment
5 janvier 2021, par Akash DasI followed this article and deployed the Lambda functions and layers and set it up all fine.


But I am facing a problem when I try converting the mp4 video into a 720p video, the ffmpeg commands that work in my Ubuntu 20.04 are not working in the Lambda and gives me error in the form of 0kb files in the destination folder.


Can someone explain why this is happening ? The command that I used was :


ffmpeg -i input.mp4 -s 1280x720 -c:a copy output.mp4



I use this command in the Python file


ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp4 -s 1280x720 -c:a copy -" ___ . 



This is the error I get :




The problem is that I used a code like this to get only the audio


ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp3 -ab 192000 -vn -" ___ . 



And it works as expected.


-
ffmpeg - stream image and audio input
30 octobre 2017, par ChadGoal
Using a Raspberry Pi, stream audio in and use a static image as the video input thru ffmpeg over RTMP to a Cloud video provider (DaCast in this instance)
Setup
- Raspberry Pi 3 Model B
- USB Audio Device (Sabrent USB External Stereo Sound Adapter)
- Ubuntu MATE 16.04.2 (Xenial)
- ffmpeg version 3.2-2+rpi1 xenial1.7 (I can post what is configured with the build, if needed)
Question
So far, I have figured out the right setting to stream the Raspberry Pi Camera v2 with the audio in. But can’t seem to get it right to replace the video input with a static image. This is that command :
ffmpeg -f alsa -ac 1 -i plughw:1,0 -f v4l2 -s 1920x1080 -r 30 -input_format h264 -i /dev/video0 -vcodec copy -preset veryfast -r 15 -g 30 -b:v 64k -ar 44100 -threads 6 -b:a 96k -bufsize 3000k -f flv rtmp://streaming_server_url
How can I replace the video input and replace with an image (or short video with no audio) ?
-
Unknown directive "ffmpeg"
5 février 2015, par AndroidBeginnerI’m setting up Amazon AWS s2 Linux(non-AMI) and building up nginx and rtmp from scratch. I follow exactly tutorials at here. When I’m editing nginx.conf, adding ffmpeg and restart my nginx. Unknown directive "ffmpeg" occurs.
Nginx.conf
rtmp {
server {
listen 1935;
chunk_size 4096;
notify_method get;
application live {
live on;
ffmpeg -re -i /var/video/test.mp4 -c copy -f flv rtmp://locahost/live;
}
}}
Way I start nginx :
sudo /usr/local/nginx/sbin/nginx
Way I stop :
sudo /usr/local/nginx/sbin/nginx -s stop
From what I knew, I need to recompile the nginx ? Because I’m using "sudo apt-get install nginx" when I start-up my VPS.