LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-13-2013, 04:51 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
MPEG-DASH, libdash


I'm trying to install libdash in Debian_testing_amd64 using instructions for Ubuntu.

However, 'make' fails with error:
Code:
DOMParser.h:18:30: fatal error: libxml/xmlreader.h: No such file or directory
Could you please tell me how to fix it?
Anyone using libdash on Debian?

thanks.
 
Old 08-13-2013, 05:31 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# apt-file search xmlreader.h

.. Or use the on-line search for "libxml/xmlreader.h"
http://packages.debian.org/search?su...%2Fxmlreader.h

→ → # apt-get install libxml2-dev


-
 
1 members found this post helpful.
Old 08-13-2013, 05:45 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
P.S. : Compiling libdash.

# apt-get install g++-4.4

Assume : $ svn co https://svn-itec.uni-klu.ac.at/repos2/dash/trunk
Edit g++ in { libdash/source/defaults.mk } to g++-4.4

.. Then 'make' in trunk/libdash/libdash/ should do OK.

Will provide trunk/libdash/bin/libdash.so

-
 
1 members found this post helpful.
Old 08-13-2013, 06:06 AM   #4
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
unfortunately packages 'libxml2-dev' and 'libxml2-dev:386' are already installed.

I can't download from that site, it says "svn-itec.uni-klu.ac.at uses an invalid security certificate." (Error code: sec_error_untrusted_issuer)

don't have trunk/libdash/libdash/ directory.

I managed to apt-get install g++-4.4 (at least that )

thanks.
 
Old 08-13-2013, 07:04 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
OK, if you didn't use $ svn co <url>, then you may have a very old package.

Please try this version, libdash-svn.rev204-1.tar.bz2, 23 kB
https://docs.google.com/file/d/0B7S2...it?usp=sharing
That's the latest version, with "Linux files only",
and the "defaults.mk" already says g++-4.4 .

And : No prerequisites are required. Has internal {xml2 headers}.


-

Last edited by knudfl; 08-13-2013 at 07:12 AM.
 
1 members found this post helpful.
Old 08-13-2013, 07:04 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
OK, if you didn't use $ svn co <url>, then you may have a very old package.

Please try this version, libdash-svn.rev204-1.tar.bz2, 23 kB
https://docs.google.com/file/d/0B7S2...it?usp=sharing
That's the latest version, with "Linux files only",
and the "defaults.mk" already says g++-4.4 .

And : No prerequisites are required. Has internal {xml2 headers}.


-

Last edited by knudfl; 08-13-2013 at 07:12 AM.
 
1 members found this post helpful.
Old 08-14-2013, 01:51 AM   #7
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
thanks.
I've downloaded libdash-svn.rev204-1.tar.bz2, and now have libdash.so (560Kb).
not sure how to use it though. are there examples for it in C or similar?
which language would you recommend?
 
Old 08-14-2013, 03:07 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 .

Libdash documentation * http://www-itec.uni-klu.ac.at/dash/?p=422
* http://www-itec.uni-klu.ac.at/dash/?p=1143
* http://www.linkedin.com/groups/libda...98.S.211306348
* http://www.scoop.it/t/mpeg-dash/p/39...ash-2-0-is-out
.... And there are 5,000 more hits with Google .. libdash ..

Quote:
examples for it in C or similar ?
Libdash is a "c++ Library for MPEG-DASH"

Google .. mpeg-dash .. : 3900 hits.
* http://en.wikipedia.org/wiki/Dynamic...ming_over_HTTP

-
 
1 members found this post helpful.
Old 08-14-2013, 04:33 AM   #9
c|mueller
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
Just for information you are using a quite old version of the library the newest version (3.0) is available on github [1] including a sample application based on QT.

[1]https://github.com/bitmovin/libdash
 
1 members found this post helpful.
Old 08-14-2013, 04:52 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9, @c|mueller : Welcome to LQ.

Thank you. Much easier :
This new version can be compiled with a contemporary g++ (e.g. -4.7.x).

$ git clone https://github.com/bitmovin/libdash
$ cd libdash/libdash/ && mkdir build && cd build/ && cmake ../ && make
... Will provide :
libdash/libdash/build/bin/{libdash_networkpart_test, libdash.so}

-

Last edited by knudfl; 08-14-2013 at 08:04 AM.
 
Old 08-14-2013, 08:47 AM   #11
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
oh, but that's the one I started with!
I had downloaded libdash-master.zip and tried 'make'.
 
Old 08-14-2013, 10:40 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 11 .

Well then. The git version compiles OK in e.g. Debian Wheezy :
$ git clone https://github.com/bitmovin/libdash
$ cd libdash/libdash/ && mkdir build && cd build/ && cmake ../ && make
 
Old 08-15-2013, 01:51 AM   #13
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
back to square one...
Code:
DOMParser.h:18:30: fatal error: libxml/xmlreader.h: No such file or directory
I've found xmlreader.h here:

/usr/include/libxml2/libxml/xmlreader.h
libdash-master.zip/libdash/libxml2/include/libxml/xmlreader.h

but don't know how to fix it.

thanks.
 
Old 08-15-2013, 03:18 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 13 .

Ref. " git clone https://github.com/bitmovin/libdash "
Are you sure you did the "cmake configuring" in the right way ?
1) cd libdash/libdash/
2) mkdir build
3) cd build/
4) cmake ../
5) make

P.S.: The "libdash-master.zip" may be buggy.
Libdash was bug fixed 16 days ago: https://github.com/bitmovin/libdash

-

Last edited by knudfl; 08-15-2013 at 03:26 AM.
 
1 members found this post helpful.
Old 08-15-2013, 03:54 AM   #15
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
I see. the problem with github is that it doesn't work here, behind proxy. at least it didn't long time ago, I'll try again.
thanks.

edit: it worked from git clone!
I got 'libdash_networkpart_test' and 'libdash.so'. thanks again

Last edited by qrange; 08-15-2013 at 04:49 AM.
 
  


Reply

Tags
debian testing, libdash, mpeg-dash



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run the mpeg video transmission on NS2.28 ? (Using mpeg codecs) linuxuday Linux - Software 3 03-23-2013 09:31 AM
avi to mpeg, reduce size of mpeg? gunnix Linux - General 5 03-04-2007 05:55 PM
LXer: Leading Open-Source, Open-Standard DRM Project OpenIPMP Announces New Version, Boasting Cross-Platform OMA, ISMAcryp, MPEG-2 and MPEG-4 Support LXer Syndicated Linux News 0 07-17-2006 10:33 PM
How to convert mpeg file in mpeg-PS or TS hawkgreatelf Linux - Software 1 05-01-2003 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration