
Recherche avancée
Autres articles (79)
-
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 (...) -
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (9351)
-
Revision 28201 : - chaine le langue manquante
28 avril 2009, par marcimat@… — Logchaine le langue manquante
-
How to transcode to another video parameters ? [on hold]
23 mai 2014, par user3668381Google, man pages and any docs I found didn t shown anything relevant so...
I want to be able to concatene video with ffmpeg, this part is simple, but fail (freeze or massive frame dropping) if the videos don t have the same properties.
But for now, I didn t found anything else but trying to set a lot of options, expecting to get the good properties... But when they aren t rounded down (or up), you just can t set them (tbr, tbn...).
So my question is, is there any hidden option in ffmpeg to take the properties of another video (so -copy won t work) as the properties of the transcode.
Illustration :
This is the video from which I wan t to copy the parameters :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'cdr.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2013-07-04 11:04:27
encoder : Lavf54.11.100
Duration: 00:06:26.96, start: 0.000000, bitrate: 804 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], 753 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:
creation_time : 2013-07-04 11:04:27
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 44 kb/s (default)
Metadata:
creation_time : 2013-07-04 11:04:27
handler_name : SoundHandler
At least one output file must be specifiedFor now, my command is
ffmpeg -i video.mp4 -c:v h264 -c:a libfdk_aac -aspect 16:9 -b:v 753k -b:a 44k output.mp4
But it turn out that output.mp4 reveal :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.21.100
Duration: 00:00:07.11, start: 0.046440, bitrate: 685 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], 637 kb/s, 15 fps, 15 tbr, 15360 tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 45 kb/s (default)
Metadata:
handler_name : SoundHandler
At least one output file must be specifiedAs we can see, audio bitrate is rounded, tbn is off the chart, general bitrate isn t the same and on and on and on...
Is there any better way but to add options again and again and hope that nothing will be rounded ? Something like
ffmpeg -i video.mp4 -use_properties_of model.mp4 output.mp4
? -
Ffmpeg - Remove rotate metadata
16 mai 2014, par Ron IWhen I extract the images from a video, the resulting images are getting rotated. The orientation of the video is correct, and the images are upside down. The metadata for the original video is 180, and also for the output file, so it looks like it is copying that data and additionally rotating 180 degrees. However, since the original video is already rotated, it is flipping the video upside down.
I would like to remove the metadata for the output file containing the ’rotate’ command. I tried adding -vf rotate=0, but it didn’t work.
Here is the command I am running :
ffmpeg -i left.MOV -r 1 -f image2 left-03%d.png
I assume this is what is throwing it off (it looks like it is copying the rotate metadata from the input file and applying it to the output file) :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'left.MOV':
rotate : 180
Output #0, image2, to 'left-03%d.png':
Metadata:
rotate : 180Here’s the full output :
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 11 2014 22:50:35 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'left.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2014-05-14 16:24:27
make : Apple
make-eng : Apple
encoder : 7.1.1
encoder-eng : 7.1.1
date : 2014-05-14T09:23:48-0700
date-eng : 2014-05-14T09:23:48-0700
model : iPhone 5
model-eng : iPhone 5
Duration: 00:00:10.98, start: 0.000000, bitrate: 795 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
Metadata:
creation_time : 2014-05-14 16:24:27
handler_name : Core Media Data Handler
Stream #0:1(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 568x320, 728 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
Metadata:
rotate : 180
creation_time : 2014-05-14 16:24:27
handler_name : Core Media Data Handler
Output #0, image2, to 'left-03%d.png':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
model-eng : iPhone 5
make : Apple
make-eng : Apple
model : iPhone 5
encoder-eng : 7.1.1
date : 2014-05-14T09:23:48-0700
date-eng : 2014-05-14T09:23:48-0700
encoder : Lavf55.33.100
Stream #0:0(und): Video: png, rgb24, 568x320, q=2-31, 200 kb/s, 90k tbn, 1 tbc (default)
Metadata:
rotate : 180
creation_time : 2014-05-14 16:24:27
handler_name : Core Media Data Handler
Stream mapping:
Stream #0:1 -> #0:0 (h264 -> png)
Press [q] to stop, [?] for help
frame= 14 fps=0.0 q=0.0 Lsize=N/A time=00:00:14.00 bitrate=N/A dup=0 drop=315
video:1521kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead -100.001411%