
Recherche avancée
Autres articles (64)
-
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
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 -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (4319)
-
moviepy ruining video after combining them
1er juin 2020, par jjakeryanI'm trying to make a program that downloads videos from TikTok and combines all the separate videos into one .mp4 file and moves the final video to a folder on my desktop. I've been able to make it download all the videos and when I watch the separate videos they play fine however when I combine the videos some of the videos are messed up and look like this but the audio is fine.



#slecting all .mp4 files
 video_files = glob.iglob("*.mp4")

 print(video_files)
 clips = []

 for clip in video_files: # For each mp4 file name
 clips.append(VideoFileClip(clip)) # Store them as a VideoFileClip and add to the clips list

 today = date.today()

 final = concatenate_videoclips(clips) # Concatenate the VideoFileClips
 final.write_videofile(f"{today}.mp4", codec="libx264")


#moving completed video to folder on desktop
 shutil.move(f'{today}.mp4', '/Users/jacobmarrandio/Desktop/done_videos/')




thanks for any help


-
Ffmpeg generate master playlist file in realtime
18 août 2022, par user994461I have playing with ffmpeg and HLS adaptive encoding, i want to make it somehow to encode one by one resolution and make/update master playlist file in realtime..
Example, when 240p is done master playlist file will be updated and video can be played in 240p while 480p,720p and etc... is still encoding in background.


I have try with this command and actualy this is working fine but not in way as i want...


/home/test/ffmpeg -i 1.mp4 
-map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0
-c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -c:a aac -ar 48000
-filter:v:0 scale="trunc(oh*a/2)*2:240" -maxrate:v:0 856k -bufsize:v:0 1200k -b:a:0 96k 
-filter:v:1 scale="trunc(oh*a/2)*2:480" -maxrate:v:1 1498k -bufsize:v:1 2100k -b:a:1 128k 
-var_stream_map "v:0,a:0,name:240p v:1,a:1,name:480p" 
-hls_time 4 -hls_list_size 0 -master_pl_name master.m3u8 -hls_segment_filename %v_%03d.ts %v.m3u8



This command above encoding all resolutions in same time and must finish all before i can watch it.


Any solution to make ffmpeg to encode 240p -> update playlist, encode 480p -> update playlist and etc...


-
FFMPEG reports different (wrong) video resolution compared to how it actually plays
30 mars 2015, par EmilianoQuick question, i have a movie, which was cut and rendered with Sony Vegas from its original format to a .wmv file. Here comes the tricky part, movie when played, either with
VLC
orWMP
, has a resolution of 656x480 ... BUT when i run a ffmpeg -i on it, it says it has a resolution of600x480
....I took the time of actually capturing a frame and croping it with photoshop and its
656
and not600
like ffmpeg its reporting, why would this could be happening ? How could i fix the headers resolution ? Would that have any impact on video re-rendering ? As i said, VLC and WMP seems not to care about the incorrect headers and are playing it right, BUT, jwplayer seems to be using the header information, which i don’t blame him, its correct to do that, but why the video headers could be wrong ?ffmpeg -i trailer.wmv
Input #0, asf, from ’trailer.wmv’ : Duration : 00:01:04.93, start : 3.000000, bitrate : 2144 kb/s Stream #0.0 : Audio : wmav2, 44100 Hz, mono, 32 kb/s Stream #0.1 : Video : wmv3, yuv420p, 600x480 [PAR 59:54 DAR 295:216], 2065 kb/ s, 25.00 tb(r)
And yeah, the
PAR/DAR
parameters are also wrong, but honestly, i don’t understand that technical shit, usually watch video and make sure it look good, any feedback would be appreciated :PIs there a way to change the container information with ffmpeg so applications that actually do use the container information don’t render video incorrectly ?