Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] Problems with QTMovieExporter (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] EyeOne- anyone using the eyeone class?
Next thread: [MBS] LaunchServicesItemInfoMBS Question


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] Problems with QTMovieExporter   -   Dean Davis
   Re: [MBS] Problems with QTMovieExporter   -   Christian Schmitz
    Re: [MBS] Problems with QTMovieExporter   -   Dean Davis
     Re: [MBS] Problems with QTMovieExporter   -   Christian Schmitz

[MBS] Problems with QTMovieExporter
Date: 21.01.04 19:23 (Wed, 21 Jan 2004 13:23:12 -0500)
From: Dean Davis
I have a sub defined below

What it does is open a Open Dialog where you should pick any QuickTime
compatable file that contains some audio.
It would then to export this file to the 3gpp format. But it is failing to
do so.
As comparison I have a line commented out that if uncommented would make
this code succeed in converting the file to an .au type file (ULAW).
So the code looks good but the export function is failing.
Any suggestions?

(p.s. I'm testing this code on Windows (XP Pro) RB v5.2.4 with MBS v3.4 and
the latest version of QuickTime player (not registered)

sub ConvertTo3gpp()
// Let's convert a QuickTime movie to 3gpp

dim q as QTMovieExporterMBS
dim m as movie
dim OutF as folderitem
dim TempB as boolean
dim InF as folderItem
dim i as integer

InF = GetOpenFolderItem("special/any")
OutF = GetTemporaryFolderItem

if InF<>nil then
m=InF.OpenAsMovie
if m<>nil then
q=new QTMovieExporterMBS
TempB = q.OpenExporter("3gpp","appl") ' Does not work
'TempB = q.OpenExporter("ULAW","soun") ' This does work, will export
to .au file
if TempB then
OutF.Name = OutF.Name+"."+q.FileNameExtension
TempB = q.SetupDialog(m) ' Define the export settings
i =q.Lasterror ' Make sure lasterror = 0
TempB = q.ExportToFile(m,OutF)
i =q.Lasterror
end if
end if
end if
end sub

_________________________________________________________________
Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime
features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1

-

Re: [MBS] Problems with QTMovieExporter
Date: 21.01.04 23:53 (Wed, 21 Jan 2004 23:53:43 +0100)
From: Christian Schmitz
Dean Davis <<email address removed>> wrote:

> It would then to export this file to the 3gpp format. But it is failing to
> do so.

<http://developer.apple.com/documentation/QuickTime/QT6_3/Chap1/chapter_
1_section_12.html>

If the exporter is just a MP4 -> 3GP postprocessor, you may try with a
MP4 file as source.

Mfg
Christian

Re: [MBS] Problems with QTMovieExporter
Date: 22.01.04 05:04 (Wed, 21 Jan 2004 23:04:34 -0500)
From: Dean Davis
My thinking is that this should work because this is what I'm doing now.
I have a sound file in the "au" format (ULAW,soun).
I can open that in QuickTime Pro and choose "Export" from the "File" menu.
Then in the Save dialog box I can choose "Movie to 3G" then click the
"Options" button to get the exact dialog box that you get when the TempB =
q.SetupDialog(m) code is executed.
Using QuickTime I can set the options and I do get my .au file converted to
a .3gp file.

So, I did some tests on my Mac instead of my Windows PC and the code works
correctly on the Mac.
I tested it on a Mac with a registered/Pro version of QuickTime installed
and a different Mac with a standard unregistered QuickTime. Worked fine on
both.
So the code is broken only on Windows.

Dean Davis

>From: <email address removed> (Christian Schmitz)
>Reply-To: <email address removed>
>To: <email address removed>
>Subject: Re: [MBS] Problems with QTMovieExporter
>Date: Wed, 21 Jan 2004 23:53:43 +0100
>
>Dean Davis <<email address removed>> wrote:
>
> > It would then to export this file to the 3gpp format. But it is failing
>to
> > do so.
>
><http://developer.apple.com/documentation/QuickTime/QT6_3/Chap1/chapter_
>1_section_12.html>
>If the exporter is just a MP4 -> 3GP postprocessor, you may try with a
>MP4 file as source.
>
>Mfg
>Christian
>
>--
>Six thousand functions in one REALbasic plug-in. The MBS Plugin.
><http://www.monkeybreadsoftware.de/realbasic/plugins.html>
>--
>Web8REALbasic mailing list
><email address removed>
>http://mail.huynh.de/mailman/listinfo/web8realbasic

_________________________________________________________________
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max!
http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1

-

Re: [MBS] Problems with QTMovieExporter
Date: 22.01.04 15:41 (Thu, 22 Jan 2004 15:41:57 +0100)
From: Christian Schmitz
Dean Davis <<email address removed>> wrote:

> So the code is broken only on Windows.

Well, I got the sample.mov from QuickTime 6.5 converted using my RB
application to sample.3gp, but on most tries, it just throwed errors
(mostly -43).

Maybe we should ask on the QuickTime mailing list!?

Mfg
Christian