Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • How to view the commands while making FFmpeg ?

    28 décembre 2011, par Saptarshi Biswas

    When I make ffmpeg, I can see following lines

    CC  ffmpeg.o
    LD  ffmpeg_g
    CP  ffmpeg
    STRIP   ffmpeg
    

    What is a quick way to find the commands for CC, LD etc. with as less modification to the Makefile?

  • How to create a video from png images using ffmpeg

    28 décembre 2011, par Rajat

    I want to create a video from different png images. My code is:

    ffmpeg -r 20 -f image2 -i slideshow/%d.png -y -s 320x240 -aspect 4:3 out.mp4
    

    and i receive output:

    FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers
      built on Sep 27 2011 00:47:07 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
      configuration: --enable-avfilter --enable-filter=fade
      libavutil     50.36. 0 / 50.36. 0
      libavcore      0.16. 1 /  0.16. 1
      libavcodec    52.108. 0 / 52.108. 0
      libavformat   52.93. 0 / 52.93. 0
      libavdevice   52. 2. 3 / 52. 2. 3
      libavfilter    1.74. 0 /  1.74. 0
      libswscale     0.12. 0 /  0.12. 0
    Input #0, image2, from 'slideshow/%d.png':
      Duration: 00:00:00.25, start: 0.000000, bitrate: N/A
        Stream #0.0: Video: png, rgb24, 720x471, 20 fps, 20 tbr, 20 tbn, 20 tbc
    [buffer @ 0x9687230] w:720 h:471 pixfmt:rgb24
    [scale @ 0x9687600] w:720 h:471 fmt:rgb24 -> w:320 h:240 fmt:yuv420p flags:0xa0000004
    Output #0, mp4, to 'out.mp4':
      Metadata:
        encoder         : Lavf52.93.0
        Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 20 tbn, 20 tbc
    Stream mapping:
      Stream #0.0 -> #0.0
    Press [q] to stop encoding
    Segmentation fault
    

    What might be the problem? Please help... Currently i am using centos 5 server.

  • Maintain aspect ratio when converting video ? - ffmpeg

    27 décembre 2011, par RadiantHex

    I'm trying to convert movies from .avi to an iphone readable format wherever I look, people suggest the following options for ffmpeg

    ffmpeg -s 320x240 -aspect 320:240 [...]

    This does not bode well for videos with a different aspect ratio!


    How can I keep the aspect ratio from changing? Is there a way to set the size dynamically?

    e.g. have the height to be 240 and the width variable?

  • onLowMemory caused in Android

    27 décembre 2011, par Satheesh

    Am developing a live wallpaper application in android. I face problem of onLowMemory. My application runs quite normally for 5 or odd minutes in the device after that causing the low memory error and its quit and restart again. How to resolve this error.

  • Undefined reference to _aacplusEncOpen

    26 décembre 2011, par Tarun

    Following is the copy of my config.log file->

    http://pastebin.com/embed_js.php?i=UyTBTTZv

    Following is copy of configure file->

    http://pastebin.com/embed_js.php?i=2c15zppN

    One more thing..As of now I am trying to cross-compile ffmpeg on ubuntu,But If I just compile it for linux..The same command doesnt gives any error and executes smoothly and then I am able to get ffmpeg with aacplus support for my linux machine, But why the problem is coming when I am cross compiling it.

    Another thing as aacplus is not on by default, If in configuration I dont put any (off by default) library support like if I remove aacplus from it, Then also it goes smoothly.

    Help please ASAP