Recherche avancée

Médias (91)

Autres articles (65)

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

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (16251)

  • HLS parallel segment encoding

    19 juin 2017, par gigot

    Having the following ffmpeg config :

    ffmpeg -i input.mp4 -pix_fmt yuv420p -c:v libx264 -profile:v baseline -preset slow -b:v 850000 -maxrate 850000 -bufsize 850000 -vf scale=256:144 -g 48 -keyint_min 48 -sc_threshold 0 -threads 4 -movflags +faststart -c:a libfdk_aac -b:a 128k -r 24 -f ssegment -segment_time 10 -segment_list master.m3u8 -segment_list_size 0 -segment_format mpegts output_%02d.ts

    I want to parallelize the encoding of each .ts file, instead of doing inline encoding like the above. Tried to translate it to single .ts config, each segment will be 10 seconds and then just create the m3u8 playlist file automatically.

    ffmpeg -i input.mp4 -pix_fmt yuv420p -c:v libx264 -profile:v baseline -preset slow -b:v 850000 -maxrate 850000 -bufsize 850000 -vf scale=256:144 -g 48 -keyint_min 48 -sc_threshold 0 -threads 4 -c:a libfdk_aac -b:a 128k -r 24 -ss 00:00.000 -t 00:10.000 -segment_format mpegts output_00.ts

    For all other segments i just increase the timing by 10 e.g -ss option. Now the problem is that the metadata of all segments is not correct. More precisely the start_pts and start_time is same for all segments :

    ffprobe -v error -select_streams v:0  -print_format json -show_streams -i output_01.ts

    ...
               "start_pts": 130180,
               "start_time": "1.446444",
    ...

    So what i need is to define somewhere the start pts/time for each segment in my ffmpeg config, but cant find the correct option in docs

  • Transcoding HD RTP/UDP stream with FFMPEG

    19 juin 2017, par SudoSu

    I’ve a Tera STI440 streamer with two inputs used (for TV channel streaming). When I watch the source stream it seems allright, but when I start FFMPEG transcoding, the image is going to collapse on random times (probably around every 5-15 sec). The transcoding is okay with SD 480P streams.

    FFPROBE one of my HD stream :
    `

    Input #0, rtp, from 'rtp://239.192.24.3:1234/':
     Duration: N/A, start: 18002.926656, bitrate: N/A
     Program 202
       Metadata:
         service_name    : M5 HD
         service_provider: Magyar Televizio
       Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:0(hun): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 enter code herekb/s

    FFPROBE one of my SD stream (Which is working properly) :

    Input #0, rtp, from 'rtp://239.192.24.4:1234/':
     Duration: N/A, start: 51003.435044, bitrate: N/A
     Program 203
       Metadata:
         service_name    : RTL Klub
         service_provider: Magyar RTL Telev�zi� Zrt.
       Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1(hun): Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp

    I want to do a HLS stream so I ran this script for FFMPEG :

    /usr/bin/ffmpeg -loglevel 16 -i rtp://239.192.24.3:1234/ -s pal -c:v libx264 -c:a libmp3lame -b:v 1000k -b:a 96k -ar 44100 -vf 'yadif=0:-1:1' -preset:v superfast -f hls -hls_time 7 -hls_list_size 10 -hls_wrap 10 -hls_base_url http://10.3.1.3:8080/ts/ -hls_segment_filename /tvman/hls_out/ts/M5_hq_%03d /tvman/hls_out/subplaylist/M5-hq.m3u8

    I access the playlist file from NGINX but also tried Apache too.
    Here’s some log from FFMPEG process (loglevel 16)

    I made some diagnostics :

    • Looked for network traffic (it’s around 60 mbps, so it should be okay with a 100mbps ethernet
    • CPU & RAM load allright
    • I reduced the network traffic by turning off TV channel streams on streamer. It was around 6-7 mbps.

    If you need any more information, I’ll provide it for you.
    Thanks for the help !

    P.S. : I’m not native English speaker, so sorry for mistakes. :)

  • Ffmpeg can't open m3u8 link

    23 janvier 2021, par Andrei Iosifescu

    Ffmpeg can't play https://live.webcamromania.ro/WR051/wrcam_051/playlist.m3u8. It gives an Input/Output error. With other links it works fine.