Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (61)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9664)

  • Want to send a video from desktop to Wowza using ffmpeg

    3 mars 2018, par ST94

    I am trying to stream a local .mp4 video file from my laptop to Wowza Streaming Engine using ffmpeg. Both systems are able to ping each other. I give the following command on my laptop

    ffmpeg -re -i bunny_1080p_60fps_normal.mp4 -vcodec libx264 -acodec aac -ar 48000 -strict experimental -f flv "rtmp://192.168.1.22:1935/live/myStream"

    192.168.1.22 is the IP address of Wowza server residing on another system running Ubuntu 17.04.

    I see the following on the command prompt of my laptop when I give the above command,

    ffmpeg version N-89894-g18e2ac032e Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
     libavutil      56.  7.100 / 56.  7.100
     libavcodec     58.  9.100 / 58.  9.100
     libavformat    58.  5.101 / 58.  5.101
     libavdevice    58.  0.101 / 58.  0.101
     libavfilter     7. 11.101 /  7. 11.101
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bunny_1080p_60fps_normal.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       creation_time   : 2013-12-16T17:59:32.000000Z
       title           : Big Buck Bunny, Sunflower version
       artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
       comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
       genre           : Animation
       composer        : Sacha Goedegebure
     Duration: 00:10:34.53, start: 0.000000, bitrate: 4486 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4001 kb/s, 60 fps, 60 tbr, 60k tbn, 120 tbc (default)
       Metadata:
         creation_time   : 2013-12-16T17:59:32.000000Z
         handler_name    : GPAC ISO Video Handler
       Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 160 kb/s (default)
       Metadata:
         creation_time   : 2013-12-16T17:59:37.000000Z
         handler_name    : GPAC ISO Audio Handler
       Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
       Metadata:
         creation_time   : 2013-12-16T17:59:37.000000Z
         handler_name    : GPAC ISO Audio Handler
       Side data:
         audio service type: main
    [rtmp @ 000001ed7c4108c0] No credentials set
    [rtmp @ 000001ed7c4108c0] Server error: [ AccessManager.Reject ] : [ code=403 need auth; authmod=adobe ] :
    rtmp://192.168.1.22:1935/live/myStream: Unknown error occurred

    Can anyone please tell me what the exact procedure is to stream a video file to Wowza .

    How will I be able to view the stream at Wowza ?

  • How can I convert audio to WAVE_FORMAT_PCM using FFmpeg ?

    16 juin, par Eric Stdlib

    I am using Python's wave module to read audio, and using FFmpeg to convert audio from other types to wav. However, I am encountering some problem.

    



    I wrote v.py to generate an silence audio file a.wav

    



    import sys, wave, math
import numpy as np

wave_data = np.zeros(44100).astype(np.short)

f = wave.open('a.wav', 'wb')
f.setnchannels(1)
f.setsampwidth(2)
f.setframerate(96000)
f.writeframes(wave_data.tostring())
f.close()


    



    Then I used FFmpeg to "copy" a.wav to b.wav (though it seems to encode / decode the file), but I can only read a.wav with Python ; b.wav cannot be opened.

    



    [user@localhost tmp]$ ffmpeg -i a.wav b.wav&#xA;Guessed Channel Layout for Input Stream #0.0 : mono&#xA;Input #0, wav, from &#x27;a.wav&#x27;:&#xA;  Duration: 00:00:00.46, bitrate: 1536 kb/s&#xA;    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 96000 Hz, mono, s16, 1536 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, wav, to &#x27;b.wav&#x27;:&#xA;  Metadata:&#xA;    ISFT            : Lavf57.71.100&#xA;    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 96000 Hz, mono, s16, 1536 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc57.89.100 pcm_s16le&#xA;size=      86kB time=00:00:00.45 bitrate=1537.8kbits/s speed= 706x    &#xA;video:0kB audio:86kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.115646%&#xA;[user@localhost tmp]$ python3&#xA;Python 3.6.4 (default, Jan 23 2018, 22:25:37) &#xA;[GCC 7.2.1 20170915 (Red Hat 7.2.1-2)] on linux&#xA;Type "help", "copyright", "credits" or "license" for more information.&#xA;>>> import wave&#xA;>>> wave.open(&#x27;a.wav&#x27;)&#xA;&#xA;>>> wave.open(&#x27;b.wav&#x27;)&#xA;Traceback (most recent call last):&#xA;  File "<stdin>", line 1, in <module>&#xA;  File "/usr/lib64/python3.6/wave.py", line 499, in open&#xA;    return Wave_read(f)&#xA;  File "/usr/lib64/python3.6/wave.py", line 163, in __init__&#xA;    self.initfp(f)&#xA;  File "/usr/lib64/python3.6/wave.py", line 143, in initfp&#xA;    self._read_fmt_chunk(chunk)&#xA;  File "/usr/lib64/python3.6/wave.py", line 260, in _read_fmt_chunk&#xA;    raise Error(&#x27;unknown format: %r&#x27; % (wFormatTag,))&#xA;wave.Error: unknown format: 65534&#xA;>>> &#xA;</module></stdin>

    &#xA;&#xA;

    How should I change the command of FFmpeg to convert the file to WAVE_FORMAT_PCM, so that I can read b.wav with Python ?

    &#xA;

  • video streaming server ffserver, can i use it in live env

    25 décembre 2019, par shrw

    I was looking for video streaming server accept videos and stream it.

    Saw ffserver was
    https://trac.ffmpeg.org/wiki/ffserver

    Warning : ffserver has been removed on 2018-01-06. If you still need it checkout commit 2ca65fc or use the 3.4 release branch.

    It also suggested https://github.com/klaxa/mkvserver_mk2

    Can i still use ffserver.