chen-i-fun - 2014-01-09

I want to use MP4Client to play the MPEG-DASH(mpd) and it can change
different bitrates.

I use the Dashcast to command -av test.mp4 -live-media

It compile succeed

but I use MP4Client to play the mpd file from which is in computer and get
following loop error

Using config file in /home/i-fun directory

Unrecognized option -o - skipping

System info: 1996 MB RAM - 2 cores

Modules Found : 34

Loading GPAC Terminal

[Thread MediaManager] Couldn't set priority(2) for thread ID 0x00000000

[Thread MediaManager] Couldn't set priority(2) for thread ID 0xaea6a700

Terminal Loaded in 1063 ms

Opening URL /home/i-fun/gpac/bin/gcc/output/dashcast.mpd

Service Connected

[Thread FFMPEG decoder] Couldn't set priority(2) for thread ID 0x00000000

Service Connected

[IsoMedia] Error opening new segment
/home/i-fun/gpac/bin/gcc/output/a3_18_gpac.m4s at UTC 1382527089524:
Requested URL is not valid or cannot be found

[IsoMedia] Error opening new segment
/home/i-fun/gpac/bin/gcc/output/v3_18_gpac.m4s at UTC 1382527089542:
Requested URL is not valid or cannot be found

[IsoMedia] Error opening new segment
/home/i-fun/gpac/bin/gcc/output/a3_19_gpac.m4s at UTC 1382527090516:
Requested URL is not valid or cannot be found

[IsoMedia] Error opening new segment
/home/i-fun/gpac/bin/gcc/output/v3_19_gpac.m4s at UTC 1382527090542:
Requested URL is not valid or cannot be found

I use MP4Client to play the mpd file from the internet and get following
loop error

[HTTP] Error parsing reply: Requested URL is not valid or cannot be found
for URL http://140.124.71.239:80/output/v3_97177_gpac.m4s

[DASH] FAILED to download http://140.124.71.239:80/output/v3_97177_gpac.m4s
= Requested URL is not valid or cannot be found...

[HTTP] Error parsing reply: Requested URL is not valid or cannot be found
for URL http://140.124.71.239:80/output/a3_97327_gpac.m4s

[DASH] FAILED to download http://140.124.71.239:80/output/a3_97327_gpac.m4s
= Requested URL is not valid or cannot be found...

[HTTP] Error parsing reply: Requested URL is not valid or cannot be found
for URL http://140.124.71.239:80/output/v3_97177_gpac.m4s

[DASH] FAILED to download http://140.124.71.239:80/output/v3_97177_gpac.m4s
= Requested URL is not valid or cannot be found...

[HTTP] Error parsing reply: Dialog Failure with remote peer for URL
http://140.124.71.239:80/output/a3_97327_gpac.m4s

[DASH] FAILED to download http://140.124.71.239:80/output/a3_97327_gpac.m4s
= Dialog Failure with remote peer...

[HTTP] Error parsing reply: Dialog Failure with remote peer for URL
http://140.124.71.239:80/output/v3_97177_gpac.m4s

[DASH] FAILED to download http://140.124.71.239:80/output/v3_97177_gpac.m4s
= Dialog Failure with remote peer...

[HTTP] Failure: <html>

<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>

<style>

body, th { font-family:tahoma, verdana, arial, helvetica, sans;

font-weight:normal; font-size:9pt; }

body { margin:0; background-color:#DDF; padding:10px; }

p { margin:0 }

a { text-decoration:none; background-color:Transparent; color:#05F; }

a:visited { color:#55F; }

a:hover { background-color:#EEF; }

img { border-style:none }

td { font-size:10pt; background:#FFF; border:1px solid #BBF }

td img { vertical-align:top }

th, th a, th a:visited { color:#555; font-size:13pt; font-weight:bold;
padding-bottom:0; }

foldercomment { font-size:10pt; color:#888; background:#EEE; padding:3px;

border:1px solid #DDD; border-bottom:3px solid #DDD; margin-top:2px; }

tools { text-align:right; font-size: 8pt; }

folder, .big { font-size:14pt; font-weight:bold; }

folderlabel, #folderstats, #footer { font-size: 8pt; }

body {

border-bottom: 4px solid #BBF;

 border-top: 4px solid #BBF;

border-left: 1px dotted #BBF;

border-right: 1px dotted #BBF;

background:#F3F3FF;

padding:15px;

margin:15px;

}

.comment { font-size:7pt; color:#888; background:#EEE; padding:3px;
border:1px solid #DDD; margin-top:2px; }

.button { float:right; padding:5px; padding-top:7px; margin:15px; border:2px
solid black; background:white; font-size:8pt; font-weight:bold; }

.button img { vertical-align:text-bottom; }

.flag { font-weight:bold; font-size:8pt; background:white; color:red;
text-align:center; border:1px solid red; }

</style>

</head>

<body>

404 - Not found

go to root


HttpFileServer 2.2f
2013/10/23 下午 07:21:53

</body>

</html>

I use the Dashcast to command -av test.mp4

It compile succeed

but I use MP4Client to play the mpd file from which is in computer get
following message and no Action

Using config file in /home/i-fun directory

Unrecognized option -o - skipping

System info: 1996 MB RAM - 2 cores

Modules Found : 34

Loading GPAC Terminal

[Thread MediaManager] Couldn't set priority(2) for thread ID 0x00000000

[Thread MediaManager] Couldn't set priority(2) for thread ID 0x4b560700

Terminal Loaded in 126 ms

I use the Dashcast to command -av test.mp4

It compile succeed

but I use MP4Client to play the mpd file from the internet get following
message and no Action

Using config file in /home/i-fun directory

Unrecognized option -o - skipping

System info: 1996 MB RAM - 2 cores

Modules Found : 34

Loading GPAC Terminal

[Thread MediaManager] Couldn't set priority(2) for thread ID 0x00000000

[Thread MediaManager] Couldn't set priority(2) for thread ID 0xd335a700

Terminal Loaded in 181 ms

Opening URL http://140.124.71.239/output/dashcast.mpd

DASH: Buffering 0% out of 3993 ms

DASH: Buffering 0% out of 3496 ms

Service Connected

[Thread FFMPEG decoder] Couldn't set priority(2) for thread ID 0x00000000

Service Connected

DASH: Buffering 14.2735% out of 3496 ms

[HTTP] Disconnected from 140.124.71.239: Connection to server closed

DASH: Buffering 28.5755% out of 3496 ms

DASH: Buffering 42.849% out of 3496 ms

I use the MP4BOX to command MP4BOX -frang 10000 -dash 30000 test.mp4

and then generate some files and a mpd file.

MP4Client can play this mpd successed.

But it is the single bitrates.

But I want to use MP4Client to play the MPEG-DASH(mpd) and it can change
different bitrates.

I need help to solve this problem. Thanks.

My dashcast.conf Content is

[v1]

type=video

bitrate=400000

width=640

height=480

[v2]

type=video

bitrate=200000

width=320

height=240

[v3]

type=video

bitrate=100000

width=160

height=120

[a1]

type=audio

bitrate=192000

[a2]

type=audio

bitrate=96000

[a3]

type=audio

bitrate=48000

There are some problems need you answer.

What is the difference about Dashcast and MP4Box?

If I trying to write an MPEG-DASH player for Android.

what tool I should use?

Trouble you.

Thanks.