
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 (66)
-
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. -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (12918)
-
How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream correctly ?
2 septembre 2014, par kaorukobo
I posted an same question to another community Video Production that I’ve found later, and which seems to be a better place for this question :
1. What I tried
I have some .MTS (AVCHD format) files recoreded with my AVCHD camera. Its specification is as shown below :
$ ffprobe 140612_Canon-00000.MTS
ffprobe version 2.2.1 Copyright (c) 2007-2014 the FFmpeg developers
(snip)
Input #0, mpegts, from '140612_Canon-00000.MTS':
Duration: 00:48:58.40, start: 0.800300, bitrate: 5563 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448),
yuv420p, 1440x1080 [SAR 4:3 DAR 16:9],
29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 256 kb/sPay attention to the part of framerate/timebase : 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Now I’d like to convert this file to .mp4 file, without re-encoding H264 video stream, on the other hand, with transcoding its audio stream to AAC.
So I tried the following command :ffmpeg -i 140612_Canon-00000.MTS -t 60 -y -vcodec copy -acodec libfaac -ab 128k 140612_Canon-00001.MTS.mp4
2. Result
and output file’s specification is as shown below :
$ ffprobe 140612_Canon-00000.MTS.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '140612_Canon-00000.MTS.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.33.100
Duration: 00:01:00.04, start: 0.021333, bitrate: 4590 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1440x1080 [SAR 4:3 DAR 16:9], 4448 kb/s,
59.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D),
48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandlerLook at the part of framerate/timebase : 59.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc.
Although ffmpeg just copied the video stream, framerate and timebase has been changed to twice value.So, when I open and playback the output file with QuickTime Player or VLC Player,
the audio has no problem, however, the video stream is not played correctly.
The video is played back with having its frame forward and backward quiveringly repeatedly.3. Question
- How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream correctly ?
- How can I keep the original framerate/timebase values (fps/tbr/tbn/tbc) when I convert the container with
ffmpeg
and its-vcodec copy
switch. - How can I set framerate/timebase values (fps/tbr/tbn/tbc) by ffmpeg’s command line options without re-encoding a video stream.
Any ideas ?
-
Trouble trying to update ffmpeg
14 juillet 2014, par AreKayi installed ffmpeg through svn
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk
and since ffmpeg does not support it now i am unable to update it.i tried updating it through git. it did get updated. But still its stuck in the old version.
also tried to update it through macports it got installed. but when i type ffmpeg it still shows the older version.FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 10 2014 10:49:39 with clang 5.1 (clang-503.0.40)
configuration: --enable-libmp3lame --enable-shared --disable-mmx --arch=x86_64
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'it would be great if someone could help me out here in updating ffmpeg.
-
Encoder (codec mp3) not found for output stream #0:0 , ffmpeg
14 juillet 2014, par AreKayi am running ffmpeg on mac os x.
while extracting audio file from a video i am getting an error as Encoder (codec mp3) not found for output stream #0:0this question was already asked but that was for ubuntu and i did try (using macports)
port install libavcodec-extras-53
but it showed an error as libavcodec-extras-53 was not found.this was what came in terminal.
Rajaths-MacBook-Pro:desktop RK$ ffmpeg -i 1.mp4 3.mp3<br />
ffmpeg version N-64663-ga65d6e1 Copyright (c) 2000-2014 the FFmpeg developers<br />
built on Jul 15 2014 02:20:47 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)<br />
configuration:<br />
libavutil 52. 92.100 / 52. 92.100<br />
libavcodec 55. 69.100 / 55. 69.100<br />
libavformat 55. 47.100 / 55. 47.100<br />
libavdevice 55. 13.102 / 55. 13.102<br />
libavfilter 4. 10.100 / 4. 10.100<br />
libswscale 2. 6.100 / 2. 6.100<br />
libswresample 0. 19.100 / 0. 19.100<br />
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':<br />
Metadata:<br />
major_brand : isom<br />
minor_version : 512<br />
compatible_brands: isomiso2mp41<br />
encoder : Lavf55.47.100
Duration: 00:00:39.05, start: 0.020227, bitrate: 408 kb/s<br />
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 274 kb/s, 30 fps, 30 tbr, 15360 tbn, 30 tbc (default)<br />
Metadata:<br />
handler_name : VideoHandler<br />
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)<br />
Metadata:<br />
handler_name : SoundHandler<br />
Output #0, mp3, to '3.mp3':<br />
Metadata:<br />
major_brand : isom<br />
minor_version : 512<br />
compatible_brands: isomiso2mp41<br />
encoder : Lavf55.47.100<br />
Stream #0:0(und): Audio: mp3, 0 channels, 128 kb/s (default)<br />
Metadata:<br />
handler_name : SoundHandler<br />
Stream mapping:<br />
Stream #0:1 -> #0:0 (aac (native) -> ? (?))<br />
Encoder (codec mp3) not found for output stream #0:0any help would be appreciated.