
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (63)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (5835)
-
FileNotFoundError on aws Lambda when concatenating videos with ffmpeg
2 juillet 2021, par Shibu MenonGoal :



- 

- Concat 2 videos (both are in an s3 bucket) via aws Lambda using ffmpeg
- Upload the resultant output.mp4 to another S3 bucket
- Python 3+









I've already created a layer containing a static ffmpeg



The Error :



{
 "errorMessage": "[Errno 2] No such file or directory: '/tmp/output.mp4'",
 "errorType": "FileNotFoundError",
 "stackTrace": [
 [
 "/var/task/lambda_function.py",
 19,
 "lambda_handler",
 "s3.Object(bucketLowRes, mp4OutputFileName).put(Body=open(new_file_key, 'rb'))"
 ]
 ]
}




My Lambda function :



import json
import os
import subprocess
import boto3

s3 = boto3.resource('s3')
bucketLowRes = s3.Bucket("bucket-conc-lowres")

def lambda_handler(event, context):
 # TODO implement

 mp4OutputFileName = 'output.mp4'

 new_file_key = os.path.abspath(os.path.join(os.sep, 'tmp', mp4OutputFileName))
 subprocess.call( ['/opt/ffmpeg', '-i', 'concat:s3://bucket-word-clips/00th76kqwfs915hbixycb77y9v3riwsj30.mp4|s3://bucket-word-clips/00uoakp6jyafbu13ycvl6w2i9tj42eux30.mp4', new_file_key ] )

 s3.Object(bucketLowRes, mp4OutputFileName).put(Body=open(new_file_key, 'rb'))

 return {
 'statusCode': 200,
 'body': json.dumps('Hello from Lambda!')
 }




Question :



- 

- FileNotFoundError : Where is the output mp4 file of my ffmpeg concat being saved ??
- And if it is being saved to /tmp/output.mp4 , then why the FileNotFoundError ??







thanks


-
Anomalie #2661 (Fermé) : fusion ?
16 avril 2012, par Ben .contexte : la page archives est presque vide : http://www.spip-blog.net/spip.php?page=archive sur le blog de b_b en spip2 / mysql la boucle MONTH> retourne SELECT articles.date, MONTH(date) FROM spip_articles AS `articles` WHERE (articles.statut = ’publie’) AND (articles.date en spip3 sur (...)
-
ffmpeg : Variable based overlay
25 juin 2018, par HoofamonI am building a video from a collection of images, currently I am just using the ffmpeg command line tool for this :
ffmpeg -framerate 60 -pattern_type glob -i "${photoDir}/archives/*.jpg" -c:v libx264 -pix_fmt yuv420p $movieDir/vidout.mp4
I would like to overlay a string value on the video that would change for each input file image, it would be the name of that file with some slight changes. Is this something that is possible with the commandline utility and a script, or would I need to write a program using the ffmpeg lib ?
Thank you