Recherche avancée

Médias (91)

Autres articles (112)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 (7935)

  • ffmpeg to convert to html 5 video on upload

    19 avril 2015, par peterbw321

    I am gradually getting the hang of video conversion with ffmpeg but am stuck. I am on shared hosting. I can convert with simple code like -

    ffmpeg -i out.avi -acodec copy -vcodec copy output.mp4

    I need to convert to html5 video formats but whenever i use code like this, I always get the same type of error ’Unrecognized option c:v’ or ’Unrecognized option b’. Is my version of ffmpeg too old ? Please help.

    exec("/usr/bin/ffmpeg -i input -c:v libx264 -preset slow -crf 18 -vf yadif -strict -2 output.mp4");



       array(31) { [0]=> string(67) "FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers"
    [1]=> string(74) " built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)"
    [2]=> string(649) " configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
    --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe
    -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
    -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac
    --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb
    --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc
    --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab"
    [3]=> string(35) " libavutil 50.15. 1 / 50.15. 1" [4]=> string(35) " libavcodec 52.72. 2 / 52.72. 2"
    [5]=> string(35) " libavformat 52.64. 2 / 52.64. 2" [6]=> string(35) " libavdevice 52. 2. 0 / 52. 2. 0"
    [7]=> string(35) " libavfilter 1.19. 0 / 1.19. 0" [8]=> string(35) " libswscale 0.11. 0 / 0.11. 0"
    [9]=> string(35) " libpostproc 51. 2. 0 / 51. 2. 0" [10]=> string(72) "[flv @ 0xb278b0]Estimating
    duration from bitrate, this may be inaccurate" [11]=> string(0) "" [12]=> string(99) "Seems stream 0
    codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)" [13]=> string(42)
    "Input #0, flv, from 'destinationfile.flv':" [14]=> string(11) " Metadata:" [15]=> string(23) " duration :
    6" [16]=> string(25) " width : 320" [17]=> string(25) " height : 240" [18]=> string(25) " videodatarate :
    195" [19]=> string(24) " framerate : 25" [20]=> string(23) " videocodecid : 2" [21]=> string(24) "
    audiodatarate : 31" [22]=> string(27) " audiosamplerate : 22050" [23]=> string(24) " audiosamplesize :
    16" [24]=> string(27) " stereo : false" [25]=> string(23) " audiocodecid : 2" [26]=> string(28) "
    filesize : 352720" [27]=> string(59) " Duration: 00:00:05.64, start: 0.000000, bitrate: 232 kb/s"
    [28]=> string(79) " Stream #0.0: Video: flv, yuv420p, 320x240, 200 kb/s, 25 tbr, 1k tbn, 1k tbc"
    [29]=> string(63) " Stream #0.1: Audio: mp3, 22050 Hz, 1 channels, s16, 32 kb/s" [30]=> string(25)
    "Unrecognized option 'c:v'" }
  • FFMPEG version 0.6.5 video rotate

    18 octobre 2017, par Sanjyot Shah

    I am writing a php code to rotate the video using ffmpeg 0.6.5 (This is the version installed on the client’s web-server). Unfortunately, I have not been able to find any documentation for this version of ffmpeg.

    Here is the command for ffmpeg I have written using few references I could find online.

    /usr/bin/ffmpeg -vfilters 'rotate=90' -i /hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/nsa.mp4 /hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/output.mp4

    The error for this command -

    array(18) [0]=> string(67) "FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers" [1]=> string(74) " built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)" [2]=> string(649) " configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —mandir=/usr/share/man —incdir=/usr/include —disable-avisynth —extra-cflags=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector —param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC’ —enable-avfilter —enable-avfilter-lavf —enable-libdirac —enable-libfaac —enable-libfaad —enable-libfaadbin —enable-libgsm —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-gpl —enable-nonfree —enable-postproc —enable-pthreads —enable-shared —enable-swscale —enable-vdpau —enable-version3 —enable-x11grab" [3]=> string(35) " libavutil 50.15. 1 / 50.15. 1" [4]=> string(35) " libavcodec 52.72. 2 / 52.72. 2" [5]=> string(35) " libavformat 52.64. 2 / 52.64. 2" [6]=> string(35) " libavdevice 52. 2. 0 / 52. 2. 0" [7]=> string(35) " libavfilter 1.19. 0 / 1.19. 0" [8]=> string(35) " libswscale 0.11. 0 / 0.11. 0" [9]=> string(35) " libpostproc 51. 2. 0 / 51. 2. 0" [10]=> string(135) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/nsa.mp4’ :" [11]=> string(11) " Metadata :" [12]=> string(26) " major_brand : mp42" [13]=> string(23) " minor_version : 0" [14]=> string(39) " compatible_brands : mp42mp41isomavc1" [15]=> string(60) " Duration : 00:00:11.44, start : 0.000000, bitrate : 2163 kb/s" [16]=> string(124) " Stream #0.0(und) : Video : h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 2160 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc" [17]=> string(24) "Unrecognized option ’vfilters’" int(1)

    The main part of the error is the last line - [17]=> string(24) "Unrecognized option ’vfilters’" int(1)

    I have tried using -vf as well instead of vfilters and I get the same error.

    Could someone please help me with any pointers ? I am open to any other technique to rotate video orientation. I have to rotate and save the video in the correct orientation.

    Thank you !

  • FFMPEG version 0.6.5 video rotate

    31 mars 2016, par Sanjyot Shah

    I am writing a php code to rotate the video using ffmpeg 0.6.5 (This is the version installed on the client’s web-server). Unfortunately, I have not been able to find any documentation for this version of ffmpeg.

    Here is the command for ffmpeg I have written using few references I could find online.

    /usr/bin/ffmpeg -vfilters 'rotate=90' -i /hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/nsa.mp4 /hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/output.mp4

    The error for this command -

    array(18) [0]=> string(67) "FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers" [1]=> string(74) " built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)" [2]=> string(649) " configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —mandir=/usr/share/man —incdir=/usr/include —disable-avisynth —extra-cflags=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector —param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC’ —enable-avfilter —enable-avfilter-lavf —enable-libdirac —enable-libfaac —enable-libfaad —enable-libfaadbin —enable-libgsm —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-gpl —enable-nonfree —enable-postproc —enable-pthreads —enable-shared —enable-swscale —enable-vdpau —enable-version3 —enable-x11grab" [3]=> string(35) " libavutil 50.15. 1 / 50.15. 1" [4]=> string(35) " libavcodec 52.72. 2 / 52.72. 2" [5]=> string(35) " libavformat 52.64. 2 / 52.64. 2" [6]=> string(35) " libavdevice 52. 2. 0 / 52. 2. 0" [7]=> string(35) " libavfilter 1.19. 0 / 1.19. 0" [8]=> string(35) " libswscale 0.11. 0 / 0.11. 0" [9]=> string(35) " libpostproc 51. 2. 0 / 51. 2. 0" [10]=> string(135) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/nsa.mp4’ :" [11]=> string(11) " Metadata :" [12]=> string(26) " major_brand : mp42" [13]=> string(23) " minor_version : 0" [14]=> string(39) " compatible_brands : mp42mp41isomavc1" [15]=> string(60) " Duration : 00:00:11.44, start : 0.000000, bitrate : 2163 kb/s" [16]=> string(124) " Stream #0.0(und) : Video : h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 2160 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc" [17]=> string(24) "Unrecognized option ’vfilters’" int(1)

    The main part of the error is the last line - [17]=> string(24) "Unrecognized option ’vfilters’" int(1)

    I have tried using -vf as well instead of vfilters and I get the same error.

    Could someone please help me with any pointers ? I am open to any other technique to rotate video orientation. I have to rotate and save the video in the correct orientation.

    Thank you !