
Recherche avancée
Autres articles (52)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (6917)
-
Batch file not running, only individual command runs
11 décembre 2019, par Rajiv SukhlaI have a batch file of the following code
cd C:\xampp\htdocs\Projects\videos\images_compare_english && ffmpeg -framerate .25 -i img-%02d.jpg -i music.mp3 -c:v libx264 -preset veryslow -crf 0 -c:a copy -shortest compare_english\output.mp4
The above code has two commands which is separated by
&&
, means the second command will run only after the execution of the first. But it is not running. I am basically combining some images with music. But it is not working. However entering manually one command at a time works. Can anybody help me, what is the problem with command prompt ? -
Splitting multiple videos into shorter ones at once
6 juin 2022, par detach429I am trying to split my videos into multiple shorter ones, I've managed to make it work for one video, code is given below, but I have multiple videos saved in a folder and I want the code to go through all of them at once, so I don't have to manually change paths for every video, can anyone help ?


required_video_file = 'Videos/Logitech/LogiCapture/1_stresni.mp4'

with open("times.txt") as f:
 times = f.readlines()

times = [x.strip() for x in times] 

for time in times:
 starttime = int(time.split('-')[0])
 endtime = int(time.split("-")[1])
 ffmpeg_extract_subclip(required_video_file, starttime, endtime, targetname=str(times.index(time)+1)+".mp4")```




-
Splitting multiple videos into shorter based on frame count
15 décembre 2022, par LEstvsI can cut the video based on seconds, for example, I can cut the video from second 0 to second 10 and from second 10 to second 20. But I need to cut the video from frame 0 to frame 250 and from frame 250 to frame 500 because of some error due the counting of second. Does anyone has any idea about this ?


Here is the code I use to cut based on seconds :


required_video_file = "H8.avi"

with open("Z:/temp/Letícia/Videos/teste/times.txt") as f:
 times = f.readlines()

times = [x.strip() for x in times] 

for time in times:
 starttime = int(time.split('-')[0])
 endtime = int(time.split("-")[1])
 ffmpeg_extract_subclip(required_video_file, starttime, endtime, targetname=str(times.index(time)+1)+".avi")