
Recherche avancée
Autres articles (93)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Les sons
15 mai 2013, par -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (6077)
-
Converting DAV to MP4 and OGG
27 mars 2015, par mackowiakpI want to prepare WEB page containing films from security camera recorders. Each recorder transmit video files in DAV format so each film is converted to MP4 format by script, using such syntax :
ffmpeg -y -i movie.dav -vcodec libx264 -crf 24 movie.mp4
So I included in HTMLv5 code such entry :
<video width="320" height="240">
<source src="movie.mp4" type="video/mp4">
</source></video>It works correctly with Chrome but not with Firefox. For proper work in FF it is necessary add link to OGG file. So correct HTMLv5 syntax for both browsers should look like this :
<video width="320" height="240">
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
</source></source></video>Can anybody help me to pass correct ffmpeg syntax to create OGG file ?
Output from console after using -movflags +faststart options
[maciek@piotr MMM]$ ../ffmpeg-2.4.2-64bit-static/ffmpeg -movflags +faststart -y -i 04.24.23-04.24.38\[M\]\[@0\]\[0\].dav -vcodec libx264 -crf 24 10.mp4
ffmpeg version 2.4.2- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 9 2014 07:24:56 with gcc 4.8 (Debian 4.8.3-11)
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable- libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Option movflags not found. -
ffmpeg how do I choose the correct Audio track ?
28 février 2020, par DukI’m converting a few .mkv files and need to choose the right Audio track, but dont know how.
This is the command I use :
ffmpeg -i "movie.mkv" -vcodec h264 -acodec aac -strict -2 output.mp4
It is recommended by the webservice where I want to upload the video.
Let’s say the Audiotracks look like this :
mkvmerge -i "movie.mkv"
Track ID 0: video (MPEG-4p10/AVC/h.264)
Track ID 1: audio (AC-3)
Track ID 2: audio (TrueHD)
Track ID 3: subtitles (HDMV PGS)How do I select "Track 1" or "Track 2" for Output ?
And which track will be selected, if I leave the Code like that ? (and why ?)Thanks for help !
-
Overlay animated images with transparency over a static background image using ffmpeg ?
17 février 2015, par JonaI’m looking to create a video using a set of png images that have transparency merged with a static background.
After doing a lot of digging I seems like it’s definitely possible by using the filters library.
My initial video making without including the background is :
ffmpeg -y -qscale 1 -r 1 -b 9600 -loop -i bg.png -i frame_%d.png -s hd720 testvid.mp4
Using
-vf
I can apply the background as overlay :ffmpeg -y -qscale 1 -r 1 -b 9600 -i frame_%d.png -vf "movie=bg.png [wm];[in][wm] overlay=0:0 [out]" -s hd720 testvid.mp4
However the problem is it’s overlaying the background over the input. According libacfilter I can split the input and play with it’s content. I’m wondering if I can somehow change the overlay order ?
Any help greatly appreciated !
UPDATE 1 :
I’m trying to make the following filter work but I’m getting the movie without the background :ffmpeg -y -qscale 1 -r 1 -b 9600 -i frame_%d.png -vf "movie=bg.png [bg]; [in] split [T1], fifo, [bg] overlay=0:0, [T2] overlay=0:0 [out]; [T1] fifo [T2]" -s hd720 testvid.mp4
UPDATE 2 :
Got video making using -vf option. Just piped the input slit it applied image over it and overlayed the two split feeds ! Probably not the most efficient way... but it worked !ffmpeg -y -r 1 -b 9600 -i frame_%d.png -vf "movie=bg.png, scale=1280:720:0:0 [bg]; [in] format=rgb32, split [T1], fifo, [bg] overlay=0:0, [T2] overlay=0:0 [out]; [T1] fifo [T2]" -s hd720 testvid.mp4