Recherche avancée

Médias (91)

Autres articles (112)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11876)

  • How to avoid ffmpeg failing to add chapters to mov file ?

    27 septembre 2022, par BabaG

    I've been trying all day to get ffmpeg to add chapters to a prores mov file. It does add the first two, but then it fails with the name of the text file and an error message :

    


    chapterstest_orig.txt: Invalid data found when processing input


    


    I see lots of online references to the format of both the ffmpeg command, as well as the text file containing the chapter metadata. Here are mine :

    


    ffmpeg -i chapterstest_orig.mov -i chapterstest_orig.txt -map_metadata 1 -codec copy chapterstest.mov


    


    i've also tried it with -map_chapters :

    


    ffmpeg -i chapterstest_orig.mov -i chapterstest_orig.txt -map_metadata 1 -map_chapters 1 -codec copy chapterstest.mov


    


    Here's a copy of my text file, containing the chapter info :

    


    ;FFMETADATA1
title=Angel's Gate Cultural Center
artist=Buzzworld

[CHAPTER]
TIMEBASE=1/1000
START=0
END=6999
title=Buzzworld 10-10-1997

[CHAPTER]
TIMEBASE=1/1000
START=7000
END=290999
title=The Road To Lisdoonvarna

[CHAPTER]
TIMEBASE=1/1000
START=291000
END=739999
title=Jack Orion

[CHAPTER]
TIMEBASE=1/1000
START=740000
END=992999
title=The Frieze Britches

[CHAPTER]
TIMEBASE=1/1000
START=993000
END=1295999
title=The Blackleg Miner

[CHAPTER]
TIMEBASE=1/1000
START=1296000
END=1559999
title=Johnny Jump Up

[CHAPTER]
TIMEBASE=1/1000
START=1560000
END=1867999
title=Tom Billy's

[CHAPTER]
TIMEBASE=1/1000
START=1868000
END=2143999
title=When Will We Be Married?

[CHAPTER]
TIMEBASE=1/1000
START=2144000
END=2500999
title=The Old Bush

[CHAPTER]
TIMEBASE=1/1000
START=2501000
END=2839000
title=Niamh's Capers


    


    If I delete everything after the second chapter, the file processes. It always fails if I add more chapters.

    


    I've also tried using things like :

    


    -map 0:v -map 0:a -map 0:s


    


    Any help is much appreciated. I'm kind of at my wits end here.

    


    Thanks.

    


  • TCP Connection refused error when using FFMPEG for audio stream to HTTP on macOS

    26 novembre 2020, par freddy

    I'm trying to stream my microphone input via HTTP using ffmpeg, so I can stream it in HTML. I run the following ffmpeg command :

    


    ffmpeg -f avfoundation -i ":1" -c:a libmp3lame -f mp3 -r 30 http://localhost:809

    


    It, however, crashes with the following error message :

    


    ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.27)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_4 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  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
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, avfoundation, from ':1':
  Duration: N/A, start: 3445.340045, bitrate: 22579 kb/s
    Stream #0:0: Audio: pcm_f32le, 44100 Hz, hexadecagonal, flt, 22579 kb/s
[tcp @ 0x7fa46ec96600] Connection to tcp://localhost:8090 failed: Connection refused
http://localhost:8090: Connection refused


    


    I've had success with streaming on that port using VLC, but it for some reason won't work using ffmpeg. Any ideas on how to fix this ?

    


  • avformat : add DFPWM WAV container support

    8 mars 2022, par Jack Bruienne
    avformat : add DFPWM WAV container support
    

    This commit adds support for storing DFPWM audio in a WAV container.
    It uses the WAVEFORMATEXTENSIBLE structure, following these conventions :
    https://gist.github.com/MCJack123/90c24b64c8e626c7f130b57e9800962c
    The implementation is very simple : it just adds the GUID to the list of
    WAV GUIDs, and modifies the WAV muxer to always use WAVEFORMATEXTENSIBLE
    format with that GUID.

    This creates a standard container format for DFPWM besides raw data.
    It will allow users to transfer DFPWM audio in a standard container
    format, with the sample rate and channel count contained in the file
    as opposed to being an external parameter as in the raw format.

    This format is already supported in my AUKit library, which is the CC
    analog to libav (albeit much smaller). Support in other applications is TBD.

    Signed-off-by : Jack Bruienne <jackbruienne@gmail.com>

    • [DH] libavformat/riff.c
    • [DH] libavformat/riffenc.c
    • [DH] libavformat/version.h