mp4

Unable to Save Video to Camera Roll (Objective C)

自古美人都是妖i 提交于 2019-12-08 04:10:50
问题 So I've been trying to accomplish this for quite some time now, but unfortunately none of the solutions posted on stack, or the ones I tried to write myself seem to work. I am building an application that allows users to take pictures and videos, and other users to save these down. I am using AWS services to save the content. Although the returned URL using NSLog, shows me the video when copy/pasting it to a browser, it refuses to save to the camera roll. Saving pictures however works fine.

Export HTML5 blob video to MP4

£可爱£侵袭症+ 提交于 2019-12-08 03:08:00
问题 I am trying to use Chrome's screen sharing feature to make a screen recorder and save the video in MP4 format. However, I have no idea how I do this. The demo is at https://figgycity50.kd.io/screencap.html (include https!) and the code is: <video autoplay></video> <button>start</button> <script> navigator.getUserMedia = navigator.webkitGetUserMedia || navigator.getUserMedia; var stream = null; button = document.querySelector("button"); function start(e) { // Seems to only work over SSL.

MP4 video not playing on Firefox in the <video> tag, plays if directly opened

有些话、适合烂在心里 提交于 2019-12-08 02:34:19
问题 I have a small home server that hosts several items, among them a few MP4 sample videos. I've been using a simple <video> tag to play the videos, and it worked well for for Firefox, Chrome and Internet Explorer. However, for some unknown reason my server started locking up a few months back, so I have decided to reinstall the OS. I have salvaged the previous installation from the hard drive and I have re-used (where possible) the configuration files for various components. Everything worked

How to read information from .3gp and .mp4 using ffmpeg-php?

£可爱£侵袭症+ 提交于 2019-12-07 20:27:02
问题 I have a bit of a problem with ffmpeg-php. I'm trying to get some information from video files and it works pretty fine with file formats like .avi, .mpg or .flv but when I try to use .3gp or .mp4 in: $movie = new ffmpeg_movie('path/to/file/test.3gp'); I get error like this : ffmpeg_movie::__construct() []: ISO: File Type Major Brand: 3gp5 or ffmpeg_movie::__construct() []: ISO: File Type Major Brand: mp42 I installed ffmpeg-php on WAMP using instructions found here: How to install FFMpeg in

Uploading mp4 files using PHP

梦想的初衷 提交于 2019-12-07 19:47:55
问题 I am able to upload png/jpegs/images using PHP upload script but am not able to upload mp4 files on my local server. Script is not displaying any error. <?php ini_set('display_startup_errors',1); ini_set('display_errors',1); error_reporting(-1); //include authentication here/ Gmail is good solution for now //check if it's not allowing any other extenstion other than MP4 $allowedExts = array("gif", "jpeg", "jpg", "png","mp4"); $temp = explode(".", $_FILES["file"]["name"]); print_r($_FILES[

html 的一些 标签

流过昼夜 提交于 2019-12-07 19:01:19
HTML 5 <section> 标签 定义文档中的节(section、区段)。比如章节、页眉、页脚或文档中的其他部分。 <section> hello world! </section> <video> 标签 <video> 是 HTML 5 中的新标签。 <video> 标签的作用是在 HTML 页面中嵌入视频元素。 以下 HTML 片段会显示一段嵌入网页的 ogg、mp4 或 webm 格式的视频: 最好的 HTML 解决方法 HTML 5 + <object> + <embed> <video width="320" height="240" controls="controls"> <source src="movie.mp4" type="video/mp4" /> <source src="movie.ogg" type="video/ogg" /> <source src="movie.webm" type="video/webm" /> <object data="movie.mp4" width="320" height="240"> <embed src="movie.swf" width="320" height="240" /> </object> </video> 上例中使用了 4 中不同的视频格式。HTML 5 <video> 元素会尝试播放以 mp4

IOS Web App Video Caching Playback Issue (mp4)

大城市里の小女人 提交于 2019-12-07 09:30:25
问题 Hello, I'm running the most recent version of iOS (5.0.1) on an iPad2 and cannot get the caching of .mp4 videos to work properly . I've added the necessary listeners to listen for applicationCache events and then write to the console when those events happen, most notably, when my app is cached as noted here: https://developer.apple.com/library/archive/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html Using the debug console in mobile

using ffmpeg to convert gif to mp4 , output doesn't play on android

女生的网名这么多〃 提交于 2019-12-07 08:05:42
问题 I just use the following command to convert a gif file to mp4 but the resulting mp4 file doesn't play in android default video player . what did I wrong ? is there any aditional steps should I take to produce android playable mp4 files ? $ ffmpeg -f gif -i infile.gif outfile.mp4 my test gif file : Test Gif File My desktop played the output.mp4 very well using VLC Media Player and also MX Player on my android device played the video file without any error. 回答1: Try this: ffmpeg -i file.gif

mux raw h 264 to an mp4 file, some odd errors

不羁的心 提交于 2019-12-07 07:43:27
What I'm doing is on an IOS app with Xcode 7.3. I got h264 data from an ip camera using UDP,the data can be decoded and displayed rightly (decoded by ffmpeg). Now I want to mux the raw H264 data to an mp4 file(some users may want to record what they are watching on his cell-phone), using ffmpeg. Nothing wrong happened when the code is running, and the result file can be played normally with QuickTime on my computer. But when played on iphone with iphone's default video player, it can't be played normally.Here is my code. Wish someone could tell me what should I do, thanks! init AVFormatContext

iOS- how to get the duration of .mp4 file by using AVAsset or AVURLAsset

試著忘記壹切 提交于 2019-12-07 06:14:01
问题 i know duration of video type questions have been answered before but i am facing real trouble in getting duration of an .mp4 file by using AVAsset and by AVURLAsset . i am using Following code NSString *itemPathString = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)objectAtIndex:0] stringByAppendingPathComponent:obmodel.actualname]; NSURL *itemPathURL = [NSURL URLWithString:itemPathString]; if([[NSFileManager defaultManager] fileExistsAtPath:itemPathString]