
Recherche avancée
Autres articles (70)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (12966)
-
ffmpeg - Adding chapters to mp3 : How to create CTOC frame ?
30 mai 2019, par yknivagFollowing this guide and this documentation I am trying to add chapters to an mp3 file using this command :
ffmpeg -i input.mp3 -i ffmetadata.txt -map_metadata 1 -codec copy -id3v2_version 3 output.mp3
The format of
ffmetadata.txt
is lifted straight from the ffmpeg.org site with a[CHAPTER]
section for each chapter.ffmpeg adds the global metadata perfectly well, and creates
CHAP
frames for each chapter with correspondingTIT2
subframes with each chapter title. However noCTOC
(table of contents) frame is created. Because noCTOC
frame is created the iTunes podcast player doesn’t show the "next chapter" button.I have taken an mp3 with known working chapters and used the reverse
ffmpeg
command to extract the metadata to a file inffmetadata
syntax and there is no additional information in that file, no specificCTOC
entries. Yet browsing the metadata from that file does reveal a correctly formattedCTOC
frame present.Is there a specific flag I need to pass to
ffmpeg
to force it to build theCTOC
frame ? Or do I have to include it in the ffmetadata file somehow ?If anyone has done this I’d be very grateful if you would share what works for you.
PS Yes I know there are lots of GUI programs out there that can do this but I need to automate this so I need something that will run in a linux command line.
-
Adding chapters to MP4 files, and being identified on iOS 12 podcast app
5 avril 2019, par Craig FrancisI have an MP4 file, where I’ve added chapters via ffmpeg.
But in the iOS 12 Podcasts app, from Apple, the chapters don’t appear. This should happen, as noted by idownloadblog.com
In comparison, when using QuickLook on MacOS, the list of chapters can be seen by clicking the chapters button (in the bottom right hand side of the window).
And opening in QuickTime Player, while there isn’t a list of chapters to view, you can use the "View > Next Chapter" menu item.
So I’m assuming this is a bug in iOS... but I’m wondering if there is another way to add chapters ? or if I’ve made a mistake ?
My current process is to create a "ffmetadata" file, as noted in the ffmpeg documentation :
;FFMETADATA1
title=Example
[CHAPTER]
TIMEBASE=1/1000
START=0
END=221913
title=Chapter 1
[CHAPTER]
TIMEBASE=1/1000
START=221913
END=1169241
title=Chapter 2https://ffmpeg.org/ffmpeg-formats.html#Metadata-1
Then I’ve tried each of the following commands :
ffmpeg -i 2019-01-02.mp4 -i 2019-01-02.meta -map_metadata 1 -codec copy 2019-01-02-chapters.mp4
ffmpeg -i 2019-01-02.mp4 -i 2019-01-02.meta -map_metadata 1 2019-01-02-chapters.mp4
ffmpeg -i 2019-01-02.mp4 -i 2019-01-02.meta -map_metadata 1 2019-01-02-chapters.mp3- The first one is from the ffmpeg documentation, where
-codec copy
means the audio file is not re-encoded. - The second one takes longer, while it re-encodes the audio data.
- The third one requires re-encoding to convert it into an MP3 file (which uses ID3 tags for the chapter data).
On a slightly unrelated note, the third party app "RSSRadio" does list the chapters, but the feature added in version 4 that allows you to "skip directly to the start of the next chapter", if the next chapter starts within the next 3 minutes, does not seem to work.
- The first one is from the ffmpeg documentation, where
-
How to remove everything but video and stereo audio stream from video with ffmpeg ?
20 octobre 2019, par user3776738I’m trying to get a clean h264 video from a mkv file.With clean I mean that it has only a video stream plus stereo sound.
The inputfile can have multiple channels and subtitles and other unknown stuff, which I don’t need.
I’m using ffmpeg with this command :ffmpeg -i "input.mkv" -ac 2 -vf scale=trunc(oh*a/2)*2:480 -c:v libx264 "output.mp4"
This should give me a 480p video with stereo sound,which I require.
I tried multiple -map or dispositions commands with ffmpeg to remove the subtitles whithout any success.How can I remove everything but video and stereo stream with ffmpeg and get a 480p stereo sound video ?
Edit :
Output of ffmpeg - "input.mkv" -i "output.mp4" :ffmpeg -i "input.mkv" -i "output.mp4"
ffmpeg version N-91972-gbd10c1e9a8 Copyright (c) 2000-2018 the FFmpeg developer
built with gcc 8.2.1 (GCC) 20180813
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconf
g --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li
freetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-am
wb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy -
enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-
ibwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 -
enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --e
able-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --e
able-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --
nable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --ena
le-avisynth
libavutil 56. 19.101 / 56. 19.101
libavcodec 58. 30.100 / 58. 30.100
libavformat 58. 18.101 / 58. 18.101
libavdevice 58. 4.103 / 58. 4.103
libavfilter 7. 32.100 / 7. 32.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
[hevc @ 00000000004a5940] Invalid default display window
Input #0, matroska,webm, from 'input.mkv':
Metadata:
title : Elysium (2013)
encoder : libebml v1.3.3 + libmatroska v1.4.4
creation_time : 2016-01-05T22:30:41.000000Z
Duration: 00:01:02.73, start: 0.166000, bitrate: 53638 kb/s
Chapter #0:0: start 0.000000, end 62.896000
Metadata:
title : 00:00:00.000
Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv), 3840x1606, SAR 1:
DAR 1920:803, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Metadata:
title : Elysium (2013) - Release for ULTRAHDCLUB
BPS : 51036975
BPS-eng : 51036975
DURATION : 00:01:02.604000000
DURATION-eng : 00:01:02.604000000
NUMBER_OF_FRAMES: 1501
NUMBER_OF_FRAMES-eng: 1501
NUMBER_OF_BYTES : 399389852
NUMBER_OF_BYTES-eng: 399389852
_STATISTICS_WRITING_APP: mkvmerge v8.7.0 ('All of the above') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.7.0 ('All of the above') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-01-05 22:30:41
_STATISTICS_WRITING_DATE_UTC-eng: 2016-01-05 22:30:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s16p (default)
Metadata:
title : DTS-HD MA 7.1 - Blu-ray CEE
BPS : 2706639
BPS-eng : 2706639
DURATION : 00:01:02.561000000
DURATION-eng : 00:01:02.561000000
NUMBER_OF_FRAMES: 5865
NUMBER_OF_FRAMES-eng: 5865
NUMBER_OF_BYTES : 21166260
NUMBER_OF_BYTES-eng: 21166260
_STATISTICS_WRITING_APP: mkvmerge v8.7.0 ('All of the above') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.7.0 ('All of the above') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-01-05 22:30:41
_STATISTICS_WRITING_DATE_UTC-eng: 2016-01-05 22:30:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : Elysium (2013)
encoder : Lavf58.18.101
Duration: 00:01:02.73, start: 0.000000, bitrate: 1671 kb/s
Chapter #1:0: start 0.000000, end 62.730000
Metadata:
title : 00:00:00.000
Stream #1:0(eng): Video: h264 (High 10) (avc1 / 0x31637661), yuv420p10le, 1
46x480 [SAR 2030:2027 DAR 38773:16216], 1543 kb/s, SAR 15563:15540 DAR 1920:803
23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fl
p, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #1:2(eng): Data: bin_data (text / 0x74786574), 0 kb/s
Metadata:
handler_name : SubtitleHandler
At least one output file must be specified