Questions tagged [video-encoding]

This tag should be used for questions related with programmatically handling of video encoding in any format. For questions related to trimming and modifying videos use [video-editing], and [video-processing] for questions related to processing videos with filtering video frames.

Video encoding (and video compression) reduces redundancy in video data with algorithms and codecs. Most of the techniques are to combine spatial image compression and temporal motion compensation.

See also:

Read more:

950 questions
3
votes
2 answers

Convert a video file to an image sequence of equal length?

How using FFMPEG do I convert a video file to a sequence of images that is equal in duration/frames to the original video file? I'm trying to import video into the non comercial version of Nuke on Linux which refuses to accept h.264 and doesn't have…
Jeremy
  • 645
  • 7
  • 19
3
votes
2 answers

Using FFMpeg to determine video-type, converting afterwards?

I'm trying to determine the real type of a file programmatically. It seems I have to use for example FFMPeg for that. I want to determine if an uploaded file is in fact a MP4 or FLV (for flash videos) [or WebM (for HTML5)]. I know the -i operator…
sinni800
  • 1,451
  • 14
  • 29
3
votes
3 answers

ffmpeg (libavcodec) warning: encoded frame too large

I'm trying to use libavcodec (ffmpeg) to encode raw pixel data to mp4 format. Every thing goes well and I'm getting .avi file with decent quality but some times the codec gives "encoded frame too large" warning. And when ever it does that, a part of…
ivymike
  • 1,511
  • 2
  • 20
  • 27
3
votes
2 answers

AS3 Video Encoding at runtime with high compression (H.264?)

I need to compress video image data (lets say a display object) in AS3 to a Byte Array with high compression at runtime. Framerate only needs to be around 5 but 1024x768 video needs to go to < 40 Kilobyte per Second without the quality beeing tooo…
TobiHeidi
  • 1,201
  • 2
  • 14
  • 23
3
votes
2 answers

Video iphone question - 720p on iphone 3g/3gs?

This may be a ridiculous question - but I know nothing about videos, video files or playback. If I have videos in 720p format (high definition) will they play normally on an iphone 3g/3gs which doesn't support high def? Or will I have to have 2…
Thomas Clayson
  • 29,657
  • 26
  • 147
  • 224
3
votes
0 answers

x264 Decoding time increases with zerolatency

Reference - Why sliced thread affect so much on realtime encoding using ffmpeg x264? With Zerolatency / sliced-threads enabled, I am observing that the decoding time shoots up! I am encoding on my Windows 10 laptop and streaming to Samsung S4 phone…
3
votes
3 answers

How to send video streaming to WOWZA server using RTSP from iOS app?

I am new in capturing video(AVFoundation) and WOWZA server. I have checked many solutions but didn't find any tutorials or libraries on "How to work with WOWZA server using RTSP". I found one project VideoCore on GitHub but it works only on RTMP.…
bhavesh
  • 109
  • 14
3
votes
1 answer

Is it possible to encode very large video in Media Foundation (larger than 4K)

It seems that the max resolution for the built in H264 MFT is 4096 × 2304 pixels according to the documentation. https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815(v=vs.85).aspx Is it possible to use a different MFT that would allow…
cloudraven
  • 2,484
  • 1
  • 24
  • 49
3
votes
2 answers

Making Video files Android ready for playback over HTTP

I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and…
Samuh
  • 36,316
  • 26
  • 109
  • 116
3
votes
1 answer

Cannot setup windows media video 9 screen encoder

Having trouble when setting up the input type. I'm getting this error: MF_E_INVALIDMEDIATYPE: The data specified for the media type is invalid, inconsistent, or not supported by this object. Any ideas how to fix it? The error is returned at…
Bgt
  • 41
  • 3
3
votes
2 answers

Frames dropped when using the precompiled OpenH264 binary provided by Cisco

I am experiencing a problem with frames being dropped when using the precompiled OpenH264 binary provided by Cisco. However, if I compile the library myself without modifying the source, I do not have that issue. I need to use the precompiled binary…
Pantelis
  • 6,086
  • 1
  • 18
  • 21
3
votes
2 answers

Which video format(s) should a webapp serve?

I need to put up a few videos on a Webapp and I'm a bit lost. My requirements are: DRM is not a concern at all it should work on the iPhone (and iPad) and on the main browsers (Safari, Internet Explorer, Firefox, Opera). it is not a problem at all…
NoozNooz42
  • 4,238
  • 6
  • 33
  • 53
3
votes
2 answers

Android: How to use MediaMuxer with video/mp4v-es instead of video/avc?

I want to be able to use mp4v-es instead of avc on some devices. The encoder runs fine using avc, but when I replace it with mp4v-es, the muxer reports: E/MPEG4Writer(12517): Missing codec specific data as in MediaMuxer error "Failed to stop the…
user1592546
  • 1,480
  • 1
  • 14
  • 30
3
votes
0 answers

How to add encoders/codec to opencv

So I am trying to use opencv VideoWriter but the thing is it only has about 5 codec options and does not have the codecs I would like to use such as HFYU (which support an alpha channel). I want to know what exactly I need to do to get opencv to be…
Ahmed-Anas
  • 5,471
  • 9
  • 50
  • 72
3
votes
2 answers

How to ensure YouTube API only returns videos that are streamable on iPhone?

I'm building some YouTube search functionality into an iPhone app and want to ensure that I only receive results that will be playable on the device. According to the Searching for videos section in the API reference doc this seems to be relatively…
prendio2
  • 1,885
  • 17
  • 25