List Info

Thread: Re: path separators...




Re: path separators...
country flaguser name
Switzerland
2007-02-28 04:06:42
Jörn Nettingsmeier schrieb:
> hi *!
> 
> 
> playing with the ac configuration, i found this
snippet:
> 
>
"config/ac/ac.xconf".replace('/',File.separatorCha
r

Actually we should finally get rid of this stuff.
When we work with URIs instead of paths, and IMO we should
*only* work with URIs, then this is not necessary.


> which is obviously a compatibility thing for the funny
colorful
> operating system. i wonder: is this necessary? because
i'm pretty sure
> that for example the publication.xconf code has a
number of hardcoded
> slashes... either the trunk hasn't been working on
windows for quite
> some time, or the java file layer takes care of this
conversion
> automatically.

Is somebody using 1.4 on Windows?
We should definitely do tests on Windows before the RC.

-- Andreas


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Help
country flaguser name
United States
2007-02-28 05:09:19
Help
---
quicktime-api-bounces+andyboi84=yahoo.co.uklists.apple.com
<quicktime-api-requestlists.apple.com> wrote:
> Send QuickTime-API mailing list submissions to
> 	quicktime-apilists.apple.com
> 
> To subscribe or unsubscribe via the World Wide Web,
visit
> 
http://lists.apple.com/mailman/listinfo/quicktime-api
> or, via email, send a message with subject or body
'help' to
> 	quicktime-api-requestlists.apple.com
> 
> You can reach the person managing the list at
> 	quicktime-api-ownerlists.apple.com
> 
> When replying, please edit your Subject line so it
is more specific
> than "Re: Contents of QuickTime-API
digest..."
> 
> 
> Today's Topics:
> 
>    1. QTKit framework issue: converting an AIFF to
MP4 (CocoaDev)
>    2. Re: How to tell that a QTMovie was loaded from
a WMV (via
>       Flip4Mac)? (Dan Wood)
>    3. Re: QTKit framework issue: converting an AIFF
to MP4 (CocoaDev)
>    4. Re: How to tell that a QTMovie was loaded from
a WMV (via
>       Flip4Mac)? (Mark Munte)
>    5. Re: QTKit framework issue: converting an AIFF
to MP4 (Henry Mason)
>    6. Re: h263 RTP RFC2190 (Ross Finlayson)
>    7. Re: How to tell that a QTMovie was loaded from
a WMV (via
>       Flip4Mac)? (Derrick Bass)
>    8. Re: h263 RTP RFC2190 (Kevin Packard)
>    9. program changes (frank quinn)
>   10. Render Movies in RGBA (Palit)
>   11. Key frame in Sequence Grabber/Whacked TV 
>       (Armando de Oliveira Fortuna)
>   12. Re: Render Movies in RGBA (Palit)
> 
> 
>
------------------------------------------------------------
----------
> 
> Message: 1
> Date: Sun, 25 Feb 2007 14:19:30 -0800
> From: CocoaDev <cocoatrufsoft.com>
> Subject: QTKit framework issue: converting an AIFF
to MP4
> To: quicktime-apilists.apple.com
> Message-ID:
<E8FD88B6-904E-4426-8AC9-EFADC47C0942trufsoft.com>
> Content-Type: text/plain; charset=US-ASCII;
delsp=yes; format=flowed
> 
> Hello list
> 
> I am trying to convert an AIFF file to a more
compact type like an  
> MP4 using the QTKit framework -the final goal is to
get the AIFF file  
> as a valid file for an iTunes audio podcast... My
first attempt to do  
> such conversion failed with the following code:
> 	NSURL *url = [NSURL
URLWithString:"file:///..../somePath/For/ 
> aFile.aiff"];
> 	NSError *error;
> 	NSLog("Can load:%dn", [QTMovie
canInitWithURL:url]);
> 	NSDictionary *loadAttributes = [NSDictionary  
> dictionaryWithObjectsAndKeys:url,
QTMovieURLAttribute, [NSNumber  
> numberWithBool:NO], QTMovieOpenAsyncOKAttribute,
nil];
> 	QTMovie *movie = [QTMovie
movieWithAttributes:loadAttributes  
> error:&error];
> 	// Movie here is loaded and checking the attribute 

> QTMovieLoadStateAttribute everything is OK
>          // Now prepare the attributes for saving
that to a MP4
> 	NSDictionary *attributes = [NSDictionary  
> dictionaryWithObjectsAndKeys:[NSNumber
numberWithBool:YES],  
> QTMovieExport,
> 		[NSNumber numberWithLong:kQTFileTypeMP4],
QTMovieExportType,
> 		[NSNumber numberWithLong:SoundMediaType],
QTMovieExportManufacturer,
> 		nil];
> 	if ([movie writeToFile:"file:///tmp/Output.mp4"  
> withAttributes:attributes]) {
> 		NSLog(">>>> [convertToMp4]
Success creating
MP4:%n", attributes);
> 	} else {
> 		NSLog(">>>> [convertToMp4]
Failure creating
MP4:%n", attributes);
> 	}
> 
> The code above always fail, aka
[writeToFile:withAttributes:] always  
> return NO, and no file is creaed in /tmp/.
> 
> I then googled to find out if I need to provide more
attributes while  
=== Message Truncated === 



 
____________________________________________________________
________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/feat
ures_spam.html
 _______________________________________________
Do not post admin requests to the list. They will be
ignored.
QuickTime-API mailing list      (QuickTime-APIlists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quic
ktime-api/bond%40yahoo.com

This email sent to bondyahoo.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )