video-editing

Technology for video encoding and decoding on Windows Phone 8

人走茶凉 提交于 2019-12-06 06:45:27
问题 I want to know answers for the below questions as I'm totally confused with what to do and how to do. I thought of developing one video editor application for Windows Phone 8. But I couldn't find out the proper API that supports doing this. On browsing and on seeing the Microsoft website I came to know that DirectShow is completely not used in Windows Phone 8. If so, the only alternative is Media Foundation. Does media foundation support video editing, which includes encoding and decoding, on

Watermarking on existing video

狂风中的少年 提交于 2019-12-06 04:14:36
问题 I'm looking for a method to watermarking on a video with C#. As writing text on it. Image or text label... How can I do it? Thanks. 回答1: You can use Nreco Video Converter The Code will look like NReco.VideoConverter.FFMpegConverter wrap = new FFMpegConverter(); wrap.Invoke("-i D:\\input.mp4 -i D:\\inputImage.png -filter_complex \"overlay=10:10\" D:\\Output.mp4"); 回答2: What about the great framework from AForge? http://www.aforgenet.com/ 回答3: The great people at Splicer for .Net have already

How to add chapters into mp4/mkv file using ffmpeg?

家住魔仙堡 提交于 2019-12-06 03:28:26
Currently i'm using MKVToolNix for my needs which is fine but i would prefer some CLI also. As far as i know ffmpeg supports chapters management. The ffmetadata format allows you to add chapters to a file. Have a look at https://ffmpeg.org/ffmpeg-formats.html#Metadata-1 for an example. cippu_lux Sorry maybe I'm not clear, and editing the answer I have messed up worst. I'm not English. Like Alex Zubkov I want add chapters to video with ffmpeg via cmd. The instruction in the page linked by MRousse don help me at all, but help me to solve 1st problem: Problem file was not in UTF-8. Problem was

FFmpeg concatenation, no Audio in Final Output

房东的猫 提交于 2019-12-05 19:15:53
I have the following command working in ffmpeg, which adds 1 second of a black frame to the beginning of the video. However, I lose the audio from the original video in the output video. How can I adjust the command to make sure the original audio stays with the final output, or better yet, there is 1 second of "blank" audio at the beginning so it matches the new output video. ffmpeg -i originalvideo -f lavfi -i color=c=black:s=1920x1080:r=25:sar=1/1 -filter_complex "[0:v] setpts=PTS-STARTPTS [main]; [1:v] trim=end=1,setpts=PTS-STARTPTS [pre]; [pre][main] concat=n=2:v=1:a=0 [out]" -map "[out]"

AVfoundation blur background in Video

十年热恋 提交于 2019-12-05 15:30:17
问题 In my application I have fix composition render size of 1280 x 720. So if will import any portrait video then I have to show blur background with fill and aspect frame of video in centre. Same like this: https://www.youtube.com/watch?v=yCOrqUA0ws4 I achieved to play both videos using AVMtableComposition , but I don't know how to blur a particular background track. I did following in my code: self.composition = [AVMutableComposition composition]; AVAsset *firstAsset = [AVAsset assetWithURL:

How can I trim a video from Uri, including files that `mp4parser` library can handle, but using Android's framework instead?

巧了我就是萌 提交于 2019-12-04 23:10:48
Background Over the past few days, I've worked on making a customizable, more updated version of a library for video trimming, here (based on this library ) The problem While for the most part, I've succeeded making it customizable and even converted all files into Kotlin, it had a major issue with the trimming itself. It assumes the input is always a File, so if the user chooses an item from the apps chooser that returns a Uri, it crashes. The reason for this is not just the UI itself, but also because a library that it uses for trimming ( mp4parser ) assumes an input of only File (or

how to add text on video in iPhone

别说谁变了你拦得住时间么 提交于 2019-12-04 21:02:22
I want to add a text or string ON the video being played by MPMoviePlayerViewController in a way that it becomes part of the video being played. So that, when I post that video on Facebook or Twitter the text must be shown above the video. For this I have tried getting all the frames of the video and then write text on each of those frames and then again make a video of all those frames. But this way, I am getting memory issues and it crashes on the device. - (NSArray*)getVideoFramesFromMovieController:(MPMoviePlayerViewController*)mpMoviePlayerVC { NSLog(@"Getting frames from a video asset.")

Watermarking on existing video

北慕城南 提交于 2019-12-04 11:08:43
I'm looking for a method to watermarking on a video with C#. As writing text on it. Image or text label... How can I do it? Thanks. amit singh baghel You can use Nreco Video Converter The Code will look like NReco.VideoConverter.FFMpegConverter wrap = new FFMpegConverter(); wrap.Invoke("-i D:\\input.mp4 -i D:\\inputImage.png -filter_complex \"overlay=10:10\" D:\\Output.mp4"); What about the great framework from AForge? http://www.aforgenet.com/ Brian H The great people at Splicer for .Net have already developed some C# code that does what you are looking for, but unfortunately I have heard

Understanding/controlling MLT melt slideshow?

天涯浪子 提交于 2019-12-04 06:33:16
问题 Consider the following bash script (on Ubuntu 18.04, melt 6.6.0), which uses melt to make a slideshow and play it locally in a window (SDL consumer), mostly copied from https://mltframework.org/blog/making_nice_slideshows/ ( edit: I'm aware that's its possible to specify files individually as in https://superuser.com/questions/833232/create-video-with-5-images-with-fadein-out-effect-in-ffmpeg/834035#834035 - but that approach seems to scale images during transition, and takes quite a while to

AVfoundation blur background in Video

夙愿已清 提交于 2019-12-04 01:38:04
In my application I have fix composition render size of 1280 x 720. So if will import any portrait video then I have to show blur background with fill and aspect frame of video in centre. Same like this: https://www.youtube.com/watch?v=yCOrqUA0ws4 I achieved to play both videos using AVMtableComposition , but I don't know how to blur a particular background track. I did following in my code: self.composition = [AVMutableComposition composition]; AVAsset *firstAsset = [AVAsset assetWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"ScreenFlow_Blend" ofType:@"mp4"]]]; [self