Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (77)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications 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 (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    Pré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 ) (...)

Sur d’autres sites (11437)

  • FFMPEG concatenating videos with and without audios

    6 juillet 2023, par najam ulhassan

    I'm concatenating multiple videos using FFMPEG, with and without audios to certain videos, i'm using following command but FFMPEG generating error over (:a audio filer) Stream specifier ':a' in filtergraph description, matches no streams.
Even I'm using anullsrc for videos having no sound.

    


    Command :

    


    ffmpeg -i Video_202306_23_102709.mp4 -i Video_202306_23_102838.mp4 -i Screenshot_298.mp4 -i MG16885528.mp4
-f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000
-filter_complex
[0:v]scale=1280x720:force_original_aspect_ratio=decrease,pad=1280x720 :-1 :-1,setsar=1,fps=24,format=yuv420p[v0] ;
[1:v]scale=1280x720:force_original_aspect_ratio=decrease,pad=1280x720 :-1 :-1,setsar=1,fps=24,format=yuv420p[v1] ;
[2:v]scale=1280x720:force_original_aspect_ratio=decrease,pad=1280x720 :-1 :-1,setsar=1,fps=24,format=yuv420p[v2] ;
[3:v]scale=1280x720:force_original_aspect_ratio=decrease,pad=1280x720 :-1 :-1,setsar=1,fps=24,format=yuv420p[v3] ;
[0:a]aformat=sample_rates=48000:channel_layouts=stereo[a0] ;
[1:a]aformat=sample_rates=48000:channel_layouts=stereo[a1] ;
[2:a]aformat=sample_rates=48000:channel_layouts=stereo[a2] ;
[3:a]aformat=sample_rates=48000:channel_layouts=stereo[a3] ;
[v0][a0][v1][a1][v2][a2][v3][a3]concat=n=4:v=1:a=1[v][a]
-map "[v]" -map "[a]" -c:v libx264 -crf 28 -c:a aac
-movflags +faststart FinalTempVideo.mp4

    


    I'm following this query Concatenate Video in ffmpegby llogan,
It seems the :a filter is not utilize with the videos having no sound, but issue is that I couldn't distinguish between the videos having audio or not.
Moreover anullsrc is not making it a fix.

    


  • Why is accessing these particular videos with ffmpeg far slower than usual ?

    8 novembre 2017, par user779159

    If I run ffmpeg -ss $TIME -i $URL -frames:v 1 -filter:v $FILTER file.jpg -v trace to get a screenshot of a video from a remote website, it normally runs quite quickly. But videos from a different website are taking much longer to run.

    All videos from one particular website are very slow. I’ve compared two videos that are 3-4MB, one from a website where ffmpeg works almost instantly (0.5 seconds) and another from a website where it works terribly slowly (15 seconds).

    Here’s the trace output for the slow video http://pastebin.pl/view/raw/4df9fb06. And here’s trace output for the fast video http://pastebin.pl/view/raw/4b590932.

    Can you identify any reason why one video is so much slower compared to all the other videos ? The ffmpeg command I ran is the one from above and the same for both videos. How can I speed this up ?

    The slow video downloads a few seconds slower than the fast video, but I don’t think the ffmpeg command should be showing such a major difference between the two files.

  • How to concatenate two or more videos with different width in FFMpeg and to maintain the same aspect ratio ?

    23 octobre 2019, par Aarwil

    I have five video parts to concat all. Each five videos are in the same width and height. The second part is the hstack of another 2 videos and the third part is the hstack and vstack of another 3 videos. While concat all the five video parts the aspect ratio is not maintaining in the final video. Since I am new to ffmpeg help me to sort out the problem

    I have tried with the command with filter complex and to reduce the size I used frame per second.

    "ffmpeg -i
    RM356ce8c15f47cb07b7af885fd718a39f/final/RM356ce8c15f47cb07b7af885fd718a39f.mp4 -vf scale=1280:480 -filter:v fps=fps=30 E :\test\routes\public\assets\downloads\RM356ce8c15f47cb07b7af885fd718a39f/final/RM356ce8c15f47cb07b7af885fd718a39f.mp4"

    Only ’-vf fps=fps=30’ read, ignoring remaining -vf options : Use ’,’ to separate filters