
Recherche avancée
Autres articles (44)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8221)
-
Q.For encoding error of ffmpeg
21 mars 2016, par 社畜根性I ran the following command.
ffmpeg -i test.mp4 -threads 2 -codec:v libx264 -s:v 1280x720 -aspect:v 16:9 -b:v 256k -map 0 -f segment -segment_format mpegts -segment_time 10 -segment_list stream.m3u8 streamfiles/stream%03d.ts
Execution result
ffmpeg version N-75926-gce0834b Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.6 (Debian 4.6.3-14+rpi1)
configuration: --arch=armel --target-os=linux --enable-shared --enable-gpl --enable-libx264 --enable-nonfree
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.100
Duration: 00:00:03.28, start: 0.000000, bitrate: 10159 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 10156 kb/s, 25 fps, 25 tbr, 1200k tbn, 2400k tbc (default)
Metadata:
handler_name : VideoHandler
Illegal instructionThe result is that an error occurred.
Someone told me that it’s an error if you do not put the option to./configure
oflibx264
. That option is the--extra-cflags='-march=armv6' --extra-ldflags='-march=armv6'
. Otherwise it would use the instruction of unsupported.So I ran
./configure
with the option, then I ran the make and now I’m getting an error message :common/arm/quant-a.S: Assembler messages:
common/arm/quant-a.S:362: Error: selected processor does not support ARM mode `rbit r1,r1'
common/arm/quant-a.S:363: Error: selected processor does not support ARM mode `rbit r1,r1'
Makefile:217: recipe for target 'common/arm/quant-a.o' failed
make: *** [common/arm/quant-a.o] Error 1I do not know the meaning of this error. How should you deal me this error ?
I use the machine is Raspberry PI B+ and my OS is Raspbian. I want to use
ffmpeg
andlibx264
.Any advice and suggestions will be greatly appreciated.
-
Using ffmpeg to rotate videos through metadata
14 octobre 2015, par Gary DaleI am using Debian/Stretch AMD64. I have some videos that I need to rotate either 90 or 180 degrees. I’ve read the multiple answers for this that suggest using
ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=-90 output.mp4
ffprobe -v quiet output.mp4 -show_streams|grep rotwith the second command verifying the first one worked.
The problem I’m having is that I can’t get the video to actually rotate properly. Moreover I’m getting different video depending on whether I play with VLC or KMlayer.
The original video needs to be rotated 90 degrees clockwise. However VLC and KMPlayer play it rotated 90 degrees counterclockwise when I use a rotation of -90. ffprobe shows no match for
"rot"
.When I specify a rotation of 90, VLC plays the rotated output like the input while KMPlayer again shows it rotated counterclockwise - the same as for the -90 rotation. This time ffprobe shows
TAG:rotate=90
androtation=-90
.When I specify a rotation of 270 degrees, again VLC shows no change from the original input while KMPlayer shows the same as the 90 degree rotation.ffprobe shows TAG:rotate=270 and rotation=90
Finally when I rotate the video -270, I get the same results as 270 except the tags disappear from ffprobe.
Clearly both VLC and KMPlayer are trying to use the metadata but neither interpreting the same way nor applying it correctly.
I’m not sure why I’m getting different results from VLC after rotating -90 and 270 when the rot tags are missing in both cases. Nor do I understand why KMPLayer consistently shows the video rotated 90 degrees counterclockwise after any change in the meta information rotation tags.
Because there are two metatags dealing with rotation (rotate and rotation), I suspect that there is an interaction between them that I need to address with the ffmpeg command line. However I can’t find the information in the man pages.
Any ideas ?
Full console output :
ffmpeg version 2.8-1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.1 (Debian 5.2.1-17) 20150911
configuration: --prefix=/usr --extra-version=1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libiec61883 --enable-libdc1394 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '20150725_192326.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2015-07-25 23:28:25
Duration: 00:04:56.55, start: 0.000000, bitrate: 17245 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 16999 kb/s, 30.01 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
rotate : 90
creation_time : 2015-07-25 23:28:25
handler_name : VideoHandle
Side data:
displaymatrix: rotation of -90.00 degrees
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
Metadata:
creation_time : 2015-07-25 23:28:25
handler_name : SoundHandle
File '20150725_192326-rotated.mp4' already exists. Overwrite ? [y/N] y
[mp4 @ 0x1749fc0] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0x1749fc0] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to '20150725_192326-rotated.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf56.40.101
Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080, q=2-31, 16999 kb/s, 30.01 fps, 30 tbr, 90k tbn, 90k tbc (default)
Metadata:
handler_name : VideoHandle
creation_time : 2015-07-25 23:28:25
rotate : -90
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 256 kb/s (default)
Metadata:
creation_time : 2015-07-25 23:28:25
handler_name : SoundHandle
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 8891 fps=3137 q=-1.0 Lsize= 624465kB time=00:04:56.55 bitrate=17250.0kbits/s
video:614880kB audio:9267kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.050998% -
Q.For encoding error of ffmpeg
21 mars 2016, par 社畜根性I ran the following command.
ffmpeg -i test.mp4 -threads 2 -codec:v libx264 -s:v 1280x720 -aspect:v 16:9 -b:v 256k -map 0 -f segment -segment_format mpegts -segment_time 10 -segment_list stream.m3u8 streamfiles/stream%03d.ts
Execution result
ffmpeg version N-75926-gce0834b Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.6 (Debian 4.6.3-14+rpi1)
configuration: --arch=armel --target-os=linux --enable-shared --enable-gpl --enable-libx264 --enable-nonfree
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.100
Duration: 00:00:03.28, start: 0.000000, bitrate: 10159 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 10156 kb/s, 25 fps, 25 tbr, 1200k tbn, 2400k tbc (default)
Metadata:
handler_name : VideoHandler
Illegal instructionThe result is that an error occurred.
Someone told me that it’s an error if you do not put the option to./configure
oflibx264
. That option is the--extra-cflags='-march=armv6' --extra-ldflags='-march=armv6'
. Otherwise it would use the instruction of unsupported.So I ran
./configure
with the option, then I ran the make and now I’m getting an error message :common/arm/quant-a.S: Assembler messages:
common/arm/quant-a.S:362: Error: selected processor does not support ARM mode `rbit r1,r1'
common/arm/quant-a.S:363: Error: selected processor does not support ARM mode `rbit r1,r1'
Makefile:217: recipe for target 'common/arm/quant-a.o' failed
make: *** [common/arm/quant-a.o] Error 1I do not know the meaning of this error. How should you deal me this error ?
I use the machine is Raspberry PI B+ and my OS is Raspbian. I want to use
ffmpeg
andlibx264
.Any advice and suggestions will be greatly appreciated.