WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't compile vlc; symver problem  (Read 4150 times)

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Can't compile vlc; symver problem
« on: April 04, 2015, 11:21:28 AM »
I've got through all ncurses errors just to get stuck in some crap with libavio. It says exactly the following ("%pic",attachment).
It makes and makes and after 5 minutes of compiling it ends like that. Ugh!

Brief Intel:
gcc 4.9.1
make 4.0
vlc-2.2.0
libavcodec, libavutil, libavformat were installed from an old 4.0 repo. I didn't want to take all ffmpeg's deps from the current. Maybe they're too old? How can I get them up-to-date from current repo without installing all ffmpeg's X dependencies and the rest of libraries I do not need?

I had tried to configure with --disable-symver; tried to edit vlc-2.2.0/config.h adding #define HAVE_SYMVER 0 / #define HAVE_SYMVER_GNU_ASM 0 / #define HAVE_SYMVER_ASM_LABEL 0; tried to configure with --disable-libavio. Nothing worked; --disable-symver and --disable-libavio were not even recognized by configure script.
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Can't compile vlc; symver problem
« Reply #1 on: April 04, 2015, 12:51:56 PM »
It's strange! Look, there are all of them (libavcodec, libavutil, libavformat) in the www.tinycorelinux.net/6.x/x86/tcz/ ? Right? Then why couldn't I find them in tce-ab neither by Keyword nor by Search, or install by tce-load? I mean, separately. I use TC 6.1, my arch is x86... Hmmm... I need to check it out, though. I believe it's x86. So my TC must use that very repo.
Now I'll try to load them from that source and put them in place of old 4.x packages. Maybe it will work. I heard that old ffmpeg releases had this issue about symver.
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Can't compile vlc; symver problem
« Reply #2 on: April 04, 2015, 01:37:49 PM »
libavcodec, libavutil, libavformat were installed from an old 4.0 repo. I didn't want to take all ffmpeg's deps from the current. Maybe they're too old? How can I get them up-to-date from current repo without installing all ffmpeg's X dependencies and the rest of libraries I do not need?
You need to reboot without any of the libav* extensions loaded, delete them, reboot and use "tce-load -w" or the apps gui to download the versions from the tc-6.x repo.

Loading the required libav* extension(s) will not neccessarily download all of ffmpeg's deps.

To compile, you will need to use ffmpeg-dev, which will download all of the deps, but by using ./configure switches you should be able to control which libav* are used by the app you are compiling. After compiling, your app will only require the libav* extensions you chose and not ffmpeg.
« Last Edit: April 04, 2015, 01:39:25 PM by Juanito »

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Can't compile vlc; symver problem
« Reply #3 on: April 04, 2015, 04:14:42 PM »
I've tried so before. Look at this.
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Can't compile vlc; symver problem
« Reply #4 on: April 04, 2015, 06:11:09 PM »
I have built vlc with no support of ffmpeg-dev. Excluding that I forgot to explicitly mark prefix and got to make symlinks for libvlc in /usr/local/lib (which were installed to /usr/lib) all works fine. I need vlc as player, not as streaming server, or video editor of some kind. It plays music and movies, it's just great.
(Mplayer causes movies to async sound and video streams after seeking... VLC doesn't.)

Now please, if you don't mind, explain me, what are those demuxers that libavformat contains. It says that libavformat contain a framework for all kind of encoding, decoding and blah blah blah, supporting such formats as mpeg4, avi, matroska and blah blah. But, I made vlc with --disable-avformat and it plays video normally. So I have to admit that I know little of these demuxers and frameworks for them and what is avformat. Do I need it for viewing movies or not?
Yeah, I know that I've already viewed a movie with this vlc build, but I want to be sure. I wouldn't like to disable some package features without knowing of what they are for. I like to know. Even if I see. Thank you for answers!
« Last Edit: April 04, 2015, 06:12:57 PM by Scampada »
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Can't compile vlc; symver problem
« Reply #5 on: April 05, 2015, 12:13:30 AM »
I'm no expert but AIUI avformat is a library used to parse headers scavenging required information about the streams,  for example to find which decoder is needed, frame rates, etc etc. 
 Again AIUI unlike many other media players the peculiarity with vlc is that it loads decoder modules asynchronously until it finds one which matches the stream and then uses that one (assuming one was found)..??   Unfortunately, some av container/streams may still require avformat to determine the required information. 
« Last Edit: April 05, 2015, 12:23:18 AM by coreplayer2 »

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Can't compile vlc; symver problem
« Reply #6 on: April 05, 2015, 06:21:46 PM »
Thanks for the answers,

which module provides codecs for MP4 and WMV???
I have x264, liba52, libav... But in vlc, mp4 files may play with audio hicks, no, HICKS, no; there isn't audio just hicks (video goes normal, maybe just a little slow) and wmv even do not start playing.

Looked in tce-ab. Keyword doesn't show anything concerning wmv.
« Last Edit: April 05, 2015, 06:43:56 PM by Scampada »
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Can't compile vlc; symver problem
« Reply #7 on: April 06, 2015, 04:22:18 AM »
need way more info..

and mp4 is a container (in this respect much like wmv)  to open the included streams will require knowing the compression used for each av stream.

wmv is a tin of worms because first it's proprietary and Microsoft has over many years used various codec specifications while they prefer to use the more generic asf container and wmv9 these days..
vlc may or may not support all Microsoft codecs 
« Last Edit: April 06, 2015, 04:26:12 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Can't compile vlc; symver problem
« Reply #8 on: April 06, 2015, 04:31:54 AM »
Quote
...may play with audio hicks
please, I was wondering what are hicks?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Can't compile vlc; symver problem
« Reply #9 on: April 06, 2015, 06:59:05 AM »

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Can't compile vlc; symver problem
« Reply #10 on: April 07, 2015, 09:22:20 AM »
Quote
...may play with audio hicks
please, I was wondering what are hicks?
Erm... maybe I didn't get the meaning of the word correctly... Audio do not play properly, with lags.

#############

What is mfxlib? I reconfigured my vlc source including x264 and faad support I forgot earlier. During configuration process it throws an error claiming mfxlib was not found so x64 can't be configured.

The most intriguing is, I have not found anything concerning "vlc compile mfxlib not found", but saw a pair of references describing mfxlib.dll (in Windows) as malware. And I found no top results of vlc+mfxlib.
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: Can't compile vlc; symver problem
« Reply #11 on: April 07, 2015, 10:04:57 AM »
Hi Scampada
Maybe try searching for  vlc+libmfx