Page 220 of 241 FirstFirst ... 120170210218219220221222230 ... LastLast
Results 2,191 to 2,200 of 2402

Thread: HOWTO: Install and use the latest FFmpeg and x264

  1. #2191
    Join Date
    Dec 2006
    Beans
    7,349

    Re: HOWTO: Install and use the latest FFmpeg and x264

    There is always a release snapshot:

    http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2

    which gets released every 2 months or so....
    You think that's air you're breathing now?

  2. #2192
    Join Date
    Jul 2012
    Beans
    1

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Just wondering whether anybody else has experienced difficulty compiling ffmpeg on Ubuntu 10.04 using the instructions at:

    https://ffmpeg.org/trac/ffmpeg/wiki/...tionGuideLucid

    I've followed them carefully, but when I come to run make on the ffmpeg as downloaded from git, I get the following error(s):

    Code:
    makefile:2: config.mak: No such file or directory
    Makefile:47: /common.mak: No such file or directory
    Makefile:89: /libavutil/Makefile: No such file or directory
    Makefile:89: /library.mak: No such file or directory
    Makefile:169: /doc/Makefile: No such file or directory
    Makefile:170: /tests/Makefile: No such file or directory
    make: *** No rule to make target `/tests/Makefile'.  Stop.
    Am I correct in thinking that this means that some of the required make for ffmpeg files simply are not present in the repository?

  3. #2193
    Join Date
    Apr 2007
    Beans
    80

    Re: HOWTO: Install and use the latest FFmpeg and x264

    At a guess i'd say your ./configure command did not complete successfully.

  4. #2194
    Join Date
    Sep 2006
    Beans
    3,713

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Quote Originally Posted by SL666 View Post
    At a guess i'd say your ./configure command did not complete successfully.
    Seems like a good guess to me. I followed the guide today on Lucid and it worked as expected.

  5. #2195
    Join Date
    May 2011
    Beans
    15

    Re: HOWTO: Install and use the latest FFmpeg and x264

    I get this error:

    Code:
    ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb   --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis   --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
    ERROR: librtmp not found
    
    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.
    looks like librtmp is split from ffmpeg project: http://forum.serviio.org/viewtopic.php?f=5&t=6039

    edit: I am on ubuntu 12.04 desktop (x64)
    according to link above
    Code:
    sudo apt-get install pkg-config libfaac-dev libmp3lame-dev libopencore-amrnb-dev  libopencore-amrwb-dev librtmp-dev libtheora-dev libvorbis-dev libvpx-dev  libx264-dev
    should work but they are from the repo not git... can cause problems
    Last edited by Redwol; July 12th, 2012 at 06:58 PM.

  6. #2196
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Quote Originally Posted by Redwol View Post
    I get this error:

    Code:
    ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb   --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis   --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
    ERROR: librtmp not found
    
    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.
    looks like librtmp is split from ffmpeg project: http://forum.serviio.org/viewtopic.php?f=5&t=6039

    edit: I am on ubuntu 12.04 desktop (x64)
    according to link above
    Code:
    sudo apt-get install pkg-config libfaac-dev libmp3lame-dev libopencore-amrnb-dev  libopencore-amrwb-dev librtmp-dev libtheora-dev libvorbis-dev libvpx-dev  libx264-dev
    should work but they are from the repo not git... can cause problems
    Looks like you're making up your own commands instead of working to the Compilation Guide here ---> https://ffmpeg.org/trac/ffmpeg/wiki/...mpilationGuide

  7. #2197
    Join Date
    Sep 2006
    Beans
    3,713

    Re: HOWTO: Install and use the latest FFmpeg and x264

    I added librtmp stuff to the guide yesterday and it worked for me in 12.04. Did you check to see that librtmp-dev is actually installed? Does the tail end of ~/ffmpeg/config.log show anything of interest?

    Code:
    sudo apt-get install librtmp-dev
    cd ~/ffmpeg
    make distclean
    git pull
    ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
      --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis \
      --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
    make
    sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \
      --deldoc=yes --fstrans=no --default
    hash x264 ffmpeg ffplay ffprobe

  8. #2198
    Join Date
    May 2011
    Beans
    15

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Quote Originally Posted by FakeOutdoorsman View Post
    I added librtmp stuff to the guide yesterday and it worked for me in 12.04. Did you check to see that librtmp-dev is actually installed? Does the tail end of ~/ffmpeg/config.log show anything of interest?

    Code:
    sudo apt-get install librtmp-dev
    cd ~/ffmpeg
    make distclean
    git pull
    ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
      --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis \
      --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
    make
    sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \
      --deldoc=yes --fstrans=no --default
    hash x264 ffmpeg ffplay ffprobe
    Sorry! I must have missed the top half of the guide that mentions dependencies.

    I thought I installed them yesterday and wanted to work on rest of the guide today, huh must be the hot weather.

    Thanks!

  9. #2199
    Join Date
    Apr 2011
    Beans
    12

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Hi All,

    I am using the filters to put text in the top/bottom left and logos in the top/bottom right of my converted videos. It has been working perfectly for many months.

    Here is my command:

    /usr/local/bin/ffmpeg -i 4384.mts -vf "movie=/home/bigwayvideos/processing/bottom_right_watermark.png [logo];movie=/home/bigwayvideos/processing/top_right_watermark.png [logo2];[in][logo] overlay=W-w-8:H-h-8 [in+logo];[in+logo][logo2] overlay=W-w-8:8 [in+logo2]; [in+logo2] drawtext=fontfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='test (Jul 2012) - Day\: 1\, Jump\: 5':fontsize=24:fontcolor=black=10:y=10,drawtext=fontfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='Videographer\: Rob Desilets - skydivingphotography.com':fontsize=24:fontcolor=bl ack=10:y=H-th-10 [final];[final]yadif=1[out]" -vol 0 -y -c:v libx264 -crf 24 -preset slow -profile:v baseline -level 30 -c:a libfaac -q:a 100 -r 30 -s 480x320 test-071612-rd-4384-9.mp4

    The output looks like this:

    http://legacy.skydivingphotography.com/old.png

    Notice the size of the logo in top right/bottom right.

    About 3 weeks ago I upgraded my ffmpeg (using the steps outlined in this thread) and now when I process the videos my logos are super small.

    The new output looks like this:

    http://legacy.skydivingphotography.com/new.png

    Note the [small] size of the logos in top/bottom right.

    The video input is the same size and so are the logos themselves; the only thing different is the ffmpeg I am using.

    Does anyone know if I need to pass any additional/new flags into ffmpeg or what I need to do to get them the same size they were?

    As always, thanks for your time

    -Rob

  10. #2200
    Join Date
    Jul 2012
    Beans
    1

    Invalid value 'baseline' for option 'profile'

    while converting a generic h264 video with:

    ffmpeg -i <input-file> -vcodec libx264 -vpre lossless_slow -profile baseline
    -tune zerolatency <output-file.mp4>

    This command i get the error

    [h264 @ 0x2fc8500] Too many slices (68 >= 16), increase MAX_SLICES and recompile
    [h264 @ 0x2fc6400] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 59.94 (2997/50) -> 29.97 (2997/100)
    Input #0, h264, from 'wilson/ns-allinone-3.14.1/ns-3.14.1/scratch/figure5.264':
    Duration: N/A, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1920x1080, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
    [NULL @ 0x2fc9000] [Eval @ 0x7fff8fcfe2f0] Undefined constant or missing '(' in 'baseline'
    [NULL @ 0x2fc9000] Unable to parse option value "baseline"
    Invalid value 'baseline' for option 'profile'


    how this error can be solved " Invalid value 'baseline' for option 'profile' "

    Could you please help me solving this issue...
    Last edited by roysoft; July 17th, 2012 at 12:07 PM.

Page 220 of 241 FirstFirst ... 120170210218219220221222230 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •