
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (98)
-
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 ) (...) -
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
Sur d’autres sites (9099)
-
ffplay - how to have video and audio waveform [duplicate]
19 février 2018, par francisThis question already has an answer here :
I’ve been trying out various commands trying to figure out how to have a stack of video and audio waveform according to : https://trac.ffmpeg.org/wiki/FancyFilteringExamples#waveform
Video only :
ffplay -i abc.mp4 -vf "split[a][b];[a]waveform=e=1,split=1[c];[c]crop=in_w:16:0:0,lutyuv=y=val:v=180[high]; [b][high]vstack=2"
Audio only :
ffplay -f lavfi 'amovie=april.flac,asplit=2[out1][a]; [a]showwaves=s=640x240[waves]; [waves] vstack[out0]'
But there isn’t any that combines and shows the top half as video and bottom half as the audio waveform. Is it possible ?
-
ffmpeg generate overlay complex filter for audio with background image
8 janvier 2016, par user1793606I am experimenting with ffmpeg and would like to generate overlay complex filter for audio with background image. The code normally works, except for when adding
-filter_complex "[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]" -map "[v]" -map 0:a
it crashes. I found the example code at https://trac.ffmpeg.org/wiki/Waveform Any help is appreciated.Command '['c:/ffmpeg/bin\\ffmpeg.exe', '-y', '-loop', '1', '-r', '1', '-i', 'temp\\bg.png', '-i', 'test.mp3', '-filter_complex', '[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]', '-map', '[v]', '-map', '0:a', '-c:v', 'libx264', '-preset', 'ultrafast', '-tune', 'stillimage', '-crf', '15', '-pix_fmt', 'yuv420p', '-strict', 'experimental', '-c:a', 'aac', '-b:a', '256k', '-shortest', '-threads', '0', 'done/test.mp4']'
EDIT 1 :
I tested this with the new verson :
ffmpeg -y -i input.mp3 -i background.png -filter_complex "[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]" -map "[v]" -map 0:a -c:v libx264 -c:a copy output.mp4
It generates an output file, but only the waveform, no background included. My end goal is to generate the waveform over the background.
-
OpenCV : FFMPEG : tag is not supported with codec id 12 and format 'mp4 / MP4
30 septembre 2023, par Tina JI was trying to run a repo located HERE. Basically, just targeting
SimpleVideoSummarizer.cc
which uses OpenCV for some basic video processing. I'm using Ubuntu 14.04. Following is the save part of the code :


void SimpleVideoSummarizer::playAndSaveSummaryVideo(char* videoFileSave) {
 cv::VideoCapture capture(videoFile);
 cv::Mat frame;
 capture.set(CV_CAP_PROP_POS_FRAMES, 0);
 cv::VideoWriter videoWriter;
 if (videoFileSave != "") {
 videoWriter = cv::VideoWriter(videoFileSave, CV_FOURCC('M', 'J', 'P', 'G'), static_cast<int>(capture.get(CV_CAP_PROP_FPS)), cv::Size(capture.get(CV_CAP_PROP_FRAME_WIDTH), capture.get(CV_CAP_PROP_FRAME_HEIGHT)));
 }
 for (std::set<int>::iterator it = summarySet.begin(); it != summarySet.end(); it++) {
 capture.set(CV_CAP_PROP_POS_FRAMES, segmentStartTimes[*it] * frameRate);
 for (int i = segmentStartTimes[*it]; i < segmentStartTimes[*it + 1]; i++) {
 for (int j = 0; j < frameRate; j++) {
 capture >> frame;
 cv::putText(frame, "Time: " + IntToString(i) + " seconds", cvPoint(30, 30),
 cv::FONT_HERSHEY_COMPLEX_SMALL, 0.8, cvScalar(200, 200, 250), 1, CV_AA);
 if (frame.data) {
 cv::imshow("Summary Video", frame);
 }
 if (videoFileSave != "") {
 videoWriter.write(frame);
 }
 // Press ESC on keyboard to exit
 char c = static_cast<char>(cv::waitKey(25));
 if (c == 27) {
 break;
 }
 }
 }
 }
 capture.release();
}
</char></int></int>



I pass an
input.mp4
file and specify aout.mp4
as well. Unfortunately, when the example is trying to save the output video file, it throws errors on the FOURCC :


OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x7634706d/'mp4v'




or another one :



OpenCV: FFMPEG: tag 0x3234504d/'MP42' is not supported with codec id 15 and format 'mp4 / MP4 (MPEG-4 Part 14)'
[mp4 @ 0x16bc700] Could not find tag for codec msmpeg4v2 in stream #0, codec not currently supported in container




I tried to change the FOURCC in this part of the code which writes the video, and applied XVID, MJPG, X264, MP42, MP4V. None worked and threw similar errors.



What is the problem ? How to fix it ?