Jolly Roger wrote:
> In article , nospamatall
> wrote:
>
>> Jolly Roger wrote:
>>> I've been using Toast 7 to convert EyeTV transport streams (raw MPEG-2
>>> data transmitted by broadcasters) to MPEG-4 H.264 files so that I can
>>> load them up on my iPod.
>>>
>> MPEG Streamclip will open transport streams, and can export to H264, and
>> it's free.
>>
>> http://www.squared5.com/
>
> At first glance, this doesn't appear to be a command-line utility.
>
Right I never used this feature, but as you said you want to script it,
I remember seeing that it has a batch list. It might not be exactly what
you want but if you aren't having much luck elsewhere it may help. the
following is from the manual and should be enough for you to know if it
is any use.
The program is not scriptable, but this guy has been working on
something similar and says he had to use GUI scripting. It looks like it
might work if you can do that.
http://www.avsforum.com/avs-vb/showthread.php?t=621201
(see third comment down, "Mr PTB"
here's the manual entry for batch:
USING BATCH PROCESSING
If you want to use batch processing, please open the batch list using
the List menu. The batch list shows a queue of tasks that will be
executed when you click the Go button.
If you have many files you want to convert, you can click the "Add
Files" button, or drag & drop the files into the batch list. You will be
asked to choose a task and a destination directory. You have the option
to fix timecode breaks and join selected files. For export, you will
also need to enter the export settings; if the files don't have the same
frame size, rate, and aspect, you will be asked for export settings
several times. PIDs for the conversion will be chosen automatically for
each file.
Loading all files in the batch list may take time: you can stop the
process with Command-. or Esc, if necessary.
But there is another way to fill the batch list. In fact, while the
batch list is open (even when hidden by other windows) every conversion
you choose in the File menu will be added to the batch list instead of
being performed immediately (so remember to close it when you want to do
an immediate conversion). This includes Save As, Export to, Convert to,
Demux to; and even Download and Upload from/to supported PVR devices.
The source stream used is of course, the one shown in the player.
If you add tasks this way, all editing, trimming, In/Out points, and
chosen PIDs, will be saved in the batch list; thus a batched conversion
gives the same results as an immediate conversion. If you then make
further changes to the source stream in the player, these changes do not
affect editing, trimming, In/Out points, and PIDs stored in the batch
list. And you can even close the stream and open another stream in the
player if you want; all conversion data will remain in the batch list
until you delete the task or quit the application.
You can start batch processing with the "Go" button. The button's name
will change to "Stop", if you click it again, processing of further
tasks will be stopped but the currently running task will continue till
completion. To stop the running task and all subsequent tasks, you can
use the "Stop" button in the progress window.
The initial status of a task is "Waiting". If you click the "Hold"
button you can change the status to "Held" and then back to "Waiting".
When a task is "Held" it will be skipped during batch processing, but it
remains in the batch list.
Once executed, the status of a task changes to "Completed"; if
unsuccessful, the status reports the error message. To execute the task
again, you need to change the status back to "Waiting" by using the
"Repeat" button.
You can change the processing order of tasks by selecting one task and
using the "Up" and "Down" buttons. You can remove a task from the list
using the "Delete" button, or all tasks using the "Clear" button.
You can change the destination folder of one or more tasks with the
"Redirect" button; and with the "Script" button you can choose a script
to be executed when all tasks have been completed."
>> Stay informed about: MPEG-2 transport stream -> MPEG-4 H.264 from the command l..