Recherche avancée

Médias (91)

Autres articles (29)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (5885)

  • Seek issue with ffmpeg

    1er janvier 2015, par Ramesh

    I implemented one audio player using with ffmpeg for playing all format audio files in android.I used following code for seek the song.

            int64_t seekTime = av_rescale_q(seekValue * AV_TIME_BASE,
                       AV_TIME_BASE_Q,
                       fmt_ctx->streams[seekStreamIndex]->time_base);

               int64_t seekStreamDuration =
                       fmt_ctx->streams[seekStreamIndex]->duration;

               int flags = AVSEEK_FLAG_BACKWARD;
               if (seekTime > 0 && seekTime < seekStreamDuration)
                   flags |= AVSEEK_FLAG_ANY;

               int ret = av_seek_frame(fmt_ctx, seekStreamIndex, seek_target,
                       flags);

               if (ret < 0)
                   ret = av_seek_frame(fmt_ctx, seekStreamIndex, seekTime,
                           flags);

             avcodec_flush_buffers(dec_ctx);

    Its working fine for most of the songs.But some of the mp3 songs getting duration problem.For example if the song length is 2 mins if i seek the song to some position then finally song ends with 2 mins 10 seconds.I get this issue with only mp3 songs.Without seeking the same song ends with exact time. I am using ffmpeg 2.1 The some code working fine with ffmpeg 0.11.1 Please provide any information about this issue.

  • issue with ffmpeg config

    4 janvier 2015, par ali raha

    a ffmpeg was installed in my server but it no support some liberary like libvpx
    (centos 6.5)
    I couldn’t uninstall it but I install I new one with this tutorial :
    http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallLibvpx

    (all configs in ffmpeg seems install correctly)

    PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
    export PKG_CONFIG_PATH
    ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" \
    --extra-libs=-ldl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac \
    --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay \
    --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads

    So I want to test it :

    I try test it with :

    #ffmpeg

    result :

    enter image description here

    It seems related with older ffmpeg that was install.
    no change and no lib add !

  • M2TS from FREEBOX V6 -> Subtitle issue : Unsupported codec

    2 avril 2016, par httpways

    I would like to extract subtitles of an M2TS file coming from my FREEBOX V6.

    Below the command I typed :

    $ avprobe source.m2ts
    avprobe version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2007-2014 the Libav developers
     built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [aac @ 0x224c0c0] get_buffer() failed
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [aac @ 0x2267a80] get_buffer() failed
    [aac @ 0x224b6a0] get_buffer() failed
    [h264 @ 0x2249700] non-existing PPS referenced
    [h264 @ 0x2249700] non-existing PPS 0 referenced
    [h264 @ 0x2249700] decode_slice_header error
    [h264 @ 0x2249700] no frame!
    [mpegts @ 0x2244200] max_analyze_duration reached
    [mpegts @ 0x2244200] PES packet size mismatch
    [mpegts @ 0x2244200] PES packet size mismatch
    [mpegts @ 0x2244200] PES packet size mismatch
    [mpegts @ 0x2244200] PES packet size mismatch
    Input #0, mpegts, from 'source.m2ts':
     Duration: 00:55:00.23, start: 19624.453300, bitrate: 4608 kb/s
     Program 4106
       Stream #0.0[0x140]: Video: h264 (High), yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0.1[0x14a](fra): Audio: aac, 48000 Hz, stereo, fltp, 66 kb/s
       Stream #0.2[0x14b](qad): Audio: aac, 48000 Hz, stereo, fltp, 54 kb/s
       Stream #0.3[0x14c](qaa): Audio: aac, 48000 Hz, stereo, fltp, 65 kb/s
       Stream #0.4[0x155](fre): Subtitle: [6][0][0][0] / 0x0006
    [h264 @ 0x2249f80] Ignoring NAL unit 9 during extradata parsing
    Unsupported codec with id 94215 for input stream 4
    # avprobe output

    As you can see, I have an unsupported codec for the Subtitle stream n°4 [b]Unsupported codec with id 94215 for input stream 4[/b]

    Any idea on how to fix it ?

    Below is the mediainfo to show you more information about the file M2TS generated by the FREEBOX V6 :

    $ mediainfo source.m2ts
    General
    ID                                       : 4106 (0x100A)
    Complete name                            : source.m2ts
    Format                                   : BDAV
    Format/Info                              : Blu-ray Video
    File size                                : 1.77 GiB
    Duration                                 : 54mn 59s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 4 609 Kbps

    Video
    ID                                       : 320 (0x140)
    Menu ID                                  : 4106 (0x100A)
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Format settings, GOP                     : M=4, N=25
    Codec ID                                 : 27
    Duration                                 : 54mn 59s
    Width                                    : 1 440 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : MBAFF

    Audio #1
    ID                                       : 330 (0x14A)
    Menu ID                                  : 4106 (0x100A)
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format version                           : Version 2
    Format profile                           : HE-AAC / LC
    Muxing mode                              : ADTS
    Codec ID                                 : 15
    Duration                                 : 54mn 59s
    Bit rate mode                            : Variable
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz / 24.0 KHz
    Compression mode                         : Lossy
    Delay relative to video                  : -104ms
    Language                                 : French

    Audio #2
    ID                                       : 331 (0x14B)
    Menu ID                                  : 4106 (0x100A)
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format version                           : Version 2
    Format profile                           : HE-AAC / LC
    Muxing mode                              : ADTS
    Codec ID                                 : 15
    Duration                                 : 54mn 59s
    Bit rate mode                            : Variable
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz / 24.0 KHz
    Compression mode                         : Lossy
    Delay relative to video                  : -104ms
    Language                                 : qad

    Audio #3
    ID                                       : 332 (0x14C)
    Menu ID                                  : 4106 (0x100A)
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format version                           : Version 2
    Format profile                           : HE-AAC / LC
    Muxing mode                              : ADTS
    Codec ID                                 : 15
    Duration                                 : 54mn 59s
    Bit rate mode                            : Variable
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz / 24.0 KHz
    Compression mode                         : Lossy
    Delay relative to video                  : -104ms
    Language                                 : qaa

    Text #1
    ID                                       : 341 (0x155)-100
    Menu ID                                  : 4106 (0x100A)
    Format                                   : Teletext
    Language                                 : French

    Text #2
    ID                                       : 341 (0x155)-888
    Menu ID                                  : 4106 (0x100A)
    Format                                   : Teletext Subtitle
    Language                                 : French

    Text #3
    ID                                       : 341 (0x155)-889
    Menu ID                                  : 4106 (0x100A)
    Format                                   : Teletext Subtitle
    Language                                 : French

    Menu
    ID                                       : 66 (0x42)
    Menu ID                                  : 4106 (0x100A)
    Duration                                 : 54mn 59s
    List                                     : 320 (0x140) (AVC) / 330 (0x14A) (AAC, French) / 331 (0x14B) (AAC, qad) / 332 (0x14C) (AAC, qaa) / 341 (0x155) ()
    Language                                 :  / French / qad / qaa

    As we can, I have 3 Text section which logic with the Teletext subtitle I originnaly have on my internet box...

    Thanks for any help