Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (7)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (5680)

  • Automatic encoder selection failed for output stream #0:0 [duplicate]

    2 octobre 2016, par mgt1234

    This question already has an answer here :

    I use this command on ffmpeg :

    /usr/local/bin/ffmpeg -ss 40 -t 40 -i mymusic.mp3 -ab 15 voice.mp3 2>&1

    but I see this error :

    Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually. Error selecting an encoder for stream 0:0

    Also lamemp3 installed and enabled, how can I fix it ?

    this is complete output :

    ffmpeg version N-81842-g0fbd423 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
     configuration: --enable-decoder=png --enable-encoder=png
     libavutil      55. 32.100 / 55. 32.100
     libavcodec     57. 60.101 / 57. 60.101
     libavformat    57. 51.102 / 57. 51.102
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 63.100 /  6. 63.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  2.100 /  2.  2.100
    [mp3 @ 0x3ccd3c0] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from 'mymusic.mp3':
     Metadata:
       album_artist    : .:.:. WWW.NEWSONG3.COM .:.:.
       title           : Eshtebah .:.:. WWW.NEWSONG3.COM .:.:.
       artist          : Abolfazl Fallah .:.:. WWW.NEWSONG3.COM .:.:.
       album           : .:.:. WWW.NEWSONG3.COM .:.:.
       comment         : .:.:. WWW.NEWSONG3.COM .:.:.
       genre           : .:.:. WWW.NEWSONG3.COM .:.:.
       track           : .:.:. WWW.NEWSONG3.COM .:.:.
       copyright       : .:.:. WWW.NEWSONG3.COM .:.:.
       TOPE            : .:.:. WWW.NEWSONG3.COM .:.:.
       composer        : .:.:. WWW.NEWSONG3.COM .:.:.
       TBPM            : .:.:. WWW.NEWSONG3.COM .:.:.
       TIT3            : .:.:. WWW.NEWSONG3.COM .:.:.
       encoded_by      : .:.:. WWW.NEWSONG3.COM .:.:.
       disc            : .:.:. WWW.NEWSONG3.COM .:.:.
       MusicMatch_Mood : .:.:. WWW.NEWSONG3.COM .:.:.
       date            : 2013
     Duration: 00:04:08.77, start: 0.000000, bitrate: 129 kb/s
       Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 300x300 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         comment         : Cover (front)
    Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually.
    Error selecting an encoder for stream 0:0
  • How can I skip an image error when trimming an mp3 with ffmpeg

    29 septembre 2016, par John Pollard

    I am running the following command to get cut a 30 second section of the file

    ffmpeg -i 'river.mp3' -ss 30 -t 30 -acodec libmp3lame -b:a 128k 'audio_trimmed.mp3'

    but I am getting a "Invalid PNG signature" error. Is there a way to skip the image since I don’t need it and have the command run successfully ?

    ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 7.3.0 (clang-703.0.31)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.5 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libvorbis --enable-vda
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mp3 @ 0x7f8419010600] Skipping 0 bytes of junk at 73436.
    [png @ 0x7f8419812600] Invalid PNG signature 0xFFD8FFE000104A46.
    [mp3 @ 0x7f8419010600] decoding for stream 1 failed
    [mp3 @ 0x7f8419010600] Could not find codec parameters for stream 1 (Video: png, none(pc)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mp3, from 'river.mp3':
     Metadata:
       genre           : Podcast
       album           : River City Church's Podcast
       artist          : Antley Fowler
       title           : Jubilee Brings Justice
       date            : 2016-08-15 10:23
     Duration: 00:28:28.07, start: 0.025056, bitrate: 64 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 64 kb/s
       Stream #0:1: Video: png, none(pc), 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : Episode Artwork
         comment         : Cover (front)
    [buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
    [buffer @ 0x7f8418c18de0] Unable to parse option value "-1" as pixel format
    [buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
    [buffer @ 0x7f8418c18de0] Error setting option video_size to value 0x0.
    [graph 0 input from stream 0:1 @ 0x7f8418c18ee0] Error applying options to the filter.
    Error opening filters!
  • Send ffmpeg input from python variable

    27 septembre 2016, par Roney rogerio

    I need send continuouns date to ffmpeg from python, I have tried but really dont know the best solution to make this, i have tried :

    import subprocess as sp
    import time

    command = ["/usr/bin/ffmpeg",
              '-f', 'hls',
              '-c', 'copy',
              '-hls_time', '10',
              '-hls_flags', 'delete_segments',
              '-i', '-', # The imput comes from a pipe
              'index.m3u8' ]

    proc = sp.Popen(command, stdin=sp.PIPE)

    proc.stdin.write(open("video.ts", 'r').read())

    proc.stdin.close()
    proc.wait()

    I get the error :

    ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 47.100 /  6. 47.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    pipe:: Invalid data found when processing input
    Traceback (most recent call last):
     File "teste.py", line 15, in <module>
       proc.stdin.write(open("video.ts", 'r').read())
    IOError: [Errno 32] Broken pipe
    </module>