
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (45)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 (...) -
Personnaliser l’affichage de mon Médiaspip
27 mai 2013Vous pouvez modifier la configuration du squelette afin de personnaliser votre Médiaspip Voir aussi plus d’informations en suivant ce lien
Comment supprimer le nombre de vues d’affichage d’un média ?
Administrer > Gestion du squelette > Pages des articles et médias Cocher dans "Informations non affichées sur les pages de médias" les paramètres que vous ne souhaitez pas afficher.
Comment supprimer le titre de mon Médiaspip dans le bandeau horizontal ?
Administrer > Gestion du squelette > (...)
Sur d’autres sites (6175)
-
Q : ffmpeg drawtext "localtime" video filter - display in custom format
24 mars 2016, par Kārlis K.I’m having issues escaping ’ :’ symbol and displaying localtime in a hms(HH:MM:SS) format for overlay over a Live input(MPEG-TS) which is then pushed out as Live output - I’ve fumbled my way to displaying ’localtime’ in a format which achieves about half of what I’m trying to get to, the code sample of that is :
ffmpeg -re -hide_banner -i LIVE_INPUT -vf drawtext="fontsize=90:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='%{localtime\:%H %M %S}'" -f LIVE_OUTPUT
What it achieves is that it displays local time in a "HH MM SS" format instead of "HH:MM:SS"...
I did try escaping ’ :’ by writing it like this :
ffmpeg -re -hide_banner -i LIVE_INPUT -vf drawtext="fontsize=90:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='%{localtime\:%H\\:%M\\:%S}'" -f LIVE_OUTPUT
and this :
ffmpeg -re -hide_banner -i LIVE_INPUT -vf drawtext="fontsize=90:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='%{localtime\:%H\:%M\:%S}'" -f LIVE_OUTPUT
as well as like this :
ffmpeg -re -hide_banner -i LIVE_INPUT -vf drawtext="fontsize=90:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='%{localtime\:%H \: %M \: %S}'" -f LIVE_OUTPUT
But none of the above helped as it returns different errors because ffmpeg tries to either parse ’%H’ ’%M’ and ’%S’ as multiple, separate arguments for localtime (localtime then complains that it can only accept x1 argument at most), or ffmpeg complains that there are loose ’%’ characters near "H" ... clearly I’m not escaping it correctly or my argument order is incorrect...
-
How can I remove "original display aspect ratio" from a mp4 file using ffmpeg ?
21 juin 2020, par aveceuxI wish to remove the "original display aspect ratio" entry from the video section.



Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 44 min 29 s
Bit rate : 5 001 kb/s
Width : 1 920 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 1.55 GiB (97%)




I tried the following commands,



ffmpeg -i input.mp4 -map_metadata -1 -c copy output.mp4



ffmpeg -i input.mp4 -metadata original_display_aspect_ratio=0 -c copy output.mp4



but none of them worked.



If I want to remove the "original display aspect ratio" entry completely, what ffmpeg command can I use to achieve that ?



Thank you.



EDIT :
The result of mediainfo -f :



General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Count of audio streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Audio_Format_List : AAC LC
Audio_Format_WithHint_List : AAC LC
Audio codecs : AAC LC
Complete name : Downloads/3.mp4
File name : Downloads/3.mp4
File name : Downloads/3
File extension : mp4
Format : MPEG-4
Format : MPEG-4
Format/Extensions usually used : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name : MPEG-4
Format profile : Base Media
Internet media type : video/mp4
Codec ID : isom
Codec ID : isom (isom/iso2/avc1/mp41/letv)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : isom/iso2/avc1/mp41/letv
File size : 1715744367
File size : 1.60 GiB
File size : 2 GiB
File size : 1.6 GiB
File size : 1.60 GiB
File size : 1.598 GiB
Duration : 2670080
Duration : 44 min 30 s
Duration : 44 min 30 s 80 ms
Duration : 44 min 30 s
Duration : 00:44:30.080
Duration : 00:44:29:24
Duration : 00:44:30.080 (00:44:29:24)
Overall bit rate : 5140653
Overall bit rate : 5 141 kb/s
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 66749
Stream size : 3988740
Stream size : 3.80 MiB (0%)
Stream size : 4 MiB
Stream size : 3.8 MiB
Stream size : 3.80 MiB
Stream size : 3.804 MiB
Stream size : 3.80 MiB (0%)
Proportion of this stream : 0.00232
HeaderSize : 1510470
DataSize : 1711755635
FooterSize : 2478262
IsStreamable : Yes
File creation date : UTC 2019-02-20 11:24:46.448
File creation date (local) : 2019-02-20 19:24:46.448
File last modification date : UTC 2017-05-26 00:00:00.000
File last modification date (local) : 2017-05-26 08:00:00.000
Writing application : Lavf56.15.102
Writing application : Lavf56.15.102

Video
Count : 348
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 1
ID : 1
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, ReFrames : 4
Format settings, ReFrames : 4 frames
Internet media type : video/H264
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2669960
Duration : 44 min 29 s
Duration : 44 min 29 s 960 ms
Duration : 44 min 29 s
Duration : 00:44:29.960
Duration : 00:44:29:24
Duration : 00:44:29.960 (00:44:29:24)
Bit rate : 5000927
Bit rate : 5 001 kb/s
Width : 1920
Width : 1 920 pixels
Height : 1072
Height : 1 072 pixels
Sampled_Width : 1920
Sampled_Height : 1072
Pixel aspect ratio : 0.993
Display aspect ratio : 1.779
Display aspect ratio : 16:9
Original display aspect ratio : 1.778
Original display aspect ratio : 16:9
Rotation : 0.000
Frame rate mode : CFR
Frame rate mode : Constant
FrameRate_Mode_Original : VFR
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 66749
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 1669034254
Stream size : 1.55 GiB (97%)
Stream size : 2 GiB
Stream size : 1.6 GiB
Stream size : 1.55 GiB
Stream size : 1.554 GiB
Stream size : 1.55 GiB (97%)
Proportion of this stream : 0.97278
Codec configuration box : avcC

Audio
Count : 277
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
StreamOrder : 1
ID : 2
ID : 2
Format : AAC
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Commercial name : AAC
Format_AdditionalFeatures : LC
Codec ID : mp4a-40-2
Duration : 2670080
Duration : 44 min 30 s
Duration : 44 min 30 s 80 ms
Duration : 44 min 30 s
Duration : 00:44:30.080
Duration : 00:44:34:09
Duration : 00:44:30.080 (00:44:34:09)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 128000
Bit rate : 128 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Channel positions : Front: L R
Channel positions : 2/0/0
Channel layout : L R
Samples per frame : 1024
Sampling rate : 44100
Sampling rate : 44.1 kHz
Samples count : 117750528
Frame rate : 43.066
Frame rate : 43.066 FPS (1024 SPF)
Frame count : 114991
Compression mode : Lossy
Compression mode : Lossy
Stream size : 42721373
Stream size : 40.7 MiB (2%)
Stream size : 41 MiB
Stream size : 41 MiB
Stream size : 40.7 MiB
Stream size : 40.74 MiB
Stream size : 40.7 MiB (2%)
Proportion of this stream : 0.02490
Default : Yes
Default : Yes
Alternate group : 1
Alternate group : 1



-
Why "comment" ID3tag not display in Windows and VLC ? [duplicate]
5 février 2021, par xav-stargateI add a simple comment


.\ffmpeg.exe -i input.mp3 -acodec copy -metadata comment="My comment" output.mp3



"My comment" is not display in the file properties
"My comment" is display in VLC BUT only in metadata tab, not in "General" tab


If I add the comment into the file properties, the comment is display in "General" tab.


Someone can help me ?


I've already try with -id3v2_version 3 :


.\ffmpeg.exe -i input.mp3 -acodec copy -id3v2_version 3 -metadata comment="My comment" output.mp3