Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (68)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • muxing overhead error when converting a video via ffmpeg

    16 décembre 2016, par john smoth

    I’m using ffmpeg to converting videos on my site.
    I’m converting all the videos to flv . if I upload flv , it has not problem but if I upload any other file type except flv , it shows me this error :

    ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers built on Jul 26 2013 01:58:02 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvorbis
    --enable-libopencore-amrnb --enable-libopencore-amrwb libavutil 50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0
    libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale 0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0
    Seems stream 0 codec frame rate differs from container frame rate: 2997.00 (2997/1) -> 14.99 (15000/1001)
    Input #0, avi, from 'uploads/v_37.avi':
    Metadata: title : AJ McLean - Teenage Wildlife encoder : Lavf52.16.0
    Duration: 00:04:17.19, start: 0.000000, bitrate: 470 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 14.98 fps, 14.99 tbr, 14.99 tbn, 2997 tbc
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 128 kb/s
    WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
    [buffer @ 0x2137ae0] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [scale @ 0x2139da0] w:640 h:480 fmt:yuv420p -> w:320 h:240 fmt:yuv420p flags:0x4
    Output #0, flv, to 'uploads/aaa.flv': Metadata: title : AJ McLean - Teenage Wildlife encoder : Lavf52.111.0
    Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 14.99 tbc Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, s16, 0 kb/s
    Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1
    Press [q] to stop, [?] for help
    frame= 26 fps= 0 q=2.0 Lsize= 80kB time=00:00:01.73 bitrate= 375.7kbits/s video:64kB audio:14kB global headers:0kB muxing overhead 2.339835%

    last line is : muxing overhead 2.339835%

    the final file is a 1 second video ( it doesn’t make any different how long is the video , all of them become a 1 second video )

    What is the problem ?
    this is the ffmpeg code that convert the video :

    echo passthru("$ffmpegpath -i uploads/$file -ar 22050 -ab 32 -f flv -s 320×240 uploads/aaa.flv 2>&1");

    Thanks

    thanks

  • FFmpeg failed to transcode - Error while opening encoder for output stream

    26 août 2013, par Nikhil M

    Reported errors

    PHPVideoToolkit error : Execute error. It was not possible to encode "/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg" as FFmpeg returned an error. The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height".

    Executed commands and output

    /usr/local/bin/ffmpeg -i '/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg' -vf 'scale=540:360' -strict experimental -vcodec 'h263' -qscale '12' -acodec 'aac' -ac '2' -pass '1' -passlogfile '/tmp/1377530626-521b73028a987-multipass'  -y /tmp/1377530626-521b73028a7ea.mp4
    ffmpeg version 1.2.2 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug 26 2013 15:10:42 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
     configuration: --disable-yasm
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
    [mpeg @ 0x2e89160] max_analyze_duration 5000000 reached at 5015467 microseconds
    Input #0, mpeg, from '/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg':
     Duration: 00:00:14.00, start: 0.011978, bitrate: 3235 kb/s
       Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 160 kb/s
    Please use -q:a or -q:v, -qscale is ambiguous
    [h263 @ 0x2e8b180] The specified picture size of 540x360 is not valid for the H.263 codec.
    Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.
    Output #0, mp4, to '/tmp/1377530626-521b73028a7ea.mp4':
       Stream #0:0: Video: h263, yuv420p, 540x360 [SAR 1:1 DAR 3:2], q=2-31, pass 1, 200 kb/s, 90k tbn, 29.97 tbc
       Stream #0:1: Audio: none, 44100 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg2video -> h263)
     Stream #0:1 -> #0:1 (mp2 -> aac)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • HTML5 Video OGV conversion on Mac

    19 novembre 2014, par Loren

    When I try recording a screencast with Quicktime or Screenflow and then converting to .ogv for use on the web, I get this error many times :

    $ ffmpeg2theora test.mov
    [audioresample @ 0x7fa903800ee0] Audio sample format conversion failed

    The resulting test.ogv file does not play in VLC. I can use ffmpeg to successfully convert mov to mp4. Are there only certain audio types that ffmpeg2theora supports ? ffmpeg2theora version 0.29

    More output :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2013-08-26 20:50:37
     Duration: 00:00:07.00, start: 0.000000, bitrate: 1458 kb/s
       Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 90 kb/s
       Metadata:
         creation_time   : 2013-08-26 20:50:37
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1200, 1362 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc
       Metadata:
         creation_time   : 2013-08-26 20:50:37
         handler_name    : Apple Alias Data Handler