Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (60)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (14114)

  • ffmpeg problem Could not write header for output file #0 (incorrect codec parameters ?) : Invalid data found when processing input

    2 octobre 2018, par Yair Villar

    im trying to grab a http streaming and restream it

    ffmpeg -re -i http://192.168.253.19:8000/play/0a0 -acodec copy -f rtsp rtsp://192.168.253.19:8000/test

    and the response i get is :

    fmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    [mpeg2video @ 0x7fc6ca801e00] Invalid frame dimensions 0x0.
       Last message repeated 6 times
    Input #0, mpegts, from 'http://192.168.253.19:8000/play/0a0':
     Duration: N/A, start: 83102.371922, bitrate: 15192 kb/s
     Program 306
       Metadata:
         service_name    :
         service_provider:
       Stream #0:0[0x8a2]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bottom first), 704x480 [SAR 10:11 DAR 4:3], 15000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0xc93]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, mono, fltp, 128 kb/s
       Stream #0:2[0xc94]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, mono, fltp, 64 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg4 (native))
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
    Error initializing output stream 0:0 --
    Conversion failed!

    I can’t seem to figure out what the problem is, i am passing this to node-fluent-ffmpeg latter on and pushing all to an astra server

  • FFMPEG libfdk_aac codec with VBR option not supported

    25 septembre 2018, par Piri

    I’m trying to makes an app that uses terminal ffmpeg with libfdk_aac codec.
    The problem is when I use -VBR mode, the result Bit rate mode is always Constant(CBR).

    I’ve searched about this problem and I’ve found the following article :

    https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-February/013652.html
    this article is from 2013 and seems is still valid !

    Also i am not the only one with this problem
    https://superuser.com/questions/1326239/encoding-aac-from-wav?rq=1

    My terminal string is :

    ffmpeg -i input* -c:a libfdk_aac -vbr 4 output**

    1. *- input formats can be : FLAC, WEBM, MP4
    2. **- output formats can be : M4A, AAC

    Question is : Can this be solved with the current version of ffmpeg :
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) ??
    if not, is using directly fdkaac from terminal the only option ?

    Any Help is much appreciated.

  • Streaming by ffserver and ffmpeg on RaspberryPi

    15 septembre 2018, par saitoib

    I want to ditribute the video of the UVC Camera on Rpsberry Pi
    I edited /etc/ffserver.conf as follows.

    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 20
    MaxClients 10
    MaxBandwidth 500000
    CustomLog -

    <feed>
    File /tmp/feed1.ffm
    FileMaxSize 50M
    </feed>

    <stream>
    Format status
    ACL allow 192.168.12.0 192.168.12.255
    </stream>

    <stream>
    Feed feed1.ffm
    Format mpeg
    VideoSize hd720
    VideoFrameRate 15
    VideoBitRate 4096
    VideoBufferSize 4096
    VideoQMin 5
    VideoQMax 51
    Strict -1
    </stream>

    Then, I started ffserver
    Next, I executed the following command

    ffmpeg -f v4l2 -s 1280x720 -i /dev/video0 -ac 1 -f alsa -i hw:1,0 http://localhost:8090/feed1.ffm

    I requested 192.168.12.101 : 8090 / test.mpeg from FireFox on the same network,
    but no video is displayed and a program to open or a file save dialog opens.

    What should I do ?

    Execution result of Raspberry Pi

    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 519134.790720, bitrate: 147456 kb/s
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 147456 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc
    Guessed Channel Layout for Input Stream #1.0 : mono
    Input #1, alsa, from 'hw:1,0':
     Duration: N/A, start: 1536994777.250578, bitrate: 768 kb/s
       Stream #1:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    [tcp @ 0x23ec7f0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Sat Sep 15 15:59:37 2018 [ffm @ 0xf10e40]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Sat Sep 15 15:59:37 2018 [ffm @ 0xf10e40]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Sat Sep 15 15:59:37 2018 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
    [tcp @ 0x2401d50] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
     Metadata:
       creation_time   : now
       encoder         : Lavf57.56.101
       Stream #0:0: Audio: mp2, 22050 Hz, mono, s16, 64 kb/s
       Metadata:
         encoder         : Lavc57.64.101 mp2
       Stream #0:1: Video: mpeg1video, yuv420p, 1280x720, q=5-51, 4096 kb/s, 10 fps, 1000k tbn, 15 tbc
       Metadata:
         encoder         : Lavc57.64.101 mpeg1video
       Side data:
         cpb: bitrate max/min/avg: 8192000/0/4096000 buffer size: 33554432 vbv_delay: -1
    Stream mapping:
     Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
     Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
    Press [q] to stop, [?] for help
    [alsa @ 0x23ebee0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
    [alsa @ 0x23ebee0] ALSA buffer xrun. 48kB time=00:00:00.13 bitrate=2949.1kbits/s dup=3 drop=0 speed=0.251x
    [video4linux2,v4l2 @ 0x23ea230] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
    [alsa @ 0x23ebee0] ALSA buffer xrun.276kB time=00:00:02.40 bitrate= 942.1kbits/s dup=30 drop=0 speed=0.201x
    Sat Sep 15 15:59:55 2018 [mpeg @ 0xf136d0]VBV buffer size not set, using default size of 130KB speed=0.844x
    If you want the mpeg file to be compliant to some specification
    Like DVD, VCD or others, make sure you set the correct buffer size
    frame=  107 fps=3.1 q=2.0 Lsize=     856kB time=00:00:14.06 bitrate= 498.6kbits/s dup=80 drop=0 speed=0.413x
    video:844kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.120285%
    Sat Sep 15 16:00:11 2018 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 876544
    Sat Sep 15 16:00:11 2018 [mpeg @ 0xf136d0]buffer underflow st=0 bufi=0 size=418
    Sat Sep 15 16:00:11 2018 192.168.12.150 - - [GET] "/test.mpeg HTTP/1.1" 200 29263
    Exiting normally, received signal 2.

    Result of 192.168.12.101:8090

    ffserver Status
    Available Streams
    Path    Served
    Conns  
    bytes   Format  Bit rate
    kbit/s  Video
    kbit/s  
    Codec   Audio
    kbit/s  
    Codec   Feed
    index.html  1   0   -   -   -       -  
    test.mpeg   0   0   mpeg    4160    4096    mpeg1video  64  mp2     feed1.ffm
    Feed feed1.ffm
    Stream  type    kbit/s  codec   Parameters
    0   audio   64  mp2 1 channel(s), 22050 Hz
    1   video   4096    mpeg1video  1280x720, q=5-51, fps=15
    Connection Status
    Number of connections: 1 / 10
    Bandwidth in use: 0k / 10000k
    #   File    IP  Proto   State   Target bit/s    Actual bit/s    Bytes transferred
    1   index.html  192.168.12.150  HTTP/1.1    HTTP_WAIT_REQUEST   0   0   0