video

Using FFMPEG to add a single frame to end of MP4

风格不统一 提交于 2021-02-18 16:34:55
问题 I have written some image acquisition software and as I am acquiring these images I want to add the last image onto the end of a video file (a time-lapse of all images acquired so far). This will give a video view of all the images. However I am struggling with trying to add the single frame. I have generated the time-lapse fine. The way I am doing this is waiting until I have gathered 10 images, then I generate the time-lapse. The command I have used to generate the time-lapse I will be

Using FFMPEG to add a single frame to end of MP4

老子叫甜甜 提交于 2021-02-18 16:33:40
问题 I have written some image acquisition software and as I am acquiring these images I want to add the last image onto the end of a video file (a time-lapse of all images acquired so far). This will give a video view of all the images. However I am struggling with trying to add the single frame. I have generated the time-lapse fine. The way I am doing this is waiting until I have gathered 10 images, then I generate the time-lapse. The command I have used to generate the time-lapse I will be

Is it possible to merge two video files to one file, one screen in iOS?

∥☆過路亽.° 提交于 2021-02-18 12:11:42
问题 I'm new to video programming. I'm trying to exercise it but I'm having trouble, which merges two video files to one. The merge I mean is as follows.. I have first video like this Second video also like this I want them to merge like this I didn't want to use 2 video players because I want to send the merged video file to someone. I searched all day to solve this, but I could't find how to. I wrote code referencing this link but it shows first video only, not merged. My Code: NSURL *firstURL =

ffmpeg Using -movflags faststart

做~自己de王妃 提交于 2021-02-18 08:07:33
问题 I tried to use the command -movflags faststart And got the following error: Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\uploads\1\videos>ffmpeg -i simple1.mp4 -codec copy -map 0 -movflags faststart output.mp4 -movflags faststart output.mp4 ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 6 2011 22:02:08 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable

ffmpeg convert from H.264 (High 4:4:4 Profile) to H.264 (Main Profile)

我的未来我决定 提交于 2021-02-17 15:20:08
问题 How can I convert a video from H.264 (High 4:4:4 Profile) to H.264 (Main Profile) using ffmpeg? I can't do that with this command: ffmpeg -i 1/25359.mp4 -profile:v main out.mp4 . That'd return an error: ... That'd return an error: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1/25359.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.40.101 Duration: 00:00:06.08, start: 0.000000, bitrate: 1059 kb/s Stream #0:0(und): Video: h264 (High 4:4:4

Request HTML5 video fullscreen on Apple's devices

China☆狼群 提交于 2021-02-16 21:22:36
问题 Hello guys I have got custom fullscreen icon that triggers fullscreen on my video. Everything is ok except that it doesn't work on Apple's devices. Do you know how to fix that? $('.fullscreen_btn').click(function() { fullscreen=true; var mediaElement = document.getElementById('videoAbout'); if(mediaElement.requestFullScreen) { mediaElement.requestFullScreen(); } else if(mediaElement.webkitRequestFullScreen) { mediaElement.webkitRequestFullScreen(); } else if(mediaElement.mozRequestFullScreen)

Request HTML5 video fullscreen on Apple's devices

旧街凉风 提交于 2021-02-16 21:21:07
问题 Hello guys I have got custom fullscreen icon that triggers fullscreen on my video. Everything is ok except that it doesn't work on Apple's devices. Do you know how to fix that? $('.fullscreen_btn').click(function() { fullscreen=true; var mediaElement = document.getElementById('videoAbout'); if(mediaElement.requestFullScreen) { mediaElement.requestFullScreen(); } else if(mediaElement.webkitRequestFullScreen) { mediaElement.webkitRequestFullScreen(); } else if(mediaElement.mozRequestFullScreen)

Canvas that created from video raising “Tainted canvases may not be exported.” error when saving

醉酒当歌 提交于 2021-02-16 21:01:50
问题 I'm creating snapshot from HTML5 video, using this example. Video is hosted on 3rd party servers, that I can't control. So I wanted to save image, but toDataURL failing because of security reason. Here is error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. I guess there is a solution for image. img.crossOrigin = "Anonymous" something like that. Here and here. I tried videoDomElm.crossOrigin = "Anonymous" , but no luck. Is there any solution for

Canvas that created from video raising “Tainted canvases may not be exported.” error when saving

不问归期 提交于 2021-02-16 21:00:58
问题 I'm creating snapshot from HTML5 video, using this example. Video is hosted on 3rd party servers, that I can't control. So I wanted to save image, but toDataURL failing because of security reason. Here is error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. I guess there is a solution for image. img.crossOrigin = "Anonymous" something like that. Here and here. I tried videoDomElm.crossOrigin = "Anonymous" , but no luck. Is there any solution for

Canvas that created from video raising “Tainted canvases may not be exported.” error when saving

被刻印的时光 ゝ 提交于 2021-02-16 21:00:22
问题 I'm creating snapshot from HTML5 video, using this example. Video is hosted on 3rd party servers, that I can't control. So I wanted to save image, but toDataURL failing because of security reason. Here is error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. I guess there is a solution for image. img.crossOrigin = "Anonymous" something like that. Here and here. I tried videoDomElm.crossOrigin = "Anonymous" , but no luck. Is there any solution for