2,775 questions
1
vote
0
answers
121
views
C# WinUI3 Is it possible to use ffmpeg to decode using hardware and then render using win2d?
I'm using FFmpeg.AutoGen and Microsoft.Graphics.Win2D in C# to decode and render from an H264 Frame byte[] event. I've currently achieved smooth AirPlay screen mirroring using CanvasAnimatedControl ...
2
votes
1
answer
153
views
Can someone parse this H264/AVC SPS payload? [closed]
I am trying to parse this SPS payload to understand the H264 codec better, I am successful for the most part, but having hard time parsing or understanding num_units_in_tick and time_scale details for ...
1
vote
0
answers
108
views
Resolution constraints for MediaFoundation SinkWriter for H264/MP4?
I'm doing something very similar to this tutorial for using MediaFoundation SinkWriter for encoding video from a set of frames, except that I'm initializing it with MFVideoFormat_H264 to output .mp4 ...
0
votes
1
answer
78
views
the mediacode become too slow when the APP go background?
I am using MediaCodec to transform the screen to H.264 and then send it to my desktop C++ software.
And when the app goes to the background (I open another), the H264 becomes too slow.
Then I think I ...
1
vote
1
answer
246
views
ffmpeg how to set max_num_reorder_frames H264
Anyone know how can I set max_num_reorder_frames to 0 when I am encoding H264 video ?
You can find in the docs as uint8_t H264RawVUI::bitstream_restriction_flag
PS. Based on the discussion in the ...
1
vote
2
answers
175
views
Using gstreamer discoverer inside C++ code
currently I’m building an application that will need to handle different types of streams, some of them are H264 and some other are MJPEG, thus I’m trying to build C++ code that generates the adecuate ...
1
vote
1
answer
426
views
Mpegts js avc1.640028 Interlaced video not playing on Chrome
I am using mpegts js library for live streaming. We aim to play the live stream urls (.ts format) sent by our users.
The interlaced video below gives a black image in chrome but no problem in firefox
...
1
vote
0
answers
103
views
Encoding problem with x264 and not divisible by 4 resolutions
I'm encoding frames using H264 from BRGA to Yuv420p with high preset. It works fine with most resolutions, but images on 1366x768 are heavily distorted. So far, I've found that if width or height is ...
0
votes
1
answer
126
views
How to set keyframe interval rpi camera with gstreamer
We are getting h264 video from rpi camera, but could not set keyframe interval. Is there a way? This is our command
libcamera-vid -t 0 --inline --bitrate 2000000 --width 1920 --height 1080 --framerate ...
2
votes
0
answers
105
views
FFMPEG Corrupt output remuxing MP4 (Using API in C) -First file OK, 2nd file onwards is not
I have a simple application written in C - it takes the video from a RTSP camera and just writes to disk in 1 minute segments. The first file created works fine, plays on anlmost anything. The Second ...
0
votes
1
answer
97
views
Does OpenH264 v2.5.0 support spatial SVC?
I am using OpenH264 version 2.5.0 and I need to know whether it supports spatial SVC (Scalable Video Coding) or not. If it does support it, how should I configure the encoder settings for spatial SVC? ...
1
vote
0
answers
231
views
Failed to use h264_v4l2 codec in ffmpeg to decode video
I am working on an embedded Linux system (kernel-5.10.24) and I want to use ffmpeg libraries (ffmpeg-4.4.4) to do video decoding.
The C code is as follows, it uses h264_v4l2m2m decoder to decode the ...
1
vote
0
answers
48
views
What does the left_block_options array represent in the fill_decode_neighbors function of FFmpeg?
I am studying the source code of FFmpeg, specifically the fill_decode_neighbors function. I am trying to understand how the decoding process works, especially the usage of the left_block_options array....
1
vote
1
answer
451
views
FFmpeg h264_v4l2m2m encoder changing aspect ratio from 16:9 to 1:1 with black bars
When switching from libx264 to h264_v4l2m2m encoder in FFmpeg for YouTube streaming, the output video's aspect ratio changes from 16:9 to 1:1 with black bars on the sides, despite keeping the same ...
0
votes
0
answers
109
views
Parsing and decoding socket stream to create HTML video&audio
I have a socket stream constantly sending me partial Binary data such as shown in image below:
When I console.log() the next data chunk it appears as something as base64 as sample below:
...