Recherche avancée

Médias (1)

Mot : - Tags -/géodiversité

Autres articles (45)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (6462)

  • ffmpeg download from m3u8 link but not from local m3u8 file

    15 septembre 2022, par k4anubhav

    I downloaded a master m3u8 from a link and now I want to download by
ffmpeg -i test.m3u8 -acodec copy -vcodec copy out.mp4
it to mp4 but now it not downloading
and getting an error Output file #0 does not contain any stream
but when I use the link (like https://google.com/master.m3u8) it downloads the video file
ffmpeg -i https://google.com/master.m3u8 -acodec copy -vcodec copy out.mp4

    


    I want to download the video using local m3u8 file

    


    PS. my session is not out Vlc still show the VIDEO

    


  • FFmpeg stops temporarily when downloading HLS segment files

    9 mai 2022, par Nemdr

    I am downloading a video from a website in the HLS (M3U8) format, by downloading the segment (.ts) files. I am not re-encoding, but just copying the codecs, the command that I use :

    


    ffmpeg -user_agent "my ua" -referer "my referer" -i https://website/file.m3u8 -c copy outputfile.mp4 


    


    Sometimes the download suddenly stops in the middle of the download, and after a few seconds or a minute, it resumes. I am thinking that perhaps this has to do with the speed at which I am downloading, maybe the CDN temporarily rate limits me ?

    


    I have tried using this option : -http_multiple 0 to use only 1 HTTP connection to download the segment files, but this happens sometimes with this option as well. What could be the reason behind the sudden pauses ? And is there something I can do to slow down the download speed ? I have tried using the -re option as well, which downloads the segments at the native speed as if I'm watching the video, but that's too slow.

    


    Another possibility is that ffmpeg cannot find the next segment files, because the segment files in the .m3u8 manifest file are relative URLs, not full URLs, so ffmpeg has to search for the URL ??

    


  • C++ - FFmpeg can't open hevc encoded *.mkv

    6 octobre 2020, par emdou

    I finally got the courage to tackle ffmpeg in C++ (and in general) for a stream extracting app but i'm stuck at loading the AVFormatContext using avformat_open_input, here is the actual code :

    


    int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    AVFormatContext *formatContext = nullptr;
    AVDictionaryEntry *dictEntry = nullptr;
    int result = 0;
    char filePath[] = "C:/Users/username/Downloads/test.mkv";

    if ((result = avformat_open_input(&formatContext, filePath, NULL, NULL)) < 0){
        av_log(NULL, AV_LOG_ERROR, "Cannot open file\n");
        result = AVERROR(result);
        goto cleanup;
    }

    while ((dictEntry = av_dict_get(formatContext->metadata, "", dictEntry, AV_DICT_IGNORE_SUFFIX))){
        qDebug() << dictEntry->key << " : " << dictEntry->value;
    }

cleanup:
    if (result < 0){
        char err[1024];
        av_strerror(result, err, 1024);
        qDebug() << err;
    }
    avformat_close_input(&formatContext);

    return a.exec();
}


    


    I end up with an error -12 as in "Cannot allocate memory" and exit code -1073741510.
This same sample is tested on an .mp4 file wich works just fine. What am I doing wrong ?