Comments (3)
Trying to compile latest MuMuDVB master r17de586
with --enable-transcoding on
on
NAME="Debian GNU/Linux"
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
using gcc-4.6.real (Debian 4.6.3-14) 4.6.3
with
ii libavcodec-dev 6:0.8.6-1 armel Development files for libavcodec
ii libavcodec53:armel 6:0.8.6-1 armel Libav codec library
ii libavformat-dev 6:0.8.6-1 armel Development files for libavformat
ii libavformat53:armel 6:0.8.6-1 armel Libav file format library
ii libswscale-dev 6:0.8.6-1 armel Development files for libswscale
ii libswscale2:armel 6:0.8.6-1 armel Libav video scaling library
produces these same warning and error messages, so it would be nice if it could be fixed.
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Wall -Wextra -g -O2 -MT transcode_avlib.o -MD -MP -MF .deps/transcode_avlib.Tpo -c -o transcode_avlib.o transcode_avlib.c
transcode_avlib.c:138:2: error: #error "url_split not present, please report"
transcode_avlib.c: In function ‘create_sdp’:
transcode_avlib.c:301:5: warning: ‘avf_sdp_create’ is deprecated (declared at /usr/include/libavformat/avformat.h:1977) [-Wdeprecated-declarations]
transcode_avlib.c:371:17: warning: implicit declaration of function ‘URL_SPLIT_MUMU’ [-Wimplicit-function-declaration]
transcode_avlib.c:394:17: warning: ‘avf_sdp_create’ is deprecated (declared at /usr/include/libavformat/avformat.h:1977) [-Wdeprecated-declarations]
transcode_avlib.c:346:13: warning: case value ‘131122’ not in enumerated type ‘enum CodecID’ [-Wswitch]
transcode_avlib.c: At top level:
transcode_avlib.c:462:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:68) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘create_input_byte_context’:
transcode_avlib.c:490:5: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:68) [-Wdeprecated-declarations]
transcode_avlib.c:490:5: warning: ‘av_alloc_put_byte’ is deprecated (declared at /usr/include/libavformat/avio.h:263) [-Wdeprecated-declarations]
transcode_avlib.c:502:5: warning: ‘is_streamed’ is deprecated (declared at /usr/include/libavformat/avio.h:101) [-Wdeprecated-declarations]
transcode_avlib.c: At top level:
transcode_avlib.c:508:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:68) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘create_output_byte_context’:
transcode_avlib.c:533:5: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:68) [-Wdeprecated-declarations]
transcode_avlib.c:533:5: warning: ‘av_alloc_put_byte’ is deprecated (declared at /usr/include/libavformat/avio.h:263) [-Wdeprecated-declarations]
transcode_avlib.c:545:5: warning: ‘is_streamed’ is deprecated (declared at /usr/include/libavformat/avio.h:101) [-Wdeprecated-declarations]
transcode_avlib.c: At top level:
transcode_avlib.c:551:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:68) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘free_format_context’:
transcode_avlib.c:565:9: warning: ‘url_fclose’ is deprecated (declared at /usr/include/libavformat/avio.h:317) [-Wdeprecated-declarations]
transcode_avlib.c:583:9: warning: ‘av_close_input_stream’ is deprecated (declared at /usr/include/libavformat/avformat.h:1569) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘create_input_format_context’:
transcode_avlib.c:602:5: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:68) [-Wdeprecated-declarations]
transcode_avlib.c:623:5: warning: ‘av_open_input_stream’ is deprecated (declared at /usr/include/libavformat/avformat.h:1350) [-Wdeprecated-declarations]
transcode_avlib.c:633:5: warning: ‘av_find_stream_info’ is deprecated (declared at /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘create_output_format_context’:
transcode_avlib.c:654:13: warning: implicit declaration of function ‘guess_format’ [-Wimplicit-function-declaration]
transcode_avlib.c:654:17: warning: assignment makes pointer from integer without a cast [enabled by default]
transcode_avlib.c:658:17: warning: assignment makes pointer from integer without a cast [enabled by default]
transcode_avlib.c:662:17: warning: assignment makes pointer from integer without a cast [enabled by default]
transcode_avlib.c:686:13: warning: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:316) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘initialize_out_video_stream’:
transcode_avlib.c:713:26: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
transcode_avlib.c:713:26: note: each undeclared identifier is reported only once for each function it appears in
transcode_avlib.c:718:5: warning: ‘avcodec_get_context_defaults2’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3880) [-Wdeprecated-declarations]
transcode_avlib.c:731:5: warning: ‘crf’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:2644) [-Wdeprecated-declarations]
transcode_avlib.c:764:9: warning: ‘partitions’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:2721) [-Wdeprecated-declarations]
transcode_avlib.c:824:5: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘initialize_out_audio_stream’:
transcode_avlib.c:840:41: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
transcode_avlib.c:852:5: warning: ‘avcodec_get_context_defaults2’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3880) [-Wdeprecated-declarations]
transcode_avlib.c:892:5: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘initialize_transcode_data’:
transcode_avlib.c:956:5: warning: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘initialize_audio_parameters’:
transcode_avlib.c:1043:9: warning: ‘av_get_bits_per_sample_format’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4409) [-Wdeprecated-declarations]
transcode_avlib.c:1047:9: warning: ‘av_get_bits_per_sample_format’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4409) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘initialize_transcode_common’:
transcode_avlib.c:1172:13: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
transcode_avlib.c:1173:13: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
transcode_avlib.c:1186:13: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
transcode_avlib.c:1230:13: warning: ‘av_new_stream’ is deprecated (declared at /usr/include/libavformat/avformat.h:1604) [-Wdeprecated-declarations]
transcode_avlib.c:1291:22: error: ‘CODEC_TYPE_SUBTITLE’ undeclared (first use in this function)
transcode_avlib.c:1300:17: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1640) [-Wdeprecated-declarations]
transcode_avlib.c:1316:17: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1676) [-Wdeprecated-declarations]
transcode_avlib.c:1329:17: warning: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
transcode_avlib.c:1405:9: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1640) [-Wdeprecated-declarations]
transcode_avlib.c:1412:9: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1676) [-Wdeprecated-declarations]
transcode_avlib.c:1417:9: warning: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘initialize_transcode_ffm’:
transcode_avlib.c:1472:5: warning: ‘av_open_input_file’ is deprecated (declared at /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
transcode_avlib.c:1472💯 error: ‘FFM_PACKET_SIZE’ undeclared (first use in this function)
transcode_avlib.c:1484:5: warning: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
transcode_avlib.c:1498:9: warning: ‘avcodec_alloc_context’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3905) [-Wdeprecated-declarations]
transcode_avlib.c:1504:5: warning: ‘av_close_input_file’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
transcode_avlib.c:1506:5: warning: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:316) [-Wdeprecated-declarations]
transcode_avlib.c:1519:5: warning: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
transcode_avlib.c:1529:31: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
transcode_avlib.c:1529:66: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
transcode_avlib.c:1535:9: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
transcode_avlib.c:1583:13: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
transcode_avlib.c:1694:5: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1640) [-Wdeprecated-declarations]
transcode_avlib.c:1702:5: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1676) [-Wdeprecated-declarations]
transcode_avlib.c: In function ‘write_succeeded_frame’:
transcode_avlib.c:1912:52: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
transcode_avlib.c:1913:29: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)
transcode_avlib.c:1957:21: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
transcode_avlib.c: In function ‘transcode’:
transcode_avlib.c:2095:13: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
transcode_avlib.c:2099:13: warning: implicit declaration of function ‘avcodec_decode_video’ [-Wimplicit-function-declaration]
transcode_avlib.c:2140:29: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type [enabled by default]
/usr/include/libswscale/swscale.h:234:5: note: expected ‘const uint8_t * const_’ but argument is of type ‘uint8_t *_’
transcode_avlib.c:2150:21: warning: ‘quality’ is deprecated (declared at /usr/include/libavformat/avformat.h:667) [-Wdeprecated-declarations]
transcode_avlib.c:2193:18: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
transcode_avlib.c:2200:13: warning: implicit declaration of function ‘avcodec_decode_audio2’ [-Wimplicit-function-declaration]
transcode_avlib.c:2278:29: warning: ‘avcodec_encode_audio’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4269) [-Wdeprecated-declarations]
transcode_avlib.c:2311:19: error: ‘CODEC_TYPE_SUBTITLE’ undeclared (first use in this function)
transcode_avlib.c: In function ‘show_codecs’:
transcode_avlib.c:2369:14: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
transcode_avlib.c:2372:14: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
transcode_avlib.c:2375:14: error: ‘CODEC_TYPE_SUBTITLE’ undeclared (first use in this function)
make[2]: *** [transcode_avlib.o] Error 1
make[2]: Leaving directory /srv/git/MuMuDVB/src' make[1]: *** [all] Error 2 make[1]: Leaving directory
/srv/git/MuMuDVB/src'
make: *** [all-recursive] Error 1
from mumudvb.
Same issue , with debian wheezy and latest x264, ffmpeg from git !
from mumudvb.
Hello,
As stated in the mailing list, this is quite some work to maintain this code due to frequent changes in the ffmpeg library. I am open to any help, but I would advise to transcode externally.
See for example
http://www.mumudvb.net/doc/mumudvb-1.7.2/TRANSCODE_EXTERNAL.html
from mumudvb.
Related Issues (20)
- "DVR buffer overrun" lorsque l'on coupe un PC HOT 1
- "packet BAD CRC32 PID : 18" Errors on not high used Transponder HOT 15
- Missing closing files HOT 1
- Missing label in prometheus metrics
- Make fails with error: ‘curr_channel’ undeclared (unicast_monit.c) HOT 3
- SDP file? HOT 2
- mumudvb T2 HD tv doesnt work HOT 4
- 100% CPU load with current master HOT 9
- Build error in ts.h HOT 5
- [BUG] reported version is wrong HOT 2
- is there a way to set user:password for streaming? HOT 2
- mumudvb not discramble biss channel HOT 8
- Integrate stats available via dvbv5 HOT 3
- DVB-T channels down. Cannot gracefully exit mumudvb. HOT 2
- No SNR data on Ubuntu 22.04.1 LTS with Digital Devices Max M4 HOT 3
- Configuration error or a bug? HOT 17
- ICAM support [feature request]
- Signal lock and stats per each Frontend HOT 1
- MTN Channels on 4.9 East HOT 1
- Question: Filtering PIDs during TS capture HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mumudvb.