
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (44)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (3380)
-
How can we play 2 videos side by side as per the resolution we provide to the output video and adjust the two input videos position
1er décembre 2023, par Bhavya Nayak-> For playing two video side by side as per the output video resolution I provide :-


- 

- I want output video of resolution 1280x720 so for this.




a. First I have trimmed the two video using below command :-


ffmpeg -i input_viedo.mp4 -ss 00:00:10 -t 00:00:20 -vf "scale=1920:1080,pad=1920:1080:0:0:yellow" -c:v libx264 -c:a aac -strict -2 output_video_trimmed.mp4




b. Now to I want to play both the trimmed video into one output video file as per the position I provide , so for this I have tried below command which is not giving the correct output :


ffmpeg -i output_video_trimmed_1.mp4 -i output_trimmed_2.mp4 -filter_complex "[0:v]scale=634:360[pad1];[1:v]scale=640:360[pad2];[pad1]pad=1280:360:0:100[tl];[pad2]pad=1280:360:634.752:130.392[br];[tl][br]vstack,scale=1280:720[output]" -map "[output]" -c:v libx264 -preset ultrafast -crf 18 -c:a aac -b:a 1280x720 output_final_video.mp4



- 

- In above command I have provide the specific width,height,top,left of the input video I want ,




But it is not giving me correct output.


—> Output I am getting by running this command is attached below :-


Output video Image I am getting by running above command




—> The issue in above command is while adding top it is not working properly , like top is not affecting the video so I want the solution for that.


-
Python - How to convert .mkv videos to .mp4 videos
2 septembre 2022, par sabariI have two folders.
Download folder and converted folder.


I want to convert files from .mkv to .mp4


import os
import boto3
import ffmpeg
from os import path, makedirs

downloadFolder = 'D:'+os.sep+'abc'+os.sep+'def'+os.sep+'downloaded'
convertedFolder = 'D:'+os.sep+'abc'+os.sep+'def'+os.sep+'converted'

#find the number of files in the Downloaded folder
initial_count = 0
for path in os.listdir(downloadFolder):
 if os.path.isfile(os.path.join(downloadFolder, path)):
 initial_count += 1
print("Files downloaded")
print(initial_count)

# convert all files from .mkv to .mp4
source_folder = downloadFolder
for file_name in os.listdir(source_folder):
 try:
 # construct full file path
 source = source_folder + os.sep + file_name
 print("source"+source)
 destination = convertedFolder +os.sep +file_name
 # copy only files
 if os.path.isfile(source):
 name, ext = os.path.splitext(file_name)
 outFileName = convertedFolder + os.sep + name + '.mp4'
 # convert .mkv into .mp4
 ffmpeg.input(source).output(outFileName).run()
 except Exception as e:
 # print("Exception "+ key['Key'])
 print("error")
 print(e)



The below is the error i get because of ffmpeg


error
[WinError 2] The system cannot find the file specified



I also tried moviepy library. But couldnt solve.
Please let me know a solution.


Thanks.


-
Disk [videos] does not have a configured driver
25 septembre 2024, par oshakabI am trying to create a thumbnail using laravel and ffmpeg. But am getting this error.



Disk [videos] does not have a configured driver.



My code



public function index()
{
 FFMpeg::fromDisk('videos')
 ->open('steve_howe.mp4')
 ->getFrameFromSeconds(10)
 ->export()
 ->toDisk('thumnails')
 ->save('FrameAt10sec.png');
 // $videos = Videos::where('user_email', Auth::user()->email)->get();
 // return view('instructor.videos')->with('videost', $videos);
}




What could be the solution. Thanks