
Recherche avancée
Autres articles (58)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (10298)
-
Warning in ffmpeg : Invalid SampleDelta in STTS [closed]
20 mars 2013, par JuCachalotI use ffmpeg to encode video files in order to use in HTML5 video tag. My input files are .mp4 files in h264 exported from Adobe Premiere CS5 and I want to create two output files, one in h264 - aac with higher compression in baseline profile and one in webm VP8 - vorbis.
For some input files, I've got this warning from ffmpeg :
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x178f3a0] Invalid SampleDelta in STTS -31999
It does not prevent me from encoding the files but I would like to ask you what does it mean and if I should care and do something about it.
This is my command :
ffmpeg -loglevel verbose -i inputVideo.mp4 -c:v libvpx -quality best -cpu-used 0 -crf 20 -b:v 300k -qmin 10 -qmax 42 -maxrate 350k -bufsize 1000k -threads 4 -rc_lookahead 16 -keyint_min 0 -g 360 -skip_threshold 0 -level 116 -c:a libvorbis -b:a 96k -ac 1 /home/juju/videos/outputVid.webm
Here is the complete console output from ffmpeg :
ffmpeg version N-38686-gd07de6d Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 9 2012 17:08:40 with gcc 4.4.3
configuration: --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl --enable-libfaac --enable-libtheora --enable-zlib --disable-shared --enable-libx264 --enable-libdirac --enable-nonfree --enable-version3 --enable-libschroedinger --enable-avfilter --enable-libspeex --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-ffplay --enable-pthreads --prefix=/usr/local --enable-x11grab --enable-runtime-cpudetect --enable-bzlib --enable-libdc1394 --enable-libvpx
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d153a0] Invalid SampleDelta in STTS -31999
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputVideo.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2012-12-14 15:25:22
Duration: 00:01:31.05, start: 0.000000, bitrate: 14312 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 800x450 [SAR 1:1 DAR 16:9], 14005 kb/s, 25.01 fps, 25 tbr, 25k tbn, 50 tbc
Metadata:
creation_time : 2012-12-14 15:25:22
handler_name : Mainconcept MP4 Video Media Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 317 kb/s
Metadata:
creation_time : 2012-12-14 15:25:22
handler_name : Mainconcept MP4 Sound Media Handler
[buffer @ 0x1d152c0] w:800 h:450 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Incompatible sample format 's16' for codec 'libvorbis', auto-selecting format 'flt'
[libvpx @ 0x1d280e0] v0.9.7-p1
[libvpx @ 0x1d280e0] --enable-pic --enable-shared --disable-install-bins --disable-install-srcs --target=x86_64-linux-gcc
Output #0, webm, to '/home/juju/videos/outputVid.webm':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2012-12-14 15:25:22
encoder : Lavf54.2.100
Stream #0:0(eng): Video: vp8, yuv420p, 800x450 [SAR 1:1 DAR 16:9], q=10-42, 300 kb/s, 1k tbn, 25 tbc
Metadata:
creation_time : 2012-12-14 15:25:22
handler_name : Mainconcept MP4 Video Media Handler
Stream #0:1(eng): Audio: vorbis, 48000 Hz, 1 channels, flt, 96 kb/s
Metadata:
creation_time : 2012-12-14 15:25:22
handler_name : Mainconcept MP4 Sound Media Handler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libvpx)
Stream #0:1 -> #0:1 (aac -> libvorbis)
Press [q] to stop, [?] for help
frame= 2275 fps= 11 q=0.0 Lsize= 3989kB time=00:01:31.04 bitrate= 358.9kbits/s
video:2870kB audio:1067kB global headers:4kB muxing overhead 1.219887%Thank you !
-
Fix min/max validation. Closes gh-666. Fixes #648
20 mars 2013, par ekonijnFix min/max validation. Closes gh-666. Fixes #648
In 1.10.0, min/max validation was supported for input type="text",
where min/max were interpreted as numbers. This means min/max
for date would not work : min="2012-02-13" was interpreted as min="Not a Number".In 1.11.0, min/max were no longer converted to numbers. This means
min/max for dates worked, but min/max for numbers failed :
"50" < "150" < "1000" does not hold.For an example, see http://jsbin.com/awokex/3
This commit makes the behaviour of min/max dependent on input type :
* input type=text (or not type attribute) has numeric min/max, as in 1.10.0
* input type=date has working min/max for type date ;
on mobile browsers you also get a date picker,
plus the browser may reject invalid dates before
javascript gets a chance to complain.
* input type=number or range get numeric min/max,
plus numeric keypad or slider on mobile browsers,
plus browser may reject invalid input before javascript
gets a chance to complainAllowing use of min/max with type=number/range/date is important
for mobile browsers, where the numeric keypad or date picker
make the input much easier to use than a generic text input field.
In this situation jquery-validate remains necessary to support
older browsers that do not do input validation based on type
and min/max.For situations where numeric input should be validated by jquery
without giving the browser a chance to validate the input format,
input type=text in combination with min/max can be used, as in 1.10.0. -
unable to compile ffmpeg for iOS
25 mars 2014, par HaneTVI'm trying to compile FFmpeg for iOS (for iPhone5, in order to do some RSTP streaming stuff) following the tutorial here but I get stuck with this error :
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc is unable to create an executable file.
C compiler test failed.In my config.log file I have this :
BEGIN /var/folders/9g/zv_vdz7x16g1hgx9pqj57zz80000gn/T//ffconf.D3a73otQ.c
1 int main(void){ return 0; }
END /var/folders/9g/zv_vdz7x16g1hgx9pqj57zz80000gn/T//ffconf.D3a73otQ.c
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -mfpu=neon -miphoneos-version-min=6.0 -mcpu=cortex-a9 -c -o /var/folders/9g/zv_vdz7x16g1hgx9pqj57zz80000gn/T//ffconf.Wv4eZtHX.o /var/folders/9g/zv_vdz7x16g1hgx9pqj57zz80000gn/T//ffconf.D3a73otQ.c
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=6.0 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -o /var/folders/9g/zv_vdz7x16g1hgx9pqj57zz80000gn/T//ffconf.y84bbrJt /var/folders/9g/zv_vdz7x16g1hgx9pqj57zz80000gn/T//ffconf.Wv4eZtHX.o
ld: library not found for -lcrt1.3.1.o
collect2: ld returned 1 exit status
C compiler test failed.I have other errors with other scripts found on stackoverflow or with google
Any idea ?
Ok (i'm kinda new on mac environment), I managed to pass the configure step by fixing the sdk target to the last sdk I have (6.1), removing Other Linker Flags but then the "make" command is full of errors (either with gcc or arm-apple-darwin10-gcc-4.2) :
In file included from ./libavutil/internal.h:113,
from ./libavutil/common.h:385,
from ./libavutil/avutil.h:238,
from libavdevice/version.h:28,
from libavdevice/avdevice.h:22,
from libavdevice/alldevices.c:22:
./libavutil/libm.h:53: error: static declaration of ‘cbrt’ follows non-static declaration
./libavutil/libm.h:60: error: static declaration of ‘cbrtf’ follows non-static declaration
./libavutil/libm.h:86: error: expected identifier or ‘(’ before ‘sizeof’
./libavutil/libm.h:96: error: expected identifier or ‘(’ before ‘sizeof’
./libavutil/libm.h:142: error: static declaration of ‘rint’ follows non-static declaration
./libavutil/libm.h:149: error: static declaration of ‘lrint’ follows non-static declaration
./libavutil/libm.h:156: error: static declaration of ‘lrintf’ follows non-static declaration
./libavutil/libm.h:163: error: static declaration of ‘round’ follows non-static declaration
./libavutil/libm.h:170: error: static declaration of ‘roundf’ follows non-static declaration
./libavutil/libm.h:177: error: static declaration of ‘trunc’ follows non-static declaration
./libavutil/libm.h:184: error: static declaration of ‘truncf’ follows non-static declaration
make: *** [libavdevice/alldevices.o] Error 1