
Recherche avancée
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (10077)
-
dashenc : Use pts for MPD timeline timestamps
17 novembre 2014, par Martin Storsjödashenc : Use pts for MPD timeline timestamps
This should be more correct. This also should give more sensible
switching between video streams with different amount of b-frame
delay.The current dash.js release (1.2.0) fails to start playback of
such files from the start (if the start pts is > 0), but this has
been fixed in the current git version of dash.js.Also enable the use of edit lists, so that streams in many cases
start at pts=0.Signed-off-by : Martin Storsjö <martin@martin.st>
-
How to convert a video and audio file to be smoothly played via Media Source Extension API ?
4 octobre 2018, par AmanI have built a web video player using the Media Source Extension API. I have been testing my video player using local video and audio files on my PC. Everything works perfectly expect the video keeps buffering. I’m playing a 4k 60fps video, which I downloaded from YouTube. My PC is not 4k resolution, but the video smoothly plays through YouTube and VLC Media Player. I’m just surprised to why my Media Source Extension Video Player buffers even through the video and audio file are not being retrieved via network. I’m assuming that the video and audio files I’m using are causing this problem. So I will explain how I created my video and audio files first :
-
I downloaded the video from https://www.youtube.com/watch?v=KaCQ8SQ6ZHQ&t=3s using the 4K Video Downloader https://www.4kdownload.com/products/product-videodownloader.
-
Convert the
mkv
(the 4K Video Downloader only allows the 4k 60fps video to be downloaded inmkv
format, for me) file tomp4
usingffmpeg
inCMD
:ffmpeg -i test.mkv -codec copy test.mp4
. -
Converting the
test.mp4
file to my preferred 4K resolution3840x2160
from3840x1632
usingffmpeg
inCMD
:ffmpeg -i test.mp4 -s 3840x2160 -c:a copy test_changed.mp4
. (NOT SO IMPORTANT) -
Separating the video and audio of
test_changed.mp4
tovideo.mp4
for video andaudio.mp4
for audio usingMP4Box
inCMD
: Video -MP4Box -single 1 test_changed.mp4 -out video.mp4
and Audio -MP4Box -single 2 test_changed.mp4 -out audio.mp4
. -
Splitting both
video.mp4
andaudio.mp4
into 30 split parts each containing 5 seconds of the video and audio file. So I end up having (video_1.mp4
,audio_1.mp4
), (video_2.mp4
,audio_2.mp4
), (video_3.mp4
,audio_3.mp4
), ..... (video_29.mp4
,audio_29.mp4
), (video_30.mp4
,audio_30.mp4
). Usingffmpeg
and one by one specifying the time range for each part inCMD
:[For Part 1 :
ffmpeg -ss 00:00:00 -to 00:00:05 -i video.mp4 video_1.mp4
,ffmpeg -ss 00:00:00 -to 00:00:05 -i audio.mp4 audio_1.mp4
],[For Part 2 :
ffmpeg -ss 00:00:05 -to 00:00:10 -i video.mp4 video_2.mp4
,ffmpeg -ss 00:00:05 -to 00:00:10 -i audio.mp4 audio_2.mp4
],[For Part 3 :
ffmpeg -ss 00:00:10 -to 00:00:15 -i video.mp4 video_3.mp4
,ffmpeg -ss 00:00:10 -to 00:00:15 -i audio.mp4 audio_3.mp4
],.....
[For Part 29 :
ffmpeg -ss 00:02:20 -to 00:02:25 -i video.mp4 video_29.mp4
,ffmpeg -ss 00:02:20 -to 00:02:25 -i audio.mp4 audio_29.mp4
],[For Part 30 :
ffmpeg -ss 00:02:25 -to 00:02:30 -i video.mp4 video_30.mp4
,ffmpeg -ss 00:02:25 -to 00:02:30 -i audio.mp4 audio_30.mp4
]. -
Fragmenting each of the video and audio parts using
MP4Box
inCMD
(As far as I know, fragmentedmp4
files are only files played via Media Source Extension API) :[For Part 1 :
MP4Box -dash 1000 -rap -frag-rap video_1.mp4
,MP4Box -dash 1000 -rap -frag-rap audio_1.mp4
],[For Part 2 :
MP4Box -dash 1000 -rap -frag-rap video_2.mp4
,MP4Box -dash 1000 -rap -frag-rap audio_2.mp4
],[For Part 3 :
MP4Box -dash 1000 -rap -frag-rap video_3.mp4
,MP4Box -dash 1000 -rap -frag-rap audio_3.mp4
],.....
[For Part 29 :
MP4Box -dash 1000 -rap -frag-rap video_29.mp4
,MP4Box -dash 1000 -rap -frag-rap audio_29.mp4
],[For Part 30 :
MP4Box -dash 1000 -rap -frag-rap video_30.mp4
,MP4Box -dash 1000 -rap -frag-rap audio_30.mp4
]. -
I receive a fragmented file for each file with "_dashinit" being in it e.g. For Part 1 :
video_1_dashinit.mp4
andaudio_1_dashinit.mp4
. These are the files I’m playing through Media Source Extension API.
So I’m appending these files into my
sourceBuffers
and playing it with thevideo
. I have given thetest.zip
file here (https://drive.google.com/file/d/1tyPBTxgpS601Xs5VEWznYhWw9PwhMHsB/view?usp=sharing) containing the test sample.I’m using this command in
CMD
to runChrome
and test my file :chrome.exe --allow-file-access-from-files
Anyone can use this test sample and see if the video is buffering for them too. Please comment about anything I’m doing wrong, or help me construct a better 5 seconds video and audio files for
MSE
playable. Thanks -
-
FFMPEG libfdk_aac codec with VBR option not supported
25 septembre 2018, par PiriI’m trying to makes an app that uses terminal ffmpeg with libfdk_aac codec.
The problem is when I use -VBR mode, the result Bit rate mode is always Constant(CBR).I’ve searched about this problem and I’ve found the following article :
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-February/013652.html
this article is from 2013 and seems is still valid !Also i am not the only one with this problem
https://superuser.com/questions/1326239/encoding-aac-from-wav?rq=1My terminal string is :
ffmpeg -i input* -c:a libfdk_aac -vbr 4 output**
- *- input formats can be : FLAC, WEBM, MP4
- **- output formats can be : M4A, AAC
Question is : Can this be solved with the current version of ffmpeg :
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) ??
if not, is using directly fdkaac from terminal the only option ?Any Help is much appreciated.