
Recherche avancée
Autres articles (79)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (8817)
-
How to convert multiple video files in a specific path outputvideo with the same video name
31 janvier, par Oussama GamerThe following code to converts a one video from mp4 to avi using ffmpeg


ffmpeg.exe -i "kingman.mp4" -c copy "kingman.avi"


I need to convert multiple videos in a specific path. "outputvideo" with the same video name


This is the my code that needs to be modified.


from pathlib import Path
import subprocess
from glob import glob

all_files = glob('./video/*.mp4')

for filename in all_files:
 videofile = Path(filename)
 outputfile = Path(r"./outputvideo/")
 codec = "copy"
 ffmpeg_path = (r"ffmpeg.exe")

outputfile = outputfile / f"{videofile.stem}"

outputfile.mkdir(parents=True, exist_ok=True)

command = [
 f"{ffmpeg_path}",
 "-i", f"{videofile}",
 "-c", f"{codec}",
 "{outputfile}",]

process = subprocess.Popen(
 command,
 stdout=subprocess.PIPE,
 stderr=subprocess.PIPE,
 text=True,
 bufsize=1,
 universal_newlines=True)
process.communicate()



-
How to get information of dropped frames and resolution of the played video from Video player like VLC
7 juillet 2020, par Ashutosh SinglaI was playing 360° videos using whirligig player for my subjective test and I was wondering how can I get the information of dropped frames and resolution of video played by the player. 
The source resolution of the video is 1080p, and the frame rate is 30fps



When I watching videos on YouTube, I am able to derive the above information by right clicking and looking at the 'stats for nerds' option - see example below :






But didn't get the required information for the videos played on whirligig player such as dropped frames, actual bitrate playable on the player and playable resolution.



Any suggestions ?


-
Batch overlay logo to directory of video files with scale watermark in percentage of video resolution
28 septembre 2017, par Aariyan mindhelp me how to add auto scale watermark in percentage of video resolution code in this ?
for %%I in ("C:\Users\demo\*.mp4") do ffmpeg.exe -i "%%I" -filter_complex "movie=180n.png[watermark];[watermark][0]scale2ref=350*iw/2140:42*iw/2140[wm][v];[wm]setsar=1[logo];[v][logo] overlay=10:10:enable=not(between'(t,30,210)')[watermark]" -map "[watermark]" -map 0:a -codec:v libx264 -codec:a copy "C:\Users\files\%%~nI.mp4"
pause