Recherche avancée

Médias (1)

Mot : - Tags -/karaoke

Autres articles (95)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8049)

  • avcodec/h264_slice : Fix container cropping

    8 juillet 2015, par Michael Niedermayer
    avcodec/h264_slice : Fix container cropping
    

    Fixes out of array read
    Fixes : asan_heap-oob_394322e_138_cov_4265020547_CVPCMNL1_SVA_C.264

    Found-by : Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/h264_slice.c
  • lavf/mxf : Support video essence container uls for vc1.

    5 septembre 2015, par Arnaud Bienner
    lavf/mxf : Support video essence container uls for vc1.
    

    Signed-off-by : Carl Eugen Hoyos <cehoyos@ag.or.at>

    • [DH] libavformat/mxf.c
  • Can I have a rawvideo stream in a MPEG TS container

    27 novembre 2020, par zardosht

    I receive an MPEG TS container over network (UDP). It contains two streams : an mpeg2video vidoe stream with yuv420p pixel format and a data stream encoded using a propitiatory KLV format.

    &#xA;

    My receiver program must be in Python. So, I can't use FFMPEG library (like AVFormat, AVCodec) directly.

    &#xA;

    Now my problem is as follows :

    &#xA;

    I need to receive video frames and save them as RGB image as raw numpy array. I also need for each frame to parse the corresponding KLV data. There is a one to one relationship between video frames and KLV data units.

    &#xA;

    I thought I use ffprobe to output the packets including their payload data from incoming container and then parse the output of ffprobe to get the images and metadata :

    &#xA;

    $ ffprobe -show_packets -show_data -print_format json udp://127.0.0.1:12345 > test_video.packets.data.json &#xA;

    &#xA;

    This gives me an output (in test_video.packets.data.json file) like :

    &#xA;

    {&#xA;    "codec_type": "video",&#xA;    "stream_index": 0,&#xA;    "pts": 140400,&#xA;    "pts_time": "1.560000",&#xA;    "dts": 136800,&#xA;    "dts_time": "1.520000",&#xA;    "duration": 3600,&#xA;    "duration_time": "0.040000",&#xA;    "size": "21301",&#xA;    "pos": "3788012",&#xA;    "flags": "K_",&#xA;    "side_data_list": [&#xA;        {&#xA;            "side_data_type": "MPEGTS Stream ID"&#xA;        }&#xA;    ],&#xA;    "data": "... "&#xA;},&#xA;{&#xA;    "codec_type": "data",&#xA;    "stream_index": 1,&#xA;    "pts": 140400,&#xA;    "pts_time": "1.560000",&#xA;    "dts": 140400,&#xA;    "dts_time": "1.560000",&#xA;    "size": "850",&#xA;    "pos": "3817904",&#xA;    "flags": "K_",&#xA;    "side_data_list": [&#xA;        {&#xA;            "side_data_type": "MPEGTS Stream ID"&#xA;        }&#xA;    ],&#xA;    "data": ".... "&#xA;}&#xA;&#xA;

    &#xA;

    I can extract the KLV data from the data packets and parse it. However the data from the video packets in encoded as mpeg2video video with yuv420p pixel format.

    &#xA;

    My Questions :

    &#xA;

      &#xA;
    1. How can I get the raw pixel values from that mpeg2 encoded payload ?
    2. &#xA;

    3. Is it possible to use ffmpeg to receive the original container and copy it (with both streams) into a new container, but with raw video instead of mpeg2 video ? if yes, how ? what should be the command ? I tried for example : ffmpeg -i udp://127.0.0.1:12345 -map 0:0 -codec rawvideo -pix_fmt rgb24 -map 0:1 -codec copy -f mpegts udp://127.0.0.1:11112, but it gives me again mpeg2 encoded video data in payload of video packets
    4. &#xA;

    &#xA;