
Recherche avancée
Autres articles (72)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (4031)
-
Cannot extract audio tracks from video using ffmpeg
29 juillet 2021, par MentosI tried to extract and transcode audio tracks from video, but I got an error :
Filter split:output1 has an unconnected output
. How to fix this problem ?

ffmpeg command :


ffmpeg -i video.mp4 -filter_complex [0]split=2[s0][s1] -map [s0] -c:a aac -dn -map -0:v? -map 0:1 -map_chapters -1 -map_metadata -1 -sn video-0.aac -map [s1] -ac 2 -c:a aac -dn -map -0:v? -map 0:2 -map_chapters -1 -map_metadata -1 -sn video-1.aac -y



fprobe full output (strip information about chapters) :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 title : SomeTitle
 encoder : Lavf58.45.100
 Duration: 00:21:35.58, start: 0.000000, bitrate: 10591 kb/s
 Chapters:
 Chapter #0:0: start 0.000000, end 70.000000
 Metadata:
 title : Chapter 1
...
...
 Chapter #0:20: start 1278.000000, end 1295.584000
 Metadata:
 title : Last Chapter
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 9754 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1(rus): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Side data:
 audio service type: main
 Stream #0:2(eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Side data:
 audio service type: main
 Stream #0:3(eng): Data: bin_data (text / 0x74786574), 0 kb/s
 Metadata:
 handler_name : SubtitleHandler



-
ffmpeg timing metadata values differ from the ffprobe output
17 mai 2021, par loretoparisiWhen printing the
ffmetadata
metadata of an audio file with theffmpeg
command :

ffmpeg -i INPUT.mp4 -f ffmetadata FFMETADATAFILE



the approximation of the timing values fields
start
andend
in the[CHAPTER]
object :

[CHAPTER]
TIMEBASE=1/1000
START=533975
END=586975
title=Meltdown/Spectre patched



is different from the same timing metadata, obtained using the
JSON
output withffprobe
the command :

ffprobe -i INPUT.mp4 -show_chapters -print_format json



that is


{
 "id": 2,
 "time_base": "1/1000",
 "start": 534000,
 "start_time": "534.000000",
 "end": 587000,
 "end_time": "587.000000",
 "tags": {
 "title": "Meltdown/Spectre patched"
 }
 }



where
start_time
isstart
andend_time
isend
of theffmpeg
output. Is there a way to handle the timing info theffprobe
metadata output ?

-
Cutting out a part of a video in ffmpeg creates a corrupted output file
30 octobre 2020, par lagmoellertimI currently have a problem with ffmpeg. I'm trying to cut out a part of a video (e.g. from 00:10:00 to 00:10:30).


I use this command
ffmpeg -ss 600 -to 630 -i not_working.mp4 not_working_part.mp4
.

I tried reencoding the video, but it is still corrupted (only first few frames working, video is multiple hours long but jumps to end if you try to skip).


I use the
-ss
and the-to
parameter before the-i
parameter because it is much faster I want to cut out a part that is e.g. right at the end of the video. Moving the-i
parameter infront of the other args solves the problem, but the performance is really bad for cutouts late in the video. For many other of my videos, both methods work without a problem.

Here is some metadata about the video from ffmpeg :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'media\not_working.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2020-09-22T06:20:53.000000Z
 Duration: 03:03:40.04, start: 0.000000, bitrate: 537 kb/s
 Chapter #0:0: start 0.000000, end 204.120000
 Metadata:
 title : Recording Started
 Chapter #0:1: start 204.120000, end 2045.200000
 Metadata:
 title : Sharing Started
 Chapter #0:2: start 2045.200000, end 2056.880000
 Metadata:
 title : Sharing Stopped
 Chapter #0:3: start 2056.880000, end 4018.280000
 Metadata:
 title : Sharing Started
 Chapter #0:4: start 4018.280000, end 4024.760000
 Metadata:
 title : Sharing Stopped
 Chapter #0:5: start 4024.760000, end 4096.000000
 Metadata:
 title : Sharing Started
 Chapter #0:6: start 4096.000000, end 4101.800000
 Metadata:
 title : Sharing Stopped
 Chapter #0:7: start 4101.800000, end 4481.920000
 Metadata:
 title : Sharing Started
 Chapter #0:8: start 4481.920000, end 4624.480000
 Metadata:
 title : Sharing Stopped
 Chapter #0:9: start 4624.480000, end 6902.000000
 Metadata:
 title : Sharing Started
 Chapter #0:10: start 6902.000000, end 6906.760000
 Metadata:
 title : Sharing Stopped
 Chapter #0:11: start 6906.760000, end 6922.880000
 Metadata:
 title : Sharing Started
 Chapter #0:12: start 6922.880000, end 6936.800000
 Metadata:
 title : Sharing Stopped
 Chapter #0:13: start 6936.800000, end 9140.840000
 Metadata:
 title : Sharing Started
 Chapter #0:14: start 9140.840000, end 9145.680000
 Metadata:
 title : Sharing Stopped
 Chapter #0:15: start 9145.680000, end 9297.600000
 Metadata:
 title : Sharing Started
 Chapter #0:16: start 9297.600000, end 9306.040000
 Metadata:
 title : Sharing Stopped
 Chapter #0:17: start 9306.040000, end 9572.480000
 Metadata:
 title : Sharing Started
 Chapter #0:18: start 9572.480000, end 9620.680000
 Metadata:
 title : Sharing Stopped
 Chapter #0:19: start 9620.680000, end 10020.760000
 Metadata:
 title : Sharing Started
 Chapter #0:20: start 10020.760000, end 10085.480000
 Metadata:
 title : Sharing Stopped
 Chapter #0:21: start 10085.480000, end 10781.920000
 Metadata:
 title : Sharing Started
 Chapter #0:22: start 10781.920000, end 11020.040000
 Metadata:
 title : Sharing Stopped
 Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 53 kb/s (default)
 Metadata:
 creation_time : 2020-09-22T06:20:53.000000Z
 handler_name : AAC audio
 Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 481 kb/s, 25 fps, 25 tbr, 30k tbn, 60k tbc (default)
 Metadata:
 creation_time : 2020-09-22T06:20:53.000000Z
 handler_name : H.264/AVC video
 encoder : AVC Coding
 Stream #0:2(und): Data: bin_data (text / 0x74786574)
 Metadata:
 creation_time : 2020-09-22T06:20:53.000000Z
 handler_name : Text



Here is a link to the -report log file from ffmpeg (on pastebin) : https://pastebin.com/i9ix3GsC