Parameters not being passed to MP4Box

53 views
Skip to first unread message

James

unread,
Aug 15, 2011, 11:24:42 PM8/15/11
to mediasoftpro
Hi, I am using the pro edition and am having problems with progressive
downloading in my converted video. I am following the examples on the
site and am receiving a "success" response from Set_MP4_Buffering(),
but using a process monitor I can see that my parameters are not being
passed down to the command line. The parameters I am supplying are "-
isma -hint", but the only one being passed to the command line is "-
isma". I have provided a snippet of the code below. Am I missing
something?

_mhandler.MP4BoxPath = boxPath;

string encodedVideoFileName = "encoded.mp4";

_mhandler.Parameters = "-isma -hint";

_mhandler.FileName = encodedVideoFileName;

_mhandler.InputPath = _mhandler.OutputPath;

return _mhandler.Set_MP4_Buffering();

shane

unread,
Aug 16, 2011, 8:29:46 AM8/16/11
to mediasoftpro
Hi,

Parameter property create complete command to pass, check this article
with working example, hope this will help u.

http://www.mediasoftpro.com/articles/setting-meta-information-mp4-videos.html

Regards

James

unread,
Aug 16, 2011, 10:22:04 AM8/16/11
to mediasoftpro
Yes, I am following that example. The issue is that the parameters I
set with the Parameters property are not being sent to the command
line. No matter what I set that Parameters value to the command is
always the same: mp4box -isma fileName.mp4

On Aug 16, 8:29 am, shane <mediasoft...@gmail.com> wrote:
> Hi,
>
> Parameter property create complete command to pass, check this article
> with working example, hope this will help u.
>
> http://www.mediasoftpro.com/articles/setting-meta-information-mp4-vid...

shane

unread,
Aug 16, 2011, 11:11:41 AM8/16/11
to mediasoftpro
Hi,

Ok we will review different parameters on Set_MP4_Buffering();
function and let u know.

Post your parameters which generate wrong result.

Regards
> > >             return _mhandler.Set_MP4_Buffering();- Hide quoted text -
>
> - Show quoted text -

James

unread,
Aug 16, 2011, 12:52:11 PM8/16/11
to mediasoftpro
I have tried

_mhandler.Parameters = "-isma -hint -add " + encoded.mp4;

and

_mhandler.Parameters = "-isma -hint";

both result in

mp4box -isma encoded.mp4

being executed when Set_MP4_Buffering() is called.

I am using the windows Process Monitor to view the actual call that is
made to mp4box. It can be found here http://technet.microsoft.com/en-us/sysinternals/bb896645
Reply all
Reply to author
Forward
0 new messages