
Recherche avancée
Autres articles (81)
-
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 (...) -
Les sons
15 mai 2013, par -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (5905)
-
Videos which is only played by particular app, need help to save it
19 septembre 2015, par KumarThere’s a app(i can’t disclose the app name) which plays video stored in memory card and videos have no extension, by viewing the file sizes im assuming that they are the videos + I also check changing the extension with mp4 flv 3gp etc but no success. I then decompiled the app and saw that app is using ffmpeg-jni to play the videos. Anybody can help me in this ? and yeah all videos have IGN in their meta tag.
Thanks
-
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.