
Recherche avancée
Médias (5)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (77)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (7512)
-
ffmpeg : convert video1->images->video2 produce different number of seconds in video1,video2
25 mai 2016, par mrgloomI’m trying to convert video to images, make some image processing and then convert images back to video.
Code :
VIDEO_PATH="/home/user/myvideo.mp4"
SEPARATOR='/'
BITRATE="4600k"
VIDEO_BASE_DIR=`dirname $VIDEO_PATH`
FRAMES_DIR=$VIDEO_BASE_DIR$SEPARATOR"Frames"
mkdir $FRAMES_DIR
#check info of original video
./ffprobe -show_streams $VIDEO_PATH
#video to images
./ffmpeg -i $VIDEO_PATH $FRAMES_DIR$SEPARATOR"image%d.png"
#images to video
./ffmpeg -y -pattern_type glob -i $FRAMES_DIR$SEPARATOR'*.png' -r 30 -vcodec mpeg4 -b:v $BITRATE $VIDEO_BASE_DIR$SEPARATOR$BITRATE.mp4
#check info of produced video
./ffprobe -show_streams $VIDEO_BASE_DIR$SEPARATOR$BITRATE.mp4The problem is that length in second of original and produced videos doesn’t match.
In
ffprobe
output I can see thatr_frame_rate=30/1
for both videos.
Andnb_frames
don’t matchnb_frames=339
for first andnb_frames=407
for second video.UPDATE :
Seems this command with
-framerate
solved the problem :./ffmpeg -framerate 30 -y -start_number 1 -i $FRAMES_DIR$SEPARATOR"image%d.png" -r 30 -vcodec h264 -b:v $BITRATE $VIDEO_BASE_DIR$SEPARATOR$BITRATE.mp4
-
How to compare audio channel differences with FFmpeg ?
30 septembre 2021, par DeiveduxI'm making a little script for myself to quickly go through a large volume of video and audio files to compress audio for extra space, but for extra efficiency, I also don't want to waste space by keeping both channels if they're identical.


My issue is that I don't know how to, let's say, check if their decoded versions are at least a 99.99% match, in which case I'd only encode the left channel into mono.


How would I go about doing this ?


-
movenc : Add a flag for indicating a discontinuous fragment
20 novembre 2014, par Martin Storsjömovenc : Add a flag for indicating a discontinuous fragment
This allows creating a later mp4 fragment without sequentially
writing the earlier ones before (when called from a segmenter).Normally when writing a fragmented mp4 file sequentially, the
first timestamps of a fragment are adjusted to match the
end of the previous fragment, to make sure the timestamp is the
same, even if it is calculated as the sum of previous fragment
durations. (And for the first packet in a file, the offset of
the first packet is written using an edit list.)When writing an individual mp4 fragment discontinuously like this
(with potentially writing the earlier fragments separately later),
there’s a risk of getting a gap in the timeline if the duration
field of the last packet in the previous fragment doesn’t match up
with the start time of the next fragment.Using this requires setting -avoid_negative_ts make_non_negative
(or -avoid_negative_ts 0).Signed-off-by : Martin Storsjö <martin@martin.st>