
Recherche avancée
Médias (3)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (81)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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 (...)
Sur d’autres sites (5584)
-
an error about ffmpeg:maybe incorrect parameters such as bit_rate, rate, width or height?
7 janvier 2023, par Roberick Lisubprocess.CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '300x300', '-pix_fmt', 'rgba', '-r', '20', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-y', './save/humanml_trans_enc_512/samples_humanml_trans_enc_512_000200000_seed10/sample00_rep00.mp4']' returned non-zero exit status 1.



this is the error when I running a python script :


Traceback (most recent call last):
 File "/home/rob/anaconda3/envs/mdm/lib/python3.7/runpy.py", line 193, in _run_module_as_main
 "__main__", mod_spec)
 File "/home/rob/anaconda3/envs/mdm/lib/python3.7/runpy.py", line 85, in _run_code
 exec(code, run_globals)
 File "/home/rob/motion-diffusion-model/sample/generate.py", line 256, in <module>
 main()
 File "/home/rob/motion-diffusion-model/sample/generate.py", line 189, in main
 plot_3d_motion(animation_save_path, skeleton, motion, dataset=args.dataset, title=caption, fps=fps)
 File "/home/rob/motion-diffusion-model/data_loaders/humanml/utils/plot_script.py", line 128, in plot_3d_motion
 ani.save(save_path, fps=fps)
 File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 1156, in save
 writer.grab_frame(**savefig_kwargs)
 File "/home/rob/anaconda3/envs/mdm/lib/python3.7/contextlib.py", line 130, in __exit__
 self.gen.throw(type, value, traceback)
 File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 232, in saving
 self.finish()
 File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 367, in finish
 self.cleanup()
 File "/home/rob/anaconda3/envs/mdm/lib/python3.7/site-packages/matplotlib/animation.py", line 411, in cleanup
 self._proc.returncode, self._proc.args, out, err)
subprocess.CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '300x300', '-pix_fmt', 'rgba', '-r', '20', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-y', './save/humanml_trans_enc_512/samples_humanml_trans_enc_512_000200000_seed10/sample00_rep00.mp4']' returned non-zero exit status 1.
</module>


Thanks for you help very much !!!


I tried to run the command alone, then for a long time the program did not return, and after using ctrl+c it reported the following error:


[libopenh264 @ 0x555582eec100] Incorrect library version loaded
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



-
How to concatenate two or more videos with same width and different height in FFMpeg and to maintain the same aspect ratio ?
25 octobre 2019, par AarwilI have five video parts to concat all. Each five videos are in the same width and height. The second part is the hstack of another 2 videos and the third part is the hstack and vstack of another 3 videos. While concat all the five video parts the aspect ratio is not maintaining in the final video. Since I am new to ffmpeg help me to sort out the problem
I have tried with the command in my final with filter complex and to reduce the size I used frame per second.
"ffmpeg -i
final.mp4 -vf scale=1280:480 -filter:v fps=fps=30 finalNew.mp4"but nothing worked.
Also help me to use hstack with scaling, to maintain the aspect ratio for the second part on below commandCommand : ffmpeg -i vid1.mkv -i vid2.mkv -filter_complex "[0:v]scale=-1:480[v0] ;[0:v][1:v]hstack=inputs=2"vid3.mkv
Images
I have console the info of my video
ffmpeg -i part1.mkv -i part2.mkv -i part3.mkv -i part4.mkv -i part5.mkv
ffmpeg version N-94911-g197985c5bf Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190807
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 35.100 / 56. 35.100
libavcodec 58. 56.101 / 58. 56.101
libavformat 58. 32.104 / 58. 32.104
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.102 / 7. 58.102
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, matroska,webm, from 'part1.mkv':
Metadata:
ENCODER : Lavf58.32.104
Duration: 00:00:44.00, start: 0.000000, bitrate: 189 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 640x480 [SAR 9:16 DAR 3:4], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
Metadata:
title : Video
ENCODER : Lavc58.56.101 libx264
DURATION : 00:00:44.000000000
Input #1, matroska,webm, from 'part2.mkv':
Metadata:
ENCODER : Lavf58.32.104
Duration: 00:01:22.07, start: 0.000000, bitrate: 113 kb/s
Stream #1:0: Video: h264 (High), yuv420p(progressive), 640x240 [SAR 9:16 DAR 3:2], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
Metadata:
ENCODER : Lavc58.56.101 libx264
DURATION : 00:01:22.066000000
Input #2, matroska,webm, from 'part3.mkv':
Metadata:
ENCODER : Lavf58.32.104
Duration: 00:00:42.03, start: 0.000000, bitrate: 405 kb/s
Stream #2:0: Video: h264 (High), yuv420p(progressive), 640x720 [SAR 9:16 DAR 1:2], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
Metadata:
ENCODER : Lavc58.56.101 libx264
DURATION : 00:00:42.033000000
Input #3, matroska,webm, from 'part4.mkv':
Metadata:
ENCODER : Lavf58.32.104
Duration: 00:00:21.00, start: 0.000000, bitrate: 298 kb/s
Stream #3:0: Video: h264 (High), yuv420p(progressive), 640x240 [SAR 9:16 DAR 3:2], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
Metadata:
ENCODER : Lavc58.56.101 libx264
DURATION : 00:00:21.000000000
Input #4, matroska,webm, from 'part5.mkv':
Metadata:
ENCODER : Lavf58.32.104
Duration: 00:00:16.00, start: 0.000000, bitrate: 169 kb/s
Stream #4:0(eng): Video: h264 (High), yuv420p(progressive), 640x480 [SAR 9:16 DAR 3:4], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
Metadata:
title : Video
ENCODER : Lavc58.56.101 libx264
DURATION : 00:00:16.000000000 -
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
6 juillet 2016, par olegaFound a lot of helpful answers. But could not find for my problem.
I am trying to convert .mp4 to .webm. I tried with parameters, without them (like below), but always got same result :================
Converting (dseoFRQrJehleLDHPdcB.mp4) started - Tue - Jul 05, 2016 @ 06:29 PM
/usr/local/bin/ffmpeg -i public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4 public_html/uploads/dseoFRQrJehleLDHPdcB.webm
ffmpeg version N-80913-gd915b6e Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration : —enable-libvpx —enable-libvorbis
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
’/home/supergirl/public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4’ :Metadata :
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.24.2Duration : 00:00:05.31, start : 0.000000, bitrate : 1589 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler[libvpx @ 0x21fd880] v1.2.0
[libvpx @ 0x21fd880] Failed to initialize encoder : ABI version mismatch
Output #0, webm, to ’/home/supergirl/public_html/uploads/dseoFRQrJehleLDHPdcB.webm’ :
Metadata :
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf53.24.2
Stream #0:0(und): Unknown: none, SAR 1:1 DAR 0:0 (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
encoder : Lavc57.48.101 libvpx
Stream #0:1(und): Unknown: none (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
encoder : Lavc57.48.101 libvorbisStream mapping :
Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))
Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
================
Any suggestions, please ?