Recherche avancée

Médias (91)

Autres articles (39)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

Sur d’autres sites (4888)

  • gstreamer cant demux a .ts video but ffmpeg can. How can I fix the error ?

    8 octobre 2024, par Zack

    I have a .ts video that when I run through a basic gstreamer pipeline I get an error that it can't demux the video.

    


    comand :

    


    gst-launch-1.0 filesrc location="/videos/my_video.ts" ! tsdemux ! meta/x-klv ! fakesink


    


    I get the error :

    


    Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0: Delayed linking failed.
Additional debug info:
gst/parse/grammar.y(853): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstTSDemux:tsdemux0:
failed delayed linking some pad of GstTSDemux named tsdemux0 to some pad of GstFakeSink named fakesink0
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0: Internal data stream error.
Additional debug info:
../gst/mpegtsdemux/mpegtsbase.c(1759): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:tsdemux0:
streaming stopped, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


    


    When I run the same video through ffmpeg :

    


    ffmpeg -i /video/my_video.ts -map data-re -codec copy -f data


    


    I get out :

    


      Duration: 00:29:56.49, start: 1920.682267, bitrate: 1873 kb/s
  Program 1 
  Stream #0:0[0x21]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn
  Stream #0:1[0x28]: Data: klv (KLVA / 0x41564C4B)


    


    I've also been successful in extracting that klv data using ffmpeg to a .bin file and analyzing the klv data within it.

    


    Though when the ffmpeg command runs it does also give me this error initially :

    


    Last message repeated 1 times
[h264 @ 0x15d004590] decode_slice_header error
[h264 @ 0x15d004590] no frame!
[h264 @ 0x15d004590] non-existing PPS 0 referenced


    


    Which prints out many times before producing the results. My understanding/theory is that the video is missing some keyframe data in the beginning and/or the start has a compression error of some kind, but thats just my guess. Whatever the problem is, ffmpeg is able to handle it but gstreamer is not.

    


    Is there anything I can do to the video or within gstreamer to handle what the error might be ? Is there any other tests that I can do on the video itself that would point to some other causes ?

    


  • Queuing multiple video files as a single live video stream with nodejs and ffmpeg

    24 avril 2016, par bomtempi

    i would like to stream a video with node nodejs using multiple little video sequences that are created on the fly.
    It means that the server queues multiple files, but the client must see it as only one single stream.

    Why would i need such feature ?

    I have an application that creates images on the fly on the server, and i need to send them as a single video to the client, as if it was on a live source.
    I cannot use ffmpeg to concatenate these files and convert them to a single video because i don’t have the complete sequence.

    I can do the trick with images sequences, using "multipart/x-mixed-replace" content-type, in a mjpeg format. Here is how i do :

    http.createServer(function(req, stream) {
     stream.writeHead(200, {
       'Content-Type': 'multipart/x-mixed-replace;boundary=myboundary',
       'Cache-Control': 'no-cache',
       'Expires': '-1',
       'Connection': 'close',
       'Pragma': 'no-cache'
     });

     setInterval(function() {

       var data = ... // here launch the function to get the binary data from the latest image created on the server

       stream.write("--myboundary\r\n");
       stream.write("Content-Type: image/jpeg\r\n");
       stream.write("Content-Length: " + data.length + "\r\n");
       stream.write("\r\n");
       stream.write(data);
       stream.write("\r\n");
     }, 300);

    }).listen(port, function() {

    });

    The problem with this format is that it has no sound.
    I tried to serve the sound from a different endpoint, and use ffmpeg to assemble them in live and send them back to the server where it will be forwarded to a new endpoint containing the sound and video, but after just a few seconds the video becomes more and more laggy and freezes.

    So that is why i thought that i should start by generating small videos on the server, by taking the 24 or 30 latest images created on the fly, concatenate them with ffmpeg and queue them on nodejs. That would just add approximately 1 second delay to the client.

    Thanks for your help !

  • ffmpeg compilation issue on Windows phone 8.1

    24 février 2017, par Mirko Puliafito

    Taking a look at Build ffmpeg for windows phone 8
    I was able to compile ffmpeg on Windows phone 8using these steps :

    My configuration

    OS : Windows 8.1 VS : Ultimate 2013 Update 3 (If armasm fails, msvcdis110.dll missing download it from dllsearch ) Mingw (be sure that "link" and "cl" commands point to MS "link" and "cl") FFmpeg 2.1.5

    Follow prerequisites listed here : https://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b-or-Intel-C_002b_002b-Compiler-for-Windows

    -) Download c99toc89 : https://github.com/libav/c99-to-c89/downloads/. Be sure all files from c99toc89 are in Mingw PATH (copy in /bin)

    -) FFMPEG requires stdint.h and inttypes.h headers standardized as a part of C99. Unfortunately, Visual Studio does not include these files. Fortunately, there is a project that fixes this issue. Download the latest version and unpack it to Visual Studio includes (C :\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include).

    -) Launch cmd and "c :\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat x86_arm" and then msys

    -) configure :

    ./configure --toolchain=msvc \
    --disable-programs \
    --disable-network \
    --disable-protocols \
    --extra-cflags="-D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE -D_M_ARM -D_WINAPI_FAMILY=WINAPIFAMILY_APP" \
    --enable-cross-compile \
    --target-os=win32 \
    --arch=arm \
    --as=armasm \
    --cpu=armv7 \
    --disable-yasm \
    --extra-ldflags="-MACHINE:ARM" \
    --disable-dxva2 \
    --disable-asm \
    --disable-doc

    I was able to get .a static libs but I wasn’t able to generate an app using it. I have problems while linking for kernel32.lib and libcmt.lib misses.

    Anyone ?