Bug#508524: lenny - regression - ffmpeg lacks important codecs

2009-12-21 Thread Fabian Greffrath

Am 19.12.2009 01:53, schrieb drbob:

I tried the method as described by hjsalchow but found that whilst it
produced some deb files for me they too had the codecs stripped out. The
debian rules script is crafted to remove the codecs even if you use
get-orig-source.


Yes, debian/rules has to do two things here: Strip the codecs out of 
the source tarball (in get-orig-source) and then strip the calling of 
these codecs out of the remaining code.



I managed to recompile with the mpeg2 encoder enabled by editing
debian/rules to stop it stripping out the codecs from the original
source. I describe what I did in more detail here:

http://gbdrbob.wordpress.com/2009/12/07/ffmpeg-mpeg2-debian-lenny/


Nice instructions, but: If you set DEB_BUILD_OPTIONS on a separate 
command line, you should export them to the environment. This is why I 
suggested to set them on the same line as the calls to fakeroot 
debian/rules resp. dpkg-buildpackage.


Regarding the problem with the package version remaining the same, you 
can add a new revision number by running e.g. dch --nmu or similar.



I'm sure there must be a more elegant way to do this but it worked for
me. Hope this helps those who need mpeg2 and don't want to use packages
from unstable on their system.


No, there isn't! Rebuilding the Debian packages to achieve extra 
codecs is completely unsupported. We introduced the internalencoders 
options just for convenience reasons.


Cheers,
Fabian



--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2009-12-18 Thread drbob

Fabian Greffrath wrote:

hjsalc...@aol.com schrieb:

as far as I understand build the missing codices should be build as
follows.


Yes, it *should* work as described (I tried it once and it worked) but 
I cannot stress enough that rebuilding an unstripped ffmpeg from the 
Debian sources is totally unsupported in Debian Lenny (and will stay 
so in future releases, BTW).

Hello,

I tried the method as described by hjsalchow but found that whilst it 
produced some deb files for me they too had the codecs stripped out. The 
debian rules script is crafted to remove the codecs even if you use 
get-orig-source.


I managed to recompile with the mpeg2 encoder enabled by editing 
debian/rules to stop it stripping out the codecs from the original 
source. I describe what I did in more detail here:


http://gbdrbob.wordpress.com/2009/12/07/ffmpeg-mpeg2-debian-lenny/

I'm sure there must be a more elegant way to do this but it worked for 
me. Hope this helps those who need mpeg2 and don't want to use packages 
from unstable on their system.


--
drbob



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2009-09-29 Thread Fabian Greffrath

hjsalc...@aol.com schrieb:

as far as I understand build the missing codices should be build as
follows.


Yes, it *should* work as described (I tried it once and it worked) but 
I cannot stress enough that rebuilding an unstripped ffmpeg from the 
Debian sources is totally unsupported in Debian Lenny (and will stay 
so in future releases, BTW).


However, the last command returns some errors: 

make[2]: *** [dsputil.o] Error 1
make[2]: Leaving directory

`/.../ffmpeg-debian-0.svn20080206/debian-static/libavcodec'

make[1]: *** [lib] Error 2
make[1]: Leaving directory

`/.../ffmpeg-debian-0.svn20080206/debian-static'

make: *** [build-static-stamp] Error 2
rm configure-static-stamp
dpkg-buildpackage: failure: debian/rules build gave error exit status

2


These lines only tell us *that* the build failed, but not *how* it 
failed. Please do also include the error messages that appeared before 
Error 1 when compiling dsputil.o.


BTW, does it only fail if you compile the static libraries or does it 
also fail if you compile only the shared ones? Please remove static 
from FLAVORS in debian/confflags, remove the lib*-dev packages from 
debian/control and try again.


Cheers,
Fabian



--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2009-09-26 Thread hjsalc...@aol.com
Hi,

as far as I understand build the missing codices should be build as
follows.
on Debian stable:
# apt-get build-dep ffmpeg-debian
$ apt-get source ffmpeg-debian
$ cd ffmpeg-debian-0.svn20080206
$ DEB_BUILD_OPTIONS=internalencoders fakeroot debian/rules
get-orig-source
$ sed -i '1s/ffmpeg-debian/ffmpeg/' debian/changelog debian/control
$ DEB_BUILD_OPTIONS=internalencoders dpkg-buildpackage -us -uc

However, the last command returns some errors: 
 make[2]: *** [dsputil.o] Error 1
 make[2]: Leaving directory
`/.../ffmpeg-debian-0.svn20080206/debian-static/libavcodec'
 make[1]: *** [lib] Error 2
 make[1]: Leaving directory
`/.../ffmpeg-debian-0.svn20080206/debian-static'
 make: *** [build-static-stamp] Error 2
 rm configure-static-stamp
 dpkg-buildpackage: failure: debian/rules build gave error exit status
2

It would be nice to have a proper howto build the missing codices on
Debian stable.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2009-01-09 Thread Peter Tuhársky

Please, could You help me?

Peter

Peter Tuhársky  wrote / napísal(a):

Fabian Greffrath fabian.greffr...@lycos.de zapísal:

Am Freitag, den 12.12.2008, 17:02 +0100 schrieb Peter Tuhársky:

What I'm doing wrong?

Add the following line to your /etc/apt/sources.list file:

deb-src http://ftp.debian.org/debian/ unstable main




Now I got this error, after some successfull steps:


dpkg-source: error: source package has two conflicting values -
ffmpeg-debian and ffmpeg
dpkg-buildpackage: failure: dpkg-source -b ffmpeg-debian-0.svn20080206 gave
error exit status 255

Peter





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2009-01-09 Thread Fabian Greffrath

Peter Tuhársky schrieb:
 dpkg-source: error: source package has two conflicting values -
 ffmpeg-debian and ffmpeg
 dpkg-buildpackage: failure: dpkg-source -b 
ffmpeg-debian-0.svn20080206 gave

 error exit status 255

Please make sure the first lines of both debian/changelog and 
debian/control read ffmpeg instead of ffmpeg-debian:


sed -i '1s/ffmpeg-debian/ffmpeg/' debian/changelog debian/control

Cheers,
Fabian


--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: Subject: Re: Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-22 Thread Fabian Greffrath

Reinhard Tartler schrieb:

try again with the version from experimental, and regenerate the
debian/control file using 'debian/rules debian/control' after your 'sed'
call.


Right. However, if you want to stay with the version from unstable, 
please call the sed line on both files, i.e.


sed -i '1s/ffmpeg-debian/ffmpeg/' debian/changelog debian/control

Sorry, I forgot about this.


--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: Subject: Re: Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-21 Thread Reinhard Tartler

francesco foresti fraf...@tiscali.it writes:

 Hello, 
 I'm trying to follow this procedure:

# apt-get build-dep ffmpeg-debian
$ apt-get source ffmpeg-debian
$ cd ffmpeg-debian_0.svn20080206
$ DEB_BUILD_OPTIONS=internalencoders \
 fakeroot debian/rules get-orig-source
$ sed -i '1s/ffmpeg-debian/ffmpeg/' debian/changelog
$ DEB_BUILD_OPTIONS=internalencoders \
  dpkg-buildpackage -us -uc

 but it fails during the last step with this error:
 dpkg-source: error: source package has two conflicting values - ffmpeg-debian 
 and ffmpeg
 dpkg-buildpackage: failure: dpkg-source -b ffmpeg-debian-0.svn20080206 gave 
 error exit status 255

 I tried googling at it and it seems the cause is some wrong name in 
 debian/control and debian/changelog.

 Could You please give some advice on what to change in these files?

try again with the version from experimental, and regenerate the
debian/control file using 'debian/rules debian/control' after your 'sed'
call.


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: Subject: Re: Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-20 Thread francesco foresti
Hello, 
I'm trying to follow this procedure:

# apt-get build-dep ffmpeg-debian
$ apt-get source ffmpeg-debian
$ cd ffmpeg-debian_0.svn20080206
$ DEB_BUILD_OPTIONS=internalencoders \
 fakeroot debian/rules get-orig-source
$ sed -i '1s/ffmpeg-debian/ffmpeg/' debian/changelog
$ DEB_BUILD_OPTIONS=internalencoders \
  dpkg-buildpackage -us -uc

but it fails during the last step with this error:
dpkg-source: error: source package has two conflicting values - ffmpeg-debian 
and ffmpeg
dpkg-buildpackage: failure: dpkg-source -b ffmpeg-debian-0.svn20080206 gave 
error exit status 255

I tried googling at it and it seems the cause is some wrong name in 
debian/control and debian/changelog.

Could You please give some advice on what to change in these files?

Thank You 
  
-- 
===
Francesco Foresti
Registered Linux User #332599
key fingerprint = 59D5 1E61 6631 5DEF DC88 C64C 7F53 2F45 99FB CD21


signature.asc
Description: This is a digitally signed message part.


Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-12 Thread Fabian Greffrath
This is a known issue and a necessary drawback to comply with 
ftp-masters (and possibly jurisdiction in some parts of the world). 
Please read the README.Debian file that is included in the 
ffmpeg-related packages.


Peter Tuhársky schrieb:
I'm trying the Lenny and I have found that ffmpeg, in attemp to encode a 
file, claims an error:


Unknown encoder 'mpeg4'

Similar with mpeg2video, h264 etc. These worked well with etch. A quick 
glance has shown that there has been similar problem with ubuntu 
recently (Bug 254201). Is it going to be fixed until stable release of 
Lenny? This renders the Lenny quite useless for me.



--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-12 Thread Peter Tuhársky

Fabian Greffrath  wrote / napísal(a):
This is a known issue and a necessary drawback to comply with 
ftp-masters (and possibly jurisdiction in some parts of the world). 
Please read the README.Debian file that is included in the 
ffmpeg-related packages.


I did and there is a mention on debian/strip.sh, however searching 
packages did not reveal me any such file.


How could I get to functioning ffmpeg?

Peter




Peter Tuhársky schrieb:
I'm trying the Lenny and I have found that ffmpeg, in attemp to encode 
a file, claims an error:


Unknown encoder 'mpeg4'

Similar with mpeg2video, h264 etc. These worked well with etch. A 
quick glance has shown that there has been similar problem with ubuntu 
recently (Bug 254201). Is it going to be fixed until stable release of 
Lenny? This renders the Lenny quite useless for me.








--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-12 Thread Fabian Greffrath

Peter Tuhársky schrieb:
I did and there is a mention on debian/strip.sh, however searching 
packages did not reveal me any such file.


It's in the sources. You need to rebuild the ffmpeg packages to get 
full functionality.



How could I get to functioning ffmpeg?


This is somehow quick and dirty but should pretty much do it (maybe we 
should document something like an official method somewhere):


# apt-get build-dep ffmpeg-debian
$ apt-get source ffmpeg-debian
$ cd ffmpeg-debian_0.svn20080206
$ DEB_BUILD_OPTIONS=internalencoders \
  fakeroot debian/rules get-orig-source
$ sed -i '1s/ffmpeg-debian/ffmpeg/' debian/changelog
$ DEB_BUILD_OPTIONS=internalencoders \
  dpkg-buildpackage -us -uc

Good luck! ;)

Cheers,
Fabian

PS: The above is still a hack! Please don't upload these packages 
anywhere!


--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-12 Thread Peter Tuhársky
Well, I'm really a lame when it goes into a compilation, and I only once
successfully rebuilded a package...

I failed even the first step (shouldn't they be swapped?) I get Couldn't
find a source package for ffmpeg-debian

Then, I don't have the package ffmpeg-debian in repository.

What I'm doing wrong?

Peter

 # apt-get build-dep ffmpeg-debian
 $ apt-get source ffmpeg-debian
 $ cd ffmpeg-debian_0.svn20080206
 $ DEB_BUILD_OPTIONS=internalencoders \
fakeroot debian/rules get-orig-source
 $ sed -i '1s/ffmpeg-debian/ffmpeg/' debian/changelog
 $ DEB_BUILD_OPTIONS=internalencoders \
dpkg-buildpackage -us -uc
 
 Good luck! ;)
 
 Cheers,
 Fabian
 
 PS: The above is still a hack! Please don't upload these packages 
 anywhere!
 
 -- 
 Dipl.-Phys. Fabian Greffrath
 
 Ruhr-Universität Bochum
 Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
 Universitätsstr. 150, IB 3/134
 D-44780 Bochum
 
 Telefon: +49 (0)234 / 32-26334
 Fax: +49 (0)234 / 32-14227
 E-Mail:  greffr...@leat.ruhr-uni-bochum.de
 





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-12 Thread Fabian Greffrath
Am Freitag, den 12.12.2008, 17:02 +0100 schrieb Peter Tuhársky:
 What I'm doing wrong?

Add the following line to your /etc/apt/sources.list file:

deb-src http://ftp.debian.org/debian/ unstable main




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508524: lenny - regression - ffmpeg lacks important codecs

2008-12-11 Thread Peter Tuhársky
package: ffmpeg


version: 0.svn20080206-14


 


I'm trying the Lenny and I have found that ffmpeg, in attemp to encode a
file, claims an error:


Unknown encoder 'mpeg4'


Similar with mpeg2video, h264 etc. These worked well with etch. A quick
glance has shown that there has been similar problem with ubuntu recently
(Bug 254201). Is it going to be fixed until stable release of Lenny? This
renders the Lenny quite useless for me.


 


Petera href=https://bugs.launchpad.net/bugs/254201;/a