Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (76)

  • 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 (10320)

  • Is there any way in ffmpeg to cut a video with embedded subtitles and multiple audio tracks accordingly ? [closed]

    21 février 2024, par Harsh

    I have a video which had multiple audio tracks and embedded subtitles. I tried using ffmpeg to cut it, but I could not get the subtitles with it, nor the audio tracks. Here's the command I tried :

    


    ffmpeg -i input.mkv -ss 00:01:16 -to 00:02:46 -map "[0:0]:v" -map "[0:3]:a" -map "[0:4]:s" -c copy output.mkv 


    


    I tried using this command -

    


    ffprobe -v info input.mkv


    


    to collect information about the streams and substituted the streams, but for some reason it gave an error which read something along the lines of - Output with label 0:0 does not exist. Is there an alternative to achieve the result I wish ?

    


    Edit - I tried this command :

    


    ffmpeg -i input.mkv -ss 00:01:16 -to 00:02:46 -map 0 -c:a copy -c:s copy output.mkv


    


    It does the task BUT I have trouble seeing the video on my pc, it just shows a black screen (VLC) but on my mobile when I watch it using PLAYit, it works fine but I can't see the first 8 seconds for some reason. Anyways fix for this ?

    


  • wowza + live + ffmpeg + hls player, how to create the playlist.m3u8 ?

    9 mai 2018, par Ziv Barber

    I’m trying to setup a wowza live test server and then I can play hls from my mobile app. It do work without any problem for vod. I can play it in my app. I can also see the .m3p8 file if I enter this uri in the browser.
    I tried to do the same in live mode (my goal is to test some streaming parameters for live streaming). I tried to use ffmpeg to create the live stream :

    ffmpeg -re -i "myInputTestVideo.mp4" -vcodec libx264 -vb 150000 -g 60 -vprofile baseline -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -strict experimental -f mpegts udp ://127.0.0.1:10000

    I created a "source file" and connected it to the "Incoming Streams".
    I can see in my application’s Monitoring / Network tab that it do getting the data from ffmpeg.

    My problem is how to get the playlist.m3p8 file so I can play it from inside my app (hls based) ?

    Again, for now I need a way to test playing with the streaming settings and in real live I’ll have a real live streaming source.

  • FFmpeg Degrades Quality of Video

    31 mars 2015, par elliotsandbox

    I have been tasked with converting a batch of videos from MOV to MP4 for an application my company is building. We’re converting the videos because a short MOV file has an extremely large file size (well over five hundred megabytes), obviously not what we want for a mobile application. Now I tried directly converting MOV to MP4 however FFmpeg produces broken MP4 files. I overcame this by converting MOV to AVI then the AVI to MP4. Huzza ! It works, however the quality is slightly degraded.

    Here is the code I am executing to convert the videos, it’s in Lua.

    os.execute(("./ffmpeg/ffmpeg -i %s %s/%s.avi"):format(inputDir[video], finalDirectory, friendlyName))
    os.execute(("./ffmpeg/ffmpeg -i %s/%s.avi %s/%s.mp4"):format(finalDirectory, friendlyName, finalDirectory, friendlyName))
    os.execute(("rm -r %s/%s.avi"):format(finalDirectory, friendlyName))

    I’ve had a look around and see that I should look at codecs and stuff. However my mind comes to a complete blank when it comes to codecs. I am certain that all I need is an extra parameter and the videos will just be fine.

    Any help is greatly appreciated !