
Recherche avancée
Autres articles (48)
-
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 (...) -
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 (...) -
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 (...)
Sur d’autres sites (9430)
-
Android FFMPEG library crashes on Lollipop
27 juillet 2015, par Laurent GorseI’m using this open-source library to encode RTMP streams for my live streaming app :
https://github.com/cine-io/cineio-broadcast-android
The library is based on FFMPEG with libRTMP, and is open-source. It build the following native shared library :
https://github.com/cine-io/ffmpegbridgeWhich relies on this :
https://github.com/cine-io/android-ffmpeg-with-rtmpThe issue is Lollipop compatibility. There’s a notorious issue where libraries need to be recompiled with PIE, but usually the thrown error is specific and states that "all binaries must be compiled with PIE".
However, as soon as I start streaming on Android 5.+, this is the error I get from the backtrace :
D/CrashAnrDetector( 903): Build: samsung/klteuc/klteatt:5.0/LRX21T/G900AUCU4BOF2:user/release-keys
D/CrashAnrDetector( 903): Hardware: MSM8974
D/CrashAnrDetector( 903): Revision: 14
D/CrashAnrDetector( 903): Bootloader: G900AUCU4BOF2
D/CrashAnrDetector( 903): Radio: unknown
D/CrashAnrDetector( 903): Kernel: Linux version 3.4.0-4432708 (dpi@SWDD6014) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Jun 18 17:58:46 KST 2015
D/CrashAnrDetector( 903):
D/CrashAnrDetector( 903): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
D/CrashAnrDetector( 903): Build fingerprint: 'samsung/klteuc/klteatt:5.0/LRX21T/G900AUCU4BOF2:user/release-keys'
D/CrashAnrDetector( 903): Revision: '14'
D/CrashAnrDetector( 903): ABI: 'arm'
D/CrashAnrDetector( 903): pid: 18365, tid: 18877, name: FFmpeg >>> com.streem.mobile.android <<<
D/CrashAnrDetector( 903): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x68
D/CrashAnrDetector( 903): r0 00000000 r1 9c9c1038 r2 00000003 r3 80000000
D/CrashAnrDetector( 903): r4 00017002 r5 9c9e2a64 r6 a0c46400 r7 afb6d400
D/CrashAnrDetector( 903): r8 00000002 r9 00000002 sl b3b6a680 fp 00000000
D/CrashAnrDetector( 903): ip b3b70100 sp 9f88f838 lr 9c8bafa8 pc 9c898438 cpsr 600f0010
D/CrashAnrDetector( 903): d0 0000000000000000 d1 0000000000000000
D/CrashAnrDetector( 903): d2 6572745356412074 d3 5f656d69742e6d61
D/CrashAnrDetector( 903): d4 0000000000000000 d5 0000000300000004
D/CrashAnrDetector( 903): d6 0000000000000000 d7 ffff000000000000
D/CrashAnrDetector( 903): d8 c3d80000c4ca8000 d9 3f8000003f800000
D/CrashAnrDetector( 903): d10 0000000000000000 d11 0000000000000000
D/CrashAnrDetector( 903): d12 0000000000000000 d13 0000000000000000
D/CrashAnrDetector( 903): d14 0000000000000000 d15 0000000000000000
D/CrashAnrDetector( 903): d16 564120676e697355 d17 632e6d6165727453
D/CrashAnrDetector( 903): d18 6d69742e6365646f d19 6120657361625f65
D/CrashAnrDetector( 903): d20 656d697420612073 d21 6e69682065736162
D/CrashAnrDetector( 903): d22 656874206f742074 d23 6920726578756d20
D/CrashAnrDetector( 903): d24 0000000000000000 d25 0000000000000000
D/CrashAnrDetector( 903): d26 0001000100010001 d27 0002000100010001
D/CrashAnrDetector( 903): d28 0080008000800080 d29 0080008000800080
D/CrashAnrDetector( 903): d30 0800080008000800 d31 0800080008000800
D/CrashAnrDetector( 903): scr 20000011
D/CrashAnrDetector( 903):
D/CrashAnrDetector( 903): backtrace:
D/CrashAnrDetector( 903): #00 pc 00038438 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so (avio_write)
D/CrashAnrDetector( 903): #01 pc 0005afa4 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903):
D/CrashAnrDetector( 903): stack:
D/CrashAnrDetector( 903): 9f88f7f8 afb6d400
D/CrashAnrDetector( 903): 9f88f7fc 00000004
D/CrashAnrDetector( 903): 9f88f800 00000001
D/CrashAnrDetector( 903): 9f88f804 b3b6a680
D/CrashAnrDetector( 903): 9f88f808 00000000
D/CrashAnrDetector( 903): 9f88f80c b6f34a9d /system/lib/libc.so (posix_memalign+12)
D/CrashAnrDetector( 903): 9f88f810 7fffffdf /dev/ashmem/dalvik-alloc-space-gap (deleted)
D/CrashAnrDetector( 903): 9f88f814 9ee5393c /data/app/com.streem.mobile.android-2/lib/arm/libavutil-54.so (av_malloc+80)
D/CrashAnrDetector( 903): 9f88f818 9c9e2a64 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903): 9f88f81c b3bf1cd0
D/CrashAnrDetector( 903): 9f88f820 00017002
D/CrashAnrDetector( 903): 9f88f824 b3bf1cd0
D/CrashAnrDetector( 903): 9f88f828 b3b70128
D/CrashAnrDetector( 903): 9f88f82c 00017002
D/CrashAnrDetector( 903): 9f88f830 9c9e2a64 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903): 9f88f834 9c8baf54 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903): #00 9f88f838 00000000
D/CrashAnrDetector( 903): ........ ........
D/CrashAnrDetector( 903): #01 9f88f838 00000000
D/CrashAnrDetector( 903): 9f88f83c 00000019
D/CrashAnrDetector( 903): 9f88f840 afb6d400
D/CrashAnrDetector( 903): 9f88f844 9c9c11f0 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903): 9f88f848 9c9c1110 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903): 9f88f84c 9c9c109c /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903): 9f88f850 7fffffff /dev/ashmem/dalvik-alloc-space-gap (deleted)
D/CrashAnrDetector( 903): 9f88f854 00000000
D/CrashAnrDetector( 903): 9f88f858 b3bbcba8
D/CrashAnrDetector( 903): 9f88f85c 00000000
D/CrashAnrDetector( 903): 9f88f860 a0c46874
D/CrashAnrDetector( 903): 9f88f864 9c9cf9d4 /data/app/com.streem.mobile.android-2/lib/arm/libavformat-56.so
D/CrashAnrDetector( 903): 9f88f868 a0c46400
D/CrashAnrDetector( 903): 9f88f86c 00000001
D/CrashAnrDetector( 903): 9f88f870 b3b70100
D/CrashAnrDetector( 903): 9f88f874 00000019
D/CrashAnrDetector( 903):
D/CrashAnrDetector( 903): memory near r1:
D/CrashAnrDetector( 903): 9c9c1018 00000000 6f6e6749 676e6972 74656d20
D/CrashAnrDetector( 903): 9c9c1028 74616461 6f662061 73252072 0000000a
D/CrashAnrDetector( 903): 9c9c1038 00564c46 6d207461 2074736f 20656e6f
D/CrashAnrDetector( 903): 9c9c1048 65646976 7473206f 6d616572 20736920
D/CrashAnrDetector( 903): 9c9c1058 70707573 6574726f 6e692064 766c6620
D/CrashAnrDetector( 903): 9c9c1068 0000000a 63207325 6365646f 20732520
D/CrashAnrDetector( 903): 9c9c1078 20746f6e 706d6f63 62697461 7720656c
D/CrashAnrDetector( 903): 9c9c1088 20687469 0a766c66 00000000 65646956
D/CrashAnrDetector( 903): 9c9c1098 0000006f 6978754d 5620676e 69203650
D/CrashAnrDetector( 903): 9c9c10a8 6c66206e 69772076 70206c6c 75646f72
D/CrashAnrDetector( 903): 9c9c10b8 66206563 7070696c 76206465 6f656469
D/CrashAnrDetector( 903): 9c9c10c8 206e6f20 79616c70 6b636
D/CrashAnrDetector( 903): processName:com.streem.mobile.android
D/CrashAnrDetector( 903): broadcastEvent : com.streem.mobile.android SYSTEM_TOMBSTONEI’d appreciate any help available in debugging the issue.
-
Stream to Azure Media Service from ffmpeg, stream can not be played
24 juillet 2015, par Simoni try to send a stream from my RaspberryPI with debian wheezy to the AzureMediaService.
I followed the instructions of this nice post.
http://gtrifonov.com/2015/07/02/streaming-live-video-from-raspberrypi-to-azure-media-services/After a lot of trouble with the ffmpeg and libx264 builds i think i have it working now, to stream to the rtmp urls.
INGESTURI="rtmp://office-klokklokmediastream.channel.mediaservices.windows.net:1935/live/3e541bc149754ebd975b95ec3583c949/mystream1"
ffmpeg -framerate 30 -r 30 -s 640x480 -i /dev/video0 -vcodec libx264 -preset ultrafast -acodec libfaac -ab 48k -b:v 500k -maxrate 500k -bufsize 500k -r 30 -g 60 -keyint_min 60 -sc_threshold 0 -f flv $INGESTURIBut when i try to watch the link in azure portal publish link or with the azure amsmediaplayer it tells me (i have reseted the channel already) :
"The video could not be loaded, either because the server or network failed or because the format is not supported."
The public stream url is :
http://klokklokmediastream.streaming.mediaservices.windows.net/30c3920e-420a-4d33-8938-e79d0db240ff/c9fd3479-0d4b-4643-a3f9-5fd5831985d0.ism/Manifest
In the linux shell i see the following output while streaming, looks for me as send stream is working :
"root@raspberrypi:/home/pi/klokklok# ./azure_ffmpeg
ffmpeg version N-73894-g830d3a0 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-gpl --enable-libx264 --enable-nonfree
libavutil 54. 28.100 / 54. 28.100
libavcodec 56. 50.101 / 56. 50.101
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 25.100 / 5. 25.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: -140462028.282167, bitrate: 110592 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480, 110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
[libx264 @ 0x3321920] using cpu capabilities: none!
[libx264 @ 0x3321920] profile Constrained Baseline, level 3.0
[libx264 @ 0x3321920] 264 - core 146 r2538 121396c - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=31 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=cbr mbtree=0 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=500 vbv_bufsize=500 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
Output #0, flv, to 'rtmp://office-klokklokmediastream.channel.mediaservices.windows.net:1935/live/3e501bc149754ebd975b95ec3583c949/mystream1':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x480, q=-1--1, 500 kb/s, 30 fps, 1k tbn, 30 tbc
Metadata:
encoder : Lavc56.50.101 libx264
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
DTS 140462610481701, next:33333 st:0 invalid dropping
PTS 140462610481701, next:33333 invalid dropping st:0
DTS 140462610515017, next:66666 st:0 invalid dropping
PTS 140462610515017, next:66666 invalid dropping st:0
DTS 140462610548333, next:99999 st:0 invalid dropping
PTS 140462610548333, next:99999 invalid dropping st:0
frame= 4 fps=0.0 q=31.0 size= 7kB time=00:00:00.10 bitrate= 554.6kbits/DTS 140462610581650, next:133332 st:0 invalid dropping
PTS 140462610581650, next:133332 invalid dropping st:0
DTS 140462610614965, next:166665 st:0 invalid dropping
PTS 140462610614965, next:166665 invalid dropping st:0
frame= 6 fps=5.1 q=29.0 size= 9kB time=00:00:00.16 bitrate= 462.5kbits/DTS 140462610648281, next:199998 st:0 invalid dropping
PTS 140462610648281, next:199998 invalid dropping st:0
DTS 140462610681598, next:233331 st:0 invalid dropping
PTS 140462610681598, next:233331 invalid dropping st:0
DTS 140462610714914, next:266664 st:0 invalid dropping
PTS 140462610714914, next:266664 invalid dropping st:0
frame= 14 fps=4.6 q=23.0 size= 21kB time=00:00:00.43 bitrate= 396.0kbits/DTS 140462610914810, next:466662 st:0 invalid dropping
PTS 140462610914810, next:466662 invalid dropping st:0
[flv @ 0x3320ae0] Failed to update header with correct duration.
[flv @ 0x3320ae0] Failed to update header with correct filesize.
frame= 15 fps=3.9 q=22.0 Lsize= 25kB time=00:00:00.50 bitrate= 407.8kbits/s
video:24kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.373589%
[libx264 @ 0x3321920] frame I:1 Avg QP:31.00 size: 2777
[libx264 @ 0x3321920] frame P:14 Avg QP:26.68 size: 1531
[libx264 @ 0x3321920] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x3321920] mb P I16..4: 12.4% 0.0% 0.0% P16..4: 29.7% 0.0% 0.0% 0.0% 0.0% skip:57.9%
[libx264 @ 0x3321920] coded y,uvDC,uvAC intra: 6.3% 13.9% 0.5% inter: 5.7% 21.4% 0.1%
[libx264 @ 0x3321920] i16 v,h,dc,p: 52% 17% 16% 14%
[libx264 @ 0x3321920] i8c dc,h,v,p: 63% 14% 20% 3%
[libx264 @ 0x3321920] kb/s:387.47
Exiting normally, received signal 2.
"I cant find a solution for that so thanks a lot for any advice.
-
Ubuntu reduce video size with ffmepg and change format
27 juillet 2015, par Arnas PečelisI want to watermark, reduce weigth, resize and change format for selected videos.
Also I need to keep quality as high as it possible.Now what I have :
ffmpeg -i prepared/video.mp4 -i units/video_watermark.png -filter_complex overlay=10:10 -codec:a copy moved/video_test.mp4
and I’m watermarking video, but the quality drops a lot. Also I have :
ffmpeg -i prepared/video.mp4 -s 1280x720 -b 512k -vcodec mpeg1video -acodec copy
but also I need to reduce weight also as lot as possible. The reconstructed videos will be shown as movies online. My question would be - is it possible to do it one line and change format to .mp4 ?
PS. I have constructed command :
ffmpeg -i downloaded/movie/movie.avi -c:v libx264 -acodec libfaac -b:a 64k -preset ultrafast -vf "movie=units/video_watermark.png [watermark]; [in][watermark] overlay=10:10 [out]" -movflags faststart prepared/movie.mp4
but it returns me error :
ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration:
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
Unrecognized option 'preset'.
Error splitting the argument list: Option not found