
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (54)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (4333)
-
x86 : Add asm for mbtree fixed point conversion
4 mars 2016, par Henrik Gramnerx86 : Add asm for mbtree fixed point conversion
The QP offsets of each macroblock are stored as floats internally and
converted to big-endian Q8.8 fixed point numbers when written to the 2-pass
stats file, and converted back to floats when read from the stats file.Add SSSE3 and AVX2 implementations for conversions in both directions.
About 8x faster than C on Haswell.
-
How to convert mkv movies to mp4 for streaming to XBox 360
11 août 2015, par Rob Gwynn-JonesI recently purchased a Synology Diskstation DS412+, and I have a number of .mkv movies which I would like to convert/transcode to mp4 files, so that I can stream them directly to my XBox 360. I use Handbrake on my laptop, but I would rather have this happen directly on my NAS.
I’m very rusty on Linux and new to transcoding, but the script I currently have is the following :
#!/bin/bash
for dir in *; do
if test -d "$dir"; then
#echo $dir
for file in "$dir"/*.mkv; do
noextension=${file%.*}.mp4
ffmpeg -y -i "$file" -vcodec copy -acodec copy "$noextension"
done
fi
doneWhich, as I understand it, simply copies the audio and video components within the mkv container, and inserts them into a new mp4 container. This has worked for several of my files, but there are a number for which this does not work.
The following is an example of the output for a failed run :
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 16 2013 00:45:02 with gcc 4.2.1
configuration: --prefix=/usr/syno --arch=i686 --target-os=linux --cross-prefix=/usr/local/i686-linux-gnu/bin/i686-linux-gnu- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-indev=alsa --disable-outdev=alsa --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=ac3_float --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/i686-linux-gnu/bin/i686-linux-gnu-ccache-gcc
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.120. 0 / 52.120. 0
libavformat 52.108. 0 / 52.108. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 77. 0 / 1. 77. 0
libswscale 0. 14. 0 / 0. 14. 0
[matroska,webm @ 0x80726c0] Estimating duration from bitrate, this may be inaccurate
Seems stream 1 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 23.98 (24000/1001)...and then a list of input chapter start and end times and then...
Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16 (default)
Stream #0.1(eng): Video: h264 (High), yuv420p, 1280x692 [PAR 1:1 DAR 320:173], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)...and then a list of output chapter start and end times and then...
Stream #0.0(eng): Video: ![0][0][0] / 0x0021, yuv420p, 1280x692 [PAR 1:1 DAR 320:173], q=2-31, 2997 tbn, 23.98 tbc (default)
Stream #0.1(eng): Audio: libfaac, 48000 Hz, stereo (default)
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
[mp4 @ 0x808a020] pts < dts in stream 0
av_interleaved_write_frame(): Invalid data found when processing inputThe XBox support website gives details on supported file types, with mp4 included in the H.264 standard : http://support.xbox.com/ar-SA/xbox-360/system/audio-video-playback
I’m at a bit of a loss. I’ve read through http://www.ffmpeg.org/ffmpeg.html but the error message from ffmpeg doesn’t seem very helpful, and resources are sparse at best when it comes to running this stuff on a Synology Box.
I have tried a few permutations of my script, such as :
ffmpeg -i "$file" "$noextension"
and
ffmpeg -y -i "$file" -vcodec mpeg4 -acodec libfaac "$noextension"
But those both give me the following error :
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
I assume that I’ll need to specify input and output codecs specifically, along with things like bitrate, or aspect ratio but this is where I come unstuck.
Any help would be much appreciated !
-
Anomalie #3113 (Nouveau) : Absence de contrôle d’unicité du champ email dans le formulaire auteur
6 décembre 2013, par - EquipementBonjour,
Le formulaire editer_auteurs ne contrôle pas l’unicité du champ email.
Aussi, plusieurs auteurs peuvent avoir le même email dans SPIP.
On peut ainsi créer en double un auteur qui existe depuis longtemps (avec un login différent car le formulaire editer_auteurs vérifie l’unicité du champ login).
Par ailleurs, lorsque l’on utilise un système d’authentification centralisé (comme CAS ou LDAP) et que l’identifiant du SSO est l’email de l’auteur, cela pose un problème. En effet, si le SSO dit que dupond@test.fr s’est bien authentifié, mais qu’il y a 2 auteurs avec cet email dans SPIP, il est difficile de savoir lequel des 2 est censé être connecté dans SPIP.
Il serait souhaitable de pouvoir disposer d’une constante (à placer dans le fichier mes_options.php) qui active un contrôle d’unicité du champ email dans le formulaire auteur. Ce caractère optionnel (de la constante) éviterait d’impacter ceux qui ont actuellement des doublons d’email dans la table des auteurs et qui souhaitent les garder.
Cordialement
Equipement