
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (73)
-
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 -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (7463)
-
How can I combine HDR video with a still PNG in FFMPEG without messing up colors ?
2 juin 2022, par RobertI'm trying to add a still image to the end of a video as a title-card. Normally this is simple, but the video is HDR (shot on an iPhone) and for reasons I don't understand that's causing the colors in the PNG to go nuts.


Here's the original png :



Here's a screenshot from the end of the output video :



Clearly something is amiss. I made the PNG image in Photoshop from a photo, and I've tried it with and without embedding the color profile without any noticeable difference.


Here's the command for ffmpeg :


ffmpeg -y\
 -t 5 -i '../inputs/video.MOV'\
 -loop 1 -t 5 -i '../../common/end-youtube.png'\
 -filter_complex '
[1:v] fade=type=in:duration=1:alpha=1, setpts=PTS-STARTPTS+5/TB[end];
[0:v][end] overlay [outV]
'\
 -map [outV] '../test.mp4'



I've tried this with non-HDR videos and the colors look perfectly normal, so clearly the HDRness is somehow involved. I've also tried adding this line to set the colorspace etc of the output. It helps with the PNG (although it's not perfect) but then the video is washed out.


-colorspace bt709 -color_trc bt709 -color_primaries bt709 -color_range mpeg \



I don't really care if the output video is HDR or not, as long as the video and png parts both look visually close to the inputs. This is something I'll need to do to many videos, so if possible a solution that doesn't involve tweaking colors for each one would be ideal.


-
Adobe Air , NativeProcess and ffmpeg
18 août 2013, par Tom LecozFirst of all, please excuse me if my english is not perfect, I hope you could understand me...
I discover yesterday this video tutorial about Air Native Process and FFMPEG, it shows how to create an Air app that can read every video format (avi, mkv, ...).
http://www.youtube.com/watch?v=6N7eN9wvAGQ
I tryed to reproduce it but obviously it didn't work...
Then I looked for an example of it, with working source code, on the internet. I found this
http://suzhiyam.wordpress.com/2011/05/05/as3ffmpeg-play-multi-video-formats-in-air/
The author said it's a document class for a Flash project, it just need a button component, a text area and a video Object.
I tryed it inside a Flash project, it didn't work...
So, I made some adjusment to run it outside Flash (I just replaced the DisplayObject on the stage by ActionScript code), just because it easier if you want to test it.When I say "it didn't work", I mean my video is not read at all. The nativeProcess is working, my executable is recognize but I always get some ProgressEvent.STANDARD_ERROR_DATA and then the process stop...
I'm working on Windows 7 64 bit.
I tryed with FFMPEG 32 & 64 bit and get the exact same (no) result.You can find my code here
pastebin.com/U3xRUKWeCan someone help me ?
Please ! :)
Thanks by advance !
Tom
-
FFMPEG - Overlay multipe videos over video at specified interval of time
17 août 2020, par ND1010_I want to overlay multiple videos over a single video at specified interval of time.



have tried with different solution but it will not work as i aspect



i am use below command to overlay video over video



String[] cmdWorking3 = new String[]{"-i",yourRealPath,"-i",gifVideoFile1,"-i",gifVideoFile2,"-i",gifVideoFile3,
 "-filter_complex",
 "[0][1]overlay=100:100:enable='between(t,0,2)'[v1];" +
 "[v1][2]overlay=130:130:enable='between(t,0,2)'[v2];" +
 "[v2][3]overlay=150:150:enable='between(t,5,6)'[v3];",
 "-map","[v3]","-map" ,"0:a",
 "-preset", "ultrafast", filePath};




by using above command first two video completely works fine but last one will not enable



Edit :



//Working perfect



String[] cmdWorking11 = new String[]
 {"-i",
 yourRealPath,
 "-i",
 gifVideoFile1,
 "-i",
 gifVideoFile2,
 "-i",
 gifVideoFile3,
 "-i",
 gifVideoFile4,

 "-filter_complex",

 "[1]setpts=PTS+3/TB[1d];" +
 "[2]setpts=PTS+7/TB[2d];" +
 "[3]setpts=PTS+10/TB[3d];" +

 "[0][1]overlay=100:100:enable='between(t,0,2)'[v1];" +
 "[v1][1d]overlay=130:130:enable='between(t,3,6)'[v2];" +
 "[v2][2d]overlay=130:130:enable='between(t,7,9)'[v3];" +
 "[v3][3d]overlay=150:150:enable='between(t,10,13)'[v4];" +

 "[1]asetpts=PTS+3/TB[1ad];" +
 "[2]asetpts=PTS+7/TB[2ad];" +
 "[3]asetpts=PTS+10/TB[3ad];" +
 "[0:a][1ad][2ad][3ad]amix=4[a]",

 "-map", "[v4]", "-map", "[a]", "-ac", "5",

 "-preset",
 "ultrafast",

 filePath};




Above command is perfectly works fine but audio from the overlapped video is gone,can you please help me to solve this issue.



main Video time Duration is about 00:15 second and all overlay videos are about 3 second.



it would be great to helping out to solve this issue,Thanks in advance.