
Recherche avancée
Autres articles (11)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Les thèmes de MediaSpip
4 juin 20133 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
Thèmes MediaSPIP
3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)
Sur d’autres sites (4633)
-
FFMPEG shell execution with PHP - Unusual Error Because of GCC
9 février 2012, par trockerI've been trying to debug the PHP Script, but the error message that I receive is very unusual.
- CP, MV , WHOAMI - all these commands work with shell_exec
- FFMPEG is installed
- apache user - nobody with read write execute permission for nogroup to /usr/bin/ffmpeg.
- FFMPEG working fine in terminal.
- GCCPP is installed and GCC package is also installed.
- Working with shell PHP command (brock@ubuntu $ php runthis.php)
Code I ran :
exec('ffmpeg -i beep.mp3 -ac 1 -ar 48000 -ab 128k audio1.mp3 2>&1', $out, $rv);
echo "output is:\n".implode("\n", $out)."\nexit code:$rv\n";I get the following error :
output is: ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.0.0' not found (required by /usr/lib/libdirac_encoder.so.0) ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) exit code:1
Can someone help me out here ?
-
Creating master playlist for hls using php
19 septembre 2017, par Awais fiazi am trying to implement adaptive stream using
HLS
i have video encoded in 4 different resolution with.m3u8
extensionlegend_240.m3u8
legend_360.m3u8
legend_480.m3u8
legend_720.m3u8i encoded them using
FFMPEG
now i want to wrap them all in a master HLS playlist any idea how can i achieve this in an automated process.#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=17556000,RESOLUTION=428x240
legend_240.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=28556000,RESOLUTION=640x360
legend_360.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=56056000,RESOLUTION=854x480
legend_480.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=73056000,RESOLUTION=1280x720
legend_720.m3u8NOTE : i am using
php
as scrpting language for my streaming website
Thanks any help would be really appreciated. -
How to trim an HLS playlist using ffmpeg ?
8 février 2023, par LefI'm curious what is the approached way to trim a HLS playlist (a .m3u8 file and many .ts segment files) ?


I've generated a hls video from mp4 using the following command


ffmpeg -i 1.mp4 -c copy -map 0 -segment_time 120 -sc_threshold 0 -g 72
-keyint_min 72 -segment_list 1.m3u8 -f segment 1_%03d.ts



Let's assume that I've now only have access to the HLS playlist (not the mp4), how do I go about trimming this playlist ?


I've tried the following command


ffmpeg -fflags +discardcorrupt -i 1.m3u8 -to 00:04:00 -c copy -map 0 -segment_time 120 -sc_threshold 0 -g 72 -keyint_min 72 -segment_list 1.m3u8 -f segment 1_%03d.ts



but is met with the following error


[hls @ 0x7fc9f0f05500] Skip ('#EXT-X-VERSION:3')
[hls @ 0x7fc9f0f05500] Skip ('#EXT-X-ALLOW-CACHE:YES')
[hls @ 0x7fc9f0f05500] Opening '1_000.ts' for reading
Input #0, hls, from '1.m3u8':
 Duration: 00:14:00.11, start: 1.433367, bitrate: 0 kb/s
 Program 0 
 Metadata:
 variant_bitrate : 0
 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn
 Metadata:
 variant_bitrate : 0
 Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
 Metadata:
 variant_bitrate : 0
[segment @ 0x7fc9f19047c0] Opening '1_000.ts' for writing
Output #0, segment, to '1_%03d.ts':
 Metadata:
 encoder : Lavf59.27.100
 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn
 Metadata:
 variant_bitrate : 0
 Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
 Metadata:
 variant_bitrate : 0
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls @ 0x7fc9f0f05500] Opening '1_001.ts' for readingbitrate=N/A speed=N/A 
[mpegts @ 0x7fc9f0f06180] Packet corrupt (stream = 0, dts = 201075), dropping it.
[hls @ 0x7fc9f0f05500] Opening '1_002.ts' for reading
[mpegts @ 0x7fc9f0f06180] Packet corrupt (stream = 0, dts = 21825678), dropping it.
[segment @ 0x7fc9f19047c0] Opening '1.m3u8.tmp' for writing
[segment @ 0x7fc9f19047c0] Opening '1_001.ts' for writing
[segment @ 0x7fc9f19047c0] Opening '1.m3u8.tmp' for writing