Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (90)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (10908)

  • Low-latency RTSP stream using OpenCV and ffmpeg seems to ignore flags

    15 juillet 2024, par Dominic

    I'm writing a Qt6 application in C++ which should display and optionally store mutltiple RTSP streams. Currently, I'm using OpenCV to capture the stream :

    


    m_capture = new cv::VideoCapture("rtsp://user:password@192.168.1.108:504/stream", cv::CAP_FFMPEG);
if (!m_capture->isOpened()) {
    //Error
}

cv::Mat frame;
m_abort = false;
while(!m_abort) 
{
    if (!m_capture->read(frame)) 
    {
        //Error
        return;
    }

    doStuff(frame);
}



    


    This works, but has a delay of about 3 seconds for one of the streams.

    


    Using this ffplay command in the terminal works without noticable delay, though :

    


    ffplay -fflags nobuffer -flags low_delay -rtsp_transport tcp "rtsp://user:password@192.168.1.108:504/stream"


    


    I've tried to pass forward these flags without luck :

    


    setenv("OPENCV_FFMPEG_CAPTURE_OPTIONS","rtsp_transport;tcp|fflags;nobuffer|flags;low_delay",1);


    


    Other than that, I have tried (as suggetested e.g. here)

    


      

    • using QMediaPlayer
    • 


    • setting the cv::VideoCapture cv::CAP_PROP_BUFFERSIZE to 3
    • 


    • using grab() and retrieve() instead of read()
    • 


    


    TL ;DR : How can I disable buffering in the OpenCV FFMPEG backend for RTSP streams to reduce latency in my Qt application ?

    


    I'm also open to entirely different approaches (e.g. using QMultiMedia), but haven't found a way to reduce latency with those either.

    


  • avformat/iamf_parse : ignore Audio Elements with an unsupported type

    14 août 2024, par James Almer
    avformat/iamf_parse : ignore Audio Elements with an unsupported type
    

    Better fix for the NULL pointer dereference from d7f83fc2f423.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/iamf_parse.c
    • [DH] libavformat/iamfdec.c
  • FFmpeg : When I ignore audio 1 and transcode audio 2 to aac I get vorbis. Is this a bug in FFmpeg ? [closed]

    26 septembre 2024, par CA Opa

    I have videos with 2 audio tracks. I don't want to copy or transcode audio track 1. I only want to copy video, transcode audio track 2 and copy subtitles using FFmpeg. When I -map track 2 (-map 0:a:1) and transcode to aac the result I get is not aac but vorbis. What is wrong with my program code ?

    &#xA;

    Here is my code :

    &#xA;

    "ffmpeg.exe" -i "U:\infile.mkv" -map 0:v:0 -c:v:0 copy -map 0:a:1 -c:a:1 aac -ac:a:1 2 -b:a:1 192000 -map 0:s:0 -c:s copy "U:\Outfile.mkv"&#xA;

    &#xA;

    This is what happens :

    &#xA;

      Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709/unknown/unknown, progressive), 1278x720 [SAR 1:1 DAR 71:40], 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;  Stream #0:1(rus): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)&#xA;      Metadata:&#xA;        title           : Многоголосый закадровый, студия "Селена Интернешнл"&#xA;  Stream #0:2(eng): Audio: flac, 48000 Hz, stereo, s16&#xA;  Stream #0:3(eng): Subtitle: subrip (srt)&#xA;[out#0/matroska @ 000001b979895440] Codec AVOption b:a:1 (set bitrate (in bits/s)) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:2 -> #0:1 (flac (native) -> vorbis (libvorbis))&#xA;  Stream #0:3 -> #0:2 (copy)&#xA;Press [q] to stop, [?] for help&#xA;Output #0, matroska, to &#x27;U:\Outfile.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf61.5.101&#xA;  Chapters:&#xA;    Chapter #0:0: start 0.000000, end 180.000000&#xA;      Metadata:&#xA;        title           : On a Cold Night...&#xA;  Stream #0:0(eng): Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709/unknown/unknown, progressive), 1278x720 [SAR 1:1 DAR 71:40], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;  Stream #0:1(eng): Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp&#xA;      Metadata:&#xA;        encoder         : Lavc61.11.100 libvorbis&#xA;  Stream #0:2(eng): Subtitle: subrip&#xA;[out#0/matroska @ 000001b979895440] video:174005KiB audio:1635KiB subtitle:1KiB other streams:0KiB global headers:4KiB muxing overhead: 0.059971%&#xA;

    &#xA;

    If I transcode both audio tracks it succeeds.

    &#xA;

    "ffmpeg.exe" -i "infile.mkv" -map 0:v:0 -c:v:0 copy -map 0:a:0 -c:a:0 aac -ac:a:0 2 -b:a:0 192000 -map 0:a:1 -c:a:1 aac -ac:a:1 2 -b:a:1 192000 -map 0:s:0 -c:s copy "Outfile.mkv"&#xA;

    &#xA;

    If I just transcoding track 1 it works. Why does it fail when I only map audio track 2 ?

    &#xA;