Re: Can't compile
Masaru Nomiya <[email protected]> Mon, 03 May 2021 10:17:32 +0900
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, In the Message; Subject : Re: [MPlayer-users] Can't compile Message-ID : <[email protected]> Date & Time: Sun, 2 May 2021 14:55:58 +0200 [SA] == Alexander Strasser <[email protected]> has written: [...] SA>> Should be fixed in MPlayer SVN r38308 . SA> That is SA> make mplayer SA> should be working. SA> Unfortunately mencoder is still broken. There is a patch by Reimar for SA> muxer_lavf on the mplayer-dev-eng mailing list, but ve_lavc is still SA> missing. SA> I'm looking into ve_lavc currently, but no guarantees about when the SA> mencoder fixes will land in the SVN repo. SA> Anyway if you don't need mencoder, `make mplayer` should be fine. Sorry, but I can't compile; [...] libmpdemux/muxer_lavf.c:361:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 361 | fmt = av_guess_format(NULL, out_filename, NULL); | ^ libmpdemux/muxer_lavf.c:371:32: error: 'AVFormatContext' {aka 'struct AVFormatContext'} has no member named 'filename' 371 | av_strlcpy(priv->oc->filename, src, sizeof(priv->oc->filename)); | ^~ libmpdemux/muxer_lavf.c:371:64: error: 'AVFormatContext' {aka 'struct AVFormatContext'} has no member named 'filename' 371 | av_strlcpy(priv->oc->filename, src, sizeof(priv->oc->filename)); | ^~ libmpcodecs/ve_lavc.c:102:42: error: 'FF_PRED_LEFT' undeclared here (not in a function) 102 | static int lavc_param_prediction_method= FF_PRED_LEFT; | ^~~~~~~~~~~~ libmpdemux/muxer_lavf.c: In function 'write_header': libmpdemux/muxer_lavf.c:298:2: warning: ignoring return value of 'avformat_write_header', declared with attribute warn_unused_result [-Wunused-result] 298 | avformat_write_header(priv->oc, &opts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c: In function 'config': libmpcodecs/ve_lavc.c:347:22: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'b_frame_strategy' 347 | lavc_venc_context->b_frame_strategy= lavc_param_vb_strategy; | ^~ libmpcodecs/ve_lavc.c:349:22: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'rtp_payload_size' [...] Thanks, --- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp Think. -- The IBM slogan --