
Recherche avancée
Autres articles (39)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6319)
-
Jerky Video from Jpgs encoded with ffmpeg [closed]
16 février 2012, par GlstunnaI have a bunch of jpg snapshots taken from a 3d program at perfect time frames.
But when I have the videos compiled/encoded into a video by ffmpeg, I notice an annoying jerkiness. The jerkiness is not that pronounced, but enough to be annoying, especially during slow camera pans.This is what I use :
"ffmpeg-lgpl.exe" -y -r 29.97 -i "C:\vidsnaps\vid_%d.jpg" -b 8000k "C:\Users\peki.ICE\Documents\macbattle.mpg"
I chose mpg (mpeg1video) because that is the format readily available in all end-user systems like XP without downloading extra codecs. The video images are guaranteed to match that framerate 29.97 as the camera in the 3d program pretty much waits for each frame to be dumped to file before moving to the next one.
What other fancy ffmpeg flags do I have to set for this thing to stop being jerky.
EDIT : see video example here and notice the light jerk/stuttering.
http://www.youtube.com/watch?v=g-slsJBZA2w&feature=youtu.be -
yt-dlp how to download a specific video using timestamps, and limiting the download resolution ?
30 septembre 2023, par ignacMI am running a python program to download a video, this is the command I use :


command = ['powershell.exe ffmpeg',
 '-ss', str(start),
 '-i', '$(yt-dlp',
 '-f', 'bestvideo[ext=webm]',

 '-g', '"%s")' % (url_base + video_identifier),
 '-t', str(end - start),
 '-c:v', 'libx264', '-c:a', 'copy', '%s' % output_filename]

command = ' '.join(command)
output = subprocess.check_output(command, shell=True, stderr=subprocess.STDOUT)



This prints something like
powershell.exe ffmpeg -ss 10 -i $(yt-dlp -f bestvideo[ext=webm] -g "https://www.youtube.com/watch?v=Z15erfLqNKo") -t 10 -c:v libx264 -c:a copy C :\Users...\video.mp4


This works perfectly fine. However, I tried to download a video that had very high resolution (4K) and I want to limit the resolution when downloading. I have found that placing [height<=1080] as so should work :


powershell.exe ffmpeg -ss 10 -i $(yt-dlp -f bestvideo[ext=webm][height<=1080] -g "https://www.youtube.com/watch?v=Z15erfLqNKo") -t 10 -c:v libx264 -c:a copy C :\Users...\video.mp4


However this does not work for me and gives me the error :
Error command "" returned non-zero exit status 1.
Output : b'The system cannot find the file specified.\r\n'


I also have noticed that only limiting the resolution does not work for me either :


powershell.exe ffmpeg -ss 10 -i $(yt-dlp -f bestvideo[height<=1080] -g "https://www.youtube.com/watch?v=Z15erfLqNKo") -t 10 -c:v libx264 -c:a copy C :\Users...\video.mp4


Actually, placing [height<=1080] after bestvideo never works, no matter what I do.


What could be the problem ? Or what command can I run to achieve both tasks (limit resolution and download specific timeframe (not whole video and cutting it)) ?


-
FFMPEG - speed up/slow down video, add jitter etc
27 septembre 2019, par DarrellI’m trying to put together a Windows script that will process short videos in a folder.
The videos will be shot at a high frame rate 60+ fps and be about 4-5 secs long.Basically I am looking to make various style clips, using fast/slow effects, back and forth etc.
So, the script might process a video, make it start normal speed, then slow motion. Next video might be normal speed, slomo, normal speed slomo. Next video might be forwards,back, forwards back, slomo.See example : (this is a compliation, I’m looking at processing individual videos in a folder.)
http://www.youtube.com/watch?v=K03IBQZu8SQ
I’m guessing there is no way to do this, other than splitting a clip using FFMPEG, processing the bits, then merging back together ? I can’t seem to find a way to do it as one clip.