Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (96)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (5279)

  • How to transfer FFmpeg's AVPacket to CUVID's CUVIDSOURCEDATAPACKET ? or how to use FFmpeg's CUVID,any demo ?

    17 mars 2017, par San

    As the title said,I was trapped to How to transfer FFmpeg’s AVPacket to CUVID’s CUVIDSOURCEDATAPACKET,and my main code about this question is below :`

    AVPacket* avpkt;
    avpkt = (AVPacket*)av_malloc(sizeof(AVPacket));
    CUVIDSOURCEDATAPACKET cupkt;
    int iPkt = 0;
    while (av_read_frame(pFormatCtx, avpkt) >= 0) {
       if (avpkt->stream_index == videoindex) {

           cuCtxPushCurrent(g_oContext);

           if (avpkt && avpkt->size) {
               cupkt.payload_size = (unsigned long)avpkt->size;
               cupkt.payload = (const unsigned char*)avpkt->data;

               if (avpkt->pts != AV_NOPTS_VALUE) {
                   cupkt.flags = CUVID_PKT_TIMESTAMP;
                   if (pCodecCtx->pkt_timebase.num && pCodecCtx->pkt_timebase.den) {
                       AVRational tb;
                       tb.num = 1;
                       tb.den = AV_TIME_BASE;
                       cupkt.timestamp = av_rescale_q(avpkt->pts, pCodecCtx->pkt_timebase, tb);
                   }
                   else
                       cupkt.timestamp = avpkt->pts;
               }
           }
           else {
               cupkt.flags = CUVID_PKT_ENDOFSTREAM;
           }

           oResult = cuvidParseVideoData(hParser_, &cupkt);
           if ((cupkt.flags & CUVID_PKT_ENDOFSTREAM) || (oResult != CUDA_SUCCESS)) {
               break;
           }
           iPkt++;
           printf("Succeed to read avpkt %d !\n", iPkt);
           checkCudaErrors(cuCtxPopCurrent(NULL));
       }
       av_free_packet(avpkt);
    }

    and as you see,the code

    cupkt.payload_size = (unsigned long)avpkt->size;
    cupkt.payload = (const unsigned char*)avpkt->data;

    needs to be corrected。
    I’m poor at english,I hope I have expressed my self clearly。

  • How to stop ffmpeg when there's no incoming rtmp stream

    5 juillet 2016, par M. Irich

    I use ffmpeg together with nginx-rtmp.
    The thing is ffmpeg doesn’t finish the process when the stream’s finished

    I use the following command :

    ffmpeg  -i 'rtmp://localhost:443/live/test' -loglevel debug  -c:a libfdk_aac -b:a 192k -c:v libx264 -profile baseline -preset superfast -tune zerolatency -b:v 2500k -maxrate 4500k -minrate 1500k -bufsize 9000k -keyint_min 15 -g 15 -f dash -use_timeline 1 -use_template 1 -min_seg_duration 5000 -y /tmp/dash/test/test.mpd

    but even the stream’s not running ffmpeg still can’t finish the process and is waiting for the rtmp stream

    Successfully parsed a group of options.
    Opening an input file: rtmp://localhost:443/live/test.
    [rtmp @ 0x2ba2160] No default whitelist set
    [tcp @ 0x2ba2720] No default whitelist set
    [rtmp @ 0x2ba2160] Handshaking...
    [rtmp @ 0x2ba2160] Type answer 3
    [rtmp @ 0x2ba2160] Server version 13.14.10.13
    [rtmp @ 0x2ba2160] Proto = rtmp, path = /live/test, app = live, fname = test
    [rtmp @ 0x2ba2160] Server bandwidth = 5000000
    [rtmp @ 0x2ba2160] Client bandwidth = 5000000
    [rtmp @ 0x2ba2160] New incoming chunk size = 4096
    [rtmp @ 0x2ba2160] Creating stream...
    [rtmp @ 0x2ba2160] Sending play command for 'test'

    Is it possible to limit the latency time to several seconds ?

    Sorry for any possible mistakes - English’s not my native language.

  • Multiple download trim videos ffmpeg + youtube-dl [duplicate]

    4 décembre 2020, par sl4g

    I'm tryng to make a bash script to download and trim videos from URLs in a .txt file, using ffmpeg and youtube-dl. From the Internet I found this https://askubuntu.com/questions/970629/how-to-download-a-portion-of-a-video-with-youtube-dl-or-something-else and this How can I batch/sequentially download m3u8 files using ffmpeg ? and based on that I made this :

    


    #!/bin/bash

#only download the half of urls

HoldList="/home/user/desktop/dir1/code/bash/web.txt"

index=0
while read line ; do
    ffmpeg -ss 00:50:30 -to 00:51:00 -i "$(youtube-dl -f best --get-url $line)" -c:v copy -c:a copy output-${index}.mp4
    ((index=index+1))
done < "$HoldList"


    


    This code only downloads half of the videos. Download one, ignore the next, then repeat...

    


    How can I make not skip every other URL from the file ?

    


    I'm a newbie in Bash script (and in this site), and English is not my first language.