
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (8142)
-
Movie from PNGs using FFmpeg and Python - rgb24 vs yuv420p
7 février 2016, par Eilam GI wrote a little Python program to grab a bunch of PNGs and render them into a movie using the FFmpeg command line. The PNGs are read into [X*Y*3] numpy arrays (ignoring the alpha channel), new frames are added via interpolation, and the data is fed into FFmpeg as a pipe and saved as an mp4.
The files play fine in VLC on Windows, but don’t work in iMovie on a Mac. I think it might have to do with most programs expecting H264 videos to be in the YUV420P color space, which my movies aren’t. I’ve tried changing the ffmpeg command
-pix_fmt
fromrgb24
toyuv420p
, but no go.Relevant Python code attached below.
def init_vars(args):
global log_file, file_names, command, num_int_frames, num_files, silent
file_names = glob('./*.png')
num_files = len(file_names)
if args.log:
log_file = 'bmmp.log'
else:
log_file = os.devnull
silent = args.silent
frames_per_second = args.fps
wanted_movie_length = args.length
movie_file_name = args.name + '.mp4'
num_int_frames = round((frames_per_second * wanted_movie_length - 1) / (num_files - 1) - 1)
if sys.platform == 'win32':
ffmpeg_bin = 'ffmpeg.exe'
else:
ffmpeg_bin = 'ffmpeg'
command = [ffmpeg_bin,
'-y', # (optional) overwrite output file if it exists
'-f', 'rawvideo',
'-vcodec','rawvideo',
'-s', '1280x720', # size of one frame
'-pix_fmt', 'rgb24',
'-r', str(frames_per_second), # frames per second
'-i', '-', # The input comes from a pipe
'-an', # Tells FFMPEG not to expect any audio
movie_file_name]Cheers,
Eilam -
mkv : Force the full parsing of mp3
6 février 2016, par Luca Barbato -
mov : Force the full parsing of mp3
6 février 2016, par Luca Barbato