Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (76)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (13466)

  • Videocapture error : Assertion desc failed at src/libswscale/swscale_internal.h:668 error

    1er février 2019, par Alejandro Silvestri

    Videocapture read give me this error. It started recently when I updated to opencv4. No errors on opencv4 installation. libswscale is up to date, I have libswscale.so.4.8.100.

    The code is a simple "open" and "read" video to isolate the problem :

    #include<opencv2></opencv2>core.hpp>
    #include<opencv2></opencv2>videoio.hpp>
    #include<opencv2></opencv2>highgui/highgui.hpp>
    #include<string>
    #include <iostream>

    int main(int argc, char **argv){
       cv::VideoCapture video;
       std::string filename(argv[1]);
       std::cout &lt;&lt; "filename " &lt;&lt; filename &lt;&lt; std::endl;
       std::cout &lt;&lt; "video.open " &lt;&lt; video.open(filename) &lt;&lt; std::endl;
       union {
           char ch[5] = {0};
           int i4cc;
       } fourcc;
       fourcc.i4cc = (int) video.get(cv::CAP_PROP_FOURCC);
       std::cout &lt;&lt; "Fourcc " &lt;&lt; fourcc.ch &lt;&lt; std::endl;
       cv::Mat frame;
       while(true){
           std::cout &lt;&lt; "video.read " &lt;&lt; video.read(frame) &lt;&lt; ", Mat.rows " &lt;&lt; frame.rows &lt;&lt; std::endl;
           cv::imshow("imagen", frame);
       }
    }
    </iostream></string>

    The output is this

    filename ../Archivos/Vuelta al Lab Uno 720p.MP4
    video.open 1
    Fourcc avc1
    Assertion desc failed at src/libswscale/swscale_internal.h:668

    VideoCapture opens the video file, shows fourcc property, and then fails to read first image.

    If you ask, video file is fine, I tried with other video files and other video formats, with the same error. These videos play well with ffmpeg.ffplay !

    By the way, VideoCapture.read is working fine with webcam. So, it’s not clear where the problem is.

    Thank you for your time.

  • while using opencv in python getting error —>[h264 @ 0x7fd8f4027fc0] error while decoding MB 12 46, bytestream -6 "

    22 janvier 2021, par Himanshu sharma

    I am getting this error —> " [h264 @ 0x7fd8f4027fc0] error while decoding MB 12 46, bytestream -6 "
    &#xA;while straming IP camera in python using opencv module.
    &#xA;As this error occure, i can't ableenter image description here to save video. You can see this in video enter image description here

    &#xA;

    Python-> 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] on linux OS-&#xA;Ubuntu - 20.04&#xA;OpenCV - 4.4.0&#xA;opencv-contrib-python==4.4.0.46

    &#xA;

    ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)&#xA;configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;libavutil      56. 31.100 / 56. 31.100&#xA;libavcodec     58. 54.100 / 58. 54.100&#xA;libavformat    58. 29.100 / 58. 29.100&#xA;libavdevice    58.  8.100 / 58.  8.100&#xA;libavfilter     7. 57.100 /  7. 57.100&#xA;libavresample   4.  0.  0 /  4.  0.  0&#xA;libswscale      5.  5.100 /  5.  5.100&#xA;libswresample   3.  5.100 /  3.  5.100&#xA;libpostproc    55.  5.100 / 55.  5.100&#xA;himanshu@himanshu-H81M-S:~$ &#xA;

    &#xA;

  • ffmpeg error - unknow error from vkcache m3u8

    18 juillet 2017, par Robert Smith

    Trying to download this stream to mp4 :

    http://f4h4he.vkcache.com/secip/0/Phhz9wn3_IawaUZtvvlVOw/NjguMjQxLjg3LjE1OQ==/1500346800/hls-vod-s1/flv/api/files/videos/2016/03/15/1458006491172bd.mp4.m3u8

    I am using the following command :

    ffmpeg -user-agent "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us)" -i "http://f4h4he.vkcache.com/secip/0/Phhz9wn3_IawaUZtvvlVOw/NjguMjQxLjg3LjE1OQ==/1500346800/hls-vod-s1/flv/api/files/videos/2016/03/15/1458006491172bd.mp4.m3u8" -vcodec copy -acodec copy -bsf:a aac_adtstoasc output.mp4

    But am getting error from ffmpeg : "Unknown error"

    My question is what am I doing wrong or missing in the command ? Thanks.

    Here is an additional source of help I was using but did not help :

    https://forum.videohelp.com/threads/370243-download-video-from-hqq-tv

    Update #1

    I was able to retrieve the actual file :
    1458006491172bd.mp4.m3u8

    Here is the file :
    http://txt.do/dkyui