Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (13)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4466)

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