Recherche avancée

Médias (91)

Autres articles (107)

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (7986)

  • FFMPEG wmv conversion to flv

    25 novembre 2012, par Brandon Grossutti

    anyone using ffmpeg

    I have a fairly simple wmv exported by a user from movie maker with standard output and want to convert to .flv using

    C :>ffmpeg -i "E :\Jab Core 4 Recounters.wmv" -vcodec flv "C :\Net Projects\SVN\IntegratedAlgorithmics\src\MediaAdmin\MediaAdmin\bin\Debug\Movies\Jab Core 4 Recounters.flv" -ar 44100

    the output / error i receive is

    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --enable-gpl --enable-postproc --enable-swscale --enable-avfilt
    er --enable-avfilter-lavf --enable-pthreads --enable-avisynth --enable-libfaac -
    -enable-libfaad --enable-libmp3lame --enable-libspeex --enable-libtheora --enabl
    e-libvorbis --enable-libxvid --enable-libx264 --enable-memalign-hack
     libavutil     49.15. 0 / 49.15. 0
     libavcodec    52.20. 0 / 52.20. 0
     libavformat   52.31. 0 / 52.31. 0
     libavdevice   52. 1. 0 / 52. 1. 0
     libavfilter    0. 4. 0 /  0. 4. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Mar 16 2009 16:09:18, gcc: 4.2.4 [Sherpya]
    [wmv3 @ 0x1c0d490]Extra data: 8 bits left, value: 0

    Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000
    /1) -> 30.00 (30/1)
    Input #0, asf, from 'E:\Jab Core 4 Recounters.wmv':
     Duration: 00:01:55.99, start: 5.000000, bitrate: 813 kb/s
       Stream #0.0: Audio: wmav2, 48000 Hz, stereo, s16, 192 kb/s
       Stream #0.1: Video: wmv3, yuv420p, 640x480, 586 kb/s, 30 tbr, 1k tbn, 1k tbc

    Output #0, flv, to 'C:\Net Projects\SVN\IntegratedAlgorithmics\src\MediaAdmin\Me
    diaAdmin\bin\Debug\Movies\Jab Core 4 Recounters.flv':
       Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 30 tbc

       Stream #0.1: Audio: libmp3lame, 48000 Hz, stereo, s16, 64 kb/s
    Stream mapping:
     Stream #0.1 -> #0.0
     Stream #0.0 -> #0.1
    [wmv3 @ 0x1c0d490]Extra data: 8 bits left, value: 0
    [libmp3lame @ 0x1c0d8d0]flv does not support that sample rate, choose from (4410
    0, 22050, 11025).
    Could not write header for output file #0 (incorrect codec parameters ?)

    i added th -ar switch when i got the error the first time

    the codec info i have on the file is as follows

    General
    Complete name                    : E:\Jab Core 4 Recounters.wmv
    Format                           : Windows Media
    File size                        : 11.3 MiB
    Duration                         : 2mn 0s
    Overall bit rate mode            : Variable
    Overall bit rate                 : 780 Kbps
    Maximum Overall bit rate         : 949 Kbps
    Encoded date                     : UTC 2009-03-07 07:02:41.121
    Writing application              :  6.0.6000.16386 / Windows Movie Maker
    Application                      : Windows Movie Maker 6.0.6000.16386

    Video
    ID                               : 2
    Format                           : VC-1
    Format profile                   : MP@ML
    Codec ID                         : WMV3
    Codec ID/Info                    : Windows Media Video 9
    Codec ID/Hint                    : WMV3
    Duration                         : 2mn 0s
    Bit rate mode                    : Variable
    Bit rate                         : 587 Kbps
    Width                            : 640 pixels
    Height                           : 480 pixels
    Display aspect ratio             : 4/3
    Frame rate                       : 30.000 fps
    Resolution                       : 24 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.064
    Stream size                      : 8.46 MiB (75%)
    Language                         : en-us

    Audio
    ID                               : 1
    Format                           : WMA2
    Format profile                   : L3
    Codec ID                         : 161
    Codec ID/Info                    : Windows Media Audio 2
    Description of the codec         : Windows Media Audio 9.2 - VBR Quality 90, 48 kHz, stereo 1-pass VBR
    Duration                         : 2mn 0s
    Bit rate mode                    : Variable
    Bit rate                         : 186 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 48.0 KHz
    Resolution                       : 16 bits
    Stream size                      : 2.68 MiB (24%)
    Language                         : en-us

    i see alot of people with this issue with so solution or cause

    any ideas would be helpful
    thanks in advance

  • Stream a short video continuously with ffmpeg

    12 janvier 2014, par Blue Sky

    I have a short video (3 sec), and I want to stream it over a UDP address like udp ://127.0.0.1:1000 continously (repeatedly) so that the stream runs forever unless the user stops the streaming session. How can I do so ? Thanks !

  • I am able to create m3u8 file using ffmpeg from rtmp live but not able to play the file in html5 video tag & apple device

    3 janvier 2014, par Nikita

    I am able to create the m3u8 file by following steps :

    1.Execute ffmpeg -v verbose -i rtmp://<host>:<port>/<stream> -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 18 -profile:v baseline -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 <pathtofolderyouwantto>/<streamname>.m3u8
    </streamname></pathtofolderyouwantto></stream></port></host>

    2.Make that folder you just mentioned on ffmpeg command () to be accessible by an http url.

    3.Create a simple html page to play :

    <video controls="controls" width="480" height="270" src="<streamName>.m3u8"></video>

    But not able to play using html5 video tag as well as in apple device.

    following is my ffmpeg console output :

    sending ctrl. type: 0x0003
    Invoking createStream
    FCSubscribe: livestream
    Invoking FCSubscribe
    RTMP_ClientPacket, received: invoke 29 bytes
    (object begin)
    Property:
    Property:
    Property: NULL
    Property:
    (object end)
    HandleInvoke, server invoking &lt;_result>
    HandleInvoke, received result for method call <createstream>
    SendPlay, seekTime=0, stopTime=0, sending play: livestream
    Invoking play
    sending ctrl. type: 0x0003
    RTMP_ClientPacket, received: invoke 21 bytes
    (object begin)
    Property:
    Property:
    Property: NULL
    Property: NULL
    (object end)
    HandleInvoke, server invoking &lt;_result>
    HandleInvoke, received result for method call <fcsubscribe>
    HandleChangeChunkSize, received: chunk size change to 1024
    Received FLV packet before play()! Ignoring.
    HandleCtrl, received ctrl. type: 0, len: 6
    HandleCtrl, Stream Begin 1
    RTMP_ClientPacket, received: invoke 160 bytes
    (object begin)
    Property:
    Property:
    Property: NULL
    Property:
    (object begin)
    Property:
    Property:
    Property:
    Property:
    Property:
    (object end)
    (object end)
    HandleInvoke, server invoking <onstatus>
    HandleInvoke, onStatus: NetStream.Play.Reset
    RTMP_ClientPacket, received: invoke 154 bytes
    (object begin)
    Property:
    Property:
    Property: NULL
    Property:
    (object begin)
    Property:
    Property:
    Property:
    Property:
    Property:
    (object end)
    (object end)
    HandleInvoke, server invoking <onstatus>
    HandleInvoke, onStatus: NetStream.Play.Start
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465657184
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465659184
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465661184
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465662184
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465663184
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465678183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465680183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465682183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465684183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465686183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465688183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465690183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465692183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465694183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465696183
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465698182
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465700182
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465702182
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465704182
    sending ctrl. type: 0x0007
    HandleCtrl, received ctrl. type: 6, len: 6
    HandleCtrl, Ping 1465706182
    sending ctrl. type: 0x0007
    [flv @ 0263ce00] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from &#39;rtmp://serveripaddress/oflaDemo/livestream live=1&#39;:
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: vp6f, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc
    [graph 0 input from stream 0:0 @ 03020420] w:320 h:240 pixfmt:yuv420p tb:1/1000 fr:1000/1 sar:0/1 sws_param:flags=2
    [libx264 @ 02833600] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 02833600] profile Constrained Baseline, level 4.2
    [mpegts @ 038c1180] muxrate VBR, pcr every 100 pkts, sdt every 200, pat/pmt every 40 pkts
    Output #0, hls, to &#39;C:/Program Files/Apache Software Foundation/apache-tomcat-6.0.35/webapps/mediaplayer/stream.m3u8&#39;:
     Metadata:
       encoder         : Lavf54.37.100
       Stream #0:0: Video: h264, yuv420p, 320x240, q=-1--1, 90k tbn, 1k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (vp6f -> libx264)
    Press [q] to stop, [?] for help
    Error while decoding stream #0:0: Error number -1 occurred
       Last message repeated 2 times
    *** 192 dup!
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 1 times
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=0.0 q=28.0 size=       0kB time=00:00:00.56 bitrate=   0.0kbits/s dup=601 drop=0
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 3 times
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 47 dup! fps=1129 q=47.0 size=       0kB time=00:00:01.17 bitrate=   0.0kbits/s dup=1199 drop=0
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 1 times
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1164 q=40.0 size=       0kB time=00:00:01.82 bitrate=   0.0kbits/s dup=1844 drop=0
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1181 q=57.0 size=       0kB time=00:00:02.48 bitrate=   0.0kbits/s dup=2489 drop=0
       Last message repeated 1 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 1 times
    *** 64 dup!
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 46 dup! fps=1181 q=44.0 size=       0kB time=00:00:03.09 bitrate=   0.0kbits/s dup=3088 drop=0
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
    *** 64 dup!
    *** 62 dup!
    *** 63 dup!
    *** 47 dup!
    *** 64 dup!
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 62 dup! fps=1190 q=49.0 size=       0kB time=00:00:03.74 bitrate=   0.0kbits/s dup=3733 drop=0
    *** 63 dup!
    *** 48 dup!
    *** 62 dup!
    *** 64 dup!
    *** 62 dup!
    *** 48 dup!
    *** 62 dup!
    *** 64 dup!
    *** 62 dup!
    *** 47 dup!
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1201 q=32.0 size=       0kB time=00:00:04.40 bitrate=   0.0kbits/s dup=4377 drop=0
       Last message repeated 2 times
    *** 48 dup!
    *** 63 dup!
       Last message repeated 1 times
    *** 62 dup!
    *** 48 dup!
    *** 63 dup!
       Last message repeated 1 times
    *** 62 dup!
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 48 dup! fps=1214 q=57.0 size=       0kB time=00:00:05.07 bitrate=   0.0kbits/s dup=5038 drop=0
    *** 63 dup!
    *** 62 dup!
    *** 63 dup!
    *** 48 dup!
    *** 62 dup!
    *** 63 dup!
       Last message repeated 1 times
    *** 47 dup!
    *** 64 dup!
    *** 63 dup!
       Last message repeated 1 times
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 47 dup! fps=1226 q=52.0 size=       0kB time=00:00:05.79 bitrate=   0.0kbits/s dup=5747 drop=0
    *** 63 dup!
       Last message repeated 3 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 1 times
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1232 q=57.0 size=       0kB time=00:00:06.51 bitrate=   0.0kbits/s dup=6455 drop=0
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 1 times
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1240 q=57.0 size=       0kB time=00:00:07.23 bitrate=   0.0kbits/s dup=7163 drop=0
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 1 times
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1243 q=44.0 size=       0kB time=00:00:07.95 bitrate=   0.0kbits/s dup=7871 drop=0
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 3 times
    *** 47 dup!
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1245 q=52.0 size=       0kB time=00:00:08.61 bitrate=   0.0kbits/s dup=8516 drop=0
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 2 times
    *** 47 dup!
    Bitrate not available, avio_tell() failed: Error number -22 occurred
    *** 63 dup! fps=1250 q=49.0 size=       0kB time=00:00:09.33 bitrate=   0.0kbits/s dup=9224 drop=0
       Last message repeated 2 times
    *** 47 dup!
    *** 63 dup!
       Last message repeated 1 times
    </onstatus></onstatus></fcsubscribe></createstream>