Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (110)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (4179)

  • Building ffmpeg on WIN 10

    21 mars 2016, par Dmitry

    I`m trying to install ffmpeg library on WIN 10 following instruction.
    Until line

    Invoke the following make commands

    Everything was ok (all results in msys32 output was the same as in instruction). But when do

    ../../../configure \
    --toolchain=msvc \
    --disable-programs \
    --disable-d3d11va \
    --disable-dxva2 \
    --arch=x86 \
    --enable-shared \
    --enable-cross-compile \
    --target-os=win32 \
    --extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" \
    --extra-ldflags="-APPCONTAINER WindowsApp.lib" \
    --prefix=../../../Build/Windows10/x86

    make

    make install

    Msys32 says :

    cl is unable to create an executable file. C compiler test failed.

    If you think configure made a mistake, make sure you are using the
    latest version from Git. If the latest version fails, report the
    problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on
    irc.freenode.net. Include the log file "config.log" produced by
    configure as this will help solve the problem.

    Launching msys32 from VS2015 Native Tools Command Prompt.
    How to fix it ?
    screenshot of msys

    Also, in config.log at the end of file found this :

    WARNING : pkg-config not found, library detection may fail. mktemp -u
    XXXXXX y81gTF check_ld cc check_cc BEGIN ./ffconf.J02kVuXC.c
    1 int main(void) return 0 ; END ./ffconf.J02kVuXC.c cl -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -c -Fo./ffconf.U0KH6R5x.o ./ffconf.J02kVuXC.c ffconf.J02kVuXC.c /c/LIBS/ffmpeg1/ffmpeg/compat/windows/mslink
    -APPCONTAINER WindowsApp.lib -nologo -out :./ffconf.UBL5VH7u.exe ./ffconf.U0KH6R5x.o LINK : fatal error LNK1181 : cannot open input file "WindowsApp.lib" C compiler test failed.

  • ffmpeg is deleting id3 tags

    25 septembre 2012, par payal

    I'm using below code for converting MP3 files using FFmpeg.

    All id3 tags are deleted in the converted file.

    exec('ffmpeg  -i 01.mp3  -acodec libmp3lame  -ab 128k -map_meta_data 0:0 -ac 1 1.mp3 '))

    What am I doing wrong ? I tried this code as well but same result – I'm getting all id3 tags deleted.

    exec('ffmpeg  -i 01.mp3  -acodec libmp3lame  -ab 128k **-map_metadata 0:0** -ac 1 1.mp3 '))

    here is the ouytput

    plase find the command line output

       ffmpeg version N-44715-g10c00f7-syslint Copyright (c) 2000-2012 the FFmpeg developers
       built on Sep 24 2012 03:18:19 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
       configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --        enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --

     enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-

      I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
        libavutil      51. 73.101 / 51. 73.101
        libavcodec     54. 58.100 / 54. 58.100
     libavformat    54. 28.100 / 54. 28.100
     libavdevice    54.  2.101 / 54.  2.101
    libavfilter     3. 17.100 /  3. 17.100
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    [mp3 @ 0x1a76240] max_analyze_duration 5000000 reached at 5015510
    Input #0, mp3, from '/home/xxxxxxx/public_html/xxxx/01.mp3':
    Metadata:
    title           : dheere dheere
    genre           : www.Mp3pk.com
    artist          : www.Mp3pk.com
    album           : AASHIQUI
    Duration: 00:05:28.77, start: 0.000000, bitrate: 146 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 112 kb/s
    Output #0, mp3, to '/home/xxxxxx/public_html/xxxx/1.mp3':
    Metadata:
    TIT2            : dheere dheere
    TCON            : www.Mp3pk.com
    TPE1            : www.Mp3pk.com
    TALB            : AASHIQUI
    TSSE            : Lavf54.28.100
    Stream #0:0: Audio: mp3, 22050 Hz, mono, s16, 16 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (mp3 -> libmp3lame)
    Press [q] to stop, [?] for help
    size=     642kB time=00:05:28.75 bitrate=  16.0kbits/s    
    video:0kB audio:642kB subtitle:0 global headers:0kB muxing overhead 0.043491%
  • FFMPEG Webvtt m3u8 download into single vtt file, ignore the "X-TIMESTAMP-MAP=MPEGTS=" (timestamp sync problem)

    5 janvier 2021, par Panda Xia

    I want to download the subtitle of a video, it has separated m3u8 file for subtitle :

    


    webvtt source in m3u8 format : https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8

    


    looks like :

    


    #EXTM3U
#EXT-X-VERSION:4
## Created with Unified Streaming Platform(version=1.9.5)
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:989
#USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z
#EXTINF:24.72, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-1.webvtt
#EXTINF:2.56, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-13.webvtt
#EXTINF:50.88, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-14.webvtt
#EXTINF:3.079, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-40.webvtt
#EXTINF:60.401, no desc
....


    


    Then use the command to download the multiple webvtts into one vtt file "EN.vtt" :

    


    ffmpeg -i  "https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8"  "DE.vtt"


    


    In output "DE.vtt" the X-TIMESTAMP-MAP=MPEGTS:xxxxxx,LOCAL:00:00:00.000 from each webvtt file (webvtt in m3u8) are ignored.

    


    so that the time Synchronisation is broken, the start time of each Segment always begins from 00:00:00, looks like :

    


    WEBVTT

00:00.000 --> 00:02.560
So viel Macht.

00:00.000 --> 00:03.079
Was er sagte.

00:00.000 --> 00:04.680
oder
die Schönheit

00:00.000 --> 00:01.440
Er sagte immer:

00:00.000 --> 00:03.840
Auf seinen Klang 

00:00.000 --> 00:07.519
Seine Paranoia.


    


    Could ffmpeg support the relative time stamp to convert into absolute time stamp ?
Or use other method to download perfect webvvt file ?