
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (90)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (16330)
-
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 ?


-
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.
-
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.