Recherche avancée

Médias (0)

Mot : - Tags -/page unique

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (51)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5352)

  • Pseudo-streaming mp4 files does not work with flash player

    11 mai 2013, par faridv

    I've got a problem with streaming audio on my website. I thought I could put the MP3 file inside an MP4 container with h264 codec, so I can use pseudo-streaming ability of mp4 codec.

    The code I'm using to convert my files is :

    ffmpeg -i 1.mp3 -y -b:a 32K -vn 1.mp4

    Pseudo-streaming (seeking in not-loaded parts of media) now works in HTML5 player but not in any Flash media players such as JWPlayer or FlowPlayer.

    I've tested my files on both Apache server with h264 module enabled and Nginx with mod_mp4 enabled, but without any lucks.

    I tried MP4Box, QTIndexSwapper and even creating a real video file by mixing of an image loop and my audio file.

    ffmpeg -y -i joojoo.png -i 2.mp3 -vcodec mjpeg havij.mp4
    MP4Box -add havij.mp4 -isma havij_new.mp4

    What am I doing wrong ? What can I do to make it work ?

  • ffmpeg and libx264 videos do not play on video player

    24 décembre 2019, par Tobi

    for a few months now I encountered a problem using FFmpeg in combination with the video code h264. The video generation works fine and without any errors. I am using the following script since 2015 to build my videos from single pictures :

    #!/bin/bash                                                                    
    # ------------------------------------------------------------------------------
    #                                                                              
    # Video generator                                                              
    # Tobias Holzmann                                                              
    # Date: 18.03.15                                                                
    # Update: 24.12.2019                                                            
    # Switch back to ffmpeg from avconv                                            
    #                                                                              
    # ------------------------------------------------------------------------------

    frameRate=30                                                                    
    vcodec="h264"                                                                  
    crf=18              # Between 0-51; 23 is default. 0 = lossless                


    # ------------------------------------------------------------------------------

    ffmpeg \                                                                        
       -f image2 \                                                                
       -r $frameRate \                                                            
       -i animation.%4d.png \                                                      
       -r $frameRate \                                                            
       -crf $crf \                                                                
       -vcodec $vcodec \                                                          
       AVideo.flv                                                                  


    # ------------------------------------------------------------------------------

    Today I made it a bit more fancy and easier to use. However, the problem is, that all videos I generate with h264 do not play at all using the vlc player or the common Ubuntu video player. I get errors such as :

    shorty@animation: vlc AVideo.flv
    VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
    [000055c0e70af420] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [NULL @ 0x7fe318c2c2a0] Invalid NAL unit size (30490 > 15039).
    [NULL @ 0x7fe318c2c2a0] missing picture in access unit with size 15733
    [h264 @ 0x7fe318c2c2a0] Invalid NAL unit size (30490 > 15039).
    [h264 @ 0x7fe318c2c2a0] Error splitting the input into NAL units.
    [00007fe324c1c420] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  430.50  Thu Sep  5 22:38:52 CDT 2019 for hardware decoding
    [h264 @ 0x7fe325428ac0] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324c1fb00] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324eb9d80] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ed6080] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ef2400] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324f0e780] hardware accelerator failed to decode picture
    [h264 @ 0x7fe325428ac0] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324c1fb00] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324eb9d80] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ed6080] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ef2400] hardware accelerator failed to decode picture
    [00007fe324c1c420] main decoder error: buffer deadlock prevented
    [h264 @ 0x7fe324f0e780] hardware accelerator failed to decode picture
    ...
    ...

    I am wondering if someone does know where the problem is located. Any hint or feedback is appreciated. Thank you in advance and kind regards, Tobi.

  • FFMPEG HLS streaming and transcoding on the fly to HTML player - video duration changes while transcoding

    20 août 2019, par Thomas Tho

    I am trying to make a video streaming server and watch videos directly from web browser. The idea is to make the server to stream video from remote server, transcode with different audio format in local server, and then instantly stream to the client (this is specific way I need it to function).
    This is the FFMPEG code im currently using :

    ffmpeg -i "url" -c:v copy -c:a aac -ac 2 -f hls -hls_time 60 -hls_playlist_type event -hls_flags independent_segments out.m3u8

    The HLS stream is attached to the HTML player with hls.js and it works. However, the video duration is constantly changing while video is being transcoded. I have tried to change video duration with JS like $('video').duration = 120;with no luck.

    How do i make the player to display the video file duration instead of stream current transcoded time ?

    I am also planning to implement video seeking but i am clueless. The current idea is to send seeking time to the server, terminate ffmpeg, and start from specific time. However, i think the player might get stuck on loading and will not start playing without reloading.