Questions tagged [video-codecs]

Questions related to video compression and decompression methods. This includes popular video codec standards like H.264, MPEG4.

A video codec is a device or software that enables video compression or decompression for digital video. The compression usually employs lossy data compression.

More details at http://en.wikipedia.org/wiki/Video_codec

171 questions
2
votes
4 answers

What HTML5 video codecs should be used?

I have a video running in the background of my website. It's HTML5 with a jpg fallback. I use this HTML
2
votes
0 answers

Merge video files using Concat filter in FFmpeg

I am using FFmpeg to concat video files of different codecs in my android application. I read the FFmpeg documentation and tried the following things. 1. ffmpeg -i "concat:input1.mpg|input2.mpg" -c copy output.mp4 (works only for mpg files) 2.…
vijay
  • 637
  • 3
  • 9
  • 20
1
vote
1 answer

FFmpeg avcodec_open2 throws -22 ("Invalid Argument")

I got stuck trying to write a simple video conversion using C++ and ffmpeg. When trying to convert a video using FFmpeg, calling avcodec_open2 fails with the code "-22" which seems to be an "Invalid Argument"-error. I can't figure out why it fails,…
1
vote
1 answer

How do I indentify an I-frame in H265 stream?

I am working on a C++ application in which my application is receiving H265 frames from an external application and stores it on disk whenever required, but the storing needs to be start only from I-frame because if it starts from P frame, those…
1
vote
1 answer

How to synchronise a screen recording with the real time?

My use case is that my program programmatically captures screen recording videos from computers or attached mobile devices, e.g.: ffmpeg -f avfoundation ... adb shell screenrecord ... xcrun simctl io booted recordVideo ... any other similar…
noomorph
  • 837
  • 1
  • 6
  • 14
1
vote
1 answer

Which video format/codecs should I use for HTML

I see other questions addressing the same subject: What HTML5 video codecs should be used? Which video and audio format/codec should I use? But they are old and on this subject having updated information I think is crucial. I am using now…
fguillen
  • 36,125
  • 23
  • 149
  • 210
1
vote
1 answer

how to set gop size of vp8, video codec, in webrtc?

I'm using the video conference implementation source code using webrtc and nodejs. I managed to set VP8 as codec for the video streaming using setCodecPreferences method as follows: rtcPeerConnection = new RTCPeerConnection(iceServers) ....... …
Ahmad Alhilal
  • 444
  • 4
  • 19
1
vote
0 answers

MediaSource does not work with supported codecs

I tried to work with MediaSource, but it works only with the video file from the MDN example. Although MediaSource.isTypeSupported(mimeCodec) returns true for videos which I tested, the videos are not showed anyway. Here is the videos I used list…
KeyKi
  • 2,693
  • 3
  • 12
  • 24
1
vote
0 answers

how increase quality and decrease frame rate in webrtc?

we are using android and IOS devices to stream images to a backend for analysis. we opt to use webrtc to decrease delay and latency. I succeed with changing focus and exposure settings on the fly and high constant resolution 2592x1944 frames while…
1
vote
1 answer

Size of RTP padding h264 over rtp

According to RFC 6184 in 5.6. Single NAL Unit Packet : 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0…
MicrosoctCprog
  • 460
  • 1
  • 3
  • 23
1
vote
2 answers

Converting G2M3 and G2M2 encoded Videos (GoToMeeting Videos) to a video type that FFMPEG supports

I'm developing a PHP application that uses FFMPEG-PHP to split videos and convert them to FLV. And I ran into this problem : FFMPEG does not support G2M3 or G2M2 encoded videos, and I have to make the process of splitting and converting videos…
KarimMesallam
  • 290
  • 8
  • 19
1
vote
1 answer

Showing (youtube)-videos in a QWebEngineView

I'm having a WebBrowser application that uses the QWebEngineView (Qt 5.9). I want to load a page, where a Youtube video is embedded. The page loads perfectly but the video is not working. The message I get when it tries to start is:Requests to the…
Vanessa
  • 49
  • 8
1
vote
0 answers

Streaming live MJPEG video with Gstreamer via OpenCV

I have a USB webcam that streams MJPEG video. I'm trying to read the stream into OpenCV on a laptop, do some processing to the frames in OpenCV, and send the stream out over UDP to a raspberry pi. Using the gstreamer command line interface, I can…
1
vote
1 answer

reverse engineering lossless video codec (photoshop format video layer)

I'm implementing decoding photoshop (PSD) files. They have the format mostly documented, but not all. In newer versions of photoshop you can have video layers. And the video layer data is stored within a 'PxSD' tag (the contents are not documented).…
user1643428
  • 143
  • 4
1
vote
1 answer

Multithreading in HM reference software

Encoding an UHD sequences with HEVC HM reference software takes days on CPU’s even with monster computers, I want to know if it’s possible and then how to increase the number of threads (even if it decreases the quality of the encoding) to speed up…
Mourad
  • 60
  • 6