Questions tagged [video-processing]

Video processing deals mostly with filtering video frames. Most common filters are noise removal, contrast and color modifications. For questions related to trimming and modifying videos use [video-editing], and [video-encoding] for questions related to editing videos into any format.

Video processing is a particular case of signal processing, which often employs video filters and where the input and output signals are video files or video streams. Video processing techniques are used in television sets, VCRs, DVDs, video codecs, video players, video scalers and other devices.

Most common filters are noise removal, contrast and color modifications. Relevant questions should include specific filters.

See also:

3028 questions
11
votes
3 answers

Android 6.0 - Set video speed with PlaybackParams

I have problems about how to implement PlaybackParams to set video speed: public PlaybackParams getPlaybackParams () Added in API level 23 Gets the playback rate using PlaybackParams. PlaybackParams setSpeed (float speed) //Sets the speed…
11
votes
1 answer

Scene change/shot detection/image extraction using ffmpeg from video

I am trying to get representative frames for a video, so as to remove redundant frames which might appear in a video. This is what I use to get the frames. ./ffmpeg -i video.mp4 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 2 -s 320x240…
Bharat
  • 2,139
  • 2
  • 16
  • 35
11
votes
3 answers

Decoding H264 VideoToolkit API fails with Error -8971 in VTDecompressionSessionCreate

I am trying to write a Video decoder using the Hardware supported Video Toolkit Decoder. But if I try to initialize the decoding session like in the example posted below, I get the error -8971 while calling VTDecompressionSessionCreate. Can anyone…
lowtraxx
  • 321
  • 3
  • 8
11
votes
1 answer

Pause & resume video capture using AVCaptureMovieFileOutput and AVCaptureVideoDataOutput in iOS

I have to implement functionality to repeatedly pause and resume video capture in a single session, but have each new segment (the captured segments after each pause) added to the same video file, with AVFoundation. Currently, every time I press…
Subhasis
  • 111
  • 1
  • 3
11
votes
4 answers

Extracting subtitles from mp4

I got an assignment of retrieving subtitles from a mp4 file I want to know how to do this, by java or c++, does it depends on mp4 encoding format and I want to know the basic concepts of different video formats and basic concepts of video…
vector
  • 493
  • 1
  • 5
  • 14
11
votes
6 answers

decode a mp4 video with gstreamer

I want to play a mp4 video in Gstreamer, but i got an error with the x264dec which is not found. I wrote this pipeline gst-launch filesrc \ location=/media/thesis/Gstreamer/pub_Irma.mp4 \ ! qtdemux name=demux demux. ! queue ! faad \ !…
KKc
  • 324
  • 1
  • 5
  • 16
11
votes
2 answers

Video files conversion/transcoding Google App Engine

I want to start a cloud computing project with the simple task to: Receive uploaded video files Do some transcoding / converting to them Allow user to download / stream the generated file I was thinking ffmpeg as an external command line tool…
Vasilis
  • 107
  • 1
  • 4
11
votes
2 answers

Play video on the android recorded from the iPhone

I am writing video based social app for iOS and android(WinPhone is under waiting). I recorded video in mov format using AVFoundation framework on the iPhone and uploaded it to the server. It can be downloaded and played on the iPhone client. But on…
ttotto
  • 826
  • 3
  • 13
  • 31
10
votes
2 answers

Possible to capture still frames from a Youtube video?

I have a website based in PHP and I'm looking for a way to take a Youtube URL and capture still frames based on a specified interval (for example, capturing still frames every 5 seconds of a 1 minute youtube video)? How could I go about doing this?…
Ryan
  • 2,650
  • 3
  • 29
  • 43
10
votes
6 answers

Looping a video with gstreamer and gst-launch?

I am able to play a video on the command line with gstreamer's gst-launch like this: gst-launch gnlfilesource location=file:///tmp/myfile.mov start=0 duration=2000000000 ! autovideosink This plays the first 2 seconds of the file in /tmp/myfile.mov,…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
10
votes
1 answer

Prevent ffmpeg from changing the intensity of colors while downscaling the resolution of the video

I have a use case where I need to downscale a 716x1280 mp4 video to 358x640 (half of the original). Command that I used is ffmpeg -i ./input.mp4 -vf "scale=640:640:force_original_aspect_ratio=decrease,pad=ceil(iw/2)*2:ceil(ih/2)*2" ./output.mp4 Out…
dravit
  • 553
  • 6
  • 16
10
votes
3 answers

cv2.VideoWriter: Asks for a tuple as Size argument, then rejects it

I'm using OpenCV 4.0 and Python 3.7 to create a timelapse video. When constructing a VideoWriter object, the documentation says the Size argument should be a tuple. When I give it a tuple it rejects it. When I try to replace it with something else,…
Travis Williams
  • 171
  • 1
  • 6
10
votes
1 answer

Video Scene Detection Implementation

I am looking for a video scene detection algorithm implementation. Any programming language used for the implementation is acceptable. I found this implementation but it is very sensitive to small changes and inaccurate.
firas
  • 1,463
  • 4
  • 19
  • 42
10
votes
1 answer

How to detect selected Media is Time-Lapse, Slow-Motion or .mp4

Creating an application for image and video processing, where app requirement is set device Orientation according to selected video content orientation from the gallery. So I have used some line of code to get selected media current orientation…
Sumit singh
  • 2,398
  • 1
  • 15
  • 30
10
votes
3 answers

Adding subtitles to a movie using moviepy

I'm tried to follow this example how to add subtitles to a movie clip: from moviepy.video.tools.subtitles import SubtitlesClip from moviepy.video.io.VideoFileClip import VideoFileClip subs = [((0, 3), 'sub1'), ((3, 7), 'sub2'), ((9,…
Noam Peled
  • 4,484
  • 5
  • 43
  • 48