
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (55)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7555)
-
How to add title screen to the video using ffmpeg ?
25 mai 2019, par Rohan PatilI am making an story telling video application. In this application the videos which are basically interviews and footage provided by user are merged together, in addition to this the video title which is entered by user should also be merged with rest of the video. I am successfully able to make title video using the title and export it, But the problem occurs when i try to merge the title video with rest of the videos. My app crashes when i try to merge the title video with other videos. Below I have put two commands, first one is for making title video, and the second one is merging that title video with rest of the video. What I want is to merge the title video with other video and export it. Does anyone have any idea to do this ? Thank you !
command = new String[]{"-f","lavfi","-i","color=c=black:s=1080x1920:d=0.5","-vf","drawtext=fontfile=/system/fonts/DroidSans.ttf:fontsize=45:fontcolor=white:x=(w-text_w)/2:y=(h-text_h)/2:text='hello world'",dest2.getAbsolutePath()}
command2=new String[]{"-y","-i",dest2.getAbsolutePath(),"-i", originalpath1, "-i", originalpath2 ,"-strict", "experimental", "-filter_complex",
"[0:v]scale=1080x1920,setsar=1:1[v0];[1:v]scale=1080x1920,setsar=1:1[v1];[2:v]scale=1080x1920,setsar=1:1[v2];[v0][0:a][v1][1:a][v2][2:a] concat=n=3:v=1:a=1",
"-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "1080x1920", "-vcodec", "libx264","-crf","27","-q","4","-preset", "ultrafast", dest.getAbsolutePath()}; -
ffmpeg avformat_open_input() failed to open a dshow device url containing Chinese Characters
16 octobre 2024, par SangThe USB Webcam is OK, but the device I want to use is a "virtual camera" named "无他伴侣(竖屏)", whose video is from the smart phone like Android or iOS. Connect the phone to PC, run an app on the phone, then run a PC client application, which can preview the video. The phone app is called "无他相机", and the PC app is called "无他伴侣", its website is https://www.wuta-cam.com/.


I run FFmpeg at the Windows Commandline with the command
ffmpeg -list_devices true -f dshow -i dummy
, it's OK to list the devices.(in order to display Chinese correctly, runchcp 65001
in advance.)

Run the command
ffplay -f dshow -i video="无他伴侣(竖屏)"
, it's OK to play the video.(of course you need to comfirm its PC client previewing fine in advance.)

Now I want to get the decoded frames from that virtual camera in my program, I call
avformat_open_input()
withvideo=无他伴侣(竖屏)
, it failed, the return value is -5, I/O error.

Anyone knows the reason ?


Below is my code snippet.


avdevice_register_all();
avcodec_register_all();
//const char * url= "video=Logitech Webcam C930e";// This is fine.
char url[] = "video=无他伴侣(竖屏)";// This is bad.

AVFormatContext *pFmtCtx = avformat_alloc_context();
AVInputFormat *iformat = av_find_input_format("dshow");
int nRet = 0;
nRet = avformat_open_input(&pFmtCtx, url, iformat, NULL);
if (nRet)
{
 const size_t buffer_size = 256;
 char err_description[buffer_size];
 av_strerror(nRet, err_description, buffer_size);
 printf("%s.\n", err_description);// --> I/O error.
 printf("FAILED to open input.(Line:%d,%d)\n", __LINE__, nRet);
 return -1;
}



-
ffmpeg - Overlay a text over an image
1er mai 2020, par ark1974The following command line for encoding audio with an image works fine.



ffmpeg -y -loop 1 -framerate 15 -i "/storage/emulated/0/Download/Kites.jpg" -i "/storage/emulated/0/Download/myaudio.mp3" -c:v libx264 -vf format=yuv420p -c:a aac -shortest "/storage/emulated/0/Download/Out.mp4"




I want to overlay text over an image in the video frame. Based on this link, I added an overlay text like so. Since I want to use the default font, I skip the
drawtext="fontfile="
command deliberately like so. But now no video frames are visible, not even the background image. How can I do it ? Thanks.


ffmpeg -y -loop 1 -framerate 15 -i "/storage/emulated/0/Download/Kites.jpg" -i "/storage/emulated/0/Download/myaudio.mp3" -c:v libx264 -vf format=yuv420p -vf drawtext="text='Hello World': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -c:a aac -shortest "/storage/emulated/0/Download/Out.mp4"