Playing videos from a quicktime file VS youtube

Hi,
I am building an app which needs to be able to play videos. My choices are:
1. Play directly from Youtube (not sure of the size of file, but is 10min long approx in SD).
2. Play a quicktime file which is approx 50MB in size from the web
Does anyone have an opinion on the performance of the two methods? Sorry if I haven't provided enough information.
Many thanks

https://developer.apple.com/library/ios/codinghowtos/AudioAndVideo/

Similar Messages

  • How come my apple tv won't play video from my iphone 5 through youtube? it would play the sound from it but can't see the video.

    I just bought my appletv not to long ago. i know it works for the 4s but i just got the iphone5, i try to play a video on youtube from my phone  i could hear the sound but the video won't show on my tv screen. do anyone know if there is something i can do to be able to play sound and video to my tv from my iphone5?

    make sure the router allow the ports required
    TCP and UDP ports used by Apple software products - Apple Support

  • While playing videos from YouTube it stops playing on my iPad2

    While playing videos from YouTube it stops playing on my iPad2

    Try to download the application VLC.
    It is a media player that should be able to play any audio or video file you may have. If your videos play flawlessly using that application, then the issue is with iTunes and Quicktime, as they are both essentially similar software types when it comes to playing media.
    In that case you may need to install a plug-in file called Perian, in order for the videos to play correctly within iTunes or at least Quicktime...

  • HT204291 I can play videos from youtube and it does just fine, but when I try to play videos i've bought from itunes in my "videos", it plays the sound but no video.  Please advise,,,

    Using airplay, with Iphone5 latest os, appletv3, I can play videos from youtube and internet just fine, but when I try to play videos bought from Itunes in my "videos" file, it only plays sound, no video.  Please advise,,,

    I am also having this issue.  Hear but not see. I am using the iTunes video app on my iPad to play a show I bought on iTunes.   A little pop up box comes up on the lower left of my tv showing the show , I can hear it but not see it.  Rebooted Apple TV and iPad. No help.  

  • My iPhone 5s stopped playing videos from web, Facebook, youtube, instagram etc. What should i do?????

    My iPhone 5s stopped playing videos from web, Facebook, youtube, instagram etc. What should i do?????

    Hi 361,
    If you are having issues with your iPhone not playing video from any source, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    iOS: Force an app to close
    Next, I would try restarting the iPhone -
    Turn your iOS device off and on (restart) and reset
    If the issue is still present, you may want to restore the iPhone as a new device -
    How to erase your iOS device and then set it up as a new device or restore it from backups
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

  • Firefox won't play videos from YouTube, Hulu, etc. w/latest Flash version.

    Despite following both Firefox and Flash directions, Firefox won't play videos from YouTube, Hulu, etc. They either never load or they load and freeze within seconds. Before I got the latest versions of Firefox and Flash, I did not have this problem. So there must be a problem in one or both of them. Since I understand from various websites that this is a widespread problem, can Firefox fix this? It's a major flaw in the latest Firefox version.

    '''If you are running Adblock Plus...'''
    While on a YouTube page, right click the ABP icon and "open blockable items".
    When the window opens at the bottom of the page, right click this line: http://s.ytimg.com/yt/swfbin/watch_as3-vfl9DouAr.swf (or some variation) , then "Disable Filter".

  • My video playback out...every video shakes/flashes/doesn't play right. What's wrong? I thought the hard drive was too full, but I just deleted 125gigs, rebooted and it still flashes and doesn't play videos. This is true for youtube, ads, foxnews videos...

    My video playback out...every video shakes/flashes/doesn't play right. What's wrong? I thought the hard drive was too full, but I just deleted 125gigs, rebooted and it still flashes and doesn't play videos. This is true for youtube, ads, foxnews videos...

    Update: The iBook can play any 480p video and higher if I encode them with DivX and in AVI format. But of course this is not compatible with my iPhone 4. At least I can shrink my library now and get away from the full MPEG-2s. I don't get why I can't use Apple's h264 though. There has to be a setting I am missing. The sample Apple h264 videos from the days of Tiger worked flawlessly on my iBook when it was new so the CPU must be capable of decoding it. I really can't understand this.
    Also, since I made my videos in English for my family, I had to create soft subtitles for my wife's Chinese family, and I can't get players like QT with perian or MPlayerX to sync them properly to an AVI encoded with DivX, they only sync well with the iPhone 4 m4v/mp4 formatted files I made. This is a real pickle.
    So now I may need three or four copies of each video, LOL. I need to hardcode the subtitles if I want to use AVI to playback on older machines, and keep the mp4 file for the iDevices too, while keeping higher quality h264 videos for my American relatives...
    If h264 is compatible with my iBook, what is the proper encoding settings? Must I dramatically lower the settings or frame rate? I can settle on 2 copies of each video that way. One iBook/G4/eMac compatible video that syncs correctly with my srt soft subs, and another version that works well with my iPhone 4 and iPad.
    All in all, I will end up with more than 3 or 4 version of each video. On my late G5 dual core I have the full 720-1080p uncompressed master files. On my i5 iMac I have the h264 compressed versions for distribution, and lower versions for my iDevices. Now I need to keep either full MPEG-2 files for the iBook to play, or convert to older formats like DivX AVI for our family's legacy machines. I am running out of hard disk space quick now, LOL.
    Is there an easier way?

  • Play video from external HD to Apple TV

    I would like to play videos from an external drive to the Apple TV.
    The workarounds I've seen all involve moving the entire iTunes library to the external drive. I want to keep all my music on the internal HD but the videos on the external HD.
    Suggestions?

    Launch iTunes on your computer
    Mac - iTunes > Preferences > Advanced
    PC - Edit > Preferences > Advanced
    Uncheck 'Copy files to iTunes media folder when adding to library'
    This will allow you to drag and drop videos from the external drive to iTunes without copying to the internal drive. Once in iTunes you should be able to watch them on your Apple TV
    Hope that helps

  • Playing video from iPad to TV

    I bought the AV cable at the Apple store yesterday and tried it out. I can play
    video from the Video app, the Netflix app, and the YouTube app without a
    problem. But I can't play anything from the ABC app or the Hulu Plus app (the
    free stuff - I'm not subscribed yet) or the HGTV app. I get sound, but no
    picture. Anyone know why? Am I doing something wrong?

    I just tried to watch from the ABC Player on the TV, doesn't work. The app description in the app store doesn't indecate you can watch it on a TV. And there nowhere on the app to switch viewing from the iPad to the TV. So, I would say you can't view this on a TV.

  • I am not able to play videos from YoyTube, or videow posted on my blog. That does not happens with explorer, where videos are playing normal

    I am not able to play videos from YouTube, or videow posted on my blog, when I use Fire Fox. That did not happened before the 3.6.14 and allthouhg you informed us that with the 3.6.15 the problem will dissapear, it does not happen. Take into consideration that, with explorer, everything is running fine. I am a long time user o firefox and I donnot want to change. Please give me advise how to solve thiw problem. Tanhks in advance

    Hi, My computer shuts down when I try to do any thing with graphics, ie, watching streamed video or looking at my photo's. this is a recent problem, anyone got any idea's

  • Playing video from a capture device - Out of memory for video buffers?

    Hello guys, I'm having problems playing video from a video capture device when not using JMStudio. When I use JMStudio, the video plays real time with no problems, but when I use code taken from a java book which is a simple Media Player, I get the following error:
    "Error is Error: Out of memory for video buffers."
    My capture device is working and I don't know why i get this error when trying to watch the video feed from a program other than JMStudio. I also tried different code that has worked in the past with the same exact capture device and I still get the same error. Please help, I have no clue at this point. The code for the simple media player is below, it's taken out of the book "Java: How to Program (4th edition)":
    Thanks in advance, I am very greatful
    Miguel
    device info: vfw:Microsoft WDM Image Capture (Win32):0
    When I type the locator, I am typing vfw://0, I also tried just vfw://
    and I get the same error.
    // Fig. 22.1: SimplePlayer.java
    // Opens and plays a media file from
    // local computer, public URL, or an RTP session
    // Java core packages
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    // Java extension packages
    import javax.swing.*;
    import javax.media.*;
    public class SimplePlayer extends JFrame {
         // Java media player
         private Player player;
    // visual content component
    private Component visualMedia;
    // controls component for media
    private Component mediaControl;
    // main container
    private Container container;
    // media file and media locations
    private File mediaFile;
    private URL fileURL;
    // constructor for SimplePlayer
    public SimplePlayer()
    super( "Simple Java Media Player" );
    container = getContentPane();
    // panel containing buttons
    JPanel buttonPanel = new JPanel();
    container.add( buttonPanel, BorderLayout.NORTH );
    // opening file from directory button
    JButton openFile = new JButton( "Open File" );
    buttonPanel.add( openFile );
    // register an ActionListener for openFile events
    openFile.addActionListener(
    // anonymous inner class to handle openFile events
    new ActionListener() {
    // open and create player for file
    public void actionPerformed( ActionEvent event )
    mediaFile = getFile();
    if ( mediaFile != null ) {
    // obtain URL from file
    try {
    fileURL = mediaFile.toURL();
    // file path unresolvable
    catch ( MalformedURLException badURL ) {
    badURL.printStackTrace();
    showErrorMessage( "Bad URL" );
    makePlayer( fileURL.toString() );
    } // end actionPerformed
    } // end ActionListener
    ); // end call to method addActionListener
    // URL opening button
    JButton openURL = new JButton( "Open Locator" );
    buttonPanel.add( openURL );
    // register an ActionListener for openURL events
    openURL.addActionListener(
    // anonymous inner class to handle openURL events
    new ActionListener() {
    // open and create player for media locator
    public void actionPerformed( ActionEvent event )
    String addressName = getMediaLocation();
    if ( addressName != null )
    makePlayer( addressName );
    } // end ActionListener
    ); // end call to method addActionListener
    // turn on lightweight rendering on players to enable
    // better compatibility with lightweight GUI components
    Manager.setHint( Manager.LIGHTWEIGHT_RENDERER,
    Boolean.TRUE );
    } // end SimplePlayer constructor
    // utility method for pop-up error messages
    public void showErrorMessage( String error )
    JOptionPane.showMessageDialog( this, error, "Error",
    JOptionPane.ERROR_MESSAGE );
    // get file from computer
    public File getFile()
    JFileChooser fileChooser = new JFileChooser();
    fileChooser.setFileSelectionMode(
    JFileChooser.FILES_ONLY );
    int result = fileChooser.showOpenDialog( this );
    if ( result == JFileChooser.CANCEL_OPTION )
    return null;
    else
    return fileChooser.getSelectedFile();
    // get media location from user input
    public String getMediaLocation()
    String input = JOptionPane.showInputDialog(
    this, "Enter URL" );
    // if user presses OK with no input
    if ( input != null && input.length() == 0 )
    return null;
    return input;
    // create player using media's location
    public void makePlayer( String mediaLocation )
    // reset player and window if previous player exists
    if ( player != null )
    removePlayerComponents();
    // location of media source
    MediaLocator mediaLocator =
    new MediaLocator( mediaLocation );
    if ( mediaLocator == null ) {
    showErrorMessage( "Error opening file" );
    return;
    // create a player from MediaLocator
    try {
    player = Manager.createPlayer( mediaLocator );
    // register ControllerListener to handle Player events
    player.addControllerListener(
    new PlayerEventHandler() );
    // call realize to enable rendering of player's media
    player.realize();
    // no player exists or format is unsupported
    catch ( NoPlayerException noPlayerException ) {
    noPlayerException.printStackTrace();
    // file input error
    catch ( IOException ioException ) {
    ioException.printStackTrace();
    } // end makePlayer method
    // return player to system resources and
    // reset media and controls
    public void removePlayerComponents()
    // remove previous video component if there is one
    if ( visualMedia != null )
    container.remove( visualMedia );
    // remove previous media control if there is one
    if ( mediaControl != null )
    container.remove( mediaControl );
    // stop player and return allocated resources
    player.close();
    // obtain visual media and player controls
    public void getMediaComponents()
    // get visual component from player
    visualMedia = player.getVisualComponent();
    // add visual component if present
    if ( visualMedia != null )
    container.add( visualMedia, BorderLayout.CENTER );
    // get player control GUI
    mediaControl = player.getControlPanelComponent();
    // add controls component if present
    if ( mediaControl != null )
    container.add( mediaControl, BorderLayout.SOUTH );
    } // end method getMediaComponents
    // handler for player's ControllerEvents
    private class PlayerEventHandler extends ControllerAdapter {
    // prefetch media feed once player is realized
    public void realizeComplete(
    RealizeCompleteEvent realizeDoneEvent )
    player.prefetch();
    // player can start showing media after prefetching
    public void prefetchComplete(
    PrefetchCompleteEvent prefetchDoneEvent )
    getMediaComponents();
    // ensure valid layout of frame
    validate();
    // start playing media
    player.start();
    } // end prefetchComplete method
    // if end of media, reset to beginning, stop play
    public void endOfMedia( EndOfMediaEvent mediaEndEvent )
    player.setMediaTime( new Time( 0 ) );
    player.stop();
    } // end PlayerEventHandler inner class
    // execute application
    public static void main( String args[] )
    SimplePlayer testPlayer = new SimplePlayer();
    testPlayer.setSize( 300, 300 );
    testPlayer.setLocation( 300, 300 );
    testPlayer.setDefaultCloseOperation( EXIT_ON_CLOSE );
    testPlayer.setVisible( true );
    } // end class SimplePlayer

    somebody? anybody? I know there are some JMF professionals in here, any ideas?
    I was reading the Sun documentation and it said something about increasing the JVM memory buffer or something? Well, i'm just clueless at this point.
    Help a brotha out!

  • How do I play videos from an SD_Video card?

    How do I play videos from an SD_Video card?

    Click on the SD card that appears on your desktop until you get to the DCIM folder.  Click on folder until you get to the movie files.  Drag these files onto your desktop.  You can erase the ones on your SD card if you do not want to same them on there.
    Depending on the movie file types you should be able to play them w/either QT 10, QT 7.x or VLC.  It helps to have Perian installed.
    Also, helps if you would advise us which OS is installed on your MBP and which model MBP you have.  Some come w/a built-in SD slot, others you will need a card reader.

  • Play video from memory/cache

    Hi All,
    Is it possible to play video from memory or cache? I trying to build a video player. And I am using NetStream.play(). It can play a local file,  but how can I load the a file into memory first, do some modification, and then play it?
    Thanks a lot!

    If you mean "can I play a video file's video part via AppleTV and the audio part via the Macbook" then the answer is no.
    You could probably play the video on AppleTv and also play it on the Macbook and output the audio, but you would have to do this manually, and 2 applications accessing the same video file might cause stuttering playback issues. Additionally you'd have to manually sync the audio and lip sync problems are annoying at the best of times.
    If you mean "can I watch a video from AppleTV and play separate music via iTunes on the Macbook", then the answer is yes.
    AC

  • Play video from input stream

    urgent
    i need to play an mpg file from a jar file but the Manager.createPlayer now only Url object
    is there any other way to play video from InputStream?

    You may want to take a look at this:
    http://www.extollit.com/isdsjmf.php
    I developed a similar implementation of this for a client and it works fine. It's based on using a sequential InputStream as a DataSource for the media player. As you may already know, the Java Media Framework does not seem to support URLDataSource and/or sequential InputStreams.
    This code allows you to play media from nothing more than an InputStream without downloading it all into memory or to a local file. It uses a ringbuffer as a compromise along with some other enhancements.

  • Play video from apple tv and audio from macbook , its possible, please ?

    play video from apple tv and audio from macbook , its possible, please ?
    because i dont have airport and i have a micro plugged to my speakers

    If you mean "can I play a video file's video part via AppleTV and the audio part via the Macbook" then the answer is no.
    You could probably play the video on AppleTv and also play it on the Macbook and output the audio, but you would have to do this manually, and 2 applications accessing the same video file might cause stuttering playback issues. Additionally you'd have to manually sync the audio and lip sync problems are annoying at the best of times.
    If you mean "can I watch a video from AppleTV and play separate music via iTunes on the Macbook", then the answer is yes.
    AC

Maybe you are looking for

  • Assigning value to field in proxy report

    Hello, I am writing the abap report for sproxy. The link to the field in structure is very long. e.g. it-fault_message_mt-request-calldata-requester-gid = 'Z12345'. In the structure one field in calldata is ADDITIONAL_ATTRIBUTE which is of table type

  • PC to Mac conversion problem

    Trying to help out a PC-to-Mac convert here. He has been using his iPhone with iTunes on a PC, which has since gone belly up. He just got a brand spanking new MacBook Pro! The problem happened when he hooked up his iPhone to his new laptop and the fi

  • Using aniPod with no computer?

    Sounds crazy, but I am inquiring for an aquaintence who has won an iPod and a radio/alarm/ipod player. He is completely computer illiterate and has no direct access to a computer. Someone had mentioned to him that he may be able to send his iPod out

  • What system do you recommend for FCP work?

    Modern iMacs are pretty powerfull now, and the price jump to the pro's is high. What limitations would there be in using a 27" iMac with the new i5 CPU and say 8GB $200 upgrade instead of a Mac Pro?

  • Premiere Pro CS5 Compatibility with Sony DSR-25 Deck

    I have recently upgraded my computer to support cs5.  I have a PNY Nvidia Quadro 2000 graphics card, 8 gb ram, an Intel Xeon 5150 processor and Windows 7 Professional 64-bit.  My issue comes with running this system connected via firewire to a Sony D