Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (58)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • 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

  • 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.

  • 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.