Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (104)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (11118)

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