Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Is FFmpeg working with 12.04?

  1. #1
    Join Date
    May 2008
    Location
    USA New York
    Beans
    1,451
    Distro
    Ubuntu 20.04 Focal Fossa

    Question Is FFmpeg working with 12.04?

    What is the latest? Did the ongoing dispute with avconv and FFmpeg get resloved?
    Used FFmpeg in the past. It worked great. Tried using it last night and get the message:
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Is there a simple way or fix now, to get FFmpeg working again?
    Ubuntu 20.04.06 LTS 64bit Ext4 on a Dell Studio XPS Desktop Intel® Core™ i7-860 2.8GHz, 8GB DDR3 ram

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Is FFmpeg working with 12.04?

    You can compile it yourself if you want to, to get the full working version as the repo one is a little less than full working version on some HD codecs, or you can install the repo version and it will still mostly work as you expect it to, but as avconv does just the same job with almost the same syntax (and I could never remember that when using ffmpeg, but had to look it up) I generally use avconv instead. It is less hard work compiling and messing about.

  3. #3
    Join Date
    May 2008
    Location
    USA New York
    Beans
    1,451
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Is FFmpeg working with 12.04?

    Yeah tried Google and got lots of conflicting results, so didn't know what to do.
    Most said FFmpeg still works better than avconv.

    FFmpeg syntax was never a problem since I just copy & pasted it and the only changes needed were for the pic and mp3 code.
    You just put that code in, hit enter and FFmpeg did its thing beautifully.

    It just I never compiled it myself and was hoping someone had the proper code to make it work again.
    Ubuntu 20.04.06 LTS 64bit Ext4 on a Dell Studio XPS Desktop Intel® Core™ i7-860 2.8GHz, 8GB DDR3 ram

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

    Re: Is FFmpeg working with 12.04?

    The "deprecated" message was made intentionally vague–the Debian/Ubuntu package maintainer is the Libav release maintainer–so general users often assume "ffmpeg" (the fake version in the repo from the fork) refers to FFmpeg (the project).

    If you want the real ffmpeg from FFmpeg, which I recommend since the fake version (and avconv) is old and buggy, then you have two major choices:

    Use a static build

    Simply download, extract, and run a pre-built binary of ffmpeg (note the ./ before ffmpeg):
    Code:
    wget http://ffmpeg.gusari.org/static/32bit/ffmpeg.static.32bit.$(date +"%F").tar.gz
    tar xzvf ffmpeg.static.32bit.$(date +"%F").tar.gz
    ./ffmpeg -i input ... output
    Compile ffmpeg
    Refer to a step-by-step guide to compile ffmpeg.

    Neither method will interfere with repository packages. The build is easier, but compiling will allow you to customize it anyway you want. There's no reason to let politics or a maintainer make choices for you.

  5. #5
    Join Date
    May 2008
    Location
    USA New York
    Beans
    1,451
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Is FFmpeg working with 12.04?

    Quote Originally Posted by FakeOutdoorsman View Post
    The build is easier....
    Am assuming you mean the static build here?

    So all needed is put in static build code in terminal
    wget http://ffmpeg.gusari.org/static/32bit/ffmpeg.static.32bit.$(date +"%F").tar.gz
    tar xzvf ffmpeg.static.32bit.$(date +"%F").tar.gz
    ./ffmpeg -i input ... output
    and I should be good to go?
    Ubuntu 20.04.06 LTS 64bit Ext4 on a Dell Studio XPS Desktop Intel® Core™ i7-860 2.8GHz, 8GB DDR3 ram

  6. #6
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Is FFmpeg working with 12.04?

    Quote Originally Posted by cybrsaylr View Post
    Am assuming you mean the static build here?
    Yeah.

    Quote Originally Posted by cybrsaylr View Post
    So all needed is put in static build code in terminal and I should be good to go?
    That's the plan, and I wanted it to be as easy as possible, but results may vary due to time zones (due to the date command) and if the server is available. The first command downloads the most recent archive, the second command extracts the archive, and the third is an incomplete example of using ffmpeg.

    If it does not download for you then you can download via your browser at the FFmpeg Download page.

  7. #7
    Join Date
    May 2008
    Location
    USA New York
    Beans
    1,451
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Is FFmpeg working with 12.04?

    FakeOutdoorsman, Thanks will give it a try when time permits.
    Ubuntu 20.04.06 LTS 64bit Ext4 on a Dell Studio XPS Desktop Intel® Core™ i7-860 2.8GHz, 8GB DDR3 ram

  8. #8
    Join Date
    May 2008
    Location
    USA New York
    Beans
    1,451
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Is FFmpeg working with 12.04?

    Well put in that static build code you suggested in post 4 and it doesn't work.
    Get the same *** THIS PROGRAM IS DEPRECATED *** message.

    I'm stumped......
    Ubuntu 20.04.06 LTS 64bit Ext4 on a Dell Studio XPS Desktop Intel® Core™ i7-860 2.8GHz, 8GB DDR3 ram

  9. #9
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Is FFmpeg working with 12.04?

    There is a ppa for ffmpeg which you can enable for the updated version of "proper" ffmpeg.
    https://launchpad.net/~jon-severinsson/+archive/ffmpeg

  10. #10
    Join Date
    May 2008
    Location
    USA New York
    Beans
    1,451
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Is FFmpeg working with 12.04?

    Quote Originally Posted by ajgreeny View Post
    There is a ppa for ffmpeg which you can enable for the updated version of "proper" ffmpeg.
    https://launchpad.net/~jon-severinsson/+archive/ffmpeg
    OK think I did that.

    FFmpeg still won't work.
    Was the FFmpeg code changed?
    Tried using it and get this in terminal and know not what it means:
    rr@rr-Studio-XPS-8000:~$ ffmpeg -loop_input -i ~/Desktop/k.png -i ~/Desktop/k.mp3 -shortest -b 1000k -acodec copy video.mp4
    ffmpeg version 0.10.9-7:0.10.9-1~precise1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Oct 4 2013 06:37:30 with gcc 4.6.3
    configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.9-1~precise1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
    libavutil 51. 35.100 / 51. 35.100
    libavcodec 53. 61.100 / 53. 61.100
    libavformat 53. 32.100 / 53. 32.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 61.100 / 2. 61.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    -loop_input is deprecated, use -loop 1
    Note, both loop options only work with -f image2

    Input #0, image2, from '/home/rr/Desktop/k.png':
    Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24, 703x548, 25 fps, 25 tbr, 25 tbn, 25 tbc
    -loop_input is deprecated, use -loop 1
    Note, both loop options only work with -f image2
    [mp3 @ 0xfe6da0] max_analyze_duration 5000000 reached at 5015510
    [mp3 @ 0xfe6da0] Estimating duration from bitrate, this may be inaccurate

    Input #1, mp3, from '/home/rr/Desktop/k.mp3':
    Metadata:
    title : Blow Your Own Pt. 2 [ft Kathrin DeBoer]
    artist : Aaron Jerome
    album : Time to Rearrange
    album_artist : Aarron Jerome
    genre : Jazz
    track : 10
    disc : 1
    date : 2007
    Duration: 00:04:52.49, start: 0.000000, bitrate: 320 kb/s
    Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
    Please use -b:a or -b:v, -b is ambiguous
    File 'video.mp4' already exists. Overwrite ? [y/N] y
    Incompatible pixel format 'rgb24' for codec 'libx264', auto-selecting format 'yuv420p'
    [buffer @ 0xfdf780] w:703 h:548 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
    [buffersink @ 0xfe85a0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
    [scale @ 0xfde840] w:703 h:548 fmt:rgb24 -> w:703 h:548 fmt:yuv420p flags:0x4
    [libx264 @ 0x1000280] width not divisible by 2 (703x548)
    Output #0, mp4, to 'video.mp4':
    Stream #0:0: Video: h264, yuv420p, 703x548, q=-1--1, 1000 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: mp3, 44100 Hz, stereo, 320 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (png -> libx264)
    Stream #1:0 -> #0:1 (copy)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Ubuntu 20.04.06 LTS 64bit Ext4 on a Dell Studio XPS Desktop Intel® Core™ i7-860 2.8GHz, 8GB DDR3 ram

Page 1 of 3 123 LastLast

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
  •