
Recherche avancée
Autres articles (39)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (10112)
-
Accessing AVFrame using AVOption
14 juin 2023, par Fr3ddyDevavcodec_get_frame_class()
is now deprecated butAVFrame
's docs still link to it to accessAVFrame
's field usingAVOption
s. Is there an alternative way to getAVFrame
'sAVClass
? Should I just access the fields directly and forget aboutAVOption
s ?

I want my application to remain as stable as possible even on version changes so
AVOption
s looked like the better way to interface with FFmpeg.

-
Media player get stuck in the middle of a buffered range on Chrome
29 septembre 2019, par Feng YuWHAT IS MY PROBLEM ?
My website’s live streaming player use hls.js. From my server’s stat, there is many case where player get stuck in the middle of a buffered range.
Here is my server raw stat log(removed some useless params) :
tm=2019-09-27 12:04:41`bufferLevel=8.447303999999974`currentTime=158.4`buffered=[6.024,166.832]`readyState=4`ua=Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 QBCore/3.53.1153.400 QQBrowser/9.0.2524.400 Tencent AppMarket/4.8 GameCenter
currentTime
is got byHTMLMediaElement.currentTime
and buffered is got byHTMLMediaElement.buffered
:currentTime=158.4
buffered=[6.024,166.832]
readyState=4From W3c :
If HTMLMediaElement.buffered contains a TimeRange that includes the current playback position and enough data to ensure uninterrupted playback :
- Set the HTMLMediaElement.readyState attribute to HAVE_ENOUGH_DATA.
- Playback may resume at this point if it was previously suspended by a transition to HAVE_CURRENT_DATA.
In this case,
613.3
is in the middle of[469.277,677.612]
, video should be progressing, but it is not.Hls.js will periodly check
currentTime
has progressed every 100ms. ifcurrentTime
has not progressed for 1000ms, then hls.js will triggerSTALL
event and I will send a stall stat to server.I cannot reproduce this problem on my side, it only appears on my server stat.
WHAT I’VE TRIED
shaka player has a module detect this case(https://www.ellealcatrase.eu/player2/docs/api/lib_media_stall_detector.js.html), Its comment shows that :
Some platforms/browsers can get stuck in the middle of a
buffered range (e.g. when seeking in a background tab). Detect when
we get stuck so that the player can respond.but I cannot reproduce when my browser is in a background tab.
-
Creating a Master Playlist after creating multiple renditions with FFMPEG for multi bitrate VOD
15 septembre 2020, par BillI am trying to upload a video to a server, convert the video file to 3 different videos with different resolutions (i.e. 1080p,720p, 480p), and then use FFMPEG to create a master playlist out of each of the resolutions all within the same command ? Is this possible ? So far I am able to upload a video and create 3 different resolutions but I haven't been able to use ffmpeg to create the master manifest. So far my FFMPEG command looks like this :



ffmpeg -hide_banner -y -i beach.mkv \
 -vf scale=w=640:h=360:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_segment_filename beach/360p_%03d.ts beach/360p.m3u8 \
 -vf scale=w=842:h=480:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 1400k -maxrate 1498k -bufsize 2100k -b:a 128k -hls_segment_filename beach/480p_%03d.ts beach/480p.m3u8 \
 -vf scale=w=1280:h=720:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename beach/720p_%03d.ts beach/720p.m3u8 




This command is based of research from this page https://docs.peer5.com/guides/production-ready-hls-vod/



What do I need to add to the FFMPEG command to generate a master playlist ?