Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (66)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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 (10373)

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

  • Pass exif data to image scaling call.

    9 juin 2020, par blueimp
    Pass exif data to image scaling call.
    

    This allows the loadImage library to apply the correct orientation based on Exif data and the given orientation option.