Need some codec/format insight
I've been doing some trial and error searching for the best output formats for various purposes and I'm a little confused. Can someone explain why certain exporting as certain formats like MPEG4 and sometimes MPEG2 generate multiple files? Is it splitting audio out separately or creating some kind of index files? I don't really get it and I'm not sure how to use them or if I should. Also, what's the difference between all the MPEG2 formats? I see MPEG2, MPEG2 DVD, MPEG2 Bluray, and MPEG2 MXF. Delivery platform for my current project is YouTube. Can someone help me understand these MPEG fomats? I'd greatly appreciate it.
Thanks!!
mpeg2 is just that mpeg2, you can use it to back up files, play it on most video players and even upload it to youtube.
mpeg2-dvd is as it sounds, it creates the files required to make a dvd, although if that was your aim, using adobe encore would be more suitable
mpeg2-mxf i believe allows for more audio streams in an mxf wrapper.
hope some of that helps.
Now if all your projects are for youtube, and you want to keep them locally as well as upload them, i would personally export them all out as mp4 containing the h.264 container, depending on the project you'd want to save it with HD or SD presets.
Cheers.
Similar Messages
-
Need some Help ( formating strings vs formatting input files)
I have a program that reads in a text file and stores each line as a string. The input file has no delimiters and varying amounts of white space. The problem is, I am trying to display each line of the file the same way. Here is an example of what the string looks like when I read it in and then output the strings.
(I am using the underline to represent white space just in this message post.)
1.Fred Smith____GA_____23_______42______23.5_____3____5
2.Jon Doe____SC___42_______3_______39.2_____6_____12
Now here is is how I would like the output to look like.
1.Fred Smith_______GA_______23_____42_____23.5_____3_____5
2.Jon Doe__________SC_______42_____33_____39.2_____6_____12
Any thoughts or insight on how to achieve this would be great. Thanks for the time.Hi, before I'd do anything more complicated, I'd replace some spaces with tabs and see if that does the trick.
Cheers, HJK -
I need some help formatting some text
I'm trying to convert a theater script to EPUB. The original file I received was a pdf. I already placed all the text in my InDesign document, but among all the text, there are some phrases between parenthesis that need to be in italics.
Is there a way that I could instruct InDesign to change all characters between parenthesis to italics? Or will I need to manually identify and change them?
Thanks for you help!Wow, never heard about this. Thank you so much.
I'll try it when I get back home from work and post back with results.
Now for instance, say I would like to select something between other symbols beside parenthesis, which characters should I change in the string? Tho ones in the outside or the inside? For example, if I want to select something between quotes, would the string be "?<=\().*?(?=\)" or (?<=\().*?"?=\")?
Or am I just making stuff up and it not possible?
Again, thanks for all the help. -
Hello!
I just bought an ATV2, but it seems to be having trouble to provide the airplay function.
I have almost every kind of device that can connect to it, iPhone 4 (4.3.3), iPad 2 (4.3.5), Windows desktop (connected to the network via ethernet cable) and a MBP (Lion) connected wirelessly, both on the latest iTunes.
When airplay fails, which happens all the time, it fails on all this devices. Both my MBP and Windows desktop have automatic time set for Apple's servers, so does the ATV2.
Sometimes resetting the airplay functionality on the ATV2 (from on to off to on again) seems to do the trick, but only for about 10 minutes. Other times, I have to either reset the ATV2 or even the network router.
Could this be related to the router? I´m also having problems (already did before the ATV2) with homesharing. Sometimes it works, sometimes it doesn´t. I´m not sure what to do here, I´ve tried everything I could to try and at least narrow down the problem source, but I can´t.
Also, the ATV2 some times has problems connecting to my Apple account, giving me an error message, but seems to stay connected to youtube services, thus, to the internet.The ATV2 seems to be able to connect to the account again most times when I re-enter the details, but it has failed on occasion (I bought it yesterday, but have already tried so many things to solve the airplay that I´ve ran into this stuff many times during yesterday afternoon and today)
I´ve tried moving the ATV2 closer to the router, setting a fixed IP address on the ATV2 and the other devices, have the TCP/UDP 123 port opened, I don´t know what else to try.
I would really appreciate some help on this, something else to try. Can this be related to the router since I´m having homesharing problems too? Or can it be something wrong with my account at Apple (not that I think that matters for airplay, but I´m willing to try anything)
Thank you very much.iStumbler isn´t currently working on Lion. KisMac doesn´t crash but can´t find any networks either.
When you say, try connecting with ethernet, you´re refering to connecting the ATV2 directly to the router with ethernet correct? That is a good idea, I didn´t remember to try that.
I did try changing the channels on the router, currently on 6, but I´m going to try to change to 1, 3 or 11 now.
I´m currently at a coffee shop, I came here to use their wireless network and try homesharing between my Mac and iPhone, which never or poorly works at home. So far its working flawless. Sometimes the iPhone takes a bit longer to reconnect to the shared library (for the icon to appear on the iPod app and then to open the selected library) then others, but in general, for the past hour and a half, its been connecting to the macbook without much trouble, hinting me that the problem at home lies indeed with the router.
Thank you -
HT3775 i need codec format to support audio to play movies?
i need codec format to support audio to play movies
Just download the free, open-source media player VLC. It plays pretty much anything.Get VLC here:
http://www.videolan.org/vlc/download-macosx.html
Also, beware of dodgy internet sites that say you can't play a movie and offer to install a 'codec' for you. They're typically malware or spyware. -
hello is there a solution to play some avi formats with quicktime because with all the codec i can play video but not the sound thank you by advance (im on windows 7 so perian cant help me)
I did some googling and found alot of topics from you on this issue, to me it simply seems like on of the connectors is broken or loose.
-
DO i need some extra hardware interface for receving both Audio and video
hi i m doing e-learning project. i have to capture video from webcam and voice from headphone and send to client.
but my code is working fine for either one at a time.
DO i need some extra hardware interface for receving both Audio and video. im using code AVTransmit and AVReceive found from this site only
After running TX
i give Dsound:// & vfw://0 in Media Locater only sound is received and no vedio
and when i give vfw://0 in Media Locater only live video is transmited.
im using JMF1.1.2e.
if any one know the method to run or cause of it plz reply me soon. i will be very thankfull
transmiter/server side code .first run TX on server
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.util.*;
import javax.media.rtp.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.border.*;
public class Tx extends JFrame implements ActionListener, KeyListener,
MouseListener, WindowListener {
Vector targets;
JList list;
JButton startXmit;
JButton rtcp;
JButton update;
JButton expiration;
JButton statistics;
JButton addTarget;
JButton removeTarget;
JTextField tf_remote_address;
JTextField tf_remote_data_port;
JTextField tf_media_file;
JTextField tf_data_port;
TargetListModel listModel;
AVTransmitter avTransmitter;
RTCPViewer rtcpViewer;
JCheckBox cb_loop;
Config config;
public Tx() {
setTitle( "JMF/RTP Transmitter");
config= new Config();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
JPanel p= new JPanel();
p.setLayout( gridBagLayout);
JPanel localPanel= createLocalPanel();
gbc= new GridBagConstraints();
gbc.gridx= 0;
gbc.gridy= 0;
gbc.gridwidth= 2;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( localPanel, gbc);
p.add( localPanel);
JPanel targetPanel= createTargetPanel();
gbc= new GridBagConstraints();
gbc.gridx= 1;
gbc.gridy= 1;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( targetPanel, gbc);
p.add( targetPanel);
JPanel mediaPanel= createMediaPanel();
gbc= new GridBagConstraints();
gbc.gridx= 1;
gbc.gridy= 2;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( mediaPanel, gbc);
p.add( mediaPanel);
JPanel buttonPanel= new JPanel();
rtcp= new JButton( "RTCP Monitor");
update= new JButton( "Transmission Status");
update.setEnabled( false);
rtcp.addActionListener( this);
update.addActionListener( this);
buttonPanel.add( rtcp);
buttonPanel.add( update);
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 3;
gbc.gridwidth= 2;
gbc.weightx = 1.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.CENTER;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( buttonPanel, gbc);
p.add( buttonPanel);
getContentPane().add( p);
list.addMouseListener( this);
addWindowListener( this);
pack();
setVisible( true);
private JPanel createMediaPanel() {
JPanel p= new JPanel();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
p.setLayout( gridBagLayout);
JLabel label= new JLabel( "Media Locator:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
p.add( label);
tf_media_file= new JTextField( 35);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 0;
gbc.weightx = 1.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( tf_media_file, gbc);
p.add( tf_media_file);
tf_media_file.setText( config.media_locator);
cb_loop= new JCheckBox( "loop");
startXmit= new JButton( "Start Transmission");
startXmit.setEnabled( true);
startXmit.addActionListener( this);
gbc= new GridBagConstraints();
gbc.gridx = 2;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( cb_loop, gbc);
p.add( cb_loop);
cb_loop.setSelected( true);
cb_loop.addActionListener( this);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.CENTER;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( startXmit, gbc);
p.add( startXmit);
TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Source");
p.setBorder( titledBorder);
return p;
private JPanel createTargetPanel() {
JPanel p= new JPanel();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
p.setLayout( gridBagLayout);
targets= new Vector();
for( int i= 0; i < config.targets.size(); i++) {
targets.addElement( config.targets.elementAt( i));
listModel= new TargetListModel( targets);
list= new JList( listModel);
list.addKeyListener( this);
list.setPrototypeCellValue( "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
JScrollPane scrollPane= new JScrollPane( list,
ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
gbc= new GridBagConstraints();
gbc.gridx= 0;
gbc.gridy= 0;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( scrollPane, gbc);
p.add( scrollPane);
JPanel p1= new JPanel();
p1.setLayout( gridBagLayout);
JLabel label= new JLabel( "IP Address:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
p1.add( label);
tf_remote_address= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_address, gbc);
p1.add( tf_remote_address);
label= new JLabel( "Data Port:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
p1.add( label);
tf_remote_data_port= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_data_port, gbc);
p1.add( tf_remote_data_port);
JPanel p2= new JPanel();
addTarget= new JButton( "Add Target");
removeTarget= new JButton( "Remove Target");
p2.add( addTarget);
p2.add( removeTarget);
addTarget.addActionListener( this);
removeTarget.addActionListener( this);
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 2;
gbc.weightx = 1.0;
gbc.weighty = 0.0;
gbc.gridwidth= 2;
gbc.anchor = GridBagConstraints.CENTER;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets( 20,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( p2, gbc);
p1.add( p2);
gbc= new GridBagConstraints();
gbc.gridx= 1;
gbc.gridy= 0;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( p1, gbc);
p.add( p1);
TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Targets");
p.setBorder( titledBorder);
return p;
private JPanel createLocalPanel() {
JPanel p= new JPanel();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
p.setLayout( gridBagLayout);
JLabel label= new JLabel( "IP Address:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
p.add( label);
JTextField tf_local_host= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p.getLayout()).setConstraints( tf_local_host, gbc);
p.add( tf_local_host);
try {
String host= InetAddress.getLocalHost().getHostAddress();
tf_local_host.setText( host);
} catch( UnknownHostException e) {
label= new JLabel( "Data Port:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
p.add( label);
tf_data_port= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( tf_data_port, gbc);
p.add( tf_data_port);
tf_data_port.setText( config.local_data_port);
TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Local Host");
p.setBorder( titledBorder);
return p;
public void actionPerformed( ActionEvent event) {
Object source= event.getSource();
if( source == addTarget) {
String ip= tf_remote_address.getText().trim();
String port= tf_remote_data_port.getText().trim();
String localPort= tf_data_port.getText().trim();
addTargetToList( localPort, ip, port);
if( avTransmitter != null) {
avTransmitter.addTarget( ip, port);
} else if( source == removeTarget) {
int index= list.getSelectedIndex();
if( index != -1) {
Target target= (Target) targets.elementAt( index);
if( avTransmitter != null) {
avTransmitter.removeTarget( target.ip, target.port);
targets.removeElement( target);
listModel.setData( targets);
} else if( source == startXmit) {
if( startXmit.getLabel().equals( "Start Transmission")) {
int data_port= new Integer( tf_data_port.getText()).intValue();
avTransmitter= new AVTransmitter( this, data_port);
avTransmitter.start( tf_media_file.getText().trim(), targets);
avTransmitter.setLooping( cb_loop.isSelected());
startXmit.setLabel( "Stop Transmission");
} else if( startXmit.getLabel().equals( "Stop Transmission")) {
avTransmitter.stop();
avTransmitter= null;
removeNonBaseTargets();
listModel.setData( targets);
startXmit.setLabel( "Start Transmission");
} else if( source == rtcp) {
if( rtcpViewer == null) {
rtcpViewer= new RTCPViewer();
} else {
rtcpViewer.setVisible( true);
rtcpViewer.toFront();
} else if( source == cb_loop) {
if( avTransmitter != null) {
avTransmitter.setLooping( cb_loop.isSelected());
private void removeNonBaseTargets() {
String localPort= tf_data_port.getText().trim();
for( int i= targets.size(); i > 0;) {
Target target= (Target) targets.elementAt( i - 1);
if( !target.localPort.equals( localPort)) {
targets.removeElement( target);
i--;
public void addTargetToList( String localPort,
String ip, String port) {
ListUpdater listUpdater= new ListUpdater( localPort, ip,
port, listModel, targets);
SwingUtilities.invokeLater( listUpdater);
public void rtcpReport( String report) {
if( rtcpViewer != null) {
rtcpViewer.report( report);
public void windowClosing( WindowEvent event) {
config.local_data_port= tf_data_port.getText().trim();
config.targets= new Vector();
for( int i= 0; i < targets.size(); i++) {
Target target= (Target) targets.elementAt( i);
if( target.localPort.equals( config.local_data_port)) {
config.addTarget( target.ip, target.port);
config.media_locator= tf_media_file.getText().trim();
config.write();
System.exit( 0);
public void windowClosed( WindowEvent event) {
public void windowDeiconified( WindowEvent event) {
public void windowIconified( WindowEvent event) {
public void windowActivated( WindowEvent event) {
public void windowDeactivated( WindowEvent event) {
public void windowOpened( WindowEvent event) {
public void keyPressed( KeyEvent event) {
public void keyReleased( KeyEvent event) {
Object source= event.getSource();
if( source == list) {
int index= list.getSelectedIndex();
public void keyTyped( KeyEvent event) {
public void mousePressed( MouseEvent e) {
public void mouseReleased( MouseEvent e) {
public void mouseEntered( MouseEvent e) {
public void mouseExited( MouseEvent e) {
public void mouseClicked( MouseEvent e) {
Object source= e.getSource();
if( source == list) {
int index= list.getSelectedIndex();
if( index != -1) {
Target target= (Target) targets.elementAt( index);
tf_remote_address.setText( target.ip);
tf_remote_data_port.setText( target.port);
int index= list.locationToIndex( e.getPoint());
public static void main( String[] args) {
new Tx();
class TargetListModel extends AbstractListModel {
private Vector options;
public TargetListModel( Vector options) {
this.options= options;
public int getSize() {
int size;
if( options == null) {
size= 0;
} else {
size= options.size();
return size;
public Object getElementAt( int index) {
String name;
if( index < getSize()) {
Target o= (Target)options.elementAt( index);
name= o.localPort + " ---> " + o.ip + ":" + o.port;
} else {
name= null;
return name;
public void setData( Vector data) {
options= data;
fireContentsChanged( this, 0, data.size());
class ListUpdater implements Runnable {
String localPort, ip, port;
TargetListModel listModel;
Vector targets;
public ListUpdater( String localPort, String ip, String port,
TargetListModel listModel, Vector targets) {
this.localPort= localPort;
this.ip= ip;
this.port= port;
this.listModel= listModel;
this.targets= targets;
public void run() {
Target target= new Target( localPort, ip, port);
if( !targetExists( localPort, ip, port)) {
targets.addElement( target);
listModel.setData( targets);
public boolean targetExists( String localPort, String ip, String port) {
boolean exists= false;
for( int i= 0; i < targets.size(); i++) {
Target target= (Target) targets.elementAt( i);
if( target.localPort.equals( localPort)
&& target.ip.equals( ip)
&& target.port.equals( port)) {
exists= true;
break;
return exists;
>>>>>>>>>>>>>>>>>
import java.awt.*;
import java.io.*;
import java.net.InetAddress;
import java.util.*;
import javax.media.*;
import javax.media.protocol.*;
import javax.media.format.*;
import javax.media.control.TrackControl;
import javax.media.control.QualityControl;
import javax.media.rtp.*;
import javax.media.rtp.event.*;
import javax.media.rtp.rtcp.*;
public class AVTransmitter implements ReceiveStreamListener, RemoteListener,
ControllerListener {
// Input MediaLocator
// Can be a file or http or capture source
private MediaLocator locator;
private String ipAddress;
private int portBase;
private Processor processor = null;
private RTPManager rtpMgrs[];
private int localPorts[];
private DataSource dataOutput = null;
private int local_data_port;
private Tx tx;
public AVTransmitter( Tx tx, int data_port) {
this.tx= tx;
local_data_port= data_port;
* Starts the transmission. Returns null if transmission started ok.
* Otherwise it returns a string with the reason why the setup failed.
public synchronized String start( String filename, Vector targets) {
String result;
locator= new MediaLocator( filename);
// Create a processor for the specified media locator
// and program it to output JPEG/RTP
result = createProcessor();
if (result != null) {
return result;
// Create an RTP session to transmit the output of the
// processor to the specified IP address and port no.
result = createTransmitter( targets);
if (result != null) {
processor.close();
processor = null;
return result;
// Start the transmission
processor.start();
return null;
* Use the RTPManager API to create sessions for each media
* track of the processor.
private String createTransmitter( Vector targets) {
// Cheated. Should have checked the type.
PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
PushBufferStream pbss[] = pbds.getStreams();
rtpMgrs = new RTPManager[pbss.length];
localPorts = new int[ pbss.length];
SessionAddress localAddr, destAddr;
InetAddress ipAddr;
SendStream sendStream;
int port;
SourceDescription srcDesList[];
for (int i = 0; i < pbss.length; i++) {
// for (int i = 0; i < 1; i++) {
try {
rtpMgrs[i] = RTPManager.newInstance();
port = local_data_port + 2*i;
localPorts[ i]= port;
localAddr = new SessionAddress( InetAddress.getLocalHost(),
port);
rtpMgrs.initialize( localAddr);
rtpMgrs[i].addReceiveStreamListener(this);
rtpMgrs[i].addRemoteListener(this);
for( int k= 0; k < targets.size(); k++) {
Target target= (Target) targets.elementAt( k);
int targetPort= new Integer( target.port).intValue();
addTarget( localPorts[ i], rtpMgrs[ i], target.ip, targetPort + 2*i);
sendStream = rtpMgrs[i].createSendStream(dataOutput, i);
sendStream.start();
} catch (Exception e) {
e.printStackTrace();
return e.getMessage();
return null;
public void addTarget( String ip, String port) {
for (int i= 0; i < rtpMgrs.length; i++) {
int targetPort= new Integer( port).intValue();
addTarget( localPorts[ i], rtpMgrs[ i], ip, targetPort + 2*i);
public void addTarget( int localPort, RTPManager mgr, String ip, int port) {
try {
SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
new Integer( port).intValue());
mgr.addTarget( addr);
tx.addTargetToList( localPort + "", ip, port + "");
} catch( Exception e) {
e.printStackTrace();
public void removeTarget( String ip, String port) {
try {
SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
new Integer( port).intValue());
for (int i= 0; i < rtpMgrs.length; i++) {
rtpMgrs[ i].removeTarget( addr, "target removed from transmitter.");
} catch( Exception e) {
e.printStackTrace();
boolean looping= true;
public void controllerUpdate( ControllerEvent ce) {
System.out.println( ce);
if( ce instanceof DurationUpdateEvent) {
Time duration= ((DurationUpdateEvent) ce).getDuration();
System.out.println( "duration: " + duration.getSeconds());
} else if( ce instanceof EndOfMediaEvent) {
System.out.println( "END OF MEDIA - looping=" + looping);
if( looping) {
processor.setMediaTime( new Time( 0));
processor.start();
public void setLooping( boolean flag) {
looping= flag;
public void update( ReceiveStreamEvent event) {
String timestamp= getTimestamp();
StringBuffer sb= new StringBuffer();
if( event instanceof InactiveReceiveStreamEvent) {
sb.append( timestamp + " Inactive Receive Stream");
} else if( event instanceof ByeEvent) {
sb.append( timestamp + " Bye");
} else {
System.out.println( "ReceiveStreamEvent: "+ event);
tx.rtcpReport( sb.toString());
public void update( RemoteEvent event) {
String timestamp= getTimestamp();
if( event instanceof ReceiverReportEvent) {
ReceiverReport rr= ((ReceiverReportEvent) event).getReport();
StringBuffer sb= new StringBuffer();
sb.append( timestamp + " RR");
if( rr != null) {
Participant participant= rr.getParticipant();
if( participant != null) {
sb.append( " from " + participant.getCNAME());
sb.append( " ssrc=" + rr.getSSRC());
} else {
sb.append( " ssrc=" + rr.getSSRC());
tx.rtcpReport( sb.toString());
} else {
System.out.println( "RemoteEvent: " + event);
private String getTimestamp() {
String timestamp;
Calendar calendar= Calendar.getInstance();
int hour= calendar.get( Calendar.HOUR_OF_DAY);
String hourStr= formatTime( hour);
int minute= calendar.get( Calendar.MINUTE);
String minuteStr= formatTime( minute);
int second= calendar.get( Calendar.SECOND);
String secondStr= formatTime( second);
timestamp= hourStr + ":" + minuteStr + ":" + secondStr;
return timestamp;
private String formatTime( int time) {
String timeStr;
if( time < 10) {
timeStr= "0" + time;
} else {
timeStr= "" + time;
return timeStr;
* Stops the transmission if already started
public void stop() {
synchronized (this) {
if (processor != null) {
processor.stop();
processor.close();
processor = null;
for (int i= 0; i < rtpMgrs.length; i++) {
rtpMgrs[ i].removeTargets( "Session ended.");
rtpMgrs[ i].dispose();
public String createProcessor() {
if (locator == null) {
return "Locator is null";
DataSource ds;
DataSource clone;
try {
ds = javax.media.Manager.createDataSource(locator);
} catch (Exception e) {
return "Couldn't create DataSource";
// Try to create a processor to handle the input media locator
try {
processor = javax.media.Manager.createProcessor(ds);
processor.addControllerListener( this);
} catch (NoProcessorException npe) {
return "Couldn't create processor";
} catch (IOException ioe) {
return "IOException creating processor";
// Wait for it to configure
boolean result = waitForState(processor, Processor.Configured);
if (result == false)
return "Couldn't configure processor";
// Get the tracks from the processor
TrackControl [] tracks = processor.getTrackControls();
// Do we have atleast one track?
if (tracks == null || tracks.length < 1)
return "Couldn't find tracks in processor";
// Set the output content descriptor to RAW_RTP
// This will limit the supported formats reported from
// Track.getSupportedFormats to only valid RTP formats.
ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW_RTP);
processor.setContentDescriptor(cd);
Format supported[];
Format chosen;
boolean atLeastOneTrack = false;
// Program the tracks.
for (int i = 0; i < tracks.length; i++) {
Format format = tracks[i].getFormat();
if (tracks[i].isEnabled()) {
supported = tracks[i].getSupportedFormats();
// We've set the output content to the RAW_RTP.
// So all the supported formats should work with RTP.
// We'll just pick the first one.
if (supported.length > 0) {
if (supported[0] instanceof VideoFormat) {
// For video formats, we should double check the
// sizes since not all formats work in all sizes.
chosen = checkForVideoSizes(tracks[i].getFormat(),
supported[0]);
} else
chosen = supported[0];
tracks[i].setFormat(chosen);
System.err.println("Track " + i + " is set to transmit as:");
System.err.println(" " + chosen);
atLeastOneTrack = true;
} else
tracks[i].setEnabled(false);
} else
tracks[i].setEnabled(false);
if (!atLeastOneTrack)
return "Couldn't set any of the tracks to a valid RTP format";
// Realize the processor. This will internally create a flow
// graph and attempt to create an output datasource for JPEG/RTP
// audio frames.
result = waitForState(processor, Controller.Realized);
if (result == false)
return "Couldn't realize processor";
// Set the JPEG quality to .5.
setJPEGQuality(processor, 0.5f);
// Get the output data source of the processor
dataOutput = processor.getDataOutput();
return null;
static SessionAddress destAddr1, destAddr2;
* For JPEG and H263, we know that they only work for particular
* sizes. So we'll perform extra checking here to make sure they
* are of the right sizes.
Format checkForVideoSizes(Format original, Format supported) {
int width, height;
Dimension size = ((VideoFormat)original).getSize();
Format jpegFmt = new Format(VideoFormat.JPEG_RTP);
Format h263Fmt = new Format(VideoFormat.H263_RTP);
if (supported.matches(jpegFmt)) {
// For JPEG, make sure width and height are divisible by 8.
width = (size.width % 8 == 0 ? size.width :
(int)(size.width / 8) * 8);
height = (size.height % 8 == 0 ? size.height :
(int)(size.height / 8) * 8);
} else if (supported.matches(h263Fmt)) {
// For H.263, we only support some specific sizes.
if (size.width < 128) {
width = 128;
height = 96;
} else if (size.width < 176) {
width = 176;
height = 144;
} else {
width = 352;
height = 288;
} else {
// We don't know this particular format. We'll just
// leave it alone then.
return supported;
return (new VideoFormat(null,
new Dimension(width, height),
Format.NOT_SPECIFIED,
null,
Format.NOT_SPECIFIED)).intersects(supported);
* Setting the encoding quality to the specified value on the JPEG encoder.
* 0.5 is a good default.
void setJPEGQuality(Player p, float val) {
Control cs[] = p.getControls();
QualityControl qc = null;
VideoFormat jpegFmt = new VideoFormat(VideoFormat.JPEG);
// Loop through the controls to find the Quality control for
// the JPEG encoder.
for (int i = 0; i < cs.length; i++) {
if (cs[i] instanceof QualityControl &&
cs[i] instanceof Owned) {
Object owner = ((Owned)cs[i]).getOwner();
// Check to see if the owner is a Codec.
// Then check for the output format.
if (owner instanceof Codec) {
Format fmts[] = ((Codec)owner).getSupportedOutputFormats(null);
for (int j = 0; j < fmts.length; j++) {
if (fmts[j].matches(jpegFmt)) {
qc = (QualityControl)cs[i];
qc.setQuality(val);
System.err.println("- Setting quality to " +
val + " on " + qc);
break;
if (qc != null)
break;
* Convenience methods to handle processor's state changes.
private Integer stateLock = new Integer(0);
private boolean failed = false;
Integer getStateLock() {
return stateLock;
void setFailed() {
failed = true;
private synchronized boolean waitForState(Processor p, int state) {
p.addControllerListener(new StateListener());
failed = false;
// Call the required method on the processor
if (state == Processor.Configured) {
p.configure();
} else if (state == Processor.Realized) {
p.realize();
// Wait until we get an event that confirms the
// success of the method, or a failure event.
// See StateListener inner class
while (p.getState() < state && !failed) {
synchronized (getStateLock()) {
try {
getStateLock().wait();
} catch (InterruptedException ie) {
return false;
if (failed)
return false;
else
return true;
* Inner Classes
class StateListener implements ControllerListener {
public void controllerUpdate(ControllerEvent ce) {
// If there was an error during configure or
// realizI do this all the time, I put my MBP to a 60 inch Sharp. If you have the video working do the simple thing first. Check to make sure your sound is on your TV and Mac. Then if that doesn't work go to System Prefrences and under sound go to a tab called Output and see if your TV is listed and if it is change it to that setting
Hope It Works -
My QuickTime player us not playing .avi files and says I need a codec I can't play no .avi files on QuickTime. How could I fix this because I want to play these files with QuickTime.
Hmm . . . comes with a Utility MPEG2 Component ML app with no explanation of what it's for?
The utility app is an "assistant PKG installer." It allows Lion and Mountain Lion users to install the older QT MPEG-2 Playback Component installer PKG file which is not allowed to run on its own under Lion or Mountain Lion since these operating systems already have a QT X only MPEG-2 component embedded in the QT embedded structure. Without this utility you would have to either copy the component from an older system to your Lion or Mountain Lion system, use Pacifist for installation, or manually open the PKG contents and transfer the component to the appropriate component folder.
As to your "discussion" regarding the playback of AVI file types, there are really only two strategies here:
1) You can add component support so that QT can play the files natively or
2) You can convert the file contents to compression formats that are natively compatible with the unmodified QT component configuration.
Each user should decide for his or her own self which approach best suits their needs for a particular source file. In most cases, conforming the system's codec component configuration to play the source file directly results in higher video quality since no transcoding takes place but this strategy will not work if a codec which is required is not available for the user's operating system. On the other hand, converter utilities tend to support more built-in codecs and are easier to use since the user does not have to concern him or herself with the nature of the particular source compression formats but at the risk of some potential loss in visual quality. As to what converter to use, once again this is a matter of personal choice. In the case of commercial converters like iSkysoft, the codecs are built in while MPEG Streamclip accesses the host operating system's QT codec component configuration. I personally prefer the free HandBrake app for AVI, MKV, TS, MTS, and M2TS conversions since it has an exceptionally full-featured X.264 GUI with some user options that 97% of users are likely to never use. -
Need some Help configuring sip
Hi all ! ,
Im kind off new to sip calling and cisco telephony , but here goes ,: i have a 2821 router with CME installed
IOS : C2800NM-IPVOICEK9-M
Sofware version : 15.1(4)M4 / CME 8.6
Attached to GE0/0 is a CISCO 3750 switch
GEO - consisfts of 3 VLANS , the native
172.22.1.X
172.22.100.X VOICE
172.22.101.X DATA
my tftpserver = 172.22.1.150
i need some help configuring a sip trunk , i have 10 testing phonenumbers from vodafone , but i do not know where to start to get this working
i have tried
http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_configuration_example09186a00808f9666.shtml
but im getting stuck with what to fill in where .. is there anyone form NL whom has the same setup ? or similar ? or can give me some guidance on how to make the test callsok.. here goes
Building configuration...
Current configuration : 9721 bytes
! Last configuration change at 15:26:14 CET Thu Jan 2 2014
! NVRAM config last updated at 15:26:14 CET Thu Jan 2 2014
! NVRAM config last updated at 15:26:14 CET Thu Jan 2 2014
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname Router
boot-start-marker
boot-end-marker
no aaa new-model
clock timezone CET 1 0
network-clock-participate wic 0
network-clock-participate wic 1
network-clock-select 1 E1 0/0/0
network-clock-select 2 E1 0/0/1
dot11 syslog
ip source-route
ip cef
ip dhcp pool VOICE
network 172.22.100.0 255.255.255.0
option 150 ip 172.22.1.150
default-router 172.22.100.1
ip dhcp pool DATA
network 172.22.101.0 255.255.255.0
default-router 172.22.101.1
no ip domain lookup
no ipv6 cef
multilink bundle-name authenticated
isdn switch-type primary-net5
voice service voip
ip address trusted list
ipv4 172.22.1.50
ipv4 172.22.1.51
ipv4 172.22.100.1
ipv4 172.22.101.1
ipv4 62.140.159.225
callmonitor
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
sip
registrar server expires max 3600 min 3600
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
codec preference 4 g729br8
voice register global
voice translation-rule 1
rule 1 /5123781291/ /601/
rule 2 /5123781290/ /600/
voice translation-rule 2
rule 1 /^112$/ /112/
voice translation-rule 3
rule 1 /^.*/ /0262610290/
voice translation-rule 4
rule 2 /600/ /5123788000/
rule 3 /601/ /5123788001/
rule 4 /^2(..)$/ /51237812\1/
voice translation-profile CUE_Voicemail/AutoAttendant
translate called 1
voice translation-profile PSTN_CallForwarding
translate redirect-target 4
translate redirect-called 4
voice translation-profile PSTN_Outgoing
translate calling 3
translate called 2
translate redirect-target 4
translate redirect-called 4
voice-card 0
crypto pki token default removal timeout 0
controller E1 0/0/0
framing NO-CRC4
pri-group timeslots 1-31
controller E1 0/0/1
framing NO-CRC4
pri-group timeslots 1-31
ip ftp username cisco
ip ftp password cisco123
ip tftp source-interface GigabitEthernet0/0.1
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
no keepalive
interface GigabitEthernet0/0.1
encapsulation dot1Q 1 native
ip address 172.22.1.51 255.255.255.0
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 172.22.101.1 255.255.255.0
interface GigabitEthernet0/0.100
encapsulation dot1Q 100
ip address 172.22.100.1 255.255.255.0
interface GigabitEthernet0/1
no ip address
shutdown
duplex full
speed 100
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
interface Serial0/0/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
interface BRI0/1/0
no ip address
isdn switch-type basic-net3
isdn point-to-point-setup
interface BRI0/1/1
no ip address
isdn switch-type basic-net3
isdn point-to-point-setup
ip forward-protocol nd
ip http server
ip http authentication local
no ip http secure-server
ip http max-connections 16
ip http path flash:gui
ip route 0.0.0.0 0.0.0.0 172.22.1.50
tftp-server flash:7941/apps41.8-4-1-23.sbn alias apps41.8-4-1-23.sbn
tftp-server flash:7941/cnu41.8-4-1-23.sbn alias cnu41.8-4-1-23.sbn
tftp-server flash:7941/dsp41.8-4-1-23.sbn alias dsp41.8-4-1-23.sbn
tftp-server flash:7941/jar41sccp.8-4-1-23.sbn alias jar41sccp.8-4-1-23.sbn
tftp-server flash:7941/cvm41sccp.8-4-1-23.sbn alias cvm41sccp.8-4-1-23.sbn
tftp-server flash:7941/SCCP41.8-4-2S.loads alias SCCP41.8-4-2S.loads
tftp-server flash:7941/term41.default.loads alias term41.default.loads
tftp-server debug
control-plane
voice-port 0/0/0:15
voice-port 0/1/0
voice-port 0/1/1
voice-port 0/0/1:15
voice-port 2/0/0
voice-port 2/0/1
voice-port 2/0/2
voice-port 2/0/3
voice-port 2/0/4
voice-port 2/0/5
voice-port 2/0/6
voice-port 2/0/7
voice-port 2/0/8
voice-port 2/0/9
voice-port 2/0/10
voice-port 2/0/11
voice-port 2/0/12
voice-port 2/0/13
voice-port 2/0/14
voice-port 2/0/15
voice-port 2/0/16
voice-port 2/0/17
voice-port 2/0/18
voice-port 2/0/19
voice-port 2/0/20
voice-port 2/0/21
voice-port 2/0/22
voice-port 2/0/23
mgcp profile default
dial-peer voice 1 voip
description **Incomming Call from SIP Trunk**
translation-profile incoming CUE_Voicemail/AutoAttendant
session protocol sipv2
session target ipv4:172.22.1.50
incoming called-number .%
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 2 voip
description **Outgoing Call to SIP Trunk**
translation-profile outgoing PSTN_Outgoing
destination-pattern 9........
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 3 voip
description **Outgoing Call to SIP Trunk **
translation-profile outgoing PSTN_Outgoing
destination-pattern 9[2-9]..[2-9]......
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 4 voip
description **Outgoing Call to SIP Trunk**
translation-profile outgoing PSTN_Outgoing
destination-pattern 9[0-1][2-9]..[2-9]......
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 5 voip
description **911 Outgoing Call to SIP trunk**
translation-profile outgoing PSTN_Outgoing
destination-pattern 911
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 6 voip
description **Emergency Outgoing Call to SIP Trunk**
translation-profile outgoing PSTN_Outgoing
destination-pattern 9911
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 7 voip
description **911/411 Outgoing Call to SIP Trunk**
translation-profile outgoing PSTN_Outgoing
destination-pattern 9[2-9]11
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 8 voip
description **International Outgoing Call to SIP Trunk**
translation-profile outgoing PSTN_Outgoing
destination-pattern 9011T
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 9 voip
description **Star Code to SIP Trunk**
destination-pattern *..
session protocol sipv2
session target ipv4:172.22.1.50
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
dial-peer voice 10 voip
description **CUE Voicemail**
translation-profile outgoing PSTN_CallForwarding
destination-pattern 600
b2bua
session protocol sipv2
session target ipv4:172.22.1.155
dtmf-relay sip-notify
codec g711ulaw
no vad
dial-peer voice 11 voip
description **CUE Auto Attendant**
translation-profile outgoing PSTN_CallForwarding
destination-pattern 601
b2bua
session protocol sipv2
session target ipv4:172.22.1.155
dtmf-relay sip-notify
codec g711ulaw
no vad
sip-ua
authentication username 0262610290 password 7 15020A1F173D24362C realm 62.140.1
59.225
authentication username 0262610290 password 7 021605481811003348
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar ipv4:62.140.159.225 expires 3600
sip-server ipv4:62.140.159.224
host-registrar
telephony-service
max-ephones 58
max-dn 192
ip source-address 172.22.100.1 port 2000
calling-number initiator
system message testing
cnf-file location TFTP tftp://172.22.1.150/
load 7960-7940 P00307020200.loads
load 7941 SCCP41.8-4-2S.loads
load 7941GE SCCP41.8-4-2S
time-format 24
dialplan-pattern 1 26261029.. extension-length 3 extension-pattern 9..
voicemail 600
max-conferences 12 gain -6
call-forward pattern 9.T
moh music-on-hold.au
web admin system name admin password password
dn-webedit
time-webedit
transfer-system full-consult
secondary-dialtone 9
directory entry 1 101 name 101
create cnf-files version-stamp 7960 Jan 02 2014 08:40:49
ephone-dn 1
number 290 secondary 0262610290
name Phone 1
hold-alert 30 originator
ephone-dn 2
number 291 secondary 0262610291
name phone 2
hold-alert 30 originator
ephone-dn 3
number 292 secondary 0262610292
name Phone 3
hold-alert 30 originator
ephone-dn 4
number 293 secondary 0262610293
name Phone 4
hold-alert 30 originator
ephone-dn 5
number 294 secondary 0262610294
label Phone 5
hold-alert 30 originator
ephone 1
mac-address 0019.E88F.3BDD
button 1:1
ephone 2
mac-address 001E.4A92.0A27
type 7961
button 1:2
ephone 3
mac-address 0012.43F5.03AF
button 1:3
ephone 4
mac-address 000F.F7AC.502A
button 1:4
ephone 5
mac-address 0019.E851.090A
button 1:5
line con 0
line aux 0
line vty 0 4
login
transport input all
scheduler allocate 20000 1000
ntp master
end -
Quick Time Gamma Error in some codecs
Hi,
I have discovered an error with some codecs when creating movies with Quick Time Pro.
Movies created using Apple Pro Res 422 and Pal DV have a significant drop in Gamma.
Can anyone confirm this? and how can I notify Apple of this problem?
Also, this problem does not exist if the movie has been created using Final Cut Pro.
CheersUsing duo processor G5, storing video on newly Mac
formatted 1TB drive. Imported the first tape from a
Canon ZR850 camera with no problem into iMovie HD
6.03. Put in the 2nd tape with a new project name
and now continually get an error "Quick Time couldn't
parse it -43". I see other errors in the discussion
but not this one. I tried removing the backup
battery, disconnecting all cables and resetting time,
date, etc., but no luck. I then tried to import it
through a Canon GL2, but got same error. I tried
several other tapes that work perfectly well in the
camera but always get the same error. Went through
25 other tapes, so do not believe it is the tapes.
Software is OSX 14.4.9 with 6.5 GB RAM. What am I
doing wrong? Need help.
I did check for plugins but found none.
I used to use iMovie a few years ago an after spending several hours trying to now import the footage remembered that speed compatibility was crucial. My 1 TB drive that I was saving my videos to was running on Firewire 800 speed while my camera was running at Firewire 400 speed. I changed my 1TB drive to run at Firewire 400 speed, and "bingo", it now works.
Thank you however for your suggestions as now I will watch my extra plug-ins as well. -
Need some hand-holding and bullet point direction
ok, i need some help. We shoot our church services on Sony PDW-700 HD XDCAMS. We shoot in 420 HQ (whatever that is). Once we finish shooting the service, we pull the source video off of the XDCAM disk using the Sony XDCAM transfer utility. I believe we end up with a .mls file. We then edit the source and send it to compressor and then to DVD studio pro and it gets burned to a standard DVD. What we end up with is a video with artifacts in it. What I mean by artifacts is wavy lines around the edges of movement.
What I need to know, from step 1 to step whatever, is HOW to get the source from FCP to DVD w/out artifacts. It seems that we should be able to produce a DVD that looks better than ours and w/out the wavy lines around the edges of moving objects.
What I'm looking for is something like this:
When we open FCP, are there any preferences we need to have set before we import our source or will FCP adjust our project settings to match our source?
When done editing, do we need to do anything special when we send it to compressor?
Once in DVDSP, what do we need to be doing to make sure it comes out looking it's best.
I realize I am asking a lot here, but we're not novices. We understand things like the format of our media, etc. We're looking for a list or bullet point process to get from Media to DVD and have it look it's best.
Thank you
CliffIf you have any doubts regarding the format you shot,
look in the Browser, control-click the media file, and select Item Properties > Format.
That will tell you exactly what FCP thinks you're using.
Note that if Field Dominance is None, your clip is progressive.
In the future, you should ask your camera crew to shoot progressive.
crp0499 wrote:
Creator: QT Player
Source: HD 2:XDCAM
Vid Rate: 29.97 fps
Frame Size: 1440 x 1080
Compressor: XDCAM HD 1080i60 (35 mb/s VBR)
You may want to simplify the workflow by setting your sequence up first.
Before you create any sequences, choose menu item > Easy Setup,
and choose one of the XDCAM presets.
• Chose Sony XDCAM HD
• Choose HDCAM HD 1080i60 VBR
• Choose framerate 20.97
Once you do this, all new sequences will have that format.
If you've set your sequence up correctly, dragging a clip to the sequence will not produce this:
For best performance, your sequence and external video should be set to the format
of the clips you are editing. Change sequence settings to match clip settings?
If you click yes, you are not transcoding. You are setting the sequence format to be the same
as what you shot.
The bottom line is that when you set the sequence to match the footage,
you should be able to play the footage without rendering. Of course,
once you start editing and adding transitions, rendering may become
necessary. Check out the note on rendering to ProRes 422 in this article:
http://www.kenstone.net/fcphomepage/ex1_sd_outputyoung.html
Although he's talking about going from XDCAM EX to a PAL DVD,
most of the principles apply. In particular:
• Set Rendering preferences to ProRes 422, i.e.
Sequence Settings > Render Control > Render > Codec
• Do your HD edit.
• When it's time to convert to SD (step 2 in the article) create a new sequence
with the settings NTSC Anamorphic. This will preserve the nice wide-screen look
of the original footage even when played on an SD DVD.
• Step 4 of the article: choose NTSC anamorphic.
If your footage was shot interlaced, choose field dominance lower (even).
The compressor is NTSC, and the frame rate is 29.97.
In the advanced compression settings, note that it should be 16:9,
and Progressive if you're shooting or converting to progressive.
Check out the last section of this article:
http://www.lafcpug.org/features/featurekeeping_thejob.html
where field dominance is discussed in more detail.
Right when you got the WiFi, file-sharing, and printing working great–
they hand you a video camera!
I've got the reverse problem. -
New to Solaris administration - Need some help with some issues
Hello all,
I am a new to Solaris administration and need some assistance with a few things. I was going to make separate posts but decided it would be easy to keep track of in one. I really do not know much about the OS but I do have a little Linux background so that might help me out. I am going to number my problems to keep them sorted, so here we go.
The machine:
Sunfire V880
4x 73GB HDs
PCI dual fiber channel host adapter
Attached RAID array:
Sun StorEdge T3 Array with 9x 73GB HDs
Sun DDS4 Tape Drive in a Unipack
OS: Solaris 5.10
Updates: Updated everything except 2 patches (Updating is a real pain isn't it? At least it seems that way to me.)
1. So I might as well start with the update issues! These 2 updates will not install:
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
-Patch for mediaLib in solaris, (121620-03)
Install of update failed. Utility used to install the update is not able to save files. Utility used to install the update failed with exit code 4.
No idea why the PostgreSQL update is not working, but the medialib patch seems to not have enough hard drive space.
2. Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the medialibe update above says that I don't have enough space.
3. I probably need more space for the OS and updates, is there a way to "add" space onto the hard drive that currently is running the OS?
3. Once I see the other hard drives I wish to combine them to make a RAID 0 and RAID 5 array, how do I go about doing that?
4. How can I find/see the tape drive?
5. Does my swap space really need to be 64GB? I know the book I have read suggests it, but I only made it 5GB because it didn't seem to make sense to make it 64GB.
Thank you in advance for the help. I know these are a lot of questions to ask but please go easy on me :)
rjbanker
Edited by: rjbanker on Mar 7, 2008 8:21 AMSolarisSAinPA*
1.
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
Exit code 0 means there were no errors. When you run showrev -p 137004-02, does your system show that the patch is installed? You can check the log for a particular patch add attempt in /var/sadm/patch/+patch_num_rev+1- A bunch of stuff shows up, here is a portion (I am not entirely sure what it means, there must be a least a page of stuff like this):
Patch: 121081-08 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc cccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWcc fwctrl
Patch: 122231-01 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc ctpx
Patch: 120932-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcctpx
Patch: 123123-02 Obsoletes: Requires: Incompatibles: Packages: SUNWccinv
Patch: 121118-12 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc smauth, SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-su nos-base
2.
Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I >installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the >medialibe update above says that I don't have enough space.
When you run format command, how many drives are listed? Identify your root drive (compare with output of df command you ran earlier) Please post here.2. Output of df-hk, looks like I ran out of room. Should I just go ahead and reinstall the OS?
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 5.9G 5.4G 378M 94% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 42G 1.3M 42G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 42G 1.1M 42G 1% /tmp
swap 42G 32K 42G 1% /var/run
/dev/dsk/c1t0d0s7 46G 47M 46G 1% /export/home
3. So I guess the general consensus is to reinstall the OS, is that correct?
4. There is nothing in \dev\rmt, and unfortunately I don't have a tape to test it with!
5. I guess 5GB will be ok for what we do.
Alan.pae*
1. I think the above text might explain why it failed, although I don't know how to correct it.
2. Output of format:
# mount
/ on /dev/dsk/c1t0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d80008 on Mon Mar 10 10:56:51 2008
/devices on /devices read/write/setuid/devices/dev=4dc0000 on Mon Mar 10 10:56:19 2008
/system/contract on ctfs read/write/setuid/devices/dev=4e00001 on Mon Mar 10 10:56:19 2008
/proc on proc read/write/setuid/devices/dev=4e40000 on Mon Mar 10 10:56:19 2008
/etc/mnttab on mnttab read/write/setuid/devices/dev=4e80001 on Mon Mar 10 10:56:19 2008
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4ec0001 on Mon Mar 10 10:56:19 2008
/system/object on objfs read/write/setuid/devices/dev=4f00001 on Mon Mar 10 10:56:19 2008
/platform/sun4u-us3/lib/libc_psr.so.1 on /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/dev/fd on fd read/write/setuid/devices/dev=50c0001 on Mon Mar 10 10:56:51 2008
/tmp on swap read/write/setuid/devices/xattr/dev=4ec0002 on Mon Mar 10 10:56:52 2008
/var/run on swap read/write/setuid/devices/xattr/dev=4ec0003 on Mon Mar 10 10:56:52 2008
/export/home on /dev/dsk/c1t0d0s7 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d8000f on Mon Mar 10 10:56:57 2008
3. Judging by the above text I will be doing a reinstall huh?
4. Actually I am not familiar with tape backups let alone solaris backup apps! Any suggestions? (Preferably free, have to cut down on costs.)
5. No comment
Thanks for the help, hope to hear from you again!
rjbanker -
I need some help with AVI and IDX files please.
Hello there,
I've just been given a hard drive with a load of media on it that I need to work with in FCP.
There's a folder with many .AVI clips, and each clip has an accompanying directory file with the extension .IDX
The format of the AVI files is DV, 720x576, 48kHz.
For the life of me, I can't get FCP to accept the media. Log and Transfer won't accept them, and if i bring in the AVI files in on their own using File>Import>Files... I get a message saying:
Media Performance Warning
It is highly recommended that you either recapture the media or use the Media manager to create new copies of the files to improve their performance for multi-stream playback.
I can click 'OK' for this message and the media will appear in the browser, but If I place one of these AVI files on a new conformed sequence, the audio needs rendering. (Sequence settings correspond to media settings)
I tried just changing the wrapper from AVI to MOV, thinking I could fool FCP into accepting them, but I get the same rejection.
I thought the audio and video signals might be muxed, so I tried MPEG Streamclip to sort that out, but even MPEG Streamclip doesn't accept the media, saying : File open error: Can't find video or audio tracks.
Could anybody advise me on how to get the most out of these media files please?
Thanks in advance.
James.
Message was edited by: James M.
Message was edited by: James M.yes. I tried transcoding in QT, but they still come in with the same audio rendering required. I'm a bit loath to convert them all though, as there are 1400 clips.
It's not a huge problem, as they do play in FCP, but I'd like to sort out the audio rendering. I don't understand why it needs rendering as the media and sequence audio settings match, and it's not some weird format or anything, it's bog standard 48kHz stereo. -
Need some help with all of the jumper settings.
Wow, this has been some ordeal. I inherited a G4 iMac from a friend, which has been a great deal of trouble to me, particularly with the jumper settings. Anybody like dealing with that? Come on down...
So here's my situation. The hard drive in the iMac was dead. No big deal I'll just replace it, so I got a drive which I'm SURE is compatible. I plugged it in paying little attention to the jumper settings on it because until the beginning of this ordeal I knew nothing about jumper settings.
Now this is where it starts making no sense... I booted the computer while holding down the mouse button to eject, then put in a 10.2 OS disc, and then restarted holding C to boot from the install disc. It loaded fine but when I got to the installation step where I pick a drive to install it to, there were NO drives in the menu.
Maybe it needs to be formatted, right? WRONG. From the install screen I clicked open disc utility, and found the drive there in the list. It recognizes the drive, so why can't I install to it? I tried reformatting the drive as Mac os extended or whatever, and this made no difference.
This is where the jumpers come into play. I can't find jumper settings anywhere online for the DVD-RW Pioneer DVR-104PC Superdrive, so I've left the jumper on the optical drive alone and tried toying with the jumper settings on the HD instead, but I tried every possible setting and none of them worked to allow the installer to see my hard drive.
So what do you all think the deal is? If you know what the various jumper positions are for this particular optical drive, by all means let me know so I can toy around some more. Or if you know an alternate solution other than what I've suggested, please share. I've already invested money in a drive, some thermal paste, and Torx screwdrivers for this thing, so I really just want to get it working.... Let me know...Hey Michael,
Here's the link to the WD support site:
http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/stdadp.php?pfaqid=84
My experience with WDs is that when they need to be "Master single" I use no jumper. That's in most Mac setups including the iMac G4s. Which drove me nutz until I figured that out. All other manufactures I've run into need a jumper across the first pair on the left as you look at it from the back. WD is the odd man out.
Also if you Google:
"western digital jumpers" the 2nd response you get is from OWC (macsales.com) and they're telling you to use the slave setting. Don't know about that I've always used no jumpers but I see a lot of hard drives so next time..
Richard -
I am lost and need some guidance
Please bear with me for being so explicit on my posting, but I don't have a simpler way. But need some ideas to create a simple, safe workflow that includes back up.
I only use my Int HD (350GB), to install and run Apps; otherwise, I use Ext HDs. I have approximate 150GB of images, and another 50 GB of misc. files.
I have the following Ext HD:
1- 2 TB FW/USB -got a great deal brand new
2- 1 TB FW/USB already in use. I have 1 Partition (250 GB) while I was using Tiger
I used it to create a Boot up Dr, backing up Apps. But no longer use it.
I have been having some difficulty with this drive; sometimes it doesn't get recognized or stays on. I will be replacing the electric power cord, and all cables.
I am not sure if I should invest the time to re-format the entire drive and eliminate the Partition or just leave untouched.
3- 500 GB USB - secondary copy (non-RAI)
4- 350 GB USB - third copy (off site)
I am trying to decide how to use these drives, and hopefully, without the need to re-formatting them, but who knows. In addition, I would like to take advantage of TM for my back up.
5 Which DR should I set up as my destination DR for TM?
If I use the 2 TB is it better to set as RAID 0,better performance but if one drive fails, I'd be SOL, right?
On the other hand RAID 1, the redundancy factor would increase overhead. Any suggestion.
I also use Lightroom and would like to know how I should set it up to back up LR (non-image).
And lastly, about TM can I be select a specific source files for back ups? And can I back up different source Drives?
Is there a way that I could prevent TM not to back up Cache, because it will increase the overhead
Again, any suggestion would be appreciatedcrossover wrote:
I called Applecare yesterday and told me that TM only works with the Internal HD, no other DR, not sure about that. I usually get better answers here than wasting my time calling them, go figure.
That's just plain wrong. Some of them don't seem to know much about Time Machine except the basics (and, to be fair, most Mac users don't have data on external drives, so it likely doesn't come up much). But yes, TM will back-up any internal or directly-attached external USB or F/W drive/partition, as long as it's formatted Mac OS Extended. In fact, in most cases it will do that by default -- if you don't want something backed-up, you have to specifically exclude it.
I have never tried TM and not sure if that would be a good workflow or just use other Apps like the one you mentioned
There are advantages and disadvantages to TM, as with any other app. One of the main advantages of TM is the very fast, hourly, incremental backups of additions and changes. This gives you an excellent chance of recovering a previous version of something that was changed or deleted in error (such as "Save" instead of "Save as"), or somehow corrupted.
And there really isn't any workflow, once it's set up (which is also quite easy). TM just does it's thing.
First it does a full backup of everything on your system (less some caches, system workfiles, logs, trash, etc.). That, of course, is a lengthy process.
Thereafter, it will do an incremental backup hourly, as long as your Mac is awake and the external drive is attached.
It automatically "thins" your backups, including when the TM drive/partition gets near full, deleting the oldest backups to make room for new ones.
Maybe you are looking for
-
Dear All, I just bought the new Ipad mini, and I have a problem when I'm signing in on my apple id I just made, 1) when I sign in it logs in but a pop window appear with this message: this apple id not yet used on apple store, then it give me 2 optio
-
Where did all my custom EQ settings go?
Yea, where?
-
How to attach the .emp files and .rar files in this forum.
Dear Sir , I want to attach the ".emp" file or .emp file stored in the "rar", how to attach these files in this forum because whenever I am going to attch the .emp file or .rar file , it is showing the error that " The contents
-
Symbol came up near the battery percentage
Symbol came up by the battery percentage, looks like a lock, how can I get rid of it
-
When in firefox my Yahoo opens but i can't see my messages in my in box?
I have had firefox for over 2 years now but when i open Yahoo in the past week it seems to open fine except it won't let me see my messages this also happens on my hotmail account, But when I use chrome or Out look everything is fine. I reinstalled F