Recherche avancée

Médias (91)

Autres articles (64)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (6091)

  • FFMPEG : Generate mastered m3u8 playlist

    22 octobre 2019, par Сергей Барахтенко

    Tell the command line for FFMPEG to generate a playlist of the following format :

    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=380000,RESOLUTION=640x360,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-360.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1510000,RESOLUTION=1920x1080,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-1080.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=890000,RESOLUTION=1280x720,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-720.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=250000,RESOLUTION=320x180,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-180.m3u8

    As you can see from the example, the file contains links to other m3u8 playlists, which are downloaded depending on the network bandwidth (BANDWIDTH parameter)

    An example of an internal m3u8 playlist (playlist [input_file_name]-360.m3u8)

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-TARGETDURATION:4
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-1.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-2.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-3.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-4.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-5.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-6.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-7.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-8.ts
    ...
    #EXT-X-ENDLIST

    As you can see from it, the source file was divided into 8 TS segments

  • Can I direct ffmpeg to a folder to do work using SET PATH ?

    11 août 2017, par 3pointedit

    I have some "MXF-type" media (various media files in a containing folder) As long as I have cmd line set to the media folder it works but if I want to run from C : and point to the media directory using explicit SET PATH it won’t run ffmpeg. I don’t know why. What is wrong with the way I am expecting SET PATH to work ?

    C:\Users\MYNAME>SET PATH=%PATH%;"H:\2017\PeterMc\camb_LungDoctor_730_1403(1).vmf\" ffmpeg -enable_drefs 1 -use_absolute_path 0 -i camb_LungDoctor_730_1403(1).mov -map 0:v -map 0:a -write_tmcd 1 camb_LungDoctor_730_1403(1).mp4

    While the following example works you can see that cmd must be in the media folder path.

    H:\2017\Peter Mc\camb_LungDoctor_730_1403(1).vmf> ffmpeg -enable_drefs 1 -use_absolute_path 0 -i camb_LungDoctor_730_1403(1).mov -map 0:v -map 0:a -write_tmcd 1 camb_LungDoctor_730_1403(1).mp4
  • RTSP tunneled HTTP, FFMPEG

    13 janvier 2016, par Jon Andersen

    I’m trying to stream from an Axis ip camera which uses RTSP over HTTP.
    I can get the normal RTSP stream to work, but I can’t find any information or documentation on how to actually set the tunneling mode for the stream. It is supported in the source code by setting the control_transport to RTSP_MODE_TUNNEL . My question is simple how do I do this with the following code ?

    int ret = avformat_open_input(&pFormatCtx, [@"rtsp://ip/axis-media/media.amp" UTF8String], NULL, NULL);

    I tried the following :

    pFormatCtx = avformat_alloc_context();
    pFormatCtx->priv_data = malloc(sizeof(RTSPState));
    RTSPState *rt = pFormatCtx->priv_data;
    rt->control_transport = RTSP_MODE_TUNNEL;
    int ret = avformat_open_input(&pFormatCtx, [@"rtsp://ip/axis-media/media.amp" UTF8String], NULL, NULL);

    But it simply ignores it for me (It still keeps using RTP). I tried this aswell

    int ret = avformat_open_input(&pFormatCtx, [@"rtsp://ip/axis-media/media.amp" UTF8String], NULL, NULL);
    RTSPState *rt = pFormatCtx->priv_data;
    rt->control_transport = RTSP_MODE_TUNNEL;

    How would I solve this ? I’m thinking it’s something really simple since the ENUM is there.

    Working solution is

    AVDictionary *opts = 0;
    int ret = av_dict_set(&opts, "rtsp_transport", "http", 0);


    ret = avformat_open_input(&pFormatCtx, [@"rtsp://ip:80/axis-media/media.amp" UTF8String], NULL, &opts);

    av_dict_free(&opts);