Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2334 closed defect (fixed)

build fails since 2017-10-21

Reported by: dodona Owned by: beastd
Priority: high Component: build system
Version: unspecified Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description (last modified by beastd)

Summary of the bug:
How to reproduce:
make

Attachments (1)

mplayer-bug (1.8 KB ) - added by dodona 6 years ago.
make message

Download all attachments as: .zip

Change History (14)

by dodona, 6 years ago

Attachment: mplayer-bug added

make message

comment:1 by beastd, 6 years ago

Status: newopen

Yes, the build is broken with newest FFmpeg.

It's because lot's of stuff that was deprecated for quite some time, got disabled in FFmpeg master yesterday.

I am working on it since yesterday and I already have MPlayer compiling again, but it will probably take some more time to get it right.

comment:2 by beastd, 6 years ago

Description: modified (diff)
Summary: build failes since 21.10.2017build fails since 2017-10-21

comment:3 by beastd, 6 years ago

For the record and for people that want to build against that version for now:

Last compatible version is at FFmpeg commit 4c0a8ff061 .

comment:4 by beastd, 6 years ago

The build is fixed in r37998 now.

There are some caveats; mostly for mencoder. Also I am not sure it works for everyone. Thus I will leave this ticket open a bit longer.

Please report back if it works for you.

in reply to:  4 comment:5 by dodona, 6 years ago

Replying to beastd:

The build is fixed in r37998 now.

There are some caveats; mostly for mencoder. Also I am not sure it works for everyone. Thus I will leave this ticket open a bit longer.

Please report back if it works for you.

mplayer works fine, however, as you already mentioned, mencoder doesn't work 100, at least at the first glance. Therefor its OK to leave this ticket open a bit longer.

comment:6 by dodona, 6 years ago

mencoder definitely doesn't work at all. Should I create a new ticket?

in reply to:  6 comment:7 by beastd, 6 years ago

Replying to dodona:

mencoder definitely doesn't work at all. Should I create a new ticket?

Creating a new ticket is not yet necessary.

Could you please elaborate a little about what's not working? E.g. paste a command line and corresponding output.

I had mencoder running with the major limitation of not being able to use any FFmpeg video or audio encoders. But apart from that mencoder seemed to behave the same as before.

comment:8 by dodona, 6 years ago

I run mencoder from a 3 years working perfectly script using fixed parameters:
mencoder in.mp4 -oac mp3lame -ovc lavc -lavcopts\
vcodec=mpeg4:vbitrate=10000:mbd=2:v4mv:autoaspect -ffourcc divx -lameopts vbr=3 -o out.avi

the new mencoder doesn't know -lavcopts ('is not an MEncoder option'). Furthermore it doesn't like -ovc lavc, which I replaced by -ovc copy in a simplified command:

mencoder in.mp4 -oac mp3lame -ovc copy -ffourcc divx -lameopts vbr=3 -o out.avi

no error message. Running the resulting out.avi with the new mplayer results in an infinite loop with the (looping) message:

A: 10.6 V: 10.6 A-V: 0.000 ct: -0.267 320/320 0% 0% 0.2% 0 0
[mpeg4 @ 0x556117a38620]header damaged
Error while decoding frame!

in reply to:  8 comment:9 by beastd, 6 years ago

Replying to dodona:
[...]

the new mencoder doesn't know -lavcopts ('is not an MEncoder option'). Furthermore it doesn't like -ovc lavc,

That's like I mentioned expected for now. I hope we can fix that soon.

which I replaced by -ovc copy in a simplified command:

mencoder in.mp4 -oac mp3lame -ovc copy -ffourcc divx -lameopts vbr=3 -o out.avi

no error message. Running the resulting out.avi with the new mplayer results in an infinite loop with the (looping) message:

A: 10.6 V: 10.6 A-V: 0.000 ct: -0.267 320/320 0% 0% 0.2% 0 0
[mpeg4 @ 0x556117a38620]header damaged
Error while decoding frame!

Does it also happen if you encode with:

mencoder in.mp4 -oac mp3lame -ovc copy -lameopts vbr=3 -o out.avi

comment:10 by beastd, 6 years ago

Can you rebuild with current SVN and check your mencoder command line again.

Starting with SVN r38001 you should be able to use lavc encoders with mencoder again.

Only thing left disabled is the video filter mcdeint.

in reply to:  10 comment:11 by dodona, 6 years ago

Replying to beastd:

Can you rebuild with current SVN and check your mencoder command line again.

Starting with SVN r38001 you should be able to use lavc encoders with mencoder again.

Only thing left disabled is the video filter mcdeint.

first of all: thanks a lot!
A svn co gave me a MPlayer SVN-r37946-7 (C) 2000-2017 MPlayer Team and not a r38001. Nevertheless lavc encoders are working.

comment:12 by dodona, 6 years ago

Resolution: fixed
Status: openclosed

just closing...

comment:13 by beastd, 6 years ago

Thank you for testing again.

The quoted version seems strange though.

Does svn info show the lines below or something else?

Last Changed Rev: 38001
Last Changed Date: 2017-10-31 23:33:45 +0100 (Tue, 31 Oct 2017)
Note: See TracTickets for help on using tickets.