Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encodings Editor



Hi Adam,

For the --input and and --output arguments, try specifying the path relative to the --basedir. For example:

pcastaction encode --basedir=/Users/admin/Desktop --input=mini_mpeg4_640x480.mp4 --output=test.mp4 --encoder=ucb_delivery_youtube

Cheers,

King Chung Huang
Information Technologies
University of Calgary



On Jan 31, 2008, at 4:03 PM, Adam Hochman wrote:

Thanks so much for doing this King.  I ran into some problems when I tried it out though.  I generated a plist file and saved as "encode_ucb_delivery_youtube.plist" on my laptop.  I copied it over to the Podcast Producer server in the directory /System/Library/PodcastProducer/Encodings.   I did a pcastaction encode status and it appeared as expected.  I ran the following:
"pcastaction encode --basedir=/Users/admin/Desktop --input=/Users/admin/Desktop/mini_mpeg4_640x480 --output=/Users/admin/Desktop/test.mov --encoder=ucb_delivery_youtube"

and received

"qtencode[45190:e0f] there was an error reading the settings
podcast:~ admin$ pcastaction encode --basedir=/Users/admin/Desktop --input=/Users/admin/Desktop/mini_mpeg4_640x480 --output=/Users/admin/Desktop/test.mov --encoder=ucb_delivery_youtube"

Any suggestions would be greatly appreciated.
For other folks interested in generating custom encodings, remember that the /Encodings directory gets overwritten on updates. 


King Chung Huang wrote:
Based on a thread on the Apple Discussions group for Podcast Producer (Encoding Settings Changes), I've written a bare bones utility for making/editing encoding files.


The code is far from brilliant, and requires you to push the Options... button and OK the resulting settings dialog for changes to take effect. Some export components don't have a settings dialog, which is OK.

Encoding files must be named encode_(some encoding name).plist. See /System/Library/Encodings/ for examples.

Running pcastaction encode locally seems like a good way to test encode settings. See pcastaction help encode for more info.

King Chung Huang
Information Technologies
University of Calgary




_______________________________________________ Do not post admin requests to the list. They will be ignored. Podcast-producer mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/podcast-producer/email@hidden This email sent to email@hidden
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC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AAAAAAAYcGhndAAAAAEAAAAAAAAAAAAAAAAAAAA0Y2xhcAAAAAEAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHBhc3AAAAABAAAAAAAAAAAA
AAAAAAAAAAAAABhzY2FtAAAAAQAAAAAAAAAAAAAAAAAAABVkaW50AAAAAQAAAAAAAAAA
AAAAABV1ZW5mAAAAAQAAAAAAAAAAAAAAAIxzb3VuAAAAAQAAAAUAAAAAAAAAGHNzY3QA
AAABAAAAAAAAAAByYXcgAAAAGHNzcnQAAAABAAAAAAAAAAB9AAAAAAAAFnNzc3MAAAAB
AAAAAAAAAAAAEAAAABZzc2NjAAAAAQAAAAAAAAAAAAEAAAAcdmVycwAAAAEAAAAAAAAA
AAADABQAAQAAAAAAFWVudmkAAAABAAAAAAAAAAABAAAAFWVuc28AAAABAAAAAAAAAAAB
AAAAP3NhdmUAAAABAAAAAgAAAAAAAAAVZmFzdAAAAAEAAAAAAAAAAAEAAAAWc3N0eQAA
AAEAAAAAAAAAAAAB
</data>
<key>componentManufacturer</key>
<string>appl</string>
<key>componentSubtype</key>
<string>MooV</string>
<key>componentType</key>
<string>spit</string>
</dict>
</plist>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Podcast-producer mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/podcast-producer/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.