Recherche avancée

Médias (91)

Autres articles (64)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (10724)

  • ffmpeg set data stream codec tag when copying

    19 mars 2021, par user972014

    I use ffmpeg to copy a data stream from one file to the other using -c copy

    


    The problem is that it causes the output file to have no codec tag string. How can I set it ?

    


    The name of the original stream was :

    


    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro MET


    


    While for the output file I get it is :

    


    Stream #0:2[0x102]: Data: bin_data ([6][0][0][0] / 0x0006)


    


    I'm using a commandline similar to that :

    


    ffmpeg -i video.mp4 -map 0:3 -c copy -metadata:s:d codec_tag=xxxx -vcodec libx264 converted4.ts


    


    I also tried handler=... handler_name=...

    


  • Decode raw h.264 frame data using nvdec(h264_cuvid) in C/C++

    28 octobre 2020, par Straywolfs

    everyone...

    


    I trying to write decoder class for h.264 raw stream...but it didn't work well..

    


    the stream simply consists data size and encoded raw data...
(Resoultion = 1280 x 720)

    


    Here are codes I wrote...(except exceptions...)

    



    


    Part 1 : Initialization

    


    AVCodec *m_pDecoder = avcodec_find_decoder_by_name("h264_cuvid");
AVCodecContext *m_pDecoderContext = avcodec_alloc_context3(m_pDecoder);

AVBufferRef *m_HWContext;
av_hwdevice_ctx_create(&m_HWContext, AV_HWDEVICE_TYPE_CUDA, NULL, NULL, 0);

AVPacket m_pkt_decode;
av_init_packet(&m_pkt_decode);

m_pDecoderContext->pix_fmt = AV_PIX_FMT_CUDA;
m_pDecoderContext->width = 1280;
m_pDecoderContext->height = 720;
avcodec_open2(m_pDecoderContext, m_pDecoder, NULL);


    



    


    Part 2 : Filling the stream data

    


    m_pkt_decode.data = (uint8_t *)pStreamData;
m_pkt_decode.size = nDataSize;


    



    


    Part 3 : Decoding the stream data

    


    AVFrame *frame = nullptr;
frame = av_frame_alloc();

avcodec_send_packet(m_pDecoderContext, &m_pkt_decode);
avcodec_receive_frame(m_pDecoderContext, frame);


    


    and then...

    


    avcodec_receive_frame function is always return errors...
    
Are there any missing steps in my codes ?

    


  • Extract CC(Closed Caption) data from .ts file using ffmpeg

    17 septembre 2014, par mail2vguna

    I am using the following ffmpeg command to extract the CC(Closed Caption) data from .ts file.

    ffmpeg -i input.ts -an -vn -bsf:s mov2textsub -scodec copy -f rawvideo sub.txt

    FFMPEG -i input.ts -vn -an -codec:s:0.1 srt sub.srt

    ffmpeg -threads 4 -i input.ts -vn -an -codec:s:0.2 srt englishSubtitle.srt

    But i did not get the cc data, its says "invalid frame dimensions 0x0" error.

    Help me to extract the cc data from .ts file using ffmpeg.