Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (34)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

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

  • Make a video in sequential order from frames

    11 septembre 2021, par shailza

    I have saved images in the sequential format- 0.jpg, 1.jpg, ---,99.jpg, 100.jpg. I am making video from these frames by using ffmpeg for conversion :

    


    cmd1 = 'ffmpeg -framerate 25 -pattern_type glob -i "/home/ubuntu/17/1_1/*.jpg" /home/ubuntu/17_a.avi'

    


    But ffmpeg is not reading the images in sequential manner. How to make a video that take frames in a sequential order.

    


  • an error about ffmpeg:maybe incorrect parameters such as bit_rate, rate, width or height?

    7 janvier 2023, par Roberick Li
    subprocess.CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '300x300', '-pix_fmt', 'rgba', '-r', '20', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-y', './save/humanml_trans_enc_512/samples_humanml_trans_enc_512_000200000_seed10/sample00_rep00.mp4']' returned non-zero exit status 1.


    


    this is the error when I running a python script :

    


    Traceback (most recent call last):&#xA;  File "/home/rob/anaconda3/envs/mdm/lib/python3.7/runpy.py", line 193, in _run_module_as_main&#xA;    "__main__", mod_spec)&#xA;  File "/home/rob/anaconda3/envs/mdm/lib/python3.7/runpy.py", line 85, in _run_code&#xA;    exec(code, run_globals)&#xA;  File "/home/rob/motion-diffusion-model/sample/generate.py", line 256, in <module>&#xA;    main()&#xA;  File "/home/rob/motion-diffusion-model/sample/generate.py", line 189, in main&#xA;    plot_3d_motion(animation_save_path, skeleton, motion, dataset=args.dataset, title=caption, fps=fps)&#xA;  File "/home/rob/motion-diffusion-model/data_loaders/humanml/utils/plot_script.py", line 128, in plot_3d_motion&#xA;    ani.save(save_path, fps=fps)&#xA;  File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 1156, in save&#xA;    writer.grab_frame(**savefig_kwargs)&#xA;  File "/home/rob/anaconda3/envs/mdm/lib/python3.7/contextlib.py", line 130, in __exit__&#xA;    self.gen.throw(type, value, traceback)&#xA;  File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 232, in saving&#xA;    self.finish()&#xA;  File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 367, in finish&#xA;    self.cleanup()&#xA;  File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 411, in cleanup&#xA;    self._proc.returncode, self._proc.args, out, err)&#xA;subprocess.CalledProcessError: Command &#x27;[&#x27;ffmpeg&#x27;, &#x27;-f&#x27;, &#x27;rawvideo&#x27;, &#x27;-vcodec&#x27;, &#x27;rawvideo&#x27;, &#x27;-s&#x27;, &#x27;300x300&#x27;, &#x27;-pix_fmt&#x27;, &#x27;rgba&#x27;, &#x27;-r&#x27;, &#x27;20&#x27;, &#x27;-loglevel&#x27;, &#x27;error&#x27;, &#x27;-i&#x27;, &#x27;pipe:&#x27;, &#x27;-vcodec&#x27;, &#x27;h264&#x27;, &#x27;-pix_fmt&#x27;, &#x27;yuv420p&#x27;, &#x27;-y&#x27;, &#x27;./save/humanml_trans_enc_512/samples_humanml_trans_enc_512_000200000_seed10/sample00_rep00.mp4&#x27;]&#x27; returned non-zero exit status 1.&#xA;</module>

    &#xA;

    Thanks for you help very much !!!

    &#xA;

    I tried to run the command alone, then for a long time the program did not return, and after using ctrl+c it reported the following error:

    &#xA;

    [libopenh264 @ 0x555582eec100] Incorrect library version loaded&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;

    &#xA;

  • I have 22,1 GB of movie data totally that I want to put on several DVDs

    8 mars 2017, par P. Dee

    I have 22,1 GB of movie data totally that I want to put on several DVDs.

    I want ffmpeg to create one long 22.1 GB mp4 file from a lot of small files to then split them into as many 4.7 GB mp4-files as necessary(should fit on 5 DVDs), so the order is preserved.

    Which command do I need ?

    I started with ffmpeg -f concat -safe 0 -i mylist.txt -c copy -fs 5046586573 output1.mp4 with mylist.txt containing

    # this is a comment
    file '/path/to/file1'
    file '/path/to/file2'
    file '/path/to/file3'

    Then looking at the duration, to then continue with ffmpeg -ss duration -f concat -safe 0 -i mylist.txt -c copy -fs 5046586573 output2.mp4

    Which command does that at once ?