Medibuntu ffmpeg for Ubuntu 8.10 Intrepid missing

Bug #291011 reported by Bill Hung
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Medibuntu
Won't Fix
Undecided
Lionel Le Folgoc

Bug Description

the ffmpeg is missing from the 8.10 Intrepid
http://packages.medibuntu.org/intrepid/index.html

On the other hand, ffmpeg is there for 8.04 hardy
http://packages.medibuntu.org/hardy/index.html

Any chance of having ffmpeg listed in Medibuntu for 8.10 Intrepid?

Other concerned individuals discussed similar issues here
http://tennessee.ubuntuforums.com/showthread.php?t=948399
https://answers.launchpad.net/medibuntu/+question/49437
http://ubuntuforums.org/showthread.php?p=6062520#post6062520

Bill Hung (billhung)
description: updated
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

An "unstripped" build of ffmpeg is now included in the Ubuntu official repositories (intrepid/multiverse). You need to install the following libraries:
libavcodec-unstripped-51
libavdevice-unstripped-52
libavformat-unstripped-52
libavutil-unstripped-49
libpostproc-unstripped-51
libswscale-unstripped-0

Note that they should be automatically pulled in if you install ubuntu-restricted-extras (ou kubuntu-restricted-extras or xubuntu-restricted-extras).

They should include all necessary codecs (except amr, because I haven't had the time to add it, please open a specific bug report if you are interested by it), thus making a medibuntu package useless.

Changed in medibuntu:
assignee: nobody → mrpouit
status: New → Won't Fix
Revision history for this message
Bill Hung (billhung) wrote :

thanks for the quick reply.

I actually had ubuntu-restricted extras installed already. But that didn't work. I am trying your "unstripped" suggestion now.

By the way, I used mencoder from medibuntu and mencoder was able to encode in h.264, but the audio was not quite right. So I still want the ffmpeg in medibuntu to work.

Hope to see ffmpeg in medibuntu.

Revision history for this message
Bill Hung (billhung) wrote :

sorry, still couldn't solve my ffmpeg problem with those "unstripped" codecs.

Also couldn't get the ffmpeg to work properly by downloading the latest source and codec.
Nor keep updating the latest ffmpeg + restricted codec from ubuntu.

I will keep looking forward to a medibuntu ffmpeg release. I use ffmpeg from medibuntu on 7.10 in another PC, which worked very well for h264+aac video encoding that I do.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

> sorry, still couldn't solve my ffmpeg problem with those "unstripped" codecs.

Could you please be more precise about you issue? The unstripped variant is built with aac and h264 support enabled.

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

It is as simple as:

" Unknow encoder 'aac' "

Or

" Unknow encoder 'libamr_nb' "

Or

" Unknow encoder 'xvid' "

I use Intrepid 64 with all unstripped packages installed. Hate lossing functionnality on OS upgrade. Sure some things go foward but some others backward....

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote : Re: [Bug 291011] Re: Medibuntu ffmpeg for Ubuntu 8.10 Intrepid missing

Laurent Dinclaux a écrit :
> It is as simple as:
>
> " Unknow encoder 'aac' "

The correct one should be 'libfaac'.

>
> Or
>
> " Unknow encoder 'libamr_nb' "

See [*] below.

>
> Or
>
> " Unknow encoder 'xvid' "

Try 'libxvid'.

>
>
> I use Intrepid 64 with all unstripped packages installed. Hate lossing functionnality on OS upgrade. Sure some things go foward but some others backward....
>

Please, instead of blaming us, run "ffmpeg -formats" to find the correct
 names (it seems they have changed).

[*] AMR support is not available in the Ubuntu package, because I
haven't had the time to update the patch which allows using libamr at
runtime. There is a candidate package available at
https://launchpad.net/~medibuntu-maintainers/+archive if you want to
check it.

--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

libfaac is ok.
libmp3lame replaces mp3
libxvid is ok

Thanks

Waiting for arm support....... I'll give your package a try

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

Well trying to encode an mp3 to mono for mobile phone using
-acodec libmp3lame -ab 32k -ac 1 -ar 22050

Result is a 160kbps mp3 stereo....

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Laurent Dinclaux a écrit :
> Well trying to encode an mp3 to mono for mobile phone using
> -acodec libmp3lame -ab 32k -ac 1 -ar 22050
>
> Result is a 160kbps mp3 stereo....
>

Mmh, then please report this bug against the ffmpeg package in ubuntu
(https://bugs.launchpad.net/ubuntu/+source/ffmpeg). Thanks

--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910

Revision history for this message
Marius Grannæs (grannas) wrote :

FFmpeg in main is missing h.264 encoding support.

This is a known issue:
https://bugs.launchpad.net/ubuntu/+source/transcode/+bug/276519

Can you package one with encoding support?

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

Could you try with the unstripped variant (in multiverse), as described in the second comment?
Thanks.

Revision history for this message
Marius Grannæs (grannas) wrote :

It is still missing.

In that bugreport I've attatched to my previous post, the ubuntu people mention that they cannot link their ffmpeg to x264, because ffmpeg is in main, while x264 is in multiverse.

(x264 is afaik what gives ffmpeg its h.264 encoding capability)

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

The unstripped variant is in multiverse, and thus linked with libx264.
ffmpeg -formats | grep 264 returns something here, so this should be ok.

Revision history for this message
Marius Grannæs (grannas) wrote :

My ffmpeg -formats returns:

D V DT h264

note this is not the same as the package format "raw h.264", which returns:
DE h264 raw H264 video format

Maybe I'm missing something big here. Can you point me to the multiverse-version of the package, so I can test
it explicitly?

Revision history for this message
Guillaume Martres (smarter) wrote :
Revision history for this message
Marius Grannæs (grannas) wrote :

I have just done so. Still no h.264 encoding. Can you please post your output of ffmpeg -formats | grep h264 ?

I have:
grannas@hydra:~$ ffmpeg -formats | grep h264
FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Oct 3 2008 22:41:23, gcc: 4.3.2
 DE h264 raw H264 video format
 D V DT h264
 text2movsub remove_extra noise mov2textsub mp3decomp mp3comp mjpegadump imxdump h264_mp4toannexb dump_extra

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

As I wrote several times above, many codecs have been renamed in ffmeg since the old snaphost shipped in hardy. The correct name should be 'libx264' now (that's why "ffmpeg -formats | grep h264" returns nothing useful).

Revision history for this message
Paul Gevers (paul-climbing) wrote :

libavcodec-unstripped-51
libavdevice-unstripped-52
libavformat-unstripped-52
libavutil-unstripped-49
libpostproc-unstripped-51
libswscale-unstripped-0

Note that they should be automatically pulled in if you install ubuntu-restricted-extras (ou kubuntu-restricted-extras or xubuntu-restricted-extras).

ubuntu-restricted-extras only pulles in libavcodec-unstripped-51, but AFAICT that's enough for x264 and xvid. Mind you, it only recommends...

paul@etna ~ $ apt-cache show ubuntu-restricted-extras
Package: ubuntu-restricted-extras
Priority: optional
Section: multiverse/metapackages
Installed-Size: 32
Maintainer: Michael Vogt <email address hidden>
Architecture: i386
Version: 25
Recommends: gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-ugly-multiverse, msttcorefonts, flashplugin-nonfree, unrar, gstreamer0.10-plugins-bad, gstreamer0.10-plugins-bad-multiverse, gstreamer0.10-ffmpeg, libavcodec-unstripped-51, gstreamer0.10-pitfdll, libmp3lame0, libdvdread3, sun-java6-plugin

Revision history for this message
Paul Gevers (paul-climbing) wrote :

Hmm. The above comment is not too clear. The first two parts should of course be quoted...

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Yes, you're right. IIRC, recommended packages are automatically installed for packages belonging to the "metapackages" section tough, so this should be ok anyway.

Revision history for this message
Alex Wauck (awauck) wrote :

If I try to install the unstripped versions, it removes the libav*-dev packages! I need those!

Revision history for this message
Guillaume Martres (smarter) wrote :

This is *not* a Medibuntu bug. Fill a bug report to Ubuntu, this bug report is not here to collect every problem caused by the unstripped flavour.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Already reported as Bug #289600 btw.

Revision history for this message
Hal Vaughan (hal-halblog) wrote :

After reading through this, I'm still a bit confused. It's been a big help because I can use libmp3lame and finally produce MP2 files from my .mts files to put on DVDs for some friends, but the usefulness of the FFmpeg library is still quite limited. For example, I tried to us VLC to easily and quickly transcode my .mts files to .mpg and it would not work because VLC is trying to specify codecs that are either renamed or no longer existent in the repository version of FFmpeg. I also tried to transcode my .mts files to .mpg using "-target DVD" on the command line with FFmpeg and ended up with no audio. My best guess, after a lot of experimentation, is that the MP2 files have no audio playback unless the audio is in MP3 format and that within FFmpeg, if one specifies "-target DVD," that internally FFmpeg automatically uses the mp3 codec, which is not there in the Intrepid version of FFmpeg (replaced by libmp3lame).

Is it possible to put in hooks so if one specifies a codec that has been replaced that rather than giving an error, it'll automatically call on the replacement -- but with a warning message to the console? That would let VLC and other external programs that use it to continue to work with FFmpeg as they did in Hardy and before they were broken in Intrepid.

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

> Is it possible to put in hooks so if one specifies a codec that has been replaced that rather than giving an error

+1

Revision history for this message
pt123 (pt123) wrote :

I don't get this I thought medibuntu used to provide a package of ffmpeg because the one provided in Ubuntu has always pretty useless because xvid and other codecs were never enabled.

So why was this package dropped after being provided for Hardy by medibuntu?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.