
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (83)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (8863)
-
moviepy ruining video after combining them
1er juin 2020, par jjakeryanI'm trying to make a program that downloads videos from TikTok and combines all the separate videos into one .mp4 file and moves the final video to a folder on my desktop. I've been able to make it download all the videos and when I watch the separate videos they play fine however when I combine the videos some of the videos are messed up and look like this but the audio is fine.



#slecting all .mp4 files
 video_files = glob.iglob("*.mp4")

 print(video_files)
 clips = []

 for clip in video_files: # For each mp4 file name
 clips.append(VideoFileClip(clip)) # Store them as a VideoFileClip and add to the clips list

 today = date.today()

 final = concatenate_videoclips(clips) # Concatenate the VideoFileClips
 final.write_videofile(f"{today}.mp4", codec="libx264")


#moving completed video to folder on desktop
 shutil.move(f'{today}.mp4', '/Users/jacobmarrandio/Desktop/done_videos/')




thanks for any help


-
ffmpeg - How to estimate CRF for h264 video target size
10 septembre 2022, par the_RRAccording to the x264 encode documentation, in the CRF topic, it is informed that for every 6 additional points, the file size is reduced by approximately 50%.


From this statement, it is assumed that the CRF has an exponential influence in reducing the final size of the video. But what is the exponential ratio ?


I wouldn't want to use CRF18 with max-rate adjusted to reach a final size, as maxrate damage complex video scenes more strongly, as bitrate reduction via max_rate is not uniform, but it hits the scenes that require the highest bitrate first.


-
How to properly abort av_seek_frame on FFmpeg ?
5 mars 2021, par SuRGeoNixNormally, you wouldn't care aborting av_seek_frame as it would be really fast on a local file. However, in my case I use a custom AVIOContext for torrent streaming with custom read/seek functions and I'm not able to abort a single seek request !


I've already tried interrupt callbacks (they will not be called at all), some timeouts (rw_timeout/timeout etc.) but by checking FFmpeg's code didn't find anything at all. My last chance was to try to return on read/seek functions an error (I've tried AVERROR_EXIT) which causes even more problems (memory leaks).


The main issue is with Matroska formats that they need to resync (level-1) and they are trying to scan the whole file.


Unfortunately, I'm using C# .NET with FFmpeg.Autogen bindings which means that I don't have low-level access to play around. My workaround is to re-open the whole format context in case on seek abort (to ensure that the player will continues to play at least)


Hope you have a tip for me !


(By the way for some http/hls web formats interrupt callbacks are supported)