
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (42)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7584)
-
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) ?
-
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.


-
How do I combine mkv and mka file using fluent-ffmpeg ?
17 mai 2020, par YaSh ChaudharyI have two Amazon S3 bucket file urls , one is for mkv file(video) and other one for mka(audio).



I am trying to merge audio and video in one file and upload it to S3 but following function doesn't seems to get working. Not getting error also.



client.request({ method: 'GET', uri: uri }).then((response) => {
 const mediaLocation = response.body.redirect_to
 media.push(mediaLocation)
 if(media.length > 1) {
 ffmpeg(media[0])
 .addInput(media[1])
 .output(`${recordingSid}.mkv`)
 .on('error', function (err) {
 console.log('An error occurred: ' + err.message)
 })
 .on('end', function () {
 console.log('Processing finished !')
 var params = {
 Body: fs.createReadStream(`${recordingSid}.mkv`),
 Bucket: config.aws.bucketname,
 Key: `${recordingSid}.mkv`,
 }
 s3.upload(params, function (err, data) {
 //handle error
 if (err) {
 console.log('Error', err)
 }

 //success
 if (data) {
 console.log('Uploaded in:', data.Location)
 }
 })
 })
 }
 })




My ultimate goal is to upload this output to S3 bucket.