Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8166375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:50:33+00:00 2026-06-06T19:50:33+00:00

Why are are videos selected with UIImagePickerController high and medium video quality settings resulting

  • 0

Why are are videos selected with UIImagePickerController high and medium video quality settings resulting in exactly the same video attributes, at least on devices like the iPhone4 and iPad3?

Details:

We are using UIImagePickerController to let our app users pick images or videos from the photo library and then transfer them up to their servers. We let the users select the video quality of high, medium or low which we map directly to the UIImagePickerControllerQualityTypeHigh, UIImagePickerControllerQualityTypeMedium and UIImagePickerControllerQualityTypeLow videoQuality constants.

When a 10 second or so video, shot outside of our app with the camera, is picked and sent on the 3GS (iOS 5.0) we see a distinct difference with each quality setting, for example:

  • low: 226KB at 144×192, codec: AAC H.264
  • medium: 1.1MB at 360×480, codec: AAC H.264
  • high: 5MB at 480×640, codec: AAC H.264

When we try the same on the iPhone4 or iPad3 (we happen to have those devices handy; not sure it happens on only those devices) we are seeing that the low setting generates an equivalent low-res result, but the high and medium setting give us the same results, something like this:

  • low: 194KB at 144×192, codec: AAC H.264
  • medium: 2.87MB at 720×1280, codec: AAC H.264
  • high: 2.87MB at 720×1280, codec: AAC H.264

(Note that the medium and high results are identical.)

The original from the device is 12.8 MB at 720×1280, codec: AAC H.264 at a higher bit rate.

Can any explain what’s going on here? I’d like to be able to explain it to our customers, even better point at something in Apple’s doc that covers this.

Thanks in advance for any help…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:50:36+00:00Added an answer on June 6, 2026 at 7:50 pm

    The video quality setting only applies when capture videos and not picking them from the video picker. The setting is clearly listed under the capture settings section below.

    http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html

    You can use the code below to export the video in the original form. Just pass the URL value of the selected video and the function will return the path for the exported video.

    +(NSString*) videoAssetURLToTempFile:(NSURL*)url
    {
        NSString * surl = [url absoluteString];
        NSString * ext = [surl substringFromIndex:[surl rangeOfString:@"ext="].location + 4];
        NSTimeInterval ti = [[NSDate date]timeIntervalSinceReferenceDate];
        NSString * filename = [NSString stringWithFormat: @"%f.%@",ti,ext];
        NSString * tmpfile = [NSTemporaryDirectory() stringByAppendingPathComponent:filename];
    
        NSURL *outputURL = [NSURL fileURLWithPath:tmpfile];
    
        AVURLAsset *asset = [AVURLAsset URLAssetWithURL:url options:nil];
        AVAssetExportSession *exportSession = [[AVAssetExportSession alloc] initWithAsset:asset presetName:AVAssetExportPresetHighestQuality];
        exportSession.outputURL = outputURL;
        exportSession.shouldOptimizeForNetworkUse = YES;
        exportSession.outputFileType = AVFileTypeQuickTimeMovie;
        [exportSession exportAsynchronouslyWithCompletionHandler:^(void) 
        {
            NSLog(@"Export Complete %d %@ %@", exportSession.status, exportSession.error, outputURL);
            [exportSession release];
        }];
    
        return tmpfile;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there some way to retrieve the dimensions of a video selected by UIImagePickerController?
I've been using the Youtube API to grab thumbnail images of selected videos but
I have three tables: videos, videos_categories, and categories. The tables look like this: videos:
i am using following code to show video library -(IBAction)showVideoLibrary { UIImagePickerController *videoPicker =
I have users , videos , topics , criterias and ratings A video has
I am developing a video recording application and I would like to be able
I am watching the ASP.NET learn video on http://www.asp.net/learn/3.5-videos/video-13.aspx and it is showing you
i needs to create a video from the image selected. i have code it
Is there a way to enable video compression on video files recorded with UIImagePickerController?
So, using a HTML 5 compliant video player, (like Video JS) how would one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.