Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (49)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (8880)

  • ffmpeg convert any file to any file

    28 mai 2015, par Vishnu

    I Want simple command to convert any supported file to any file with little possible video compression.

    for example

    avi to mp4
    mp4 to 3gp
    .
    .etc..

    I tried below code

    ffmpeg -i infile.flv outfile.3gp

    It works for some but for some other like flv to 3gp conversion it throws error like below and also output file size is very large than input.

    "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"

    P:s i compiled with below librareis

    ./configure --enable-version3 --enable-libopencore-amrnb --enable-libvo-aacenc --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree

    full response

    array(48) {
     [0]=>
     string(77) "ffmpeg version N-72286-gd9b264b Copyright (c) 2000-2015 the FFmpeg developers"
     [1]=>
     string(56) "  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)"
     [2]=>
     string(261) "  configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree"
     [3]=>
     string(40) "  libavutil      54. 23.101 / 54. 23.101"
     [4]=>
     string(40) "  libavcodec     56. 39.101 / 56. 39.101"
     [5]=>
     string(40) "  libavformat    56. 33.101 / 56. 33.101"
     [6]=>
     string(40) "  libavdevice    56.  4.100 / 56.  4.100"
     [7]=>
     string(40) "  libavfilter     5. 16.101 /  5. 16.101"
     [8]=>
     string(40) "  libswscale      3.  1.101 /  3.  1.101"
     [9]=>
     string(40) "  libswresample   1.  1.100 /  1.  1.100"
     [10]=>
     string(40) "  libpostproc    53.  3.100 / 53.  3.100"
     [11]=>
     string(32) "Input #0, flv, from 'video.flv':"
     [12]=>
     string(11) "  Metadata:"
     [13]=>
     string(25) "    major_brand     : M4V"
     [14]=>
     string(23) "    minor_version   : 1"
     [15]=>
     string(39) "    compatible_brands: M4V M4A mp42isom"
     [16]=>
     string(26) "    date            : 2008"
     [17]=>
     string(71) "    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org"
     [18]=>
     string(36) "    title           : Big Buck Bunny"
     [19]=>
     string(43) "    artist          : Peach Open Movie Team"
     [20]=>
     string(56) "    composer        : Sacha Goedegebure / Ton Roosendaal"
     [21]=>
     string(35) "    encoder         : Lavf55.33.100"
     [22]=>
     string(59) "  Duration: 00:09:56.58, start: 0.058000, bitrate: 663 kb/s"
     [23]=>
     string(88) "    Stream #0:0: Video: h264 (High), yuv420p, 640x360, 24.42 fps, 24 tbr, 1k tbn, 48 tbc"
     [24]=>
     string(61) "    Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s"
     [25]=>
     string(90) "[h263 @ 0x1ef5f60] The specified picture size of 640x360 is not valid for the H.263 codec."
     [26]=>
     string(77) "Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+."
     [27]=>
     string(33) "Output #0, 3gp, to 'outfile.3gp':"
     [28]=>
     string(11) "  Metadata:"
     [29]=>
     string(25) "    major_brand     : M4V"
     [30]=>
     string(23) "    minor_version   : 1"
     [31]=>
     string(39) "    compatible_brands: M4V M4A mp42isom"
     [32]=>
     string(26) "    date            : 2008"
     [33]=>
     string(71) "    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org"
     [34]=>
     string(36) "    title           : Big Buck Bunny"
     [35]=>
     string(43) "    artist          : Peach Open Movie Team"
     [36]=>
     string(56) "    composer        : Sacha Goedegebure / Ton Roosendaal"
     [37]=>
     string(35) "    encoder         : Lavf55.33.100"
     [38]=>
     string(60) "    Stream #0:0: Video: h263, none, q=2-31, 128 kb/s, 24 fps"
     [39]=>
     string(13) "    Metadata:"
     [40]=>
     string(42) "      encoder         : Lavc56.39.101 h263"
     [41]=>
     string(52) "    Stream #0:1: Audio: amr_nb, 0 channels, 128 kb/s"
     [42]=>
     string(13) "    Metadata:"
     [43]=>
     string(55) "      encoder         : Lavc56.39.101 libopencore_amrnb"
     [44]=>
     string(15) "Stream mapping:"
     [45]=>
     string(54) "  Stream #0:0 -> #0:0 (h264 (native) -> h263 (native))"
     [46]=>
     string(66) "  Stream #0:1 -> #0:1 (mp3 (native) -> amr_nb (libopencore_amrnb))"
     [47]=>
     string(119) "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"
    }
  • playing live streaming with video.js

    12 juin 2015, par randomuser1

    I want to stream on a webpage a video live that I receive from a server (with ffserver). So far when I write a very simple code :

       <code class="echappe-js">&lt;script src=&quot;http://www.andy-howard.com/js/libs/jquery-1.8.2.min.js&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;http://vjs.zencdn.net/4.12.6/video.js&quot;&gt;&lt;/script&gt;

    then it doesn’t work. But when I replace the line :

    <source src="http://10.172.180.235:8090/live.flv" type="video/x-flv">
    </source>

    with this one :

    <source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4">
    </source>

    then I can see the stream, but it comes from a file... Is there a way to display on my webpage live stream coming from ffserver ? Thanks.

  • FFMPEG pushed RTMP stream not working on Android & iPhone

    1er décembre 2015, par BlackDivine

    I have to make a semi-live-stream. I used Nginx-rtmp module and then pushed content to it via ffmpeg using :

    ffmpeg -re -i content.mp4 -r 25 -f fvl "rtmp://rtmp.server.here"

    The stream runs fine when I open it in VLC from "rtmp ://rtmp.server.here"

    But I also have to make iPhone and Android apps that play these streams. And that’s the problem, the stream doesn’t work on Android and iPhone.

    If I use Wowza streaming cloud and stream to Wowza cloud instead of my own nginx-rtmp server then the same app written for Android & iPhone can playback the stream just fine.

    Now either nginx-rtmp is not working right, or what else ? I’ve also tried crtmpserver and the same thing happens.

    What I want to acheive :
    I have to develop a system where we can upstream a TV-Channel (have rights for it) to a server and then make a website, android app & iPhone app so consumers can watch the live channel.

    The uploading part I have a clue of, probably a TV tuner card and Open Broadcast Software to stream it to server. But the Live playback is new to me.


    UPDATE : I also used ffprobe and here’s the output. (See the last line)

    munir@munir-HP-ProBook-450-G2:~$ ffprobe rtmp://rtmp.server.here
    ffprobe version 2.6.2 Copyright (c) 2007-2015 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    [flv @ 0x267cc60] Stream discovered after head already parsed
       Last message repeated 1 times
    Input #0, flv, from 'rtmp://stage.funworldpk.com/live':
     Metadata:
       Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
       displayWidth    : 320
       displayHeight   : 240
       fps             : 20
       profile         :
       level           :
     Duration: 00:00:00.00, start: 288.763000, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 20 fps, 20 tbr, 1k tbn, 40 tbc
       Stream #0:1: Data: none
       Stream #0:2: Audio: aac (LC), 22050 Hz, stereo, fltp
    Unsupported codec with id 0 for input stream 1

    Update 2 :
    I got my stream working by using Licensed copy of Wowza streaming server. Everything works now. But obviously this will not be an option for everyone that’s why I am not posting it as an answer.