
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (72)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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 (8373)
-
concat multiple image and multiple video using complex_filter concat and scale simultaneously ? [duplicate]
7 mars 2018, par Ratna deep vermaThis question already has an answer here :
I have two ffmpeg commands :
ffmpeg -loop 1 -t 5 -i test4.jpg -i test4.jpg -preset ultrafast -vsync vfr -filter_complex "[0:v]fade=t=out:st=4:d=1,scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0];[1:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1];[v0][v1]concat=n=2:v=1:a=0,format=yuv420p[v]" -map "[v]" rd.mp4
and
ffmpeg -i newvideo.mp4 -i videoplayback.mp4 -i newvideo.mp4 -preset ultrafast -vsync vfr -filter_complex "[0:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0]; [1:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1];[2:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1,scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v2]; [v0][v1][v2]concat=n=3:v=1:a=0[v]" -map [v] rd.mp4
How i can combine these two commands ?
I want to concatenate multiple image with different resolutions and multiple Videos with different resolutions and bit rate.
Above two commands work properly but i am not able to combine these two commands in single command.
I tried this command
ffmpeg -i newvideo.mp4 -i videoplayback.mp4 -loop 1 -t 5 -i test4.jpg -preset ultrafast -vsync vfr -filter_complex "[0:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0]; [1:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1];[2:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1,scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v2]; [v0][v1][v2]concat=n=3:v=1:a=0[v]" -map [v] rd.mp4
I just try to add an image end of video with 5 second’s duration. Although it can by any sequence of video and image
I am getting this error :
Input link in2:v0 parameters (size 1280x720, SAR 144000:144001) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)
[Parsed_concat_8 @ 0000000002a56520] Failed to configure output pad on Parsed_concat_8
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #2:0
Conversion failed! -
ffmpeg android concat multiple image and multiple video using complex_filter concat and scale simultaneously ?
7 mars 2018, par Ratna deep vermaI have two ffmpef commands :
ffmpeg -loop 1 -t 5 -i test4.jpg -i test4.jpg -preset ultrafast -vsync vfr -filter_complex "[0:v]fade=t=out:st=4:d=1,scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0];[1:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1];[v0][v1]concat=n=2:v=1:a=0,format=yuv420p[v]" -map "[v]" rd.mp4
and
ffmpeg -i newvideo.mp4 -i videoplayback.mp4 -i newvideo.mp4 -preset ultrafast -vsync vfr -filter_complex "[0:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0]; [1:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1];[2:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1,scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v2]; [v0][v1][v2]concat=n=3:v=1:a=0[v]" -map [v] rd.mp4
How i can combine these two commands ?
I want to concatenate multiple image with different resolutions and multiple Videos with different resolutions and bit rate.
Above two commands work properly but i am not able to combine these two commands in single command.
I tried this command
ffmpeg -i newvideo.mp4 -i videoplayback.mp4 -loop 1 -t 5 -i test4.jpg -preset ultrafast -vsync vfr -filter_complex "[0:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0]; [1:v]scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1];[2:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1,scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v2]; [v0][v1][v2]concat=n=3:v=1:a=0[v]" -map [v] rd.mp4
I just try to add an image end of video with 5 second’s duration. Although it can by any sequence of video and image
I am getting this error :
Input link in2:v0 parameters (size 1280x720
, SAR 144000:144001) do not match the corresponding output link in0:v0 parameter
s (1280x720, SAR 1:1)
[Parsed_concat_8 @ 0000000002a56520] Failed to configure output pad on Parsed_co
ncat_8
Error reinitializing filters !
Failed to inject frame into filter network : Invalid argument
Error while processing the decoded data for stream #2:0
Conversion failed ! -
How to scale and mux audio ?
20 décembre 2019, par siods333333First problem is with audio rescaling. I’m trying to redo
doc/examples/transcode_aac.c
so that it also resamples from 41100 to 48000, it contained a warning that it can’t do it.Using
doc/examples/resampling_audio.c
as a reference, I saw that before doingswr_convert
, I need to find the number of audio samples at the output with the code like this :int dst_nb_samples = av_rescale_rnd( input_frame->nb_samples + swr_get_delay(resampler_context, 41100),
48000, 41100, AV_ROUND_UP);Problem is, when I just set
int dst_nb_samples = input_frame->nb_samples
(which is 1024), it encodes and plays normally, but when I do thatav_rescale_rnd
thing (which results in 1196), audio is slowed down and distorted, like there are skips in the audio.Second problem is with trying to mux
webm
withopus
audio.When I set
AVStream->time_base
to1/48000
, and increaseAVFrame->pts
by 960, the resulted file is played in the player as a file that is much bigger. 17 seconds audio shows as 16m11s audio, but it plays normally.When I increase
pts
by 20, it displays normally, but has a lot of[libopus @ 00ffa660] Queue input is backward in time
messages during the encoding. Same forpts
30, still has those messages.Should I try
time_scale
1/1000 ?webm
always have timecodes in milliseconds, andopus
have packet size of 20ms (960 samples at 48000 Hz).Search for
pts += 20;
Here is the whole file, all modification I did are marked with
//MINE
: http://www.mediafire.com/file/jlgo7x4hiz7bw64/transcode_aac.cHere is the file I tested it on http://www.mediafire.com/file/zdy0zarlqw3qn6s/480P_600K_71149981_soundonly.mkv