Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (50)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (3755)

  • Ask Help for Reproduce AccMPEG coded by Du Kuntai

    30 novembre 2022, par censhallwe

    Here is his github : https://github.com/KuntaiDu/AccMPEG
When I follow his steps to reproduce AccMPEG, I meet some problems. It's my first time to reproduce others' paper. When I set up the conda environment, the conda_env.yml has some pip errors and stop like picture1 :
    
PIC 1.
    
So I change its name to accmpeg (originally diff) and delete some code about torch/torchvision/torchaudio/detectron2. After setup the environment, I run generate_mpeg_curve.py and meet some errors like picture2 :
    
PIC 2.
    
Maybe I failed to setup the environment. And when I run batch_blackgen_roi.py, I meet some errors like these :
    
IMG 3.
    
I search accmpeg and want to try to find solution from the Internet. But I don't get useful information. Therefore, I try to seek help. If you can give me a hand, I am very grateful.
    
If you can reproduce it well, please teach me how to operate. It's better if you have some useful pictures.Thanks very much !

    


  • Mux ts segments to fragmented mp4 in realtime

    10 avril 2021, par bsack

    I have an HLS stream which plays in the browser. What I want to do is have a URL like /stream.mp4 that plays the livestream back as a fragmented mp4 from the current point in time. This way you could download the stream as a single file and it would work without any js dependencies.

    


    The method I thought of is :

    


      

    1. send an mp4 header
    2. 


    3. wait for a new segment
    4. 


    5. convert the segment into an mp4 fragment with ffmpeg
    6. 


    7. send the mp4 fragment
    8. 


    9. go to 2.
    10. 


    


    (I know you can concatenate .ts segments but they don't play in Firefox.)

    


    This answer describes how to create a fragmented mp4 when you have all the segments at hand (tl ;dr use -movflags frag_keyframe+emptymoov). But I want to do this on the fly so each new HLS segment is converted to an mp4 fragment as soon as it's created.

    


    I think this is similar to what DASH does natively, where any chunk chunk-$n.m4s can be appended to init.m4s and it'll be a proper fragmented mp4. But can this be done without using DASH ?

    


    How can I transmux a ts segment into an mp4 fragment ?

    


    Edit : I found a way of doing what I wanted, but not through transmuxing mpegts segments to fmp4. It turns out that later versions of HLS do support fragmented mp4 (like DASH does), and FFmpeg provides the -hls_segment_type fmp4 option for this.

    


  • ffmpeg split video H264 stutters on Windows Media Player

    9 mars 2019, par Juan Foegen

    I am converting and splitting wmv and mp4 into new mp4 files. I am using ffmpeg to do the conversion with simply :
    ffmpeg -i inputfile.wmv -vcodec libx264 -ss 00:00:10 -t 00:00:15 outputfile.mp4

    So when I create my split video it plays fine on other video players, like VLC, but stutters when initially playing on Windows Media Player and even shows a blank screen for a moment and then after about 5 seconds, the video will play normally. If I then select play again without reloading, Windows Media Player will play the video fine, with no stuttering.

    If I REMOVE the start parameter when doing the conversion, then the resulting video will play without issues on all my players, INCLUDING Windows Media Player.

    I have tried changing the frame rate, the bit rate and altered different optimization options mentioned here - https://trac.ffmpeg.org/wiki/Encode/H.264

    I need the split video to play on Windows machines on Windows Media Player and on the web streamed using the video element. This is why I chose H264 codec and MP4.

    Has anyone had issues playing ffmpeg split videos using H264 codec with Windows Media Player ? I am using the latest version of ffmpeg. Anyone have any other suggestions on any different settings I could try to adjust ?

    Thanks