Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (38)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (1723)

  • ffmpeg to convert mov to flv

    27 octobre 2014, par jeet

    I’m trying to convert a mov video to flv, but keep getting these errors below.
    There are 2 commands I used, both are below.

    ffmpeg -y -i video.mov -deinterlace -acodec copy -r 25 -qmin 3 -qmax 6 video.flv


    FFmpeg version SVN-r16573, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthreads --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264 --enable-libschroedinger --enable-avisynth --enable-swscale --enable-gpl
    libavutil     49.12. 0 / 49.12. 0
    libavcodec    52.10. 0 / 52.10. 0
    libavformat   52.23. 1 / 52.23. 1
    libavdevice   52. 1. 0 / 52. 1. 0
    libswscale     0. 6. 1 /  0. 6. 1
    built on Jan 13 2009 02:57:09, gcc: 4.2.4
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid\video.mov':
    Duration: 00:03:16.00, start: 0.000000, bitrate: 398 kb/s
    Stream #0.0(eng): Video: mpeg4, yuv420p, 800x600 [PAR 1:1 DAR 4:3], 30.00 tb(r)
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
    Output #0, flv, to 'vid\video.flv':
    Stream #0.0(eng): Video: flv, yuv420p, 800x600 [PAR 1:1 DAR 4:3], q=3-6, 200 kb/s, 25.00 tb(c)
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    [NULL @ 0x1714390]codec not compatible with flv
    Could not write header for output file #0 (incorrect codec parameters ?)

    Second command :

    ffmpeg -y -i video.mov -deinterlace -ar 44100 -r 25 -qmin 3 -qmax 6 video.flv

    Audio resampler only works with 16 bits per sample, patch welcome.

    With a newer version of ffmpeg :

    ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Feb  5 2013 13:20:59 with gcc 4.7.2 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 17.101 / 52. 17.101
     libavcodec     54. 91.100 / 54. 91.100
     libavformat    54. 61.104 / 54. 61.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 35.101 /  3. 35.101
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid\video.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 512
       compatible_brands: qt  
       creation_time   : 1970-01-01 00:00:00
     Duration: 00:02:50.39, start: 0.000000, bitrate: 370 kb/s
       Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], 308 kb/s, 11.50 fps, 11.50 tbr, 23 tbn, 23 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
       Stream #0:1(eng): Audio: pcm_u8 (raw  / 0x20776172), 8000 Hz, mono, u8, 64 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
    [flv @ 026347a0] FLV does not support sample rate 8000, choose from (44100, 22050, 11025)
    Output #0, flv, to 'vid\video.flv':
     Metadata:
       major_brand     : qt  
       minor_version   : 512
    compatible_brands: qt  
       encoder         : Lavf54.61.104
       Stream #0:0(eng): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], q=2-31, 200 kb/s, 1k tbn, 11.50 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
       Stream #0:1(eng): Audio: mp3 ([2][0][0][0] / 0x0002), 8000 Hz, mono, s16p
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> flv)
     Stream #0:1 -> #0:1 (pcm_u8 -> libmp3lame)
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input

    1 more thing please :
    If I use this newer version of ffmpeg to create a video with the below command, I get a video with a very hazy display.
    It’s like a few black dots on a blank screen :

    ffmpeg -i img%d.png -i audio.wav -acodec copy output.mov

    what could be the reason for this display ?

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

  • ffmpeg converts .flv video to .gif with awful quality [migrated]

    22 février 2013, par Kamil Hismatullin

    I'm converting .flv movie to .gif file with ffmpeg.

    ffmpeg -i input.flv -ss 00:00:00.000 -pix_fmt rgb24 -r 10 -s 320x240 -t 00:00:10.000  output.gif

    It works great, but output gif file has a very law quality.

    Any ideas how can I improve quality of converted gif ?

    Output of command :

    $ ffmpeg -i input.flv -ss 00:00:00.000 -pix_fmt rgb24 -r 10 -s 320x240 -t 00:00:10.000  output.gif

    ffmpeg version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2000-2012 the Libav developers
     built on Jan 24 2013 14:52:53 with gcc 4.7.2
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.flv':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2013-02-14 04:00:07
     Duration: 00:00:18.85, start: 0.000000, bitrate: 3098 kb/s
       Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720, 2905 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
       Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 192 kb/s
       Metadata:
         creation_time   : 2013-02-14 04:00:07
    [buffer @ 0x92a8ea0] w:1280 h:720 pixfmt:yuv420p
    [scale @ 0x9215100] w:1280 h:720 fmt:yuv420p -> w:320 h:240 fmt:rgb24 flags:0x4
    Output #0, gif, to 'output.gif':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2013-02-14 04:00:07
       encoder         : Lavf53.21.1
       Stream #0.0(und): Video: rawvideo, rgb24, 320x240, q=2-31, 200 kb/s, 90k tbn, 10 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    frame=  101 fps= 32 q=0.0 Lsize=    8686kB time=10.10 bitrate=7045.0kbits/s dup=0 drop=149    
    video:22725kB audio:0kB global headers:0kB muxing overhead -61.778676%

    Thanks.