Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (111)

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

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

  • Convert audio files to mp3 using ffmpeg [closed]

    5 août, par Hrishikesh -Rishi- Choudhari

    I need to convert audio files to mp3 using ffmpeg.

    



    When I write the command as ffmpeg -i audio.ogg -acodec mp3 newfile.mp3, I get the error :

    



    FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: 
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jun 24 2010 14:56:20, gcc: 4.4.1
Input #0, mp3, from 'ZHRE.mp3':
  Duration: 00:04:12.52, start: 0.000000, bitrate: 208 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s
Output #0, mp3, to 'audio.mp3':
    Stream #0.0: Audio: 0x0000, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0


    



    I also ran this command :

    



     ffmpeg -formats | grep mp3


    



    and got this in response :

    



    FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: 
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jun 24 2010 14:56:20, gcc: 4.4.1
 DE mp3             MPEG audio layer 3
 D A    mp3             MP3 (MPEG audio layer 3)
 D A    mp3adu          ADU (Application Data Unit) MP3 (MPEG audio layer 3)
 D A    mp3on4          MP3onMP4
 text2movsub remove_extra noise mov2textsub mp3decomp mp3comp mjpegadump imxdump h264_mp4toannexb dump_extra


    



    I guess that the mp3 codec isn't installed. Am I on the right track here ?

    


  • finding speed and tone of speech in an audio using python

    1er février 2018, par kRazzy R

    Given an audio , I want to calculate the pace of the speech. i.e how fast or slow is it.

    Currently I am doing the following :

    - convert speech to text and obtaining a transcript (using a free tool).

    - count number of words in transcript.

    - calculate length or duration of file.

    - finally, pace = (number of words in transcript / duration of file).

    However the accuracy of the pace obtained is dependent purely on transcription , which I think is an unnecessary step.

    Is there any python-library/sox/ffmpeg way that will enable me to

    • to calculate, in a straightforward way,the speed/pace of talk in an audio
    • dominant Pitches/tones of that audio ?

    I referred : I referred : http://sox.sourceforge.net/sox.html and https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/

  • ffmpeg usage to encode a video to H264 codec format

    2 avril 2024, par goldenmean

    I have a *.mp4 video file(MPEG4 video codec) and I am trying to convert this to a H264 video codec format(raw h.264 format) using ffmpeg on Linux(Version - FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard,) using command line as shown below,

    



    ffmpeg -i input .mp4 output.h264 


    



    but I get an error saying -

    



    Unsupported codec for output stream #0.0


    



    Then when i try this option :

    



    ffmpeg -i input .mp4 -formats h264 output.h264 


    



    it still does not work, and gives -

    



    Seems stream 0 codec frame rate differs from container frame rate: 59.94 (5994/100) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Rapture.mp4':
  Duration: 00:02:06.44, start: 0.000000, bitrate: 26574 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16


    



    And then it prints out help on the formats which we get when we do ffmpeg -formats

    



    When I checked the help, ffmpeg -formats, I see below information related to H264 file format and codec :

    



    File format : 

DE h264            raw H.264 video format

Codecs:

D V D  h264         H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10


    



    My questions :

    



      

    1. How can I convert the video to a H264 encoded video (raw H264 video format)

    2. 


    3. When I do ffmpeg -formats, I see many acronyms for the codecs supported, I see many acronyms before the codec name/type such as - D V D S E A, what do they stand for ?

    4. 


    5. How to use the ffmpeg options -vcodec and -formats ?

    6.