Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (58)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7614)

  • ffmpeg audio conversion distorted - half rate

    6 novembre 2013, par user1688971

    I'm trying to convert an asf audio to mp3 using ffmpeg.
    But I have one specific audio that gets distorted in the middle and starts like if the person was talking in slow motion (at half rate).

    The command I'm using is :

    ffmpeg - i input.asf -ac 2 output.mp3

    I've tried a lot of options, but about the middle of the audio is when it fails.
    The raw file sounds good, so it's not the recording. It is af in the middle of the transmission the frame rate went down for some reason.

    Thanks all !

    [EDIT]

    I'm adding the console response after running the command as a suggestion from LordNeckbeard :

    [root@mynasserver home]# ffmpeg -i recording-8532-1.asf -ac 2 -ab 64k -ar 44100 recording-8532-ac2-ar44100.mp3
    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
    built on Jan 29 2012 23:56:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
    libavutil     50.15. 1 / 50.15. 1
    libavcodec    52.72. 2 / 52.72. 2
    libavformat   52.64. 2 / 52.64. 2
    libavdevice   52. 2. 0 / 52. 2. 0
    libavfilter    1.19. 0 /  1.19. 0
    libswscale     0.11. 0 /  0.11. 0
    libpostproc   51. 2. 0 / 51. 2. 0
    [flv @ 0x86a4850]max_analyze_duration reached
    [flv @ 0x86a4850]Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'recording-8532-1.asf':
    Metadata:
    source          : STW MediaProxy v3.3.7.19894
    Duration: 04:00:08.49, start: 0.000000, bitrate: N/A
    Stream #0.0: Audio: aac, 44100 Hz, 2 channels (FC), s16
    Output #0, mp3, to 'recording-8532-ac2-ar44100.mp3':
    Metadata:
    TSSE            : Lavf52.64.2
    Stream #0.0: Audio: libmp3lame, 44100 Hz, 2 channels, s16, 64 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop encoding
    size=  150906kB time=19315.93 bitrate=  64.0kbits/s    
    video:0kB audio:150906kB global headers:0kB muxing overhead 0.000021%

    So from the data above, you can see the input file is about 4hrs. The output ends up being around 5 hrs 20 mins.

  • Converting Video for Android using FFMPEG

    13 février 2017, par Jebu

    What i am trying to do is convert video into mp4 format that will play in Android.

    I’ve gone through http://developer.android.com/guide/appendix/media-formats.html

    I am setting the following options

    -vcodec libx264 -vprofile baseline -acodec libfaac -ar 44100 -ac 1 -ab 128k yet I get the error message "Sorry, This Video is not valid for streaming to this device"

    I Played the video in android browser using videoJS http://video-js.zencoder.com/oceans-clip.mp4 and it WORKS fine.

    I download the video oceans-clip.mp4 and tried to convert using minimalist options

    -y -i working.mp4 -vprofile baseline pleasework.mp4

    yet I get the same error message.

    The following is the FFMPEG info dump of the video files

    Working.mp4

    Array
    (
       [0] => ffmpeg version N-40229-g24e3f44-syslint Copyright (c) 2000-2012 the FFmpeg developers
       [1] =>   built on Apr 29 2012 22:01:41 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
       [2] =>   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
       [3] =>   libavutil      51. 48.100 / 51. 48.100
       [4] =>   libavcodec     54. 17.101 / 54. 17.101
       [5] =>   libavformat    54.  3.100 / 54.  3.100
       [6] =>   libavdevice    53.  4.100 / 53.  4.100
       [7] =>   libavfilter     2. 72.100 /  2. 72.100
       [8] =>   libswscale      2.  1.100 /  2.  1.100
       [9] =>   libswresample   0. 11.100 /  0. 11.100
       [10] =>   libpostproc    52.  0.100 / 52.  0.100
       [11] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'working.mp4':
       [12] =>   Metadata:
       [13] =>     major_brand     : isom
       [14] =>     minor_version   : 1
       [15] =>     compatible_brands: isomavc1
       [16] =>     creation_time   : 2010-05-18 04:24:00
       [17] =>   Duration: 00:00:46.54, start: 0.000000, bitrate: 3342 kb/s
       [18] =>     Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x264 [SAR 132:133 DAR 320:133], 3195 kb/s, SAR 127:128 DAR 635:264, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
       [19] =>     Metadata:
       [20] =>       creation_time   : 2010-05-18 04:24:00
       [21] =>       handler_name    : GPAC ISO Video Handler
       [22] =>     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 144 kb/s
       [23] =>     Metadata:
       [24] =>       creation_time   : 2010-05-18 04:24:01
       [25] =>       handler_name    : GPAC ISO Audio Handler
       [26] => At least one output file must be specified
    )

    Not Working.mp4

    Array
    (
       [0] => ffmpeg version N-40229-g24e3f44-syslint Copyright (c) 2000-2012 the FFmpeg developers
       [1] =>   built on Apr 29 2012 22:01:41 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
       [2] =>   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
       [3] =>   libavutil      51. 48.100 / 51. 48.100
       [4] =>   libavcodec     54. 17.101 / 54. 17.101
       [5] =>   libavformat    54.  3.100 / 54.  3.100
       [6] =>   libavdevice    53.  4.100 / 53.  4.100
       [7] =>   libavfilter     2. 72.100 /  2. 72.100
       [8] =>   libswscale      2.  1.100 /  2.  1.100
       [9] =>   libswresample   0. 11.100 /  0. 11.100
       [10] =>   libpostproc    52.  0.100 / 52.  0.100
       [11] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pleasework.mp4':
       [12] =>   Metadata:
       [13] =>     major_brand     : isom
       [14] =>     minor_version   : 512
       [15] =>     compatible_brands: isomiso2avc1mp41
       [16] =>     creation_time   : 2010-05-18 04:24:00
       [17] =>     encoder         : Lavf54.3.100
       [18] =>   Duration: 00:00:46.54, start: 0.000000, bitrate: 1843 kb/s
       [19] =>     Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x264 [SAR 127:128 DAR 635:264], 1715 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
       [20] =>     Metadata:
       [21] =>       creation_time   : 2010-05-18 04:24:00
       [22] =>       handler_name    : VideoHandler
       [23] =>     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 124 kb/s
       [24] =>     Metadata:
       [25] =>       creation_time   : 2010-05-18 04:24:00
       [26] =>       handler_name    : SoundHandler
       [27] => At least one output file must be specified
    )

    The metadata looks almost the same yet it doesn’t seem to play in android. Any help appreciated.

  • My FFMPEG converter is not allowing mp4 to webm conversions.

    2 novembre 2016, par Fred Garbutt

    heres the command :

    ffmpeg -i videos/test.mp4 -c:v libvpx -level 216 -profile 0 -qmax 42 -qmin 10 -c:a libvorbis -f webm out.webm

    i keep getting this error :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    here is the full response

    # ffmpeg -i videos/test.mp4 -c:v libvpx -level 216 -profile 0 -qmax 42 -qmin 10 -c:a

    libvorbis -f webm out.webm
    ffmpeg version N-49225-g7e059c9 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jan 24 2013 05:14:06 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)
     configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree
     libavutil      52. 15.101 / 52. 15.101
     libavcodec     54. 90.100 / 54. 90.100
     libavformat    54. 61.104 / 54. 61.104
     libavdevice    54.  3.102 / 54.  3.102
     libavfilter     3. 33.100 /  3. 33.100
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/test.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42avc1
       creation_time   : 2010-08-12 15:42:21
     Duration: 00:00:34.20, start: 0.000000, bitrate: 358 kb/s
       Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 100 kb/s
       Metadata:
         creation_time   : 2010-08-12 15:42:21
         handler_name    : Apple Sound Media Handler
       Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x320, 251 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
       Metadata:
         creation_time   : 2010-08-12 15:42:21
         handler_name    : Apple Video Media Handler
    Please use -profile:a or -profile:v, -profile is ambiguous
    File 'out.webm' already exists. Overwrite ? [y/N] y
    v0.9.6
    [libvpx @ 0x7e38d20] Failed to initialize encoder: ABI version mismatch
    Output #0, webm, to 'out.webm':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42avc1
       Stream #0:0(eng): Video: vp8, yuv420p, 640x320, q=10-42, 200 kb/s, 90k tbn, 29.97 tbc
       Metadata:
         creation_time   : 2010-08-12 15:42:21
         handler_name    : Apple Video Media Handler
       Stream #0:1(eng): Audio: none, 44100 Hz, stereo, fltp
       Metadata:
         creation_time   : 2010-08-12 15:42:21
         handler_name    : Apple Sound Media Handler
    Stream mapping:
     Stream #0:1 -> #0:0 (h264 -> libvpx)
     Stream #0:0 -> #0:1 (aac -> libvorbis)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    does anybody have any idea whats going on ? I am completely lost. I have tried so many different commands. converting from mp4 to ogg works fine, and i have had mp4 to webm working before, but i reinstalled ffmpeg to get the mp4 to ogg working and now ive lost my mp4 to webm conversions. >.< this whole installation process is such a damn nightmare. does anyone havea good tutorial for centos installation of ffmpeg that will work for mp4 ogg and webm ? I have used the centos tut that came off of the ffmpeg site, but it failed me. If anyone has any ideas that could point me in the right direction i would much appreciate it !