
Recherche avancée
Autres articles (104)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (12779)
-
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 ?
-
FFMPEG combining MP4 videos with same encoding not working, only showing first video
13 avril 2020, par AyudhMy mp4 videos have the same encoding : h264



I know because I ran this command on them :



ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 a.mp4



Now I combine them using the following command :



ffmpeg -loglevel quiet -f concat -safe 0 -i video-list.txt -c copy video-final.mp4



my video-list.txt file looks like this :



file 'a.mp4'
file 'b.mp4'
file 'c.mp4'




Now the video-final.mp4 which is the combined video actually has duration which is equal to the sum of its' component videos and also is quite larger in size. The issue is that when I play the video, it only plays the first video then stops.



What's going on here ? Any insight would be appreciated.



I've looked at : ffmpeg : Combine/merge multiple mp4 videos not working, output only contains the first video and the answers suggested there are the ones I'm using : specifically, concating from a text file containing the component videos.