Recherche avancée

Médias (91)

Autres articles (104)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

Sur d’autres sites (12226)

  • Old TV : ffmpeg-converted file not working

    29 décembre 2016, par senseiwa

    I have an old Full-HD TV (Philips) that supports USB reading with some video formats. However, it just supports one audio stream (the first), so in case I have two with the first that is not english, I need to remove the first one. I am doing this via ffmpeg, but the TV cannot read the converted file, although they are identical (except for one audio track).

    The conversion command I am using is is

    ffmpeg -i filename.IN -map 0:0 -map 0:2 -acodec copy -vcodec copy  filename.OUT

    to just copy the video/audio stream, but keeping only the second audio track. The original file is this one (output of ffprobe) and it works perfectly reproducing the video with the first audio track :

    Input #0, avi, from 'ORIG.avi':
     Metadata:
       encoder         : X
     Duration: 01:40:57.18, start: 0.000000, bitrate: 2695 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 656x368 [SAR 1:1 DAR 41:23], 1914 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
       Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s
       Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s

    and the converted not working one is

    Input #0, avi, from 'CONV.avi':
     Metadata:
       encoder         : Lavf57.56.100
     Duration: 01:40:57.18, start: 0.000000, bitrate: 2309 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 656x368 [SAR 1:1 DAR 41:23], 1914 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
       Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s

    On a PC, however, they both work.

    The question is, how can I convert, keeping eventually just one audio track, in a format that my TV supports without losing quality ?

    I do not have the list of supported codecs, but I have a list of videos that the TV is able to reproduce.

  • FFMpeg : how to blur two fixed regions at the bottom of the video file ?

    24 décembre 2022, par bully44

    I'm trying to blur to rectangular regions at the bottom of the video. Only short region around center should stay as it is, and 140 pixels regions on both sides should be blurred.
The left region is ok, but just cannot set correctly the right one. For visual reason, I'm displaying it higher, but I just cannot get x coordinate and size in correct position.

    


    ffmpeg -i Test1.mp4 -filter_complex  \
"[0:v]crop=iw/2-40:140:0:ih-140,avgblur=10[b0]; \
 [0:v]crop=iw/2-50:140:iw/2+200:ih-140,avgblur=5[b1]; \
 [0:v][b0]overlay=0:H-h[ovr0]; \
 [ovr0][b1]overlay=W/2+100:H-h-500" \
 -c:a copy -movflags +faststart Test_blur.mp4


    


    As FFMpeg newbie, I must be doing something obviously wrong.
Thanks in advance,
regards.

    


  • ffmpeg converting mov to mp4

    16 mai 2019, par alienbuild

    Trying to convert .mov to .mp4. Tried various suggestion codes on stackoverflow but nothing seems to be working.

    `...muxer does not support non seekable output [48] => Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument [49] => Error initializing output stream 0:0 -- [50] => Conversion failed! ) 1`

    I’ve tried various codec properties such as ac3, aac, libvo_aacenc

    exec('
    /usr/local/bin/ffmpeg -y -i https://***.***.com/assets/regions/region-1/input.mov' .
    ' -c:a ac3 '
    . 'https://***.***.com/assets/regions/region-1/output.mp4'
    . ' 2>&1', $out, $res);

    $modx->log(modX::LOG_LEVEL_ERROR, print_r($out));
    $modx->log(modX::LOG_LEVEL_ERROR, $res);

    return true;