Enable DASH in VLC

Saving /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.mp4: 0.500 secs Interleaving

I have the same problem, what version of mysql should we have?

Then I convert M3U8 to MPD using Mp4Box, as explained here:

Saving /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.mp4: 0.500 secs Interleaving

Can anyone tell me please , what tools you use to generate dash mpd and mp4 files listed in:

Now I got another problem. I use the DASHEncoder to encoder sintel_trailer_2k_480p24.y4m (without audio), and run Apache server on local. then I use vlc to open the

[aac @ 0xb713e1c0] Input buffer exhausted before END element found

I am curious, does audio work with the DASHEncoder and latest VLC source? I am able to create the MDP files and M4S files. I am not able to get it to play. The video will play with no audio. Only the first segment will play. I get many errors regarding AAC decoding in the VLC debug logs:

VLC rejects the file and says that the format of my mpd file cannot be determined. The log contains the following:

How about providing a Windows executable so that people can try DASH without having to spend hours trying to figure out how to compile VLC? We want to see DASH in action!

I will make something like that at the beginning of January when I am back from the us but currently I do not have the time to generate a image that can be used out of the box or a installation guide.

configure: error: No package speexdsp found.

Erreur de segmentation (core dumped)

./vlc stream-filter dash

i dont understand how it calculated.

Error importing /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/: Bad Parameter

aclocal: autom4te failed with exit status: 1

I am working on the latest version of VLC right now, and the adaptation logic (ratebased) works perfectly fine. However when I switch to the adaptation logic (alwaysbest), I get the following errors in sequence (only with MPD files, avi files work normally):

Also, thank you very much to the Klagenfurt team for the huge effort of developing the plugin for DASH!

xml error: XML parser error (line 155) : Couldnt find end of Start Tag SegmentU

I found this when trying to playback some youtube downloads (2 files) I can play the video file fine, I can hear the audio sound fine but Im sure it would be much better if I could experience them together

main warning: failed to insert stream filter dash

video:0kB audio:2510kB subtitle:0 global headers:0kB muxing overhead 0.000000%

you can use our DASHEncoder which is a combination of existing tools like mp4box and x264. Instructions how to use it are availablehere

Representation* BasicCMManager::getRepresentation (Period *period, long bitrate)

Hopefully, you will enjoy this in window environment..

You may use theseHTMLtags and attributes:a href= title= abbr title= acronym title= b blockquote cite= cite code del datetime= em i q cite= strike strong

[0x8a0aa18] freetype spu text error: Breaking unbreakable line

Check out the newest version from the git repo this one should work.

Slenderer, can you please tell us how you did that, I have been trying for more than 24 hours but no luck. I tried to compile the one from git repositories but still no success.

Im still not successful in compiling vlc (on Ubuntu 10.04) even though I was following the Instructions on installed the required autotools (including gettext)

Your Buffer should at least be the size of one segment length. What error do you get? May you could post some of them?

gnutls-bin libgnutls26 libgnutls-dev libdap10 libdap-bin libdap-dev libxml2 libxml2-dev libpng12-0 libpng12-dev \

I did not solve the problem. I also cant play RedBullPlayStreets_4s_DASH_VLC_Compatible_3-Representatins_720p.mpd on this website. but I can play the OfForestAndMen_15s_DASH_VLC_Compatible_9-Representations_SD.mpd. Do you have the same problem?

[0x7f8bb0007e38] main xml reader debug: using xml reader module xml

Sorry for my late reply. I removed the mysql stuff from DASHEncoder, now it should work. There are currently some updates happening on the gpac source, so please use meanwhile the revision 3744 of the gpac svn repository.

I removed the BaseURL line in the following files:

The only problem i have is figuring out why after limiting the bandwidth (using Wondershaper)

Ive installed the recent nigtly build on Windows (vlc-2.1.0-git-20120917-0402-win64.exe if that matters) and prepared an HLS streamsegmented MPEG-TS, three bitrates and an M3U8 manifest. The files are located on my local web server, and VLC plays the stream with no problems.

RedBullPlayStreets_4s_DASH_VLC_Compatible_3-Representatins_720p.mpd

[aac @ 0xb713e1c0] channel element 3.12 is not allocated

[aac @ 02ff0a00] Sample rate index in program config element does not match the sample rate index configured by the container.

But when I use DASHEncoder to encoder the sintel_trailer_2k_480p24.y4m together with the audio file(sintel_trailer-audio.flac). Then I use vlc to open the It just played for about 1 sec. then it stoped. I dont know why.

the first time, I saw he was missing the id, I added it but still do the same error..

[0x7f8bb0005aa8] stream_filter_dash stream debug: opening mpd file (localhost/sintel_trailer.mpd)

Searching for best representation with bitrate:-1

Imy, it looks like you solved the issue with no suitable demux module. I did install ffmpeg and also put /usr/local/lib on the last line of nf. But I still have the problem. Did you do anything else?

sudo apt-get -y install libvorbis-dev libogg-dev libtheora-dev speex libspeex-dev flac libflac-dev \

[0x7f8bb0002228] avformat demux debug: trying url: /sintel_trailer.mpd

libebml-dev libmatroska2 libmatroska-dev libdvbpsi6 libdvbpsi-dev libmodplug1 libmodplug-dev libshout3 libshout3-dev \

Sheriffo, what kind of problems/errors do you have? May can you post your error messages?

[aac @ 0xb713e1c0] channel element 2.7 is not allocated

I think there are some bugs among dash plugin, I read the source code, and found ONE which may solve our problem.

Please compile VLC on Linux and make sure you have all dependencies of VLC installed. The live555 libraries may cause some errors, but you can disable it by disable-live555, but the config-script should inform you anyway with this information.

TheSwissAccount_15s_DASH_VLC_Compatible_4-Representations_320p.mpd

[b50093a8] xml xml reader error: XML parser error (line 1546) : Extra content at the end of the document.

make: *** No targets specified and no makefile found. Stop.

Looks like VLC has some problems with codec recognition in MPD files.

DASH-ing file with 2.000 secs segments fragments: 2.000 secs

Single command installation of all those libraries in Ubuntu:

I am trying to build/compile the latest VLC from the vlc git- repository but no success. Can anyone of you point me to a good tutorial that I can follow.

autoreconf: running: aclocal force -I m4

long dif = bitrate currentBitrate;

.

size= 2510kB time=00:07:08.35 bitrate= 48.0kbits/s

here you can see a list of all the libraries that are needed to run VLC:

In file vlc/modules/stream_filter/dash/mpd/BasicCMmanager.cpp

aclocal:configure.ac:4255: warning: macro `AM_COND_IF not found in library

Could some one explain me what it does mean. please.

main xml debug: looking for xml module: 1 candidate

The VLC android version is currently only compatible with the special MPDs that we provide in [1].

[0x7f8bb0002228] ts demux debug: TS module discarded (lost sync)

RedBullPlayStreets_15s_DASH_VLC_Compatible_4-Representations_1080p.mpd

In this link each .m4s files contains 40segments. We used just 10segments.but it did not run on IIS server.

You have to compile it by your own. Instructions are available at the before mentioned website.

I have downloaded the MPDs and all .m4s files from this link

the unit of bitrate is bps. But the getBandwidth() in Representation.cpp return Byte per secondreturn atoi( it-second.c_str() ) / 8, is this a problem?

lame libmp3lame-dev ffmpeg libavdevice-dev libmad0 libmad0-dev dirac libdirac-dev liboil-dev libschroedinger-dev \

MP4Box multiplexing Audio:/var/www/html/DASHEncoder/tests_updates/sintel_250kbit/

long currentBitrate = reps.at(j)-getBandwidth();

[0x20f5258] main input error: no suitable demux module for `file/:///var/

aclocal:configure.ac:4262: warning: macro `AM_COND_IF not found in library

[0x7f8bb0002228] mod demux debug: MOD validation failed (ext=mpd)

Nevertheless Video only should work without problem.

Thanks for your reply I can play OfForestAndMan too at the original place and when I ported it to my webserver. There are some buffering errors but I can see video without audio. Buffer errors are present even after increasing Caching to 15s.

These windows compile instructions are from June 2010 . so pretty outdated. Please compile VLC on Linux, this works without a problem I tried it today on Ubuntu and our DASH plugin was working well.

Searching for best representation with bitrate:1

Searching for best representation with bitrate:1557688249

Go to , pick your platform, I used the latest (last) from today (19-Jan-2012). The DASH plugin is part of the main branch, so thats why it works in the nightlies.

So can anybody tell me what I should do?

[aac @ 02ff0a00] Number of bands (22) exceeds limit (18).

I assume that the media itself is OK, because the player opens it via the M3U8 manifest. Hence, something wrong is with the MPDany suggestions?

Yes, I have installed ffmpeg. and I can play the OfForestAndMen_15s_DASH_VLC_Compatible_9-Representations_SD.mpd, but I cant play RedBullPlayStreets_4s_DASH_VLC_Compatible_3-Representatins_720p.mpd. I dont know why.

in DASHENcoder.cpp delete section /************ STORE STATISTICS *********************/ where log file is made and compiles finally

Audio is still a problem but it belongs to ffmpeg and its mov demuxer if audio and video is not separated. Separated audio and video is also currently not supported.

I tried running it on Android phone,samsung galaxy nexus by using only 10segments for each .m4s files.

This error happens due to the fact that some dependencys are missing, if it is a debian based system you can use apt-get install m4 autoconf && apt-build dep vlc but I want to refer here to the vlc compile guide which describes this process more detailed, it could be foundhere

I have an audio problem when using DASH files with VLC like there is none! My VLC player works fine with other file types. The sound was even lost from the Big Black Bunny

libdvdread4 libdvdnav4 libdvdnav-dev livemedia-utils liblivemedia-dev libcddb2 libcddb2-dev libcdio10 libcdio-dev \

when I go on with bootstrap it ends with Successfully bootstrapped but in the first lines it claims GNU gettext appears to be missing or out-of-date. Please install or update GNU gettext. Also check if you have cvs, a dependency of autopoint. Otherwise, you will not be able to build a source tarball.

Searching for best representation with bitrate:

firstly,the vlc didnt show any video. then I try to reopen it, vlc still didnt play any video

xml error: XML parser error (line 16) : attributes construct error

At the end you will get Stream filter module and check Dynamic Adaptive Streaming over HTTP to enable DASH.

I have the latest version of VLC installed and tried to open some of your recommended DASH VLC Plugin Compatible MPDs without success. VLC cannot identify the input format. Maybe I have to enable DASH in VLC as you described above but I cannot find such Modules.am file in any VLC subdirectory. How could I get VLC and DASH running as intended? Thanks a lot

x264 libx264-dev a52-0.7.4 liba52-0.7.4-dev mpeg2dec libmpeg2-4-dev faad libfaad-dev faac libfaac-dev \

mp4box: MP4Box -add /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.h264 /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.mp4

+ autoreconf install force verbose -I m4

Not evaluating a further program_config_element as this construct is dubious at best.

Were you able to figure out this problem? I get the same error when opening an mpd. I can play back MP4 files with my compiled version of VLC, fresh install from their GIT repository. What else do we need to use the DASH plugin?

mp4box: MP4Box -frag 2000 -dash 2000 -rap -segment-name /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/sintel /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.mp4

Thank you for posting concise instructions for compiling VLC! We really appreciate it. We are now able to show DASH on Ubuntu 11.10.

main warning: failed to insert stream filter dash

[0x7f8bb0007e38] main xml reader debug: looking for xml reader module: 1 candidate

[aac @ 02ff0a00] channel element 0.5 is not allocated

you cas see it from the Wireshark print screan:

I have installed VLC 2.0.5. I have also enabled the Stream filter module Dynamic Adaptive Streaming over HTTP to enable DASH. However when i give the url of MPD from your data set specifically It does not play? Are there any other steps that need to be done to play or stream? Can you tell me how i can stream your dataset and watch it in the player?? Thanks

I understand why dont read the file .I can read the mpd of Big_buck_bunny and watch ..

I am looking forward to your suggestion,thank you!

[0x7f8bb00061e8] main xml debug: using xml module xml

MP4Box segmentation: /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.h264

x264: x264 profile baseline preset slow verbose fps 24 vbv-maxrate 250 vbv-bufsize 500 scenecut 0 video-filter resize:width=480,height=360 keyint 48 output /var/ /var/www/html/DASHEncoder/tests_updates/movie.mp4 out.txt 2&1

[0x7f8bb00061e8] main xml debug: removing module xml

It could be that DASH is disabled in VLC due to the fact that it is currently in an experimental state. So if you want to make sure that is enabled, you should check the Modules.am file in the streamfilter subdir and eventually change the line DIST_SUBDIRS=dash to SUBDIRS=dash. Sorry for that inconvenience but it is still in a beta state.

Note that nightlies may have bugs. If you have problems, pick another nightly.

[aac @ 02ff0a00] Not evaluating a further program_config_element as this construct is dubious at best.

libdca-dev twolame libtwolame-dev libmpcdec-dev libvorbisidec1 libvorbisidec-dev libass-dev libass4 libebml2 \

RedBullPlayStreets_4s_DASH_VLC_Compatible_3-Representatins_720p.mpd

[0x7f8bb0005aa8] main stream debug: using stream_filter module stream_filter_dash

TheSwissAccount_15s_DASH_VLC_Compatible_4-Representations_320p.mpd

autoreconf: running: true force

Ive forgot to mention that my VLC opens and plays the DASH streams provided on this website in the Downloads section here: but video only, with no sound.

Thanks, and thank you very much for the huge effort of developing the plugin for DASH!

INPUT/CODEC-DEMUXERS-Stream Filters.

autoreconf: aclocal failed with exit status: 1

there is no request for lower bitrate segment.

Is there any MPEG-TS contents available which are playable via VLC ?

is there any tutorial how to do that?

[0x2082d58] main demux debug: no demux module matching any could be loaded

I am having a similar problem but I am working on windows environment, I installed vlc 2.1, I am able to stream from the network but when I downloaded the files, vlc is not capable of making the mpd file work. any help with this

Your email address will not be published. Required fields are marked*

Basically this is what I did is the following

Found a better Representation (0) in group 0

libportaudio2 libportaudio-dev libupnp-dev libupnp4 libupnp3 libexpat1 libexpat1-dev yasm libxcb-xv0 libxcb-xv0-dev \

Number of scalefactor bands in group (50) exceeds limit (49).

This error appears also for other non defined algorithms(such as AlwaysLowest), does that mean that always best, although defined as a class, is still not supported by dash?. Thank you.

mp4box: MP4Box -no-sys /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.mp4

mp4box: MP4Box -add /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/ /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.mp4

[aac @ 02ff0a00] channel element 0.3 is not allocated

libjpeg8 libtiff4 libsdl1.2-dev libsdl-image1.2 libsdl-image1.2-dev libc-bin gettext libfreetype6 libfreetype6-dev \

I have managed to compile and run VLC with DASH plugin on my Ubuntu 11.10

copy audio: cp /var/www/html/DASHEncoder/tests_updates/ /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/MP4Box multiplexing Video: /var/www/html/DASHEncoder/tests_updates/sintel_250kbit/movie_250kbit.h264

terminate called after throwing an instance of std::out_of_range

[aac @ 02ff0a00] Sample rate index in program config element does not match the sample rate index configured by the container.

Please use the most actual VLC sources from the VLC-GIT-repository. There you will find the Modules.am file which you have to modify. Now compile VLC and the DASH plugin will work.

It seems that your configuration step was not sucessfull. So please check the output of your step 3. ./configuration there seems to be an error and a corresponding output

configure.ac:379: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD

[0x2082d58] vobsub demux debug: could not read vobsub IDX file

AVC-H264 import frame size 480 x 360 at 24.000 FPS

hi, I have installed vlc 2.1.0 and enabled dash plugin,then I tryed open MPD file gived by you just like follow:

xml error: XML parser error (line 16) : Couldnt find end of Start Tag SegmentURL

[0x7f8bb0005aa8] main stream debug: Inserted a stream filter

where I could download latest compiled version please?

You can enable DASH by adopting following method.

[aac @ 0xb713e1c0] Input buffer exhausted before END element found

RedBullPlayStreets_15s_DASH_VLC_Compatible_4-Representations_1080p.mpd

Slederer, The last line of the ./configure give me the error message below.

Sarching for best representation with bitrate: 0

[aac @ 0xb713e1c0] Sample rate index in program config element does not match the sample rate index configured by the container.

Hi,David Caple,did you solve the problem? I meet some problems when I try to playback the Dash files.when I use vlc to open the the MPD url,but have no respose and the vlc give information sa follow:

Check ALL option and go in INPUT/CODEC option in small option window.

Thanks for your sharing. Its coll, especially the remove the BaseURL line

) I cant even convert them to MP4 as the converter saves them as two separate files!

aclocal:configure.ac:31: warning: macro `AM_SILENT_RULES not found in library

[0x7f8bb0002228] avformat demux debug: couldnt guess format

but now when I run make I get the following error message

I am trying the same on Windows 7 following the compiling guide on had no success too

can you share your experience ?I will be glad!

[0x7f8bb0006018] main stream debug: looking for stream_filter module: 7 candidates

I tried running it on VLC player(Neon version) using local IIS server.But the format is not being supported in VLC. Can you provide me a solution as how to run those .m4s files on local server?

I removed the mysql part from DASHEncoder so now it should work out of the git repository. There are currently some updates happening on the gpac source, so please use meanwhile the revision 3744 of the gpac svn repository.

Digging throught the .mp4 and .m4s files the structure looks correct. It looks more like a VLC issue handling the audio in the fragments. Or am I just missing something in compling VLC. I am compling the latest VLC source with the latest set of patches from download section on this site.

cp: omitting directory /var/www/html/DASHEncoder/tests_updates/

autom4te: /usr/bin/m4 failed with exit status: 1

[aac @ 02ff0a00] Input buffer exhausted before END element found

Thanks I got it I was missing some dependencies.

file: vlc/modules/stream_filter/dash/mpd/Representation.cpp

to return atoi( it-second.c_str() );

ok i tried with VLC nightly build 2.1 and it worked!

Here is a time-saving tip: No need to compile VLC, instead download the nightly executable (eg. Win32) and install it on your PC. I tried it on XP and Win7, DASH works like a charm.

main error: no suitable demux module for `http/://localhost/dash/0.mpd

[aac @ 02ff0a00] Input buffer exhausted before END element found

I suppose wed rather use github to report issues, should be more handy for you and for us.

[aac @ 02ff0a00] channel element 2.7 is not allocated

change the line: return atoi( it-second.c_str() ) / 8; in Representation::getBandwidth()

mkdir: cannot create directory /var/www/html/DASHEncoder/tests_updates/sintel_250kbit: File exists

Is there a simple setting Im missing that would bring the two files together?

I got this error no suitable demux module for `http/:// when I tried to play the RedBullPlayStreets_4s_DASH_VLC_Compatible_3-Representatins_720p.mpd using vlc 1.3.0

unfortunately encoding Video + Audio using DASHEncoder doesnt work well at the moment. I havent had the time to check wheres the problem. I hope I will find some time the next days!

We really appreciate the big effort the Klagnefurt team has made in creating the DASH plugin. May I suggest to provide a few more instructions on how to solve these type of problems? We can get help on compiling VLC from their website, but it seems like a few other key pieces of information are missing (e.g., dependencies, etc). Maybe put together a quick tutorial. Id be glad to volunteer some time!

AVC Import results: 1253 samples Slices: 27 I 1226 P 0 B 1 SEI 27 IDR

libfribidi-dev libfribidi0 zlib1g zlib1g-dev libtag1-dev libcaca0 libcaca-dev caca-utils libqt4-core libqt4-dev \

libcdio-utils vcdimager libvcdinfo0 libvcdinfo-dev libgpg-error0 libgpg-error-dev libgcrypt11 libgcrypt11-dev \

The following MPDs can work if you remove the line from those files:

apt-get build-dep vlc (to get all the needed libs)

i trying read on vlc 2.0.1,the sintel_trailer.mpd but vlc cant read this mpd Error is(part of debug list) :

I have compiled VLC with DASH plugin. And I can open the mpd to play the video(without audio), but still have some problems.

xml error: XML parser error (line 16) : Specification mandate value for attribute medi

autoreconf: Entering directory `.

I dont know this error message its better when you place this question on a vlc related mailinglist

[aac @ 0xb713e1c0] channel element 2.11 is not allocated

[aac @ 02ff0a00] Sample rate index in program config element does not match the sample rate index configured by the container.

Leave a Reply