
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (57)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)
Sur d’autres sites (8384)
-
Added download section to the README.
18 décembre 2012, par Sebastian Tschanm README.md m index.html Added download section to the README.
-
Download youtube videos with youtube-dl/ffmpeg in php
24 juillet 2019, par Baraque ObahamasI have been using youtube-dl for a long time, and I now want to install it on my dedicated server to make it easier for me to download content.
I created a php script that allows me to download the video of my choice to the server, then I download it to my computer, pretty cool !
I am now trying to improve this script in order to redirect only the feed to avoid uploading the video to the server.
Example with this site : https://mpgun.com
It seems to redirect the stream without downloading the video to the server. If you try to download a video that lasts 3 hours, the site will offer you the download immediately !I think ffmpeg allows you to do that, only I don’t know where to start in the code.
Do you have any idea how to set this up in php ?
Thank you
-
webm live input to HLS live output
15 avril 2021, par Lewis TylerI have ben struggling with this for quite some time ; Essentially what I'm trying to do is broadcast my webcam from within the Browser to Ffmpeg on the server to convert into a .m3u8 HLS live stream. But I am having a few problems with video playback I initially thought it was CORS and cross origin headers however now I am thinking its to do with the way I'm trying to encode the media.


I did a ffprobe on the input this was the response ;


SERVER:key destination set to:1618380585-6666-863686008-4444-21
FFMPEG:Input #0, matroska,webm, from 'pipe:':
 Metadata:
 encoder : Chrome
 Duration: 
FFMPEG:N/A, start: 0.000000, bitrate: N/A
 Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
 Stream #0:1(eng): Video: h264 (Constrained Baseline), yuv420p, 640x480, SAR 1:1 DAR 4:3, 30.30 fps, 30 tbr, 1k tbn, 60 tbc (default)



I am wondering if someone could help with the ffmpeg parameters ; I am currently using the following ;


var ops=[
 '-r', '17',
 '-i','-',
 '-strict', '-2',
 '-vf', 'scale=w=1280:h=720:force_original_aspect_ratio=decrease',
 '-c:a', 'aac',
 '-ar', '48000',
 '-b:a', '128k',
 '-c:v', 'h264',
 '-profile:v', 'main',
 '-crf', '20',
 '-g', '48',
 '-keyint_min', '48',
 '-sc_threshold', '0',
 '-hls_time', '4', 
 '-hls_segment_filename', '/var/www/html/streams/segments/streamKey-date-%02d.ts',
 '-hls_base_url', '/streams/segments/',
 '/var/www/html/streams/streamKey.m3u8'
 ];



I have also run into other problems and I was also wondering if i needed to build ffmpeg differently ; here is the current build I am running ; I only wonder this becuase when i try to add the
-hls_playlist_type live
parameter I get a response ofnot found
.

ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
 configuration: --prefix=/usr --extra-version=0ubuntu0.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
 libavutil 54. 31.100 / 54. 31.100
 libavcodec 56. 60.100 / 56. 60.100
 libavformat 56. 40.101 / 56. 40.101
 libavdevice 56. 4.100 / 56. 4.100
 libavfilter 5. 40.101 / 5. 40.101
 libavresample 2. 1. 0 / 2. 1. 0
 libswscale 3. 1.101 / 3. 1.101
 libswresample 1. 2.101 / 1. 2.101
 libpostproc 53. 3.100 / 53. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...



EDIT


I have also included an example .m3u8


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:5.647056,
/streams/segments/1618380585-6666-863686008-4444-21-668-00.ts
#EXTINF:2.823533,
/streams/segments/1618380585-6666-863686008-4444-21-668-01.ts
#EXTINF:5.647056,
/streams/segments/1618380585-6666-863686008-4444-21-668-02.ts
#EXTINF:0.294122,
/streams/segments/1618380585-6666-863686008-4444-21-668-03.ts
#EXT-X-ENDLIST