
Recherche avancée
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
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 (12817)
-
Decoding RIMM streaming file format
10 septembre 2011, par ThomasI want to decode the video (visual) frames within a Blackberry RIMM file. So far I have a parser, and some corresponding container documentation from RIM.
The video codec is H264 and is explicitly set on the device using one of the video.encodings properties. However, FFMPEG is not able to decode the frames and this is driving me nuts.
Edit 1 : The issues seems to be lack of SPS and PPS in the frames, and artificially inserting them have proven unsuccessful so far (all grey image). Blackberry 9700 sends
0x00 0x00 0x ?? 0x ?? 0xType
where Type is according to table 7-1 in the H264 spec (I and P frames). We believe the 0x ?? 0x ?? represent the size of the frame, however the size does not always correspond to the size found by the parser (the parser seems to be working correctly).
I have a windows decoder codec from blackberry, called mc_demux_mp2_ds.ax, and can play some MPEG-4 files captured the same way, but it is a binary for windows. And the H264 files will not play either way. I am aware of previous attempts. The capture url for javax.microedition.media.Manager is
encoding=video-3gpp_width=176_height=144_video_codec=H264_audio_codec=AAC
and I am writing to an output stream. Some example files here.
Edit 2 :Turns out that about 3-4 of the 12-15 available video capture modes are flat out failing and refusing to output data, even in the simplest of test applications. So any working solution should implement MPEG-4, H264 and H263 in both AMR and AAC, in so getting fallback alternatives when one sound codec and/or resolution fails. Reboots, hangs and what not litters the Blackberry video implementation and vary from firmware to firmware ; total suckage.
-
How to get the width of video files stored in aws s3 using django ?
15 novembre 2020, par Anshul SinghI tried the python subprocess module to run FFmpeg commands but apart from two images stored in the s3 bucket, it is giving me an error : No such file or directory in spite of the fact that the video files are present in the same directory as the image.


import subprocess
from storages.backends.s3boto3 import S3Boto3Storage

s3 = S3Boto3Storage()
f = s3.open('path/to/file','r')
cmnd = ['ffprobe','-v','error','-of','flat=s=_ ','-select_streams','v:0','-show_entries','stream=width','-pretty', '-loglevel', 'quiet', file.name]
p = subprocess.Popen(cmnd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
print(out)



Output :




b''




print(err)



Output :




b'ffmpeg version N-54874-ga1553b0cfb-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers\n built with gcc 8 (Debian 8.3.0-6)\n configuration : —enable-gpl —enable-version3 —enable-static —disable-debug —disable-ffplay —disable-indev=sndio —disable-outdev=sndio —cc=gcc —enable-fontconfig —enable-frei0r —enable-gnutls —enable-gmp —enable-libgme —enable-gray —enable-libfribidi —enable-libass —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-librubberband —enable-libsoxr —enable-libspeex —enable-libsrt —enable-libvorbis —enable-libopus —enable-libtheora —enable-libvidstab —enable-libvo-amrwbenc —enable-libvpx —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libxvid —enable-libzimg\n libavutil ......... "path/to/file" : No such file or directory\n'




I performed this by sshing into my ec2 instance and opening the python shell there. I don't understand what's wrong. I thought maybe size was an issue. So I uploaded a small size image to the s3 bucket but the same thing happened.


-
Evolution #4754 : Mettre à jeu le jeu des icônes de extensions
30 avril 2021, par b bAmha, SVG partout et zou, et si nécessaire on pourra générer du PNG en masse à partir des SVG.
Je proposais donc le pack Yaru https://github.com/ubuntu/yaru/tree/master/icons/src/fullcolor/mimetypes (icônes d’Ubuntu) complet, sobre mais il est trop coloré et "en relief" maintenant qu’on est plutôt en mode flat sur le jeu d’icônes du privé, exemples :
https://github.com/ubuntu/yaru/blob/master/icons/src/fullcolor/mimetypes/text-markdown.svg
https://github.com/ubuntu/yaru/blob/master/icons/src/fullcolor/mimetypes/x-office-spreadsheet.svgSinon, il y a aussi Papirus & Vimix, et surtout Numix qui est très fourni :
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/blob/master/Papirus/64x64/mimetypes/application-pdf.svg
https://github.com/vinceliuice/vimix-icon-theme/blob/master/src/scalable/mimetypes/application-pdf.svg
https://github.com/numixproject/numix-icon-theme/blob/master/Numix/64/mimetypes/application-pdf.svg