
Recherche avancée
Médias (33)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#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
Autres articles (36)
-
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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (4351)
-
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.


-
Streaming RTP with ffmpeg
30 mars 2016, par DmitryIm trying to stream audio via rtp over udp with ffmpeg (
filename = "rtp://11.89.9.211:30000"
).
Here is my code for server(which one is streaming, and I have deleted all checks from code for easy reading) :AVStream *stream = NULL;
AVCodec *output_codec = NULL;
int error;
out_ifcx[i] = avformat_alloc_context();
out_ifcx[i]->oformat = av_guess_format("rtp", NULL, NULL);
avformat_alloc_output_context2(&out_ifcx[i], nullptr, "rtp", filename);
avio_open(&(out_ifcx[i])->pb, filename, AVIO_FLAG_WRITE));
av_strlcpy((out_ifcx[i])->filename, filename, sizeof((out_ifcx[i])->filename));
output_codec = avcodec_find_encoder((in_ifcx[i])->streams[0]->codec->codec_id);
stream = avformat_new_stream(out_ifcx[i], output_codec)
out_iccx[i] = stream->codec;
(out_iccx[i])->channels = OUTPUT_CHANNELS;
(out_iccx[i])->channel_layout = av_get_default_channel_layout(OUTPUT_CHANNELS);
(out_iccx[i])->sample_rate = in_iccx[i]->sample_rate;
(out_iccx[i])->sample_fmt = AV_SAMPLE_FMT_S16;
(out_iccx[i])->bit_rate = iccx[i]->bit_rate;
if ((out_ifcx[i])->oformat->flags & AVFMT_GLOBALHEADER)
(out_iccx[i])->flags |= CODEC_FLAG_GLOBAL_HEADER;
avcodec_open2(out_iccx[i], output_codec, NULL)PS :
out_iccx[i], in_iccx[i] - vector; out_ifcx[i] in_ifcx[i] - vector
Problem with it is : when i`m trying to reach another computer in the same network this code gives an errorudp_resolve_host: nodename nor servname provided, or not known
Also, when i`m streaming to the same computer but on other port (I use not local host IP(127.0.0.1), but of this computer : 11.88.8.20), everything works perfect.
I dont know why and how to fix it. Can anyone help, please ? -
How to get playing audio file data in ffmpeg stream ?
27 juin 2022, par Viktor KushnirDears experts of the wonderful ffmpeg utility ! Tell me please who knows this :
I want to make a 24/7 stream on YouTube of music from looped video and audio tracks.
I do it like this :


ffmpeg -loglevel info -stream_loop -1 -y -re \
 -i video.mp4 \
 -f concat -safe 0 -i playlist.txt \
 -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k -bufsize 6000k \
 -framerate 25 -video_size 1280x720 -vf "format=yuv420p" -g 50 -shortest -strict experimental \
 -c:a aac -b:a 128k -ar 44100 \
 -f flv rtmp://localhost/live/my-stream



i.e. video.mp4 is spinning in a loop and from the playlist.txt file I play mp3 in turn.
With this everything is ok, everything works. But I also want to show the title of the playing track.
As for example on some YouTube radios :





With cover is perfect !


Any ideas how this can be implemented ?


I know that it is possible to display text through drawtext. You can output text from a file, which you can separately update yourself. But how to get the data of the currently playing file ? ffmpeg does not give such information, only stream parameters : fps, framerate... Or is it still possible to get it ?


Or are there better and easier ways ?


Thanks in advance for your help !