Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#25447 closed update (fixed)

Update ffmpeg to 0.6

Reported by: ocroquette (Olivier Croquette) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: s9daallw@…, dershow, JensErikWeber@…
Port: ffmpeg

Description

This is the Portfile for ffmpeg 0.6 (only 0.5 is currently available in MacPorts). It was a straight-forward update. The patches don't seem to be necessary anymore, they can be deleted.

Attachments (6)

Portfile (6.5 KB) - added by ocroquette (Olivier Croquette) 14 years ago.
ffmpeg.diff (1.2 KB) - added by JensErikWeber@… 14 years ago.
diff of Portfile
patch-libswscale-swscale.h.diff (581 bytes) - added by JensErikWeber@… 14 years ago.
patch-libswscale-swscale.h.diff
ffmpeg_0.6_libvpx.diff (1.9 KB) - added by manphiz@… 14 years ago.
Patch to make ffmpeg build with libvpx to support vp8/webm
ffmpeg-0.6_libvpx-0.9.1.diff (7.6 KB) - added by manphiz@… 14 years ago.
Patch from webm project to bring ffmpeg 0.6 in line with new libvpx. From http://code.google.com/p/webm/downloads/list
main.log (697.7 KB) - added by dershow 14 years ago.
Log file of install failure

Download all attachments as: .zip

Change History (19)

Changed 14 years ago by ocroquette (Olivier Croquette)

Attachment: Portfile added

Changed 14 years ago by JensErikWeber@…

Attachment: ffmpeg.diff added

diff of Portfile

Changed 14 years ago by JensErikWeber@…

patch-libswscale-swscale.h.diff

comment:1 Changed 14 years ago by JensErikWeber@…

I did the same today, but then I watched the matches Germany-England and Argentia-Mexico. :-) I have no clue which is the right correction of the version number in patch-libswscale-swscale.h.diff, that were present in the old patch files, or if it's useful at all, so, I just changed patch-libswscale-swscale.h.diff in a way that only the major version number is changed from 0 to 1 like in the old patch file. and I kicked out the other 2 patches, because in the new distribution files these version numbers were the same like in the old patched ones. Please correct it if it's wrong. I deleted "--disable-vhook" as this configuration is not available in the new config file.

Jens

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to devans@…
Port: ffmpeg added
Version: 1.9.1

Please remember to fill in the Port field and cc the maintainer.

comment:3 Changed 14 years ago by manphiz@…

When ticket #25055 is solved, ffmpeg can be configured to build with libvpx support, aka vp8/webm. Proposed patch is attached, which adds a variant for vpx.

Changed 14 years ago by manphiz@…

Attachment: ffmpeg_0.6_libvpx.diff added

Patch to make ffmpeg build with libvpx to support vp8/webm

Changed 14 years ago by manphiz@…

Patch from webm project to bring ffmpeg 0.6 in line with new libvpx. From http://code.google.com/p/webm/downloads/list

comment:4 Changed 14 years ago by myschizobuddy@…

When will this be final.

comment:5 Changed 14 years ago by s9daallw@…

Cc: s9daallw@… added

Cc Me!

comment:6 Changed 14 years ago by dershow

This update is failing for me on a G5 with OS 10.5 But it does work on an Macbook Pro with 10.6. Here is the error that I get:

--->  Fetching ffmpeg
--->  Attempting to fetch ffmpeg-0.6.tar.bz2 from http://distfiles.macports.org/ffmpeg
--->  Verifying checksum(s) for ffmpeg
--->  Extracting ffmpeg
--->  Applying patches to ffmpeg
--->  Configuring ffmpeg
--->  Building ffmpeg
Error: Target org.macports.build returned: shell command failed
Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

I will also attach the log file. Thanks,

--Adam

Changed 14 years ago by dershow

Attachment: main.log added

Log file of install failure

comment:7 Changed 14 years ago by dershow

Cc: dersh@… added

Cc Me!

comment:8 in reply to:  6 Changed 14 years ago by snowflake (Dave Evans)

Replying to dersh@…:

This update is failing for me on a G5 with OS 10.5 But it does work on an Macbook Pro with 10.6. Here is the error that I get:

The patch in #25803 fixes this problem with texi2html . I applied the intention of the patch rather than applying the patch itself, as the line numbers were different.

comment:9 Changed 14 years ago by dershow

I don't understand. Does that mean that you have applied that patch so it should now build? Because I just tried again and it still doesn't build. Or are we waiting for someone to apply that patch to macports? Or are you saying that you applied it locally on your machine and it worked so I should try that? Sorry for the confusion.

comment:10 in reply to:  9 Changed 14 years ago by snowflake (Dave Evans)

Replying to dersh@…:

I don't understand. Does that mean that you have applied that patch so it should now build? Because I just tried again and it still doesn't build. Or are we waiting for someone to apply that patch to macports? Or are you saying that you applied it locally on your machine and it worked so I should try that? Sorry for the confusion.

Sorry, I did not explain very well.

I don't have Macports commit privileges so cannot affect what you download.

What I did:

  1. Synchronised my Portfiles with Macports
  1. sudo port upgrade ffmpeg
  1. It stopped with an error. I searched for bug reports and found #25803
  1. I applied the patch by editing by hand to the Makefile in the build directory
     /opt/local/var/macports/build/*ffmpeg/work/ffmpeg-0.6/Makefile
    

I did not use the {{{patch}} program. The affected line is line 110. Remove the -monolithic and -number options.

We are waiting for a commiter to apply the official patch.

comment:11 Changed 14 years ago by dershow

Thank you. That did the job.

comment:12 Changed 14 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Support for WebM with libvpx added in r70186.

comment:13 Changed 14 years ago by JensErikWeber@…

Cc: JensErikWeber@… added

Cc Me!

Note: See TracTickets for help on using tickets.