Recherche avancée

Médias (91)

Autres articles (106)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP 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 (17630)

  • ffmpeg terminates without any output

    11 septembre 2012, par Khan

    I am using ffmpeg to convert a video file to mp4. here is my code

       echo "converting ".basename($src)." --- to --- ".basename($dest).".mp4...<br />";
    $command = FFMPEG.&#39; -i &#39; . $src . &#39; -sameq -strict -2 -vcodec libx264 -ar 22050 -y &#39; . $dest.&#39;.mp4 2>&amp;1&#39;;   //
    echo $command.&#39;<br />&#39;;

    exec($command,$output,$status);
    echo &#39;<pre>&#39;,join(&#39;<br />&#39;,$output),&#39;</pre><br />&#39;;

    if($status == 0) {              // Success
       echo &#39;Successfully converted to MP4!<br />&#39;;
    } else {
       echo $status."<br />failed<br />";
    }

    The code works fine on my localhost (Windows 7 + wamp).. But on live server , only $command is echoed.. and script is terminated. The output file is generated but it is only 4.5MB (it should be around 17 MB) and not complete... and sometime I get the following output..

       ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers  built on Sep 10 2012 00:38:24 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)  configuration: --prefix=/home/one01qsc/local --extra-cflags=&#39;-L/home/one01qsc/local/lib/ -I /home/one01qsc/local/include/&#39; --extra-ldflags=&#39;-L/home/one01qsc/local/lib/ -Wl,-rpath,/home/one01qsc/local/lib/&#39; --enable-libmp3lame --enable-libvorbis --enable-shared --disable-yasm --enable-libtheora --enable-libx264 --enable-gpl
     libavutil      51. 54.100 / 51. 54.100
     libavcodec     54. 23.100 / 54. 23.100
     libavformat    54.  6.100 / 54.  6.100
     libavdevice    54.  0.100 / 54.  0.100
     libavfilter     2. 77.100 /  2. 77.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;/home/one01qsc/public_html/temp/pending/1455-testing-mobidick.mov&#39;:
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2012-09-08 16:00:41
     Duration: 00:00:23.13, start: 0.490000, bitrate: 6028 kb/s
       Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 5331 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc
       Metadata:
         creation_time   : 2012-09-08 16:00:41
         handler_name    : Apple Alias Data Handler
       Stream #0:1: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 192 kb/s
       Metadata:
         creation_time   : 2012-09-08 16:00:41
         handler_name    : Apple Alias Data Handler
    [buffer @ 0x2405ce0] w:1920 h:1080 pixfmt:yuv420p tb:1/60000 sar:0/1 sws_param:flags=2
    [buffersink @ 0x2429ec0] No opaque field provided
    [aformat @ 0x23fa560] auto-inserting filter &#39;auto-inserted resampler 0&#39; between the filter &#39;src&#39; and the filter &#39;aformat&#39;
    [aresample @ 0x2402e60] chl:stereo fmt:s16 r:44100Hz -> chl:stereo fmt:flt r:22050Hz
    [libx264 @ 0x24288e0] using cpu capabilities: none!
    [libx264 @ 0x24288e0] profile High, level 4.0
    [libx264 @ 0x24288e0] 264 - core 128 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to &#39;/home/one01qsc/public_html/temp/1455-testing-mobidick.mp4&#39;:
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2012-09-08 16:00:41
       encoder         : Lavf54.6.100
       Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080, q=-1--1, 30k tbn, 29.97 tbc
       Metadata:
         creation_time   : 2012-09-08 16:00:41
         handler_name    : Apple Alias Data Handler
       Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 22050 Hz, stereo, flt, 128 kb/s
       Metadata:
         creation_time   : 2012-09-08 16:00:41
         handler_name    : Apple Alias Data Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> aac)
    Press [q] to stop, [?] for help
    frame=   18 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s

    the value printed for $status is 137 in this case.

    Any help is really appreciated.

  • Issue #1 when compiling Xuggler for Raspberry pi with libspeex

    23 juillet 2014, par Ashish Sharma

    I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian),

    I followed the ’Basic Build Instructions’ available here for compiling Xuggler.

    After I successfully installed all the prerequisites and set the correct paths, I ran the following command :

    ant run-tests

    After sometime I am facing the following error and the ant build fails :

    scroll at the end of log to see the issue

    [exec] Making all in libspeex
    [exec] make[2]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex'
    [exec] Incarcerated package must be reconfigured; regenerating out of date captive Makefile from: ../../../../../captive/libspeex/csrc/configure
    [exec] /bin/mkdir -p csrc
    [exec] cd csrc &amp;&amp; sh ../incarcerate
    [exec] checking for a BSD-compatible install... /usr/bin/install -c
    [exec] checking whether build environment is sane... yes
    [exec] checking for a thread-safe mkdir -p... /bin/mkdir -p
    [exec] checking for gawk... no
    [exec] checking for mawk... mawk
    [exec] checking whether make sets $(MAKE)... yes
    [exec] checking build system type... armv6l-unknown-linux-gnu
    [exec] checking host system type... armv6l-unknown-linux-gnu
    [exec] checking how to print strings... printf
    [exec] checking for style of include used by make... GNU
    [exec] checking for gcc... gcc
    [exec] checking whether the C compiler works... yes
    [exec] checking for C compiler default output file name... a.out
    [exec] checking for suffix of executables...
    [exec] checking whether we are cross compiling... no
    [exec] checking for suffix of object files... o
    [exec] checking whether we are using the GNU C compiler... yes
    [exec] checking whether gcc accepts -g... yes
    [exec] checking for gcc option to accept ISO C89... none needed
    [exec] checking dependency style of gcc... none
    [exec] checking for a sed that does not truncate output... /bin/sed
    [exec] checking for grep that handles long lines and -e... /bin/grep
    [exec] checking for egrep... /bin/grep -E
    [exec] checking for fgrep... /bin/grep -F
    [exec] checking for ld used by gcc... /usr/bin/ld
    [exec] checking if the linker (/usr/bin/ld) is GNU ld... yes
    [exec] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    [exec] checking the name lister (/usr/bin/nm -B) interface... BSD nm
    [exec] checking whether ln -s works... yes
    [exec] checking the maximum length of command line arguments... 805306365
    [exec] checking whether the shell understands some XSI constructs... yes
    [exec] checking whether the shell understands "+="... yes
    [exec] checking how to convert armv6l-unknown-linux-gnu file names to armv6l-unknown-linux-gnu format... func_convert_file_noop
    [exec] checking how to convert armv6l-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    [exec] checking for /usr/bin/ld option to reload object files... -r
    [exec] checking for objdump... objdump
    [exec] checking how to recognize dependent libraries... pass_all
    [exec] checking for dlltool... false
    [exec] checking how to associate runtime and link libraries... printf %s\n
    [exec] checking for archiver @FILE support... @
    [exec] checking for strip... strip
    [exec] checking for ranlib... ranlib
    [exec] checking command to parse /usr/bin/nm -B output from gcc object... ok
    [exec] checking for sysroot... no
    [exec] checking for mt... mt
    [exec] checking if mt is a manifest tool... no
    [exec] checking how to run the C preprocessor... gcc -E
    [exec] checking for ANSI C header files... yes
    [exec] checking for sys/types.h... yes
    [exec] checking for sys/stat.h... yes
    [exec] checking for stdlib.h... yes
    [exec] checking for string.h... yes
    [exec] checking for memory.h... yes
    [exec] checking for strings.h... yes
    [exec] checking for inttypes.h... yes
    [exec] checking for stdint.h... yes
    [exec] checking for unistd.h... yes
    [exec] checking for dlfcn.h... yes
    [exec] checking for objdir... .libs
    [exec] checking if gcc supports -fno-rtti -fno-exceptions... no
    [exec] checking for gcc option to produce PIC... -fPIC -DPIC
    [exec] checking if gcc PIC flag -fPIC -DPIC works... yes
    [exec] checking if gcc static flag -static works... yes
    [exec] checking if gcc supports -c -o file.o... yes
    [exec] checking if gcc supports -c -o file.o... (cached) yes
    [exec] checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    [exec] checking dynamic linker characteristics... GNU/Linux ld.so
    [exec] checking how to hardcode library paths into programs... immediate
    [exec] checking whether stripping libraries is possible... yes
    [exec] checking if libtool supports shared libraries... yes
    [exec] checking whether to build shared libraries... no
    [exec] checking whether to build static libraries... yes
    [exec] checking whether to enable maintainer-specific portions of Makefiles... no
    [exec] checking whether byte ordering is bigendian... no
    [exec] checking for an ANSI C-conforming const... yes
    [exec] checking for inline... inline
    [exec] checking for C/C++ restrict keyword... __restrict
    [exec] checking for C99 variable-size arrays... yes
    [exec] checking alloca.h usability... yes
    [exec] checking alloca.h presence... yes
    [exec] checking for alloca.h... yes
    [exec] checking getopt.h usability... yes
    [exec] checking getopt.h presence... yes
    [exec] checking for getopt.h... yes
    [exec] checking for alloca... yes
    [exec] checking for SSE in current arch/CFLAGS... no
    [exec] checking for ELF visibility... yes
    [exec] checking sys/soundcard.h usability... yes
    [exec] checking sys/soundcard.h presence... yes
    [exec] checking for sys/soundcard.h... yes
    [exec] checking sys/audioio.h usability... no
    [exec] checking sys/audioio.h presence... no
    [exec] checking for sys/audioio.h... no
    [exec] checking for Ogg... yes
    [exec] checking for sin in -lm... yes
    [exec] checking for getopt_long... yes
    [exec] checking for main in -lwinmm... no
    [exec] checking for pkg-config... /usr/bin/pkg-config
    [exec] checking pkg-config is at least version 0.9.0... yes
    [exec] checking size of short... 0
    [exec] checking size of int... 0
    [exec] checking size of long... 0
    [exec] configure: creating ./config.status
    [exec] config.status: creating Makefile
    [exec] config.status: creating libspeex/Makefile
    [exec] config.status: creating src/Makefile
    [exec] config.status: creating doc/Makefile
    [exec] config.status: creating Speex.spec
    [exec] config.status: creating include/Makefile
    [exec] config.status: creating include/speex/Makefile
    [exec] config.status: creating speex.pc
    [exec] config.status: creating speexdsp.pc
    [exec] config.status: creating win32/Makefile
    [exec] config.status: creating win32/libspeex/Makefile
    [exec] config.status: creating win32/speexenc/Makefile
    [exec] config.status: creating win32/speexdec/Makefile
    [exec] config.status: creating symbian/Makefile
    [exec] config.status: creating win32/VS2003/Makefile
    [exec] config.status: creating win32/VS2003/tests/Makefile
    [exec] config.status: creating win32/VS2003/libspeex/Makefile
    [exec] config.status: creating win32/VS2003/libspeexdsp/Makefile
    [exec] config.status: creating win32/VS2003/speexdec/Makefile
    [exec] config.status: creating win32/VS2003/speexenc/Makefile
    [exec] config.status: creating win32/VS2005/Makefile
    [exec] config.status: creating win32/VS2005/libspeex/Makefile
    [exec] config.status: creating win32/VS2005/speexdec/Makefile
    [exec] config.status: creating win32/VS2005/speexenc/Makefile
    [exec] config.status: creating win32/VS2005/libspeexdsp/Makefile
    [exec] config.status: creating win32/VS2005/tests/Makefile
    [exec] config.status: creating win32/VS2008/libspeexdsp/Makefile
    [exec] config.status: creating win32/VS2008/Makefile
    [exec] config.status: creating win32/VS2008/speexdec/Makefile
    [exec] config.status: creating win32/VS2008/tests/Makefile
    [exec] config.status: creating win32/VS2008/libspeex/Makefile
    [exec] config.status: creating win32/VS2008/speexenc/Makefile
    [exec] config.status: creating include/speex/speex_config_types.h
    [exec] config.status: creating ti/Makefile
    [exec] config.status: creating ti/speex_C54_test/Makefile
    [exec] config.status: creating ti/speex_C55_test/Makefile
    [exec] config.status: creating ti/speex_C64_test/Makefile
    [exec] config.status: creating config.h
    [exec] config.status: executing depfiles commands
    [exec] config.status: executing libtool commands
    [exec] Type "make; make install" to compile and install Speex
    [exec] Incarcerated package configured: ../../../../../captive/libspeex
    [exec] Incarcerating package ../../../../../captive/libspeex to fake DESTDIR=/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage
    [exec] make[3]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] make  all-recursive
    [exec] make[4]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] Making all in libspeex
    [exec] make[4]: *** [all-recursive] Error 1
    [exec] make[3]: *** [all] Error 2
    [exec] make[4]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] make[3]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] Out of date files; re-running make
    [exec] make[3]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] make  all-recursive
    [exec] make[4]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] Making all in libspeex
    [exec] make[5]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc/libspeex'
    [exec] /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex -I.. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/include -I../include -I.. -I/home/pi/Downloads/xuggler/include     -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include  -fvisibility=hidden -O3 -msse -c -o cb_search.lo /home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex/cb_search.c
    [exec] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex -I.. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/include -I../include -I.. -I/home/pi/Downloads/xuggler/include -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include -fvisibility=hidden -O3 -msse -c /home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex/cb_search.c  -fPIC -DPIC -o cb_search.o
    [exec] cc1: error: unrecognized command line option '-msse'
    [exec] make[5]: *** [cb_search.lo] Error 1
    [exec] make[4]: *** [all-recursive] Error 1
    [exec] make[3]: *** [all] Error 2
    [exec] make[2]: *** [all-local] Error 2
    [exec] make[1]: *** [all-recursive] Error 1
    [exec] make: *** [all-recursive] Error 1
    [exec] make[5]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc/libspeex'
    [exec] make[4]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] make[3]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
    [exec] make[2]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex'
    [exec] make[1]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive'

    BUILD FAILED
    /home/pi/Downloads/xuggle-xuggler/mk/buildtools/buildhelper.xml:1192: exec returned: 2

    Total time: 73 minutes 17 seconds

    I am unable to understand the problem statment "unrecognized command line option ’-msse’" here, Can someone please tell me how can I resolve this or circumvent it in xuggler ?

  • ffmpeg convert to mp4 and ogg. Where error ?

    21 septembre 2012, par John Smith

    Next code create convert video files but they are bad - files not play. Tell me please where error ?

    shell_exec("ffmpeg -i $infile_ogg -v 10 $outfile_mp4 2>&amp;1");
    shell_exec("ffmpeg -i $infile_mp4 -v 10 $outfile_ogg 2>&amp;1");

    i use code :

    $outfile_mp4=$_SERVER[&#39;DOCUMENT_ROOT&#39;].&#39;/10001/ConcertMedia/1348213376.mp4&#39;;
    $outfile_ogg=$_SERVER[&#39;DOCUMENT_ROOT&#39;].&#39;/10001/ConcertMedia/1348213376.ogg&#39;;
    echo $outfile_mp4.&#39;<br />&#39;.&#39;<br />&#39;.$outfile_ogg.&#39;<br />&#39;.shell_exec("ffmpeg -i $outfile_mp4 -V 10 $ outfile_ogg 2> &amp; 1");

    but i see only :

    /hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348213376.mp4

    /hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348213376.ogg

    i not see consol log....

    I will take any help