Recherche avancée

Médias (91)

Autres articles (73)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6919)

  • AC3 decoding throws error number -16976906 ... vlc plays well

    23 décembre 2022, par user1940163

    I have got a mpeg ts file with following composition (shown by ffprobe)

    


    ffprobe version N-109444-geef763c705 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --enable-openssl
  libavutil      57. 43.100 / 57. 43.100
  libavcodec     59. 55.103 / 59. 55.103
  libavformat    59. 34.102 / 59. 34.102
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 53.100 /  8. 53.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
[mpegts @ 0x56201c2c1cc0] Could not find codec parameters for stream 1 (Audio: ac3 ([129][0][0][0] / 0x0081), stereo, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mpegts, from 'ff_vlc.ts':
  Duration: 00:10:00.02, start: 1.400000, bitrate: 1839 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 856x480 [SAR 320:321 DAR 16:9], 30 fps, 59.94 tbr, 90k tbn
  Stream #0:1[0x101](spa): Audio: ac3 ([129][0][0][0] / 0x0081), stereo, fltp


    



    


    I intend to transcode this so that I copy the video as it is but the audio will be encoded to aac ...so that I can play it in the browser.

    


    I use the following ffmpeg command to attempt that

    


    ffmpeg -i ff_vlc.ts -vcodec copy -acodec aac -map 0:v:0 -map 0:a:0 ff_vlc_2.ts


    


    this throws errors with -16976906 as follows..........( I have clipped the repetitive excessively long output)

    


    ffmpeg -i ff_vlc.ts -vcodec copy -acodec aac -map 0:v:0 -map 0:a:0 ff_vlc_2.ts
ffmpeg version N-109444-geef763c705 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --enable-openssl
  libavutil      57. 43.100 / 57. 43.100
  libavcodec     59. 55.103 / 59. 55.103
  libavformat    59. 34.102 / 59. 34.102
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 53.100 /  8. 53.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
[mpegts @ 0x55b4369b2440] Could not find codec parameters for stream 1 (Audio: ac3 ([129][0][0][0] / 0x0081), stereo, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mpegts, from 'ff_vlc.ts':
  Duration: 00:10:00.02, start: 1.400000, bitrate: 1839 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 856x480 [SAR 320:321 DAR 16:9], 30 fps, 59.94 tbr, 90k tbn
  Stream #0:1[0x101](spa): Audio: ac3 ([129][0][0][0] / 0x0081), stereo, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
Error while decoding stream #0:1: Error number -16976906 occurred
    Last message repeated 17065 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
    Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
    Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
    Last message repeated 2 times
....
....
....(repetitive output clipped and removed)
....
....
    Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
    Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
[abuffer @ 0x56289e5ab100] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
    Last message repeated 1 times
[abuffer @ 0x56289e5ab100] Error setting option time_base to value 1/0.
[graph_0_in_0_1 @ 0x5628a3f5e800] Error applying options to the filter.
Error reinitializing filters!
Error while filtering: Numerical result out of range
Finishing stream 0:1 without any data written to it.
[abuffer @ 0x56289b2b89c0] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
    Last message repeated 1 times
[abuffer @ 0x56289b2b89c0] Error setting option time_base to value 1/0.
[graph_0_in_0_1 @ 0x56289a63e780] Error applying options to the filter.
Error configuring filter graph
Conversion failed!


    



    


    I tried the above even with this command

    


    ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -i ff_vlc.ts -vcodec copy -acodec aac -map 0:v:0 -map 0:a:0 ff_vlc_2.ts


    


    Still get the same errors. Only changed lines in the output are

    


    [mpegts @ 0x55e1b757d580] Failed to allocate buffers for seekback
[mpegts @ 0x55e1b757d580] Could not find codec parameters for stream 1 (Audio: ac3 ([129][0][0][0] / 0x0081), stereo, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (2147483647) and 'probesize' (2147483647) options


    



    


    VLC player has no problems in playing this audio ... only ffmpeg cannot decode.

    


    How do I fix this ?

    


    Please help
Thanks

    


  • Can MPMoviePlayerController play m3u8 file

    26 novembre 2013, par Nitesh

    I am trying to play a m3u8 file using MPMovieplayercontroller
    i pass the url to the MPMovieplayercontroller
    But it will not play. Is it possible ?

    I am converting flv,avi video file formats into m3u8 files using ffmpeg for live http streaming on my server.

    The m3u8 url works when i pass it to VLC as a network stream on my mac.
    I know this has been asked a number of times but i have not got any satisfactory answers.

    Regards
    Nitesh

  • ffmpeg overlay video with audio

    2 août 2017, par ravindu1024

    I have two video files : input.mp4 (55seconds) and overlay.mp4 (10seconds). I need to overlay the overlay.mp4 on input.mp4 between 00:00:5 and 00:00:15 with both audio streams audible.
    I am using this command and everything seems to work ok but its causing a buffer overflow and causes the overlaid video to freeze and flicker. What am I doing wrong here ?

    ffmpeg -i input.mp4 -i overlay.mp4 -strict -2 -filter_complex
    "[0:v]setpts=PTS-STARTPTS[v0];
    [1:v]setpts=PTS-STARTPTS+5/TB[v1];
    [v0][v1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:eof_action=pass[outv];
    [1:a]adelay=5000[a1];
    [0:a][a1] amix [outa]"
    -map [outv] -map [outa] out.mp4

    Log :

    Output #0, mp4, to 'out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.40.101
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         encoder         : Lavc56.60.100 libx264
       Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         encoder         : Lavc56.60.100 aac
    Stream mapping:
     Stream #0:0 (h264) -> setpts
     Stream #0:1 (aac) -> amix:input0
     Stream #1:0 (h264) -> setpts
     Stream #1:1 (aac) -> adelay
     overlay -> Stream #0:0 (libx264)
     amix -> Stream #0:1 (aac)
    Press [q] to stop, [?] for help
    [Parsed_overlay_2 @ 0x169afe0] [framesync @ 0x169b128] Buffer queue overflow, dropping.
       Last message repeated 1 times
    [Parsed_overlay_2 @ 0x169afe0] [framesync @ 0x169b128] Buffer queue overflow, dropping.
       Last message repeated 13 times
    [Parsed_overlay_2 @ 0x169afe0] [framesync @ 0x169b128] Buffer queue overflow, dropping