
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (36)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (13072)
-
avcodec/v4l2_context : don't reinit output queue on dynamic resolution change event
4 janvier 2022, par Ming Qianavcodec/v4l2_context : don't reinit output queue on dynamic resolution change event
Reference :
linux/Documentation/userspace-api/media/v4l/dev-decoder.rst
"During the resolution change sequence, the OUTPUT queue must remain
streaming. Calling VIDIOC_STREAMOFF() on the OUTPUT queue would
abort the sequence and initiate a seek.In principle, the OUTPUT queue operates separately from the CAPTURE
queue and this remains true for the duration of the entire
resolution change sequence as well."Reviewed-by : Andriy Gelman <andriy.gelman@gmail.com>
Signed-off-by : Ming Qian <ming.qian@nxp.com> -
ffmpeg : is there a simple way to edit the video resolution, but keep all audio and subtitles
21 avril 2022, par ArkeenI would like to lower video resolution - usually from
.mkv
files - but to keep all possible audio tracks (might be only one, might be several) and subtitles (might be none, might be several) from the original one. I also would like to keep as many encoding parameters as I can from the original video file (especially those I do not understand).

I am still new to ffmpeg : at first the idea seemed simple, but after many attempts, it seems it is more complex than that. Do I have to use the
-filter_complex
option ? It seems to be an overkill (or overcomplex) for what I thought to be an easy conversion, but I might be wrong.

I tried to combine
-vf scale=-1:720
with-c copy -map 0
, which gave me an error that I now understand, but I am stuck with the next step.

Any lead on to achieve that ? Could it be done with ffmpeg only or would I need a script ?


-
preserve alpha channel when changing resolution in webm vp9 ffmpeg
28 juin 2022, par Patrick VelliaI am running the streamio-ffmpeg gem in my Ruby code here to operate the FFMPEG command.


Setting a Webm with codec VP9 that has alpha transparent frames in it as the input, I want to change the resolution from 1080p to 720p and preserve the alpha transparent frames when outputting to the same format/codec.


I've tried it several different ways, but every time it outputs with a black background where the alpha transparent background should be, but ffprobe shows that ALPHA_MODE is set to 1.


Here's the command that streamio-ffmpeg tells the system :


["/usr/local/bin/ffmpeg", "-y", "-i", "part1.webm", "-s", "1920x1080", "-aspect", "1.7777777777777777", "videos/movie_transparent_1920x1080.webm"]



This one should have been exactly the same as the original, since the original resolution WAS 1080p. The resulting file is actually black background instead of transparent.


Here's my Ruby code :


def process_alpha_transparency(output)
 render_res = []
 case @height
 when 1080..2160
 render_res.append("1920x1080", "1280x720", "852x480")
 when 720..1079
 render_res.append("1280x720", "852x480")
 when 480..719
 render_res.append("852x480")
 when 0..479
 render_res.append(@resolution)
 end

 formats = ["webm", "mov"]
 combined_time_start = Time.now

 render_res.each do |res|
 formats.each do |format|
 puts "Rendering a #{res} resolution version."
 if format == "webm"
 options = {
 resolution: res 
 }

 time_start = Time.now
 @movie.transcode("videos/#{output}_transparent_#{res}.#{format}", options)
 time_elapsed = Time.now - time_start

 puts "Te resolution rendering completed in #{time_elapsed.to_i.to_s} seconds."
 end
 end
 end

 combined_elapsed_time = Time.now - combined_time_start
 puts "The process completed in #{combined_elapsed_time.to_i.to_s} seconds."

 
end