Recherche avancée

Médias (0)

Mot : - Tags -/publication

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

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

Sur d’autres sites (11725)

  • Use ffmpeg to watermark and scale an image on video

    11 mai 2015, par Ae.

    I want to be able to watermark videos with a logo image, which contains a website url.
    The videos can be of different formats and dimension.
    I’m trying to figure out a generic ffmpeg command to achieve it, so that i don’t have to tweak the command depending on the video i have to process.
    So far i got :

    ffmpeg -i sample.mov -sameq -acodec copy -vf 'movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]' sample2.mov

    In this way though the logo will look too big or too small with video of different size.
    I’ve seen there is a scale option for avfilter, but I haven’t figure out whether it’s possible to resize the image logo based on the dimension of the input video, so that I can say to scale the logo to 1/3 of the video length for example, and keep the image ratio.

    Any idea ? doesn’t need to be done in a single command, could even be a script.
    thanks in advance.

  • When converting .mov to .flv video plays horizontally

    2 janvier 2014, par user291247

    When I record a video (.mov) through my iPhone it display vertically which is right.
    But after converting the .mov to .flv(using ffmpeg) it displays horizontally.

    My code :

    function convert_flv($vidtime,$infile, $outfile, $w = 0, $h = 0, $extra_infile = '', $extra_outfile = '') {
       $parms = '';
       if($w == 0 && $h == 0) {
           //$parms .= '-sameq ';
       } else {
           $parms = '-s {$w}x{$h} ';
       }

       if($vidtime==60) {
           $cmd = ffmpeg($infile, $outfile, $parms.' '.$extra_infile, '-t 00:01:00 -ar 22050 -r 15 -f flv  '.$extra_outfile);
       } else {
           $cmd = ffmpeg($infile, $outfile, $parms.' '.$extra_infile, '-t 00:04:00 -ar 22050 -r 15 -f flv  '.$extra_outfile);
       }

       print_r($cmd);
       return $cmd;
    }
  • Missing audio and problems playing FLV video converted from 720p .mov file with FFMPEG

    18 novembre 2011, par undefined

    I have some .mov video files recorded from a JVC GC-FM1 HD video camera in 720p mode. I have FFMPEG running on a Linux box that I upload files to for encoding into FLV format. The video appears to be encoding ok, but there is no audio in the resulting FLV file. Also, when I play it back in Flash Player, in a browser or on Adobe Media Player, the video pauses at the start. It appears that Adobe Media Player waits for the progress bar to reach the end of the video before starting the playback - i.e. the video will load, the picture pauses, the progress bar seeks to the end as if the video were playing, then when it reaches the end the video picture starts. There is no audio on the video. I am noticing this in the video player I have built with Flash 8 using an FLVPlayback component and attached seekBar. The seek bar will start moving as if the video is playing but the picture remains paused.

    Here are some outputs from my FFMPEG log and the command I am using to encode the video.

    My FFMPEG command called from PHP :

    $cmd = 'ffmpeg -i ' . $sourcelocation.$filename.".".$fileext . '  -ab 96k -b 700k \
    -ar 44100 -s ' . $target['width'] . 'x' . $target['height'] . ' -ac 1 \
    -acodec libfaac ' . $destlocation.$filename.$ext_trans .' 2>&1';

    The output from my error log :

    FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al.
    built on Jan 22 2010 11:31:03 with gcc 4.1.2 20070925 (Red Hat 4.1.2-33)
    configuration: --prefix=/usr --enable-static --enable-shared --enable-gpl \
    --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf \
    --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm \
    --enable-libmp3lame --enable-libvorbis --enable-libx264
    libavutil     50. 7. 0 / 50. 7. 0
    libavcodec    52.48. 0 / 52.48. 0
    libavformat   52.47. 0 / 52.47. 0
    libavdevice   52. 2. 0 / 52. 2. 0
    libavfilter    1.17. 0 /  1.17. 0
    libswscale     0. 9. 0 /  0. 9. 0
    libpostproc   51. 2. 0 / 51. 2. 0

    Seems stream 0 codec frame rate differs from container frame rate: 119.88 (120000/1001) -> 59.94 (60000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/video/60974_v1.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       comment         : JVC GC-FM1
       comment-eng     : JVC GC-FM1
     Duration: 00:00:30.41, start: 0.000000, bitrate: 4158 kb/s
       Stream #0.0(eng): Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 4017 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
    Output #0, rawvideo, to 'uploads/video/60974_v1.jpg':
       Stream #0.0(eng): Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 59.94 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop encoding
    [h264 @ 0x8e67930]B picture before any references, skipping
    [h264 @ 0x8e67930]decode_slice_header error
    [h264 @ 0x8e67930]no frame!
    Error while decoding stream #0.0
    [h264 @ 0x8e67930]B picture before any references, skipping
    [h264 @ 0x8e67930]decode_slice_header error
    [h264 @ 0x8e67930]no frame!
    Error while decoding stream #0.0
    frame=    1 fps=  0 q=3.8 Lsize=      15kB time=0.02 bitrate=7271.4kbits/s dup=482 drop=0    
    video:15kB audio:0kB global headers:0kB muxing overhead 0.000000%

    Which are the important errors here ?

    B picture before any references, skipping ?
    decode_slice_header error ?
    no frame ?
    or
    Seems stream 0 codec frame rate differs from container frame rate : 119.88 (120000/1001) -> 59.94 (60000/1001)