
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (59)
-
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 -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (5543)
-
How can i parse strings as the inputs to subprocess.Popen ?
26 juillet 2013, par rashHere I tried to cut first and second 30sec long video file from "path/connect.flv" to the files output1.flv and output2.flv. It works. I able to concatenate these two files to form a new file "final.flv" of 60sec long. So this works and i am getting the outputs output1.flv [30sec], output2.flv[30sec] and final.flv[1min].
Here is the python code :
import subprocess
ffmpeg_command1 = ["ffmpeg", "-i", "/home/xincoz/test/connect.flv", "-acodec", "copy", "-ss", "00:00:00", "-t", "00:00:30", "/home/xincoz/test/output1.flv"]
ffmpeg_command2 = ["ffmpeg", "-i", "/home/xincoz/test/connect.flv", "-acodec", "copy", "-ss", "00:00:30", "-t", "00:00:30", "/home/xincoz/test/output2.flv"]
ffmpeg_command3 = ["mencoder", "-forceidx", "-ovc", "copy", "-oac", "pcm", "-o", "/home/xincoz/test/final.flv", "/home/xincoz/test/output1.flv", "/home/xincoz/test/output2.flv"]
subprocess.call(ffmpeg_command1)
subprocess.call(ffmpeg_command2)
subprocess.Popen(ffmpeg_command3)But what i really want is to concatenate two strings out1 and out2 and concatinate these two to a file instead of concatenating "/home/xincoz/test/output1.flv" and "/home/xincoz/test/output2.flv". So how can i parse string out1 and out2 as the inputs to mencoder ? Please edit my code to achieve the result.
import subprocess,os
ffmpeg_command = ["ffmpeg", "-i", "/home/xincoz/test/connect.flv", "-acodec", "copy", "-ss", "00:00:00", "-t", "00:00:30","-f", "flv", "pipe:1"]
p = subprocess.Popen(ffmpeg_command,stdout=subprocess.PIPE)
out1, err = p.communicate()
ffmpeg_command1 = ["ffmpeg", "-i", "/home/xincoz/test/connect.flv", "-acodec", "copy", "-ss", "00:00:30", "-t", "00:00:30","-f", "flv", "pipe:1"]
p1 = subprocess.Popen(ffmpeg_command1,stdout=subprocess.PIPE)
out2, err1 = p1.communicate()
ffmpeg_command2 = ["mencoder", "-forceidx", "-ovc", "copy", "-oac", "pcm", "-o", "/home/xincoz/test/final.flv", out1, out2 ]
p2=subprocess.Popen(ffmpeg_command2)Please help me. Thanks a lot in advance.
-
AWS MediaConvert generating double length video
1er mai 2024, par user1hjgjhgjhggjhgI am new to aws media convert. I am trying to convert the video but the final output video becomes double the length from the original one. for example if I have a video 30 seconds long, it will create 60 seconds long final video. Below is my son.


{
 "Queue": "arn:aws:mediaconvert:us-west-2:730335xxxxx:queues/Default",
 "UserMetadata": {},
 "Role": "arn:aws:iam::73033541xxxx:role/service-role/MediaConvert_Default_Role",
 "Settings": {
 "TimecodeConfig": {
 "Source": "ZEROBASED"
 },
 "OutputGroups": [
 {
 "Name": "DASH ISO",
 "Outputs": [
 {
 "ContainerSettings": {
 "Container": "MPD"
 },
 "VideoDescription": {
 "CodecSettings": {
 "Codec": "H_264",
 "H264Settings": {
 "MaxBitrate": 3500000,
 "RateControlMode": "QVBR",
 "SceneChangeDetect": "TRANSITION_DETECTION"
 }
 }
 },
 "NameModifier": "_output1"
 }
 ],
 "OutputGroupSettings": {
 "Type": "DASH_ISO_GROUP_SETTINGS",
 "DashIsoGroupSettings": {
 "SegmentLength": 30,
 "Destination": "s3://tutorial/video/",
 "FragmentLength": 2,
 "SegmentControl": "SINGLE_FILE"
 }
 }
 }
 ],
 "FollowSource": 1,
 "Inputs": [
 {
 "AudioSelectors": {
 "Audio Selector 1": {
 "DefaultSelection": "DEFAULT"
 }
 },
 "VideoSelector": {},
 "TimecodeSource": "ZEROBASED",
 "FileInput": "s3://tutorial/video/11 - video.mp4"
 }
 ]
 },
 "BillingTagsSource": "JOB",
 "AccelerationSettings": {
 "Mode": "DISABLED"
 },
 "StatusUpdateInterval": "SECONDS_60",
 "Priority": 0
}



Please help


-
Adding watermark to video
27 avril 2018, par equallyheroI am able to use the moviepy library to add a watermark to a section of video. However when I do this it is taking the watermarked segment, and creating a new file with it. I am trying to figure out if it is possible to simply splice in the edited part back into the original video, as moviepy is EXTREMELY slow writing to the disk, so the smaller the segment the better.
I was thinking maybe using shutil ?
video = mp.VideoFileClip("C:\\Users\\admin\\Desktop\\Test\\demovideo.mp4").subclip(10,20)
logo = (mp.ImageClip("C:\\Users\\admin\\Desktop\\Watermark\\watermarkpic.png")
.set_duration(20)
.resize(height=20) # if you need to resize...
.margin(right=8, bottom=8, opacity=0) # (optional) logo-border padding
.set_pos(("right","bottom")))
final = mp.CompositeVideoClip([video, logo])
final.write_videofile("C:\\Users\\admin\\Desktop\\output\\demovideo(watermarked).mp4", audio = True, progress_bar = False)Is there a way to copy the 10 second watermarked snippet back into the original video file ? Or is there another library that allows me to do this ?