Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (6580)

  • ffmpeg scale not woking as expected it adds weird lines

    21 juin 2021, par Jintor

    When I encode without scalling, all is ok,

    


    enter image description here

    


    but when I add this

    


    -vf "-2:1080" or -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1" I GET THIS :
enter image description here

    


    if I add w3fdif or format rgba like -vf "w3fdif,format=rgba.... i GET THIS
enter image description here

    


    why and how to fix this ?

    


    I tried with different .mov, .mkv

    


  • ffmpeg resulting bitrate higher than expected. did i miss something ? [migrated]

    7 octobre 2013, par zantafio

    i am using ffmpeg to create some h264 transport streams.
    the bitrate for video is 496k, for audio 64k.
    However when the ( 2-pass ) encoding is done, i get a stream with more then 600k.
    i am using the following syntax in my script :

    codec=h264
    streamsuffix=ts
    audiocutoff=15000
    audioprofile=aac_low
    audiosamplerate=48000
    video_med=496k
    audio_med=64k
    suffix_med=_med
    preset=veryslow
    threads=4
    dirname="${1%/*}"
    filename=$(basename "$1")
    extension="${filename##*.}"
    filename="${filename%.*}"

    ffmpeg -i $filename"."$extension -preset $preset -strict experimental -threads $threads -c:v $codec -b:v $video_med -bsf:v h264_mp4toannexb -pass 1 -an -f rawvideo -y /dev/null
    ffmpeg -y -i $filename"."$extension -preset $preset -strict experimental -threads $threads -c:a aac -cutoff $audiocutoff -profile:a $audioprofile -b:a $audio_med -ar $audiosamplerate  -c:v $codec -b:v $video_med -bsf:v h264_mp4toannexb -pass 2 $filename$suffix_med"."$streamsuffix

    did i miss something ? do i need to enforce the target bitrate ?
    thanks a lot !

  • The built ffmpeg.exe is not working as expected

    29 avril 2021, par user1939578

    In my c++ application, I want to use ffmpeg lib statically.

    


    I downloaded the ffmpeg-3.4.1 source and built the statically linked ffmpeg using MINGW, Yasm and VS2015 Command prompt as follows,

    


      

    1. Downloaded the msys2-x86_64-20161025.exe
    2. 


    3. On opening the MINGW command prompt, install the required gcc tool using command "pacman -S make gcc diffutils"
    4. 


    5. Renamed C :\msys64\usr\bin\link.exe to C :\msys64\usr\bin\link_orig.exe
    6. 


    7. Downloaded the yasm 32 bit exe and set it's path to PATH environment variable. ("%PATH% ;D :\ffmpeg")
    8. 


    9. Run VS2015, and open MINGW- C :\msys64\msys2_shell.cmd -use-full-path
    10. 


    11. On opening MingW, change pwd to ffmpeg. Run ./configure then make the make install.
    12. 


    


    The configuration is used : ./configure —prefix="build" —toolchain=msvc —arch=x86 —enable-yasm —enable-asm —disable-shared —enable-static

    


    It is built successfully. I got the bin folder having ffmpeg.exe and ffprobe.exe. The size of ffmpeg.exe is 18 Mb. Also the 7 libs as .a file.

    


    I guess I have to convert.a files to .lib and use in application ?

    


    I wanted to confirm if I have built everything correctly. So I tried to convert a .webm file to mp4 using the built ffmpeg.exe. I found that the size of output file is very large and quality is too bad. The input.webm file size was only 15 Mb and output.mp4 file size was about 188 Mb.

    


    Then I downloaded the statically link ffmpeg application from https://ffmpeg.zeranoe.com/builds/. I see the size of ffmpeg.exe is about 35 Mb and It works fine. For same .webm file, it created .mp4 file only 44 Mb and quality is also ok. I figured out that it is built with lots of external libs.

    


    Are external libs creating the difference or my built ffmpeg application is not right ? Do I need all those libs in my application too in order to get similar output ?

    


    screenshot output.mp4 from built ffmpeg.exe(15 Mb)
screenshot output.mp4 from built ffmpeg.exe(15 Mb)