
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (80)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (3174)
-
Rotated video with ffmpeg doesn't play in flowplayer in IE9
17 octobre 2013, par yoshiI have a script that rotates videos 90 degrees and then the videos are displayed on a web page using flowplayer (HTML5 version, not Flash). After the video is rotated once it does not play in IE9 but plays without any other problems in Chrome and Firefox.
The error message is : Video file not found.I've looked in IE9's developer tools console, in the network tab and the browser streams the whole video.
The following is the ffmpeg command I use to rotate and convert the video :
ffmpeg -i input.mov -y -r 30 -b 4M -vf 'transpose=1,scale=800:trunc(ow/a/2)*2' -ar 48000 -vcodec libx264 -profile baseline -preset slow -level 2.2 output.mp4
This is the input file which I used : https://dl.dropboxusercontent.com/u/37994/local%20capture.mov
This is the output video : https://dl.dropboxusercontent.com/u/37994/local%20capture%20rotated.mp4
The input video from above is a screen capture made using QuickTime on Mac OS.
This also happened for this video : http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov
And also this one : https://dl.dropboxusercontent.com/u/37994/clipcanvas_14348_offline.mp4This didn't happen for the sample .mov from here : http://support.apple.com/kb/ht1425
If I run the command twice, meaning I rotate the video 90 degrees and then I rotate the output using the same command once more, the problem disappears, but I need to be able to rotate only 90 degrees.
This problem doesn't happen if I put IE9 in IE7 or IE8 compatibility mode.
I was thinking that maybe the problem was how the server serves the video but there's no problem with other videos.
I looked at the metadata with ffmpeg but didn't see anything significant.
I already have
AddType video/mp4 .mp4
in .htaccess.I can't seem to pin down what's causing this problem.
Edit :
Request in IE9
Response in IE9
-
when webm extracts aac, the duration is inconsistent
25 juillet 2019, par Black-HoleWhen I try to extract aac from
webm
, there will be inconsistencies in duration.aac
is ten minutes less. Differentwebm
videos, the gap is not the same.webm
video is generated bychrome extension
chrome.tabCapture.capturecode :
chrome.tabCapture.capture({
video: true,
audio: true,
videoConstraints: {
mandatory: {
minWidth: 1920,
minHeight: 1080,
maxWidth: 1920,
maxHeight: 1080,
maxFrameRate: 30,
minFrameRate: 30,
}
}
})The above code will return a stream, I will use JS’s MediaRecorder method to process this stream, and finally save it as a webm file.
code :
new MediaRecorder(stream, {
audioBitsPerSecond: 128000,
videoBitsPerSecond: 2500000,
mimeType: 'video/webm;codecs=vp9'
})If you don’t know the meaning of the above code, it doesn’t matter, I will explain the main information :
- width :
1920
- height :
1080
- FPS :
30
- audioBits :
128000
- videoBits :
2500000
- mimeType :
video/webm;codecs=vp9
I tried a lot of methods, like the following :
# 1
ffmpeg -i ./source.webm -y -fflags +genpts -max_muxing_queue_size 99999 -r 15 -crf 30 -filter:v crop=750:560:0:0 ./x.mp4
ffmpeg -i ./x.mp4 -y -vn -acodec libfdk_aac -b:a 200k ./x.aac
# 2
ffmpeg -i ./source.webm -y -vn -acodec libfdk_aac -b:a 200k ./x.aac
# 3
ffmpeg -i ./source.webm -y -vn -acodec libfdk_aac -b:a 200k -map 0 ./x.aac
# 4
ffmpeg -i ./source.webm -y -max_muxing_queue_size 99999 -r 15 -crf 30 -filter:v crop=750:560:0:0 ./x.mp4
ffmpeg -i ./source.webm -y -vn -acodec aac -b:a 200k ./x.aac
# etc.But without exception, all failed. I have been plagued by this problem for 4 days.
webm file download url : https://drive.google.com/file/d/1m4fC1hU-tXFPOZayrYCs-yteSTxw_TaW/view?usp=sharing
- width :
-
avcodec : Add "sar" alias to "aspect" option of video encoders
5 mai 2016, par Andrey Utkinavcodec : Add "sar" alias to "aspect" option of video encoders
It is impossible to pass "aspect" parameter to encoder from ffmpeg CLI
because option from lavc/options_table.h is eclipsed by option with same
name in ffmpeg_opt.c, which has different meaning (DAR, not SAR).Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>