Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (104)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12048)

  • FFMPEG Combine a list of jpg with mo3 audios to sepatated videos on batch [closed]

    20 septembre 2020, par Francisco Barrod

    i have a big list of jpg and mp3 files. each of them have identical names but they not enumerated. example cat.jpg and cat.mp3 pig.jpg and pig.jpg i want to make videos cat.mp4 pig.mp4

    


    i have a code to do this manually but i want to make it on batch. heres my code

    


    ffmpeg -loop 1 -i cat.jpg -i cat.mp3 -threads 8 -shortest -c:v libx264 -c:a copy cat.mp4  


    


    its simple but works for my need.

    


    need help to make it on batch-

    


    thanks in advance.

    


  • for loop from two values in list of dicts with python and ffmpeg

    30 décembre 2019, par Brendon Rathbone

    I’m having an issue figuring out how to do the last for loop in my first really useful python program. I am trying to split a video with ffmpeg based on a bunch of logic to figure out edit points.

    I have a list of dictionaries ’cut_list’ that I have sorting figured out like this

    [{'Cutstart': '01:00:00:00', 'CutEnd': '01:00:05:00'}, {'Cutstart': '01:00:10:01', 'CutEnd': '01:00:15:00'}, {'Cutstart': '01:00:20:01', 'CutEnd': '01:00:25:01'}]

    I then am trying to feed these values to ffmpeg, iterating over the list of dicts like so :

    cutcounter=1
    for Cutstart & CutEnd in cut_list:
       for k in Cutstart.items() & v in CutEnd.items() :
           print(k)
           print(v)
           intime=Timecode(fps_real, k)
           intime.set_fractional(True)
           outtime=Timecode(fps_real, v)
           outtime.set_fractional(True)
           cutfile=str(cutcounter)+".mxf"
           print(k)
           print(v)
           subprocess.call(['ffmpeg', '-i', "C:\\path\\to\\file\\BaseFile.mxf", '-ss', k, '-to', v, '-c:v', 'copy', '-c:a', 'copy', cutfile])
           cutcounter=cutcounter+1

    My expected output is to iterate over the list and have chunks of the video split off at those specific timecodes and numbered 1.mxf and count up for every for loop to be recombined with inserted fixes to those timespans. I think after I figure out the for loop I will need to also feed the timecode values as HH:mm:ss:mss instead of HH:mm:ss:ff but that’s not the part that I’m having trouble figuring out yet. Right now I just can’t grok the logic of getting the cutstart and cutend for each timecode to feed into the ffmpeg script.

    Current error as I bash my head against the wall trying to get smarter is : Syntax Error: cannot assign to operator

    I’m definitely inexperienced and have hacked this together from a lot of other helpful posts, but am struggling with sorting and lists vs list of dicts vs tuples etc. and where and when to use each one.

  • Revision 100423 : Éviter une erreur fatale PHP Fatal error : Cannot use empty list in ...

    7 novembre 2016, par kent1@… — Log

    Éviter une erreur fatale
    PHP Fatal error : Cannot use empty list in /Users/kent1/Sites/SPIP/_plugins_/fulltext/trunk/action/fulltext_convert_myisam.php on line 28