Recherche avancée

Médias (91)

Autres articles (82)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (5970)

  • ffmpeg pipe:0 : could not find codec parameters

    13 octobre 2016, par dre

    When i run this command i get an error. If i run without the pipe, it works.

    With Pipe

    cat mymovie.m4v | ffmpeg -i pipe:0 -an -analyzeduration 1000000 -f image2 -vf
    "select='eq(pict_type,PICT_TYPE_I)'" -vsync vfr 'public/files/thumb%04d.png'

    Without Pipe (Works)

    ffmpeg -i mymovie.m4v -an -analyzeduration 2147483647 -probesize 2147483647 -f image2 -vf
    "select='eq(pict_type,PICT_TYPE_I)'" -vsync vfr 'public/files/thumb%04d.png'

    Output

    ffmpeg version 2.2 Copyright (c) 2000-2014 the FFmpeg developers
    built on Apr 10 2014 17:50:46 with Apple LLVM version 5.1 (clang-503.0.38)
    (based on LLVM 3.4svn)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2
    --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
    --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang
    --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame
    --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis
    --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb
    --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex
    --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r
    --enable-libopenjpeg --extra-cflags='-

    I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libavresample   1.  2.  0 /  1.  2.  0
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd87b80f000] stream 0, offset 0x2c: partial file
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd87b80f000] Could not find codec parameters for stream 0
    (Video: h264 (avc1 / 0x31637661), 1280x720, 3310 kb/s): unspecified pixel format

    Consider increasing the value for the ’analyzeduration’ and ’probesize’ options
    pipe:0 : could not find codec parameters

    I have tried setting (link)

    -analyzeduration100 -probesize 10000000
    -analyzeduration 2147483647 -probesize 2147483647

    Still didn’t work.

  • How to find the presentation time stamp of a given frame number for FFMPEG decoding ?

    21 août 2017, par Deepankar Arya

    I am using the C APIs of ffmpeg for some video processing. My aim is to extract the screen shot of a given frame number. I have understood that ffmpeg has an av_seek_frame function to seek to a given timestamp(expressed in appropriated base units of the video stream). I assume that I will have to goto to the most recent I frame for the given frame(using the AVSEEK_FLAG_BACKWARD flag) and read onwards untill I meet the required frame. For that I need to give a seek time stamp to the av_seek_frame function. My main issue is that given a frame number, how do I find an associated presentation time stamp to seek to ?

  • hevc Could not find ref with POC 34

    14 août 2023, par Rushikesh Date
      

    1. I am trying to send Rtsp video (comes from RTSP camera URL) to the ANT media server.

      


    2. 


    3. I am using LibVLC to play video locally in app.

      


    4. 


    5. And I am using FFMPEG library for sending the RTSP url video to the ANT media server But In initial 20 seconds this corrupted frame appear. and following error comes in logs
      
"[hevc @ 0xe86ff800] Could not find ref with POC 34"This is the corrupted frame appear in between video

      


    6. 


    


    The RTSP video Url should play smoothly on Ant media server without any interruption.

    


      `String[] cmd = {
                "-rtsp_transport",
                "tcp", // Choose appropriate transport (e.g., "udp" or "tcp")
                "-i",
               "rtsp://127.0.0.1:8554/main.898", // Source RTSP stream URL
                "-filter:v",
                "scale=1280:720",
                "-c:v",
                "libx264", // Video codec for transcoding (you can choose other codecs if needed)
                "-preset",
                "ultrafast", // Video preset for transcoding speed (adjust as needed)
                "-max_delay",
                "1000000",
                "-an",
                "-f",
                "flv", // Output format, RTMP requires FLV container
               "rtmp://streamingServer.com/LiveApp/gdyggcshvcvhcvv " // Ant Media Server RTMP endpoint
        };

        try {
            // Execute FFmpeg command
            fFmpeg.execute(cmd, new FFmpegExecuteResponseHandler() {
                @Override
                public void onSuccess(String message) {
                }
                @Override
                public void onProgress(String message) {
                }
                @Override
                public void onFailure(String message) {
            
                }
                @Override
                public void onStart() {
                }
                @Override
                public void onFinish() {
                
                }
            });
        } catch (FFmpegCommandAlreadyRunningException e) {
            Log.e("FFmpeg", String.valueOf(e));
            // Handle FFmpeg command already running error
        }`