quicktime

How to remove or edit Exif from mp4 video?

孤街醉人 提交于 2019-12-20 08:37:03
问题 I recorded a Full HD video with Samsung Galaxy II, when I uploaded it to YouTube I found that it turned to 90 degrees like Portrait layout 1080x1920 NOT 1920x1080. I found the cause of the problem: YouTube is reading video metadata and rotate video acording Exif orientation before encoding This is ExifTool report (please see last tag "Rotation"): ExifTool Version Number : 8.61 File Name : video.mp4 Directory : . File Size : 217 MB File Modification Date/Time : 2011:08:11 00:47:23+04:00 File

Export every frame as image from a Movie-File (QuickTime-API)

纵饮孤独 提交于 2019-12-19 04:39:12
问题 I want to open an existing Movie-File and export every frame of this file to an image like JPEG or TIFF. I got so far until now: int main(int argc, char* argv[]) { char filename[255]; // Filename to ping. OSErr e; // Error return. FSSpec filespec; // QT file specification short filemovie; // QT movie handle. Movie movie; // QT movie "object". InitializeQTML(0); EnterMovies(); // Because of QT's Mac origin, must convert C-string filename // to Pascal counted string, then use that to make a

Export every frame as image from a Movie-File (QuickTime-API)

不羁的心 提交于 2019-12-19 04:39:07
问题 I want to open an existing Movie-File and export every frame of this file to an image like JPEG or TIFF. I got so far until now: int main(int argc, char* argv[]) { char filename[255]; // Filename to ping. OSErr e; // Error return. FSSpec filespec; // QT file specification short filemovie; // QT movie handle. Movie movie; // QT movie "object". InitializeQTML(0); EnterMovies(); // Because of QT's Mac origin, must convert C-string filename // to Pascal counted string, then use that to make a

How to password protect streaming videos with php

末鹿安然 提交于 2019-12-17 16:36:11
问题 What is the best way to password protect quicktime streaming videos using php/.htaccess. They are being streamed using rtsp, but I can use other formats if necessary. I know how to do authentication with php, but I'm not sure how to setup authentication so that will protect the streaming files urls so that a user can't just copy the url and share it. Or am I overthinking this and I can just use a normal authentication scheme and place the files in a protected directory? 回答1: Both nginx and

Flipping Quicktime preview & capture

孤者浪人 提交于 2019-12-14 03:44:28
问题 I need to horizontally flip some video I'm previewing and capturing. A-la iChat, I have a webcam and want it to appear as though the user is looking in a mirror. I'm previewing Quicktime video in a QTCaptureView . My capturing is done frame-by-frame (for reasons I won't get into) with something like: imageRep = [NSCIImageRep imageRepWithCIImage: [CIImage imageWithCVImageBuffer: frame]]; image = [[NSImage alloc] initWithSize: [imageRep size]]; [image addRepresentation: imageRep]; [movie

“Plugin handled load” dialog appears when playing a video within a web page within UIWebView

拜拜、爱过 提交于 2019-12-14 03:42:04
问题 If I click on a link to a video within a web page being displayed by UIWebView then the video plays but a dialog pops up saying "Plugin handled load". Does anybody know why this happens and how to stop it from happening? This is not a duplicate of: Playing videos in UIWebView broken in iOS4? as I am not creating a UIWebView with a zero size frame, which is described as the cause. (Am using iOS 5) 回答1: The problem would seem to be in the fact the UIWebView does not include the same user agent

What combinations of video formats and video and audio codecs can be played in most modern browsers using html5?

拥有回忆 提交于 2019-12-14 03:01:10
问题 We want to play video with audio using the <video> tag. What combinations of video formats and video and audio codecs can be played in most modern browsers using html5? For example, can the files be in Quicktime container format? Can they be h.264 and MP3 inside of Quicktime and still play in most browsers? Can they be h.264 and AAC inside of Quicktime and still play in most browsers? We do not care about Internet Explorer older than version 11. We do care about current versions of Chrome,

QTMovieCurrentSizeAttribute and QTMovieSizeDidChangeNotification replacements

纵饮孤独 提交于 2019-12-13 13:12:58
问题 Does anyone know the correct way to replace old QTMovieCurrentSizeAttribute and QTMovieSizeDidChangeNotification tasks? I'm trying to clean out old deprecated code. I've found that QTMovieNaturalSizeDidChangeNotification is not a replacement for QTMovieSizeDidChangeNotification . Likewise QTMovieNaturalSizeAttribute is not a replacement for QTMovieCurrentSizeAttribute . Natural Size refers to the QTMovie 's native resolution, while Current Size refer to the resolution at which a QTMovie is

Reading Geolocation from Quicktime Movies with Java (Xuggler)?

﹥>﹥吖頭↗ 提交于 2019-12-12 14:47:01
问题 I need to retrieve geolocation data from QuickTime MOVs recorded on the iPhone/iPad, from a Java application. I am currently investigating the Xuggler media framework; I was hoping I could use Xuggler's IMetaData interface to read out the UserData portion of the Quicktime file. Unfortunately, the only fields retrieved by Xuggler are "major_brand", "minor_version", "compatible_brands", "year", and "year-eng". I know from viewing the video's info in Quicktime that GPS coordinates are embedded.

Closing QuickTime by Applescript

♀尐吖头ヾ 提交于 2019-12-12 03:12:37
问题 I am trying to play a movie fullscreen one time, then close the player programmably. I have tried using QTMovieView, command line and AppleScript and found the Applescript is the most simple way. BUT, as I really don't know Applescript, I can not make the QuickTime auto close after movie playing. Everything works fine but the "done" was unrecognized in the repeat line. Here is the script with this error: error "QuickTime Player got an error: Can't make done of document 1 into type specifier."