
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (42)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les images
15 mai 2013 -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (7243)
-
How to convert ffmpeg command to ffmpeg-python
1er décembre 2020, par Retro PieHello and thanks for reading.


I have the following command :
ffmpeg -i tmp.mp4 -loop 1 -i mask.png -filter_complex "[0:v]split [a][b];[a]transpose=1,crop=720:888:0:196,scale=876:1080,setdar=876/1080 [crop];[b]transpose=1,crop=720:888:0:196,scale=1920:1080,setdar=16/9,avgblur=76 [back];[1:v]alphaextract [mask];[crop][mask]alphamerge [masked];[back][masked]overlay=522:0" "out.mp4


And I would like to convert it to ffmpeg-python syntax. So far I was able to come up with the bellow, but it far from ready :


overlay_file = ffmpeg.input(mask)
(
ffmpeg
.input(tmp).split()
.overlay(overlay_file.hflip())
.alphaextract(),
.alphamerge(),
.output('out.mp4')
.run()
)



Any help will be appreciated.


-
FFMPEG concat causing audio glitches in segments boundaries
28 mai 2017, par IdanI am segmenting a video file to 10sec segments, transcoding each of them and then run a concat to merge them all back together.
While the whole process works without errors and the final file is valid and playable, I’ve noticed some sort of glitches/interruptions in the audio stream when passing over the original segments boundaries.For example, in a 60sec video that was segmented to 10sec segments and stitched back again, the final output will show audio interruptions in 10/20/30/40/50 sec timestamps.
For segmenting the files I use :
ffmpeg -y -i $INPUT_FILE -c copy -flags -global_header -segment_time 10 -break_non_keyframes 0 -reset_timestamps 1 -segment_list file_segs.list -segment_list_type ffconcat -write_empty_segments 0 -segment_format mp4 -f segment file_seg-%d.mp4
And for concat I use :
ffmpeg -y -f concat -i file_segs.list -c copy -movflags +faststart file_video.mp4
Transcoding is to libx264 / aac
What might be the cause ? Is there any way to work around this problem ?
-
FFMPEG concat causing audio glitches in segments boundaries
28 mai 2017, par IdanI am segmenting a video file to 10sec segments, transcoding each of them and then run a concat to merge them all back together.
While the whole process works without errors and the final file is valid and playable, I’ve noticed some sort of glitches/interruptions in the audio stream when passing over the original segments boundaries.For example, in a 60sec video that was segmented to 10sec segments and stitched back again, the final output will show audio interruptions in 10/20/30/40/50 sec timestamps.
For segmenting the files I use :
ffmpeg -y -i $INPUT_FILE -c copy -flags -global_header -segment_time 10 -break_non_keyframes 0 -reset_timestamps 1 -segment_list file_segs.list -segment_list_type ffconcat -write_empty_segments 0 -segment_format mp4 -f segment file_seg-%d.mp4
And for concat I use :
ffmpeg -y -f concat -i file_segs.list -c copy -movflags +faststart file_video.mp4
Transcoding is to libx264 / aac
What might be the cause ? Is there any way to work around this problem ?