
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (99)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (12825)
-
streaming on youtube with ffmpeg [on hold]
20 septembre 2017, par Bojan DedićI found this code on internet and it works great for streaming live videos on youtube. Only problem is that I need to stream every video which is inside folder "videos", not only just one.
VBR="2500k"
sortie
FPS="30"
QUAL="medium"
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
SOURCE="video.mp4"
KEY="..."
ffmpeg \
-i "$SOURCE" -deinterlace \
-vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
-f flv "$YOUTUBE_URL/$KEY"This is what i came up with :
for f in *.mp4; do
ffmpeg \
-i "$f" -deinterlace \
-vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
-f flv "$YOUTUBE_URL/$KEY"
done -
FFMPEG Segment Threads Equivalent Option
24 août 2018, par Bruno AndradeI was downloading video from a hls m3u8 stream using the ffmpeg command in php :
exec('ffmpeg -hide_banner -loglevel verbose -n -i https://example.com/playlist.m3u8 -acodec copy -bsf:a aac_adtstoasc -vcodec copy file.mp4 1> log.txt 2>&1', $output, $var);
But I was having problems downloading speed and the problem was not the internet.
So I installed and used the livestreamer.io OR streamlink.github.io/ and also slowed down the download.
So I made use of the
hls-segment-threads=5
option according to the API document :The size of the thread pool used to download segments.
This solved the problem, is there any equivalent option in the FFMPEG ?
Or have something I can do with PHP + FFMPEG to get this result that this hls-segment-threads option provides ?Most shared servers come with FFMPEG installed but the same does not fit with livestreamer or streamlink so I need a solution that works for everyone.
*I do not understand python do not know what this option exactly does
-
How should be the track ID encoded in to the media tracks / media content components available for MPEG - DASH Media Presentation ?
2 avril 2014, par Ghanesh Babu JAs per ISO/IEC 14496 Part 12 : ISOBMFF , the track Identifier specified in track header box "trak" and track fragment header "tfhd" box should be same and unique to each track available in an ISO file.
Also as per ISO/IEC 23009 Part 1 , The track Identifier is same for all the representation of same content component type and unique to a media content component type( Audio / Video etc . . .) in an adaptation set.
But , Most of the mpeg dash non multiplexed sample streams available in internet has used same track Identifier in all of the media tracks ( Audio , video etc. . . ) available for a media presentation. Say track ID for all content component type is 1.
In this case, If a media player is supported with single mp4 demuxer means, it is not possible to demux the fragmented media sample from various track correctly for a media presentation.
My question is,
Having same track identifier for all media content component type in a dash media presentation is MPEG DASH Standard ?