Opened 6 years ago

Closed 5 years ago

#7470 closed enhancement (fixed)

ffmpeg-3.0.2

Reported by: Fernando de Oliveira Owned by: bdubbs@…
Priority: normal Milestone: 7.10
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by Armin K)

Attachments (3)

libquicktime-1.2.4-ffmpeg3.patch (33.2 KB ) - added by Armin K 5 years ago.
libquicktime patch
transcode-1.1.7-ffmpeg3.patch (48.8 KB ) - added by Armin K 5 years ago.
transcode patch
vlc-2.2.2-ffmpeg3.patch (17.0 KB ) - added by Armin K 5 years ago.
vlc patch

Download all attachments as: .zip

Change History (14)

comment:1 by Fernando de Oliveira, 6 years ago

Milestone: 7.107.9

comment:2 by ken@…, 6 years ago

Owner: changed from blfs-book@… to ken@…
Status: newassigned

comment:3 by ken@…, 6 years ago

Milestone: 7.97.10
Owner: changed from ken@… to blfs-book@…
Status: assignednew

Moving to 7.10, it breaks vlc, xine-lib, transcode.

(removed new optional deps I inadvertently put here, they are for x264)

Breakages

vlc (this looks fatal for 7.9):

checking for AVCODEC... yes
configure: error: libavutil versions 55 and later are not supported.

xine-lib:

ffmpeg_encoder.c: In function 'lavc_on_update_format':
ffmpeg_encoder.c:164:19: error: implicit declaration of function 'avcodec_alloc_frame' [-Werror=implicit-function-declaration]
   this->picture = avcodec_alloc_frame();
                   ^

transcode

aud_aux.c: In function 'tc_audio_init_ffmpeg':
aud_aux.c:329:18: error: 'CODEC_ID_MP2' undeclared (first use in this function)
         codeid = CODEC_ID_MP2;
                  ^
aud_aux.c:329:18: note: each undeclared identifier is reported only once for each function it appears in
aud_aux.c:332:18: error: 'CODEC_ID_AC3' undeclared (first use in this function)
         codeid = CODEC_ID_AC3;
                  ^
Last edited 6 years ago by ken@… (previous) (diff)

comment:4 by Chris Staub, 6 years ago

I built Xine-lib against FFmpeg 3.0, adding these commands:

sed -i 's/avcodec_alloc_frame/av_frame_alloc/' src/dxr3/ffmpeg_encoder.c src/combined/ffmpeg/ff_video_decoder.c src/combined/ffmpeg/ff_audio_decoder.c
sed -i 's/avcodec_free_frame/av_frame_free/' src/combined/ffmpeg/ff_audio_decoder.c

comment:5 by bdubbs@…, 5 years ago

Summary: ffmpeg-3.0ffmpeg-3.0.1

Now at version 3.0.1.

comment:6 by bdubbs@…, 5 years ago

Milestone: 7.10hold
Summary: ffmpeg-3.0.1ffmpeg-3.0.1 (wait for vlc to support this version)

Move to hold. Wait for vlc to support this package.

comment:7 by Armin K, 5 years ago

Description: modified (diff)
Milestone: hold7.10
Summary: ffmpeg-3.0.1 (wait for vlc to support this version)ffmpeg-3.0.2

Now 3.0.2

by Armin K, 5 years ago

libquicktime patch

by Armin K, 5 years ago

transcode patch

by Armin K, 5 years ago

Attachment: vlc-2.2.2-ffmpeg3.patch added

vlc patch

comment:8 by Armin K, 5 years ago

I have backported fixes for vlc from git master. It's build tested only. Few of the fixes are my own due to the code not being available in git master.

As for the transcode and libquicktime, both are based on current blfs patches + new fixes from Gentoo and Debian to support ffmpeg 3.

alsa-plugins and gegl require no fixes. Fixes for amarok and k3b can be found in archlinux svn.

comment:9 by bdubbs@…, 5 years ago

Can you give the headers for the patches? Especially where you are the author.

amarok and k3b have been removed from the book. Do the svn versions now support kf5? If so, can you post the archlinux svn urls please.

comment:10 by bdubbs@…, 5 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:11 by bdubbs@…, 5 years ago

Resolution: fixed
Status: assignedclosed

Finally fixed at revision 17324. Thansk to Armin for the patches.

Note: See TracTickets for help on using tickets.