
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (71)
-
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 (6248)
-
ffmpeg command line write output to a text file
16 avril 2015, par Asanka sanjayaI’m using this script for shot detection in ffmpeg.
ffprobe -show_frames -of compact=p=0 -f lavfi "movie=test.mp4,select=gt(scene\,0.3)"
I need to write the output into a text file in order to read the output from a c program. How can I do this ? Any help is appreciated.
-
ffmpeg how to attach & extract text/data file to audio or video stream ?
9 février 2021, par user2718593I have :


1/ AUDIO.m4a stream


2/ a cover album jpeg


3/ an UTF8 text file


I wish to bind all of them into a mkv/mp4 container.


To bind the audio & image I can


ffmpeg -y -i "AUDIO.mp4" -attach COVER.jpg -metadata:s mimetype="image/jpeg" -c:a copy "AUDIO_COPY_WITH_COVER.mka"


Further to bind the text file


ffmpeg -y -i "AUDIO_COPY_WITH_COVER.mka" -c copy -attach "TEXT.txt" -metadata:s:2 mimetype=application/octet-stream "AUDIO_JPEG_TEXT.mkv"


If I check I get :




Input #0, matroska,webm, from 'AUDIO_JPEG_TEXT.mkv' :
Metadata :
MINOR_VERSION : 512
COMPATIBLE_BRANDS : M4A isomiso2
MAJOR_BRAND : M4A
ENCODER : Lavf58.45.100
Duration : 00:36:10.36, start : 0.000000, bitrate : 67 kb/s
Stream #0:0 : Video : mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 320x240 [SAR 1:1 DAR 4:3], 1k tbr, 1k tbn, 1k tbc (default)
Metadata :
FILENAME : COVER.jpg
MIMETYPE : image/jpeg
DURATION : 00:00:00.000000000
Stream #0:1 : Audio : aac (HE-AAC), 44100 Hz, stereo, fltp (default)
Metadata :
HANDLER_NAME : SoundHandler
MIMETYPE : image/jpeg
DURATION : 00:36:10.358000000
Stream #0:2 : Attachment : none
Metadata :
filename : TEXT.txt
mimetype : application/octet-stream




Question :


1/ How do I extract my text file ?


ffmpeg -i "AUDIO_JPEG_TEXT.mkv" -map 0:t -metadata:s:2 mimetype=application/octet-stream "my text.txt"



I get the error :
Unable to find a suitable output format for 'my text.txt'
my text.txt : Invalid argument


**2/If I replace the command with **


ffmpeg -y -i "AUDIO_COPY_WITH_COVER.mka" -c copy -attach "TEXT.txt" -metadata:t:2 mimetype=application/octet-stream "AUDIO_JPEG_TEXT.mkv"


Excuting
ffmpeg -i "AUDIO_JPEG_TEXT.mkv"


get error


EBML header parsing failed
AUDIO_JPEG_TEXT.mkv : Invalid data found when processing input


2/ How can I write in one command the 3 attachments(audio,img,document) ?


Thanks


-
FFmpeg pass arguments in a text file
30 novembre 2023, par yazanproI'm trying to get around the 32767 characters limit regarding the command line length in Windows (sometimes it's less than that). I have a large number of boxes that I'm trying to draw on a video. Typically I can concatenate the draw commands using a comma (
,
) like so (the following command draws two boxes) :


ffmpeg -i input.mp4 -vf "drawbox=enable='between(t, 1.5, 4)' : x=100 : y=100 : w=200 : h=200 : color=green,drawbox=enable='between(t, 9, 18)' : x=500 : y=10 : w=150 : h=150 : color=red" -codec:a copy output.mp4




However since I have many boxes to draw, the length of the entire command becomes too large.



Does FFmpeg offer a way to pass all arguments in a text file instead of literal text ? Something like this :



ffmpeg content(ffmpegCmd.txt)




If that's not possible, is it possible to "buffer" the arguments into separate commands while exporting the result only in the last command ?