Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (94)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7092)

  • Building ffmpeg on Windows from Chromium - make : *** No rule to make target 'libavcodec\avcodec-57.dll'. Stop

    14 septembre 2016, par Catalin Fratila

    I am trying to compile ffmpeg on a Windows machine, using mingw64 and msys2.

    But when I run : "build_ffmpeg.py win ia32" (same result with x64), I get :

    /c/libchromiumcontent/src/third_party/ffmpeg/chromium/scripts
    $ ./build_ffmpeg.py win ia32
    install prefix            /usr/local
    source path               /c/libchromiumcontent/src/third_party/ffmpeg
    C compiler                gcc
    C library                 mingw64
    ARCH                      x86 (generic)
    big-endian                no
    runtime cpu detection     yes
    yasm                      yes
    MMX enabled               yes
    MMXEXT enabled            yes
    3DNow! enabled            yes
    3DNow! extended enabled   yes
    SSE enabled               yes
    SSSE3 enabled             yes
    AESNI enabled             yes
    AVX enabled               yes
    XOP enabled               yes
    FMA3 enabled              yes
    FMA4 enabled              yes
    i686 features enabled     yes
    CMOV is fast              yes
    EBX available             yes
    EBP available             yes
    debug symbols             yes
    strip symbols             yes
    optimize for size         no
    optimizations             yes
    static                    yes
    shared                    no
    postprocessing support    no
    new filter support        no
    network support           no
    threading support         w32threads
    safe bitstream reader     yes
    SDL support               no
    opencl enabled            no
    texi2html enabled         no
    perl enabled              no
    pod2man enabled           no
    makeinfo enabled          no
    makeinfo supports HTML    no

    Enabled programs:

    External libraries:

    Enabled decoders:
    pcm_alaw                  pcm_f32le                 pcm_mulaw                 pcm_s16be                 pcm_s16le                 pcm_s24be                 pcm_s24le                 pcm_s32le                 pcm_u8                    vorbis

    Enabled encoders:

    Enabled hwaccels:

    Enabled parsers:
    opus                      vorbis

    Enabled demuxers:
    matroska                  ogg                       wav

    Enabled muxers:

    Enabled protocols:

    Enabled filters:

    Enabled bsfs:

    Enabled indevs:

    Enabled outdevs:

    License: LGPL version 2.1 or later
    Creating config.mak, config.h, and doc/config.texi...
    make: *** No rule to make target 'libavcodec\avcodec-57.dll'.  Stop.
    System information:
    Host OS       : win
    Target OS     : win
    Host arch     : x64
    Target arch   : ia32
    Parallel jobs : 4

    Chromium configure/build:
    Running ['sh.exe', 'C:\\libchromiumcontent\\src\\third_party\\ffmpeg\\configure', '--disable-everything', '--disable-all', '--disable-doc', '--disable-htmlpages', '--disable-manpages', '--disable-podpages', '--disable-txtpages', '--disable-static', '--enable-avcodec', '--enable-avformat', '--enable-avutil', '--enable-fft', '--enable-rdft', '--enable-static', '--disable-bzlib', '--disable-error-resilience', '--disable-iconv', '--disable-lzo', '--disable-network', '--disable-schannel', '--disable-sdl', '--disable-symver', '--disable-xlib', '--disable-zlib', '--disable-securetransport', '--disable-d3d11va', '--disable-dxva2', '--disable-vaapi', '--disable-vda', '--disable-vdpau', '--disable-videotoolbox', '--enable-decoder=vorbis', '--enable-decoder=pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le', '--enable-decoder=pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw', '--enable-demuxer=ogg,matroska,wav', '--enable-parser=opus,vorbis', '--optflags="-O2"', '--enable-decoder=theora,vp8', '--enable-parser=vp3,vp8', '--toolchain=msvc', '--cpu=opteron', '--enable-yasm', '--extra-cflags=-IC:\\libchromiumcontent\\src\\third_party\\ffmpeg\\chromium/include/win', '--target-os=mingw32', '--enable-memalign-hack', '--cc=gcc-sjlj']
    Running ['make', '-j4', 'libavcodec\\avcodec-57.dll', 'libavformat\\avformat-57.dll', 'libavutil\\avutil-55.dll']
    Traceback (most recent call last):
     File "./build_ffmpeg.py", line 631, in <module>
       sys.exit(main(sys.argv[1:]))
     File "./build_ffmpeg.py", line 596, in main
       configure_args)
     File "./build_ffmpeg.py", line 588, in do_build_ffmpeg
       options.config_only, branding, configure_flags)
     File "./build_ffmpeg.py", line 217, in BuildFFmpeg
       ['make', '-j%d' % parallel_jobs] + libraries, cwd=config_dir)
     File "./build_ffmpeg.py", line 92, in PrintAndCheckCall
       subprocess.check_call(argv, *args, **kwargs)
     File "C:\Python27\lib\subprocess.py", line 541, in check_call
       raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['make', '-j4', 'libavcodec\\avcodec-57.dll', 'libavformat\\avformat-57.dll', 'libavutil\\avutil-55.dll']' returned non-zero exit status 2
    </module>

    Has anyone seen this issue before ? Have all the pre-requisites from here : https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW

    Thanks.

  • Senior Software Engineer for Enterprise Analytics Platform

    28 janvier 2016, par Matthieu Aubry — Jobs

    We’re looking for a lead developer to work on Piwik Analytics core platform software. We have some exciting challenges to solve and need you !

    You’ll be working with both fellow employees and our open-source community. Piwik PRO staff lives in New Zealand, Europe (Poland, Germany) and in the U.S. We do the vast majority of our collaboration online.

    We are a small, flexible team, so when you come aboard, you will play an integral part in engineering. As a leader you’ll help us to prioritise work and grow our community. You’ll help to create a welcoming environment for new contributors and set an example with your development practices and communications skills. You will be working closely with our CTO to build a future for Piwik.

    Key Responsibilities

    • Strong competency coding in PHP and JavaScript.
    • Scaling existing backend system to handle ever increasing amounts of traffic and new product requirements.
    • Outstanding communication and collaboration skills.
    • Drive development and documentation of internal and external APIs (Piwik is an open platform).
    • Help make our development practices better and reduce friction from idea to deployment.
    • Mentor junior engineers and set the stage for personal growth.

    Minimum qualifications

    • 5+ years of experience in product development, security, usable interface design.
    • 5+ years experience building successful production software systems.
    • Strong competency in PHP5 and JavaScript application development.
    • Skill at writing tests and reviewing code.
    • Strong analytical skills.

    Location

    • Remote work position !
    • or you can join us in our office based in Wellington, New Zealand or in Wrocław, Poland.

    Benefits

    • Competitive salary.
    • Equity in Piwik PRO.
    • Remote work is possible.
    • Yearly meetup with the whole team abroad.
    • Be part of a successful open source company and community.
    • In our Wellington (NZ) and Wroclaw (PL) offices : snacks, coffee, nap room, Table football, Ping pong…
    • Regular events.
    • Great team of people.
    • Exciting projects.

    Learn more

    Learn more what it’s like to work on Piwik in our blog post

    About Piwik

    At Piwik and Piwik PRO we develop the leading open source web analytics platform, used by more than one million websites worldwide. Our vision is to help the world liberate their analytics data by building the best open alternative to Google Analytics.

    The Piwik platform collects, stores and processes a lot of information : hundreds of millions of data points each month. We create intuitive, simple and beautiful reports that delight our users.

    About Piwik PRO company

    At Piwik PRO we’re solving hard problems with simple solutions that make our users and customers happy. We practise agile methodology, test driven development and fast release cycles. Our backend is mostly built in modern PHP with a bit of Python. We use MySQL/MariaDB and Redis as data stores. Our frontends is built in JavaScript using AngularJS and jQuery. Our tools include Github, Travis CI, PhpStorm and Slack.

    As a Lead Software Developer for Piwik PRO, you will be writing open source code that will run on more than 200,000 servers and be used in 200+ countries and 50 languages !

    Apply online

    To apply for this position, please Apply online here. We look forward to receiving your applications !

  • javacv and moviepy comparison for video generation

    15 septembre 2024, par Vikram

    I am trying to generate video using images, where image have some overlays text and png icons. I am using javacv library for this.&#xA;Final output video seems pixelated, i don't understand what is it since i do not have video processing domain knowledge, i am beginner to this.&#xA;I know that video bitrate and choice of video encoder are important factor which contributes to video quality and there are many more factors too.

    &#xA;

    I am providing you two output for comparison, one of them is generated using javacv and another one is from moviepy library

    &#xA;

    Please watch it in full screen since the problem i am talking about only gets highlighted in full screen, you will see the pixel dancing in javacv generated video, but python output seems stable

    &#xA;

    https://imgur.com/a/aowNnKg - javacv generated

    &#xA;

    https://imgur.com/a/eiLXrbk - Moviepy generated

    &#xA;

    I am using same encoder in both of the implementation

    &#xA;

    Encoder - libx264&#xA;bitrate - &#xA;   800 Kbps for javacv &#xA;   500 Kbps for moviepy&#xA;&#xA;frame rate - 24fps for both of them&#xA;&#xA;output video size -> &#xA;    7MB (javacv)&#xA;    5MB (Moviepy)&#xA;&#xA;&#xA;

    &#xA;

    generated output size from javacv is bigger then moviepy generated video.

    &#xA;

    here is my java configuration for FFmpegFrameRecorder

    &#xA;

            FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(this.outputPath, &#xA;                                           this.screensizeX, this.screensizeY);&#xA;        if(this.videoCodecName!=null &amp;&amp; "libx264".equals(this.videoCodecName)) {&#xA;            recorder.setVideoCodec(avcodec.AV_CODEC_ID_H264);&#xA;        }&#xA;        recorder.setFormat("mp4"); &#xA;        recorder.setPixelFormat(avutil.AV_PIX_FMT_YUV420);&#xA;        recorder.setVideoBitrate(800000);&#xA;        recorder.setImageWidth(this.screensizeX);&#xA;        recorder.setFrameRate(24);&#xA;&#xA;

    &#xA;

    and here is python configuration for writing video file

    &#xA;

    Full_final_clip.write_videofile(&#xA;                            f"{video_folder_path}/{FILE_ID}_INTERMEDIATE.mp4",&#xA;                            codec="libx264",&#xA;                            audio_codec="aac",&#xA;                            temp_audiofile=f"{FILE_ID}_INTER_temp-audio.m4a",&#xA;                            remove_temp=True,&#xA;                            fps=24,&#xA;                        )&#xA;&#xA;

    &#xA;

    as you can see i am not specifying bitrate in python, but i checked that bitrate of final output is around 500 kbps, which is lower then what i specified in java, yet java generated video quality seems poor.

    &#xA;

    I have tried setting crf value also , but it seems it does not have any impact when used.

    &#xA;

    increasing bitrate improve quality somewhat but at the cost of file size, still generated output seems pixelated.

    &#xA;

    Can someone please highlight what might be the issue, and how python is generating better quality video, when both of the libraries use ffmpeg at the backend.

    &#xA;

    Edit 1 : also, I am adding code which is being used to make zoom animation for continuous frames, As somewhere i read that this might be the cause for pixel jitter, please see and let me know if there is any improvement we can do to remove pixel jittering

    &#xA;

    private Mat applyZoomEffect(Mat frame, int currentFrame, long effectFrames, int width, int height, String mode, String position, double speed) {&#xA;        long totalFrames = effectFrames;&#xA;        double i = currentFrame;&#xA;        if ("out".equals(mode)) {&#xA;            i = totalFrames - i;&#xA;        }&#xA;        double zoom = 1 &#x2B; (i * ((0.1 * speed) / totalFrames));&#xA;&#xA;        double originalCenterX = width/2.0;&#xA;        double originalCenterY = height/2.0;&#xA;   &#xA;&#xA;        // Resize image&#xA;        //opencv_imgproc.resize(frame, resizedMat, new Size(newWidth, newHeight));&#xA;&#xA;        // Determine crop region based on position&#xA;        double x = 0, y = 0;&#xA;        switch (position.toLowerCase()) {&#xA;            case "center":&#xA;                // Adjusting for center zoom&#xA;                 x = originalCenterX - originalCenterX * zoom;&#xA;                 y = originalCenterY - originalCenterY * zoom;&#xA;                 &#xA;                 x= (width-(width*zoom))/2.0;&#xA;                 y= (height-(height*zoom))/2.0;&#xA;                break;&#xA;        }&#xA;&#xA;        double[][] rowData = {{zoom, 0, x},{0,zoom,y}};&#xA;&#xA;        double[] flatData = flattenArray(rowData);&#xA;&#xA;        // Create a DoublePointer from the flattened array&#xA;        DoublePointer doublePointer = new DoublePointer(flatData);&#xA;&#xA;        // Create a Mat object with two rows and three columns&#xA;        Mat mat = new Mat(2, 3, org.bytedeco.opencv.global.opencv_core.CV_64F); // CV_64F is for double type&#xA;&#xA;        // Put the data into the Mat object&#xA;        mat.data().put(doublePointer);&#xA;        Mat transformedFrame = new Mat();&#xA;        opencv_imgproc.warpAffine(frame, transformedFrame, mat, new Size(frame.cols(), frame.rows()),opencv_imgproc.INTER_LANCZOS4,0,new Scalar(0,0,0,0));&#xA;        return transformedFrame;&#xA;    }&#xA;

    &#xA;