Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (60)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (6967)

  • Evolution of Multimedia Fiefdoms

    1er octobre 2014, par Multimedia Mike — General

    I want to examine how multimedia fiefdoms have risen and fallen through the years.


    Medieval Castle

    Back in the day, the multimedia fiefdoms were built around the formats put forth by competing companies : there was Microsoft/WMV, Apple/MOV, and Real/RM as the big contenders. On2 always wanted to be a player in this arena but could never quite catch a break. A few brave contenders held the line for open source and also for the power users who desired one application that could handle everything (my original motivation for wanting to get into multimedia hacking).

    The computer desktop was the battleground for internet-based media stream. Whatever happened to those days ? Actually, if memory serves, Flash-based video streaming stepped on all of them.

    Over the last 6-7 years, the battleground has expanded to cover mobile devices, where Flash’s impact has… lessened. During this time, multimedia technology pretty well standardized on a particular stack, namely, the MPEG (MP4/H.264/AAC) stack.

    The belligerents in this war tried for years to effectively penetrate new territory, namely, the living room where the television lived. This had been slowgoing for years due to various user interface and content issues, but steadily improved.

    Last April, Amazon announced their entry into the set-top box market with the Fire TV. That was when it suddenly crystallized for me that the multimedia ecosystem has radically shifted. Now, the multimedia fiefdoms revolve around access to content via streaming services.

    Off the top of my head, here are some of the fiefdoms these days (fiefdoms I have experience using) :

    • Netflix (subscription streaming)
    • Amazon (subscription, rental, and purchased streaming)
    • Hulu Plus (subscription streaming)
    • Apple (rental and purchased media)

    I checked some results on Can I Stream.It ? (which I refer to often) and found a bunch more streaming fiefdoms such as Google (both Play and YouTube, which are separate services), Sony, Xbox 360, Crackle, Redbox Instant, Vudu, Target Ticket, Epix, Sony, SnagFilms, and XFINITY StreamPix. And surely, these are probably just services available in the United States ; I know other geographical regions have their own fiefdoms.

    What happened ?

    When I got into multimedia hacking, there were all these disparate, competing ecosystems. As a consumer, I didn’t care where the media came from, I just wanted to play it. That’s what inspired me to work on open source multimedia projects. Now I realize that I have the same problem 10-15 years later : there are multiple competing ecosystems. I might subscribe to fiefdoms X and Y, but am frustrated to learn that something I’d like to watch is only available through fiefdom Z. Very few of these fiefdoms can be penetrated using open source technology.

    I’m not really sure about the point about this whole post. Multimedia technology seems really standardized these days. But that’s probably just my perspective because I have spent way too long focusing on a few areas of multimedia technology such as audio and video coding. It’s interesting that all these services probably leverage the same limited number of codecs. Their differentiation comes from the catalog of content that each is able to license for streaming. There are different problems to solve in the multimedia arena now.

  • ffmpeg conversion from Flac to Ogg produces corrupted files

    8 avril 2021, par experimental

    i transcoded flac files to ogg using this command

    


    ffmpeg -i input.flac -c:a libvorbis -b:a 500k  output.ogg


    


    yes i use 500k to keep the highest quality possible, some of the files are ok, but some of them can not be played - Unsupported format or corrupted file says the foobar - also my icecast streamer cant read it. So there is something wrong with the files.

    


    I believed it was due to the high bitrate so I tried

    


    ffmpeg -i input.flac -c:a libvorbis -b:a 320k  output.ogg


    


    the same happened, some files were ok, some were not playable.
so I tried again with default using this command

    


    ffmpeg -i input.flac -c:a libvorbis output.ogg


    


    same thing. some files were ok, some were corrupted and not playable.

    


    i have no clue why.

    


    both flac and ogg are in the same family, what happened during the transcoding that it became a corrupted file ?

    


    the spectral analysis does not show anything wrong - here it the ogg https://prnt.sc/115zdjl, here is the original flac https://prnt.sc/115zegw

    


    i am really interested what is going on and how to make it work ?

    


    can anyone explain ?

    


    here is complete log

    


        C:\Users\lukas.kotatko>ffmpeg -i "\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years.flac" -c:a libvorbis -b:a 500k "\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years [500k test].ogg"
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.1 (GCC) 20200726
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, flac, from '\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years.flac':
  Metadata:
    GENRE           : Tribal / Ambient
    ORGANIZATION    : Waveform Records
    ISRC            : 01101-2
    COMMENT         : US reissue featuring the six original tracks plus two taken from the Invocation album.
    MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
    ORIGINALDATE    : 1993
    ORIGINALYEAR    : 1993
    RELEASETYPE     : album
    MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
    ALBUM           : One Thousand Years
    BARCODE         : 789060110125
    MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
    album_artist    : Tuu
    ALBUMARTISTSORT : Tuu
    ASIN            : B00005B9TT
    SCRIPT          : Latn
    RELEASESTATUS   : official
    LABEL           : Waveform Records
    CATALOGNUMBER   : 01101-2
    RELEASECOUNTRY  : US
    DATE            : 2001-05-08
    TOTALDISCS      : 1
    disc            : 1
    TOTALTRACKS     : 8
    MEDIA           : CD
    MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
    TITLE           : One Thousand Years
    MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
    ARTIST          : Tuu
    ARTISTSORT      : Tuu
    ARTISTS         : Tuu
    MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
    track           : 2
    TRACKTOTAL      : 8
    DISCTOTAL       : 1
  Duration: 00:08:03.67, start: 0.000000, bitrate: 792 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x600 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      comment         : Cover (front)
Stream mapping:
  Stream #0:1 -> #0:0 (mjpeg (native) -> theora (libtheora))
  Stream #0:0 -> #0:1 (flac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
[swscaler @ 0000015307581a00] deprecated pixel format used, make sure you did set range correctly
[ogg @ 00000153073f1680] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
Output #0, ogg, to '\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years [500k test].ogg':
  Metadata:
    GENRE           : Tribal / Ambient
    ORGANIZATION    : Waveform Records
    ISRC            : 01101-2
    COMMENT         : US reissue featuring the six original tracks plus two taken from the Invocation album.
    MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
    ORIGINALDATE    : 1993
    ORIGINALYEAR    : 1993
    RELEASETYPE     : album
    MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
    ALBUM           : One Thousand Years
    BARCODE         : 789060110125
    MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
    album_artist    : Tuu
    ALBUMARTISTSORT : Tuu
    ASIN            : B00005B9TT
    SCRIPT          : Latn
    RELEASESTATUS   : official
    LABEL           : Waveform Records
    CATALOGNUMBER   : 01101-2
    RELEASECOUNTRY  : US
    DATE            : 2001-05-08
    TOTALDISCS      : 1
    disc            : 1
    TOTALTRACKS     : 8
    MEDIA           : CD
    MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
    TITLE           : One Thousand Years
    MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
    ARTIST          : Tuu
    ARTISTSORT      : Tuu
    ARTISTS         : Tuu
    MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
    track           : 2
    TRACKTOTAL      : 8
    DISCTOTAL       : 1
    encoder         : Lavf58.45.100
    Stream #0:0: Video: theora (libtheora), yuv420p(progressive), 600x600 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc (attached pic)
    Metadata:
      DESCRIPTION     : Cover (front)
      encoder         : Lavc58.91.100 libtheora
      GENRE           : Tribal / Ambient
      ORGANIZATION    : Waveform Records
      ISRC            : 01101-2
      MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
      ORIGINALDATE    : 1993
      ORIGINALYEAR    : 1993
      RELEASETYPE     : album
      MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
      ALBUM           : One Thousand Years
      BARCODE         : 789060110125
      MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
      ALBUMARTIST     : Tuu
      ALBUMARTISTSORT : Tuu
      ASIN            : B00005B9TT
      SCRIPT          : Latn
      RELEASESTATUS   : official
      LABEL           : Waveform Records
      CATALOGNUMBER   : 01101-2
      RELEASECOUNTRY  : US
      DATE            : 2001-05-08
      TOTALDISCS      : 1
      DISCNUMBER      : 1
      TOTALTRACKS     : 8
      MEDIA           : CD
      MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
      TITLE           : One Thousand Years
      MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
      ARTIST          : Tuu
      ARTISTSORT      : Tuu
      ARTISTS         : Tuu
      MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
      TRACKNUMBER     : 2
      TRACKTOTAL      : 8
      DISCTOTAL       : 1
    Stream #0:1: Audio: vorbis (libvorbis), 44100 Hz, stereo, fltp (16 bit), 500 kb/s
    Metadata:
      encoder         : Lavc58.91.100 libvorbis
      GENRE           : Tribal / Ambient
      ORGANIZATION    : Waveform Records
      ISRC            : 01101-2
      DESCRIPTION     : US reissue featuring the six original tracks plus two taken from the Invocation album.
      MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
      ORIGINALDATE    : 1993
      ORIGINALYEAR    : 1993
      RELEASETYPE     : album
      MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
      ALBUM           : One Thousand Years
      BARCODE         : 789060110125
      MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
      ALBUMARTIST     : Tuu
      ALBUMARTISTSORT : Tuu
      ASIN            : B00005B9TT
      SCRIPT          : Latn
      RELEASESTATUS   : official
      LABEL           : Waveform Records
      CATALOGNUMBER   : 01101-2
      RELEASECOUNTRY  : US
      DATE            : 2001-05-08
      TOTALDISCS      : 1
      DISCNUMBER      : 1
      TOTALTRACKS     : 8
      MEDIA           : CD
      MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
      TITLE           : One Thousand Years
      MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
      ARTIST          : Tuu
      ARTISTSORT      : Tuu
      ARTISTS         : Tuu
      MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
      TRACKNUMBER     : 2
      TRACKTOTAL      : 8
      DISCTOTAL       : 1
frame=    1 fps=0.1 q=-0.0 Lsize=   25860kB time=00:08:03.66 bitrate= 438.0kbits/s speed=44.6x
video:8kB audio:25721kB subtitle:0kB other streams:0kB global headers:7kB muxing overhead: 0.511663%


    


  • FFMPEG adds extra contents to the beginning of the file, when converting OGG audio to MP3

    3 décembre 2018, par PBM

    I use the following ffmpeg -i   to convert ogg music files to mp3. I, however, realized that the resulting mp3 files on some ogg files are slightly longer, and includes the repetition of the first half a second of the original file in the beginning. (Which is quite annoying when listening to the MP3s).

    Anybody else faced similar issues ?

    FYI, I am using ffmpeg version 4.0.3, which uses libmp3lame as the encoder for MP3 output.


    As requested in the comments, here is the full log of @ffmpeg@

    $ ffmpeg -i track.ogg track.mp3
    ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 8 (GCC)
     configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
     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
    Input #0, ogg, from 'track.ogg':
     Duration: 00:04:47.11, start: 0.000000, bitrate: 112 kb/s
       Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 112 kb/s
       Metadata:
         ARTIST          : artist
    Stream mapping:
     Stream #0:0 -> #0:0 (vorbis (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    Output #0, mp3, to 'track.mp3':
     Metadata:
       TSSE            : Lavf58.12.100
       Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp
       Metadata:
         ARTIST          : artist
         encoder         : Lavc58.18.100 libmp3lame
    [ogg @ 0x5645711ebdc0] Invalid picture type: -2555935.
    [ogg @ 0x5645711ebdc0] Could not read mimetype from an attached picture.
    [ogg @ 0x5645711ebdc0] Invalid picture type: -2555935.
    [ogg @ 0x5645711ebdc0] Could not read mimetype from an attached picture.
    size=    4497kB time=00:04:47.79 bitrate= 128.0kbits/s speed=50.8x    
    video:0kB audio:4497kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005494%

    Something that is strange is the error message Invalid picture type whereas the ogg file does not contain any cover-art photo. And to see the difference of the lengths :

    $ soxi -D track.ogg
    287.111837
    $ soxi -D track.mp3
    287.817007