
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (72)
-
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 (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (6206)
-
FFmpeg : concatenate m4v-files while preserving vobsub subtitles ?
27 octobre 2020, par NickI'm trying to concatenate two h.264-m4v files using ffmpeg. At least one of the source files (at least the second, not necessarily the first) contains subtitles in the vobsub format. The source files were created using HandBrake which allows for vobsub inclusion in m4v-containers. The files are exactly the same codec, same resolution, same type.


Let's suppose the source files are called 1.m4v and 2.m4v. The 2.m4v-file contains the following streams which I want to have included in the output file :


Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt470bg), 702x574 [SAR 16:15 DAR 1872:1435], 607 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 creation_time : 2020-10-11T16:02:38.000000Z
 handler_name : VideoHandler
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 350 kb/s (default)
 Metadata:
 creation_time : 2020-10-11T16:02:38.000000Z
 handler_name : Stereo
 Stream #0:2(eng): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x576, 3 kb/s (default)
 Metadata:
 creation_time : 2020-10-11T16:02:38.000000Z
 handler_name : SubtitleHandler
 Stream #0:3(eng): Data: bin_data (text / 0x74786574)
 Metadata:
 creation_time : 2020-10-11T16:02:38.000000Z
 handler_name : SubtitleHandler



The two files are included in a
sources.txt
file containing the following lines :

file '1.m4v'
file '2.m4v'



The command in ffmpeg is then executed as follows :


$ ffmpeg -f concat -safe 0 -i sources.txt -c copy output.m4v



The resulting file correctly combines 1 and 2 with all their audio and video streams. However, the subtitle streams are omitted by ffmpeg. The output.m4v file does not contain them (Stream #0:2(eng) and Stream #0:3(eng) are not present) :


Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt470bg), 702x576 [SAR 16:15 DAR 13:10], 626 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 349 kb/s (default)
 Metadata:
 handler_name : Stereo



This also happens if I alter the command to use
-scodec copy
as an option. In this case, the joining-process fails with the following error :

[ipod @ 0x7f7faa00c000] Could not find tag for codec dvd_subtitle in stream #2, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 -- 



Any idea on how to join the two files while preserving the vobsubs in the resulting m4v-container ?


-
ffmpeg - DF vs NDF (Drop Frames) vs (Non Drop Frames), how to simply pass input timecode to output
24 septembre 2020, par SelenePlease help with this issue. The broadcaster just rejected my submitted video because their validation tool threw this kind of error :




was configured as "Non drop Frame". "Drop Frame" expected.




I'm only processing video, and I expect the audio to just be copied from input to output.
Running and comparing input with output using ffprobe shows difference in timecode :


Metadata:
 major_brand : qt 
 minor_version : 537199360
 compatible_brands: qt 
 creation_time : 2020-02-29T22:07:42.000000Z
 Duration: 00:00:20.05, start: 0.000000, bitrate: 133935 kb/s
 Stream #0:0(eng): Video: dvvideo (dvh6 / 0x36687664), yuv422p(bt709, top coded first (swapped)), 1280x1080 [SAR 3:2 DAR 16:9], 115084 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 29.97 tbc (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Video Media Handler
 encoder : DVCPRO HD 1080i60
 timecode : 00:00:00;00
 Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00



After video conversion, the output of ffprobe :


Metadata:
 major_brand : qt 
 minor_version : 512
 compatible_brands: qt 
 encoder : Lavf58.58.100
 Duration: 00:00:20.05, start: 0.000000, bitrate: 167037 kb/s
 Stream #0:0(eng): Video: prores (XQ) (ap4x / 0x78347061), yuv422p12le(tv, bt709, top coded first (swapped)), 1920x1080, 148578 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
 Metadata:
 handler_name : Apple Video Media Handler
 encoder : Lavc58.106.100 prores_ks
 timecode : 00:00:00:00
 Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 handler_name : Apple Sound Media Handler
 Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 handler_name : Apple Sound Media Handler
 Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 handler_name : Apple Sound Media Handler



My encoding string looks like this :


ffmpeg -i input.mov -vf scale=1920x1080 -map 0:v? -map 0:a? -map 0:s? -map 0:d? -b:v 115084915 -maxrate 115084915 -minrate 115084915 -c:v prores_ks -profile:v 5 -preset ultrafast -crf 0 -c:a copy -c:s copy -y output.mov



Please help !


-
Concat mp4 videos and merge their audios to the final output
24 août 2020, par Yevhenii MolodtsovI have several videos and photos and need to merge them with the cross-dissolve effect. The algorithm is next :


- 

- Create videos from images and add silent audio to them (so they will also have a sound stream) :




ffmpeg -y -f lavfi -i anullsrc -loop 1 -i /tmp/media/import-2020-Aug-19-Wednesday-05-40-34/ea5c93fd-d946-4742-b8f7-ea9ae4d43441.jpg -c:v libx264 -t 10 -pix_fmt yuv420p -vf scale=750:1280 /tmp/media/import-2020-Aug-19-Wednesday-05-40-34/ea5c93fd-d946-4742-b8f7-ea9ae4d43441.mp4



- 

- Combine all the videos and audios into one using this command :




ffmpeg 
-i /tmp/media/import-2020-Aug-19-Wednesday-05-40-34/temp_68d437c0-f5e2-4651-b07e-91533480b6ef.mp4 
-i /tmp/media/import-2020-Aug-19-Wednesday-05-40-34/temp_48f3c111-610d-40c7-ac71-6ce2fbb16184.mp4 
-i /tmp/media/import-2020-Aug-19-Wednesday-05-40-34/temp_1593b5d8-7e16-417d-9372-2267581cd504.mp4 
-i /tmp/media/import-2020-Aug-19-Wednesday-05-40-34/temp_1ac7f6be-1b12-4e31-b904-1491cc9b9494.mp4 
-i /tmp/media/import-2020-Aug-19-Wednesday-05-40-34/temp_ea5c93fd-d946-4742-b8f7-ea9ae4d43441.mp4 
-filter_complex 
"[0:v]trim=start=0:end=8.032,setpts=PTS-STARTPTS[clip0];
[1:v]trim=start=2:end=13.047,setpts=PTS-STARTPTS[clip1];
[2:v]trim=start=2:end=13.558,setpts=PTS-STARTPTS[clip2];
[3:v]trim=start=2:end=13.186,setpts=PTS-STARTPTS[clip3];
[4:v]trim=start=2,setpts=PTS-STARTPTS[clip4];
[0:v]trim=start=9.032:end=10.032,setpts=PTS-STARTPTS[out0];
[1:v]trim=start=14.047:end=15.047,setpts=PTS-STARTPTS[out1];
[2:v]trim=start=14.558:end=15.558,setpts=PTS-STARTPTS[out2];
[3:v]trim=start=14.186:end=15.186,setpts=PTS-STARTPTS[out3];
[1:v]trim=start=0:end=2,setpts=PTS-STARTPTS[in1];
[2:v]trim=start=0:end=2,setpts=PTS-STARTPTS[in2];
[3:v]trim=start=0:end=2,setpts=PTS-STARTPTS[in3];
[4:v]trim=start=0:end=2,setpts=PTS-STARTPTS[in4];
[in1]format=pix_fmts=yuva420p,fade=t=in:st=0:d=2:alpha=1[fadein1];
[in2]format=pix_fmts=yuva420p,fade=t=in:st=0:d=2:alpha=1[fadein2];
[in3]format=pix_fmts=yuva420p,fade=t=in:st=0:d=2:alpha=1[fadein3];
[in4]format=pix_fmts=yuva420p,fade=t=in:st=0:d=2:alpha=1[fadein4];
[out0]format=pix_fmts=yuva420p,fade=t=out:st=0:d=2:alpha=1[fadeout0];
[out1]format=pix_fmts=yuva420p,fade=t=out:st=0:d=2:alpha=1[fadeout1];
[out2]format=pix_fmts=yuva420p,fade=t=out:st=0:d=2:alpha=1[fadeout2];
[out3]format=pix_fmts=yuva420p,fade=t=out:st=0:d=2:alpha=1[fadeout3];
[fadein1]fifo[fadein1fifo];
[fadein2]fifo[fadein2fifo];
[fadein3]fifo[fadein3fifo];
[fadein4]fifo[fadein4fifo];
[fadeout0]fifo[fadeout0fifo];
[fadeout1]fifo[fadeout1fifo];
[fadeout2]fifo[fadeout2fifo];
[fadeout3]fifo[fadeout3fifo];
[fadeout0fifo][fadein1fifo]overlay[crossfade0];
[fadeout1fifo][fadein2fifo]overlay[crossfade1];
[fadeout2fifo][fadein3fifo]overlay[crossfade2];
[fadeout3fifo][fadein4fifo]overlay[crossfade3];
[clip0][crossfade0][clip1][crossfade1][clip2][crossfade2][clip3][crossfade3][clip4]concat=n=9[output];
[0:a][1:a]acrossfade=d=10:c1=tri:c2=tri[A1];
[A1][2:a]acrossfade=d=10:c1=tri:c2=tri[A2];
[A2][3:a]acrossfade=d=10:c1=tri:c2=tri[A3];
[A3][4:a]acrossfade=d=10:c1=tri:c2=tri[audio] " 
-vsync 0 -map "[output]" -map "[audio]" /tmp/media/final/some_filename_d0d2aab0-792a-4540-b2d3-e64abe98bf5c.mp4



And all works pretty well, but if I have, for example :


- 

- picture
- video
- video
- picture










Then the sound from the second video is mapping to the first picture and sound from the third video to second video. And the third video actually goes without sound.


It seems like it's happening because the silent sound of the first picture is pretty short. An I right ?
If so, how can I increase its duration ?


I would much appreciate any help with this !