1,485 questions
1
vote
1
answer
56
views
How is length of a string encoded when the bounds of the string are not defined in UPER encoding for the ASN when length exceeds 127
If I have the ASN.1 schema as shown below and I want to encode
message "...
2
votes
1
answer
161
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
1
answer
234
views
videoplayer.stop() causes JVM crash under Windows 11 (certain video codecs only)
After migrating my Java vlcj application to my new Windows 11 machine, the program crashes on calling vlcjplayer.stop(). I am using vlcj 4.8.2 in combination with VLC 3.0.21. I am shipping my own ...
3
votes
1
answer
142
views
iOS PHAsset to check if a video is HEVC or H.264
Any way to retrieve if a video from gallery is H.264 or HEVC by using PHPickerViewController from PHAsset?
Below are the images in H.264 and HEVC from details information.
This image is H2.264.
This ...
1
vote
2
answers
160
views
How to Handle Both Encoding and Decoding with Custom Error Handler in Python?
I'm working on a scenario where I need to handle encoding and decoding of strings using custom error handling in Python. Specifically, I want to create an error handler that can deal with both ...
0
votes
0
answers
110
views
WM8731 correctly set doesn't detected in Embedded Linux
On a SoM imx6-based with wm8731 on board, I set it in device tree:
sound {
compatible = "fsl,imx-audio-wm8731";
model = "wm8731-audio";
cpu-dai = <&...
5
votes
0
answers
2k
views
Flutter Video Player: MediaCodecVideoRenderer Error on Android with ExoPlayer
I’m encountering an issue with Flutter’s video_player package while trying to play a video on Android. The video player fails to initialize with the following error:
PlatformException(VideoError, ...
1
vote
2
answers
271
views
What function does `CreateIconFromResourceEx()` use to decompress PNG resources?
Icons in .dll or .exe files are stored in the resources segment as Windows DIBs or PNGs since Windows Vista.
What function/library is used by the CreateIconFromResourceEx() WinAPI function in the ...
1
vote
2
answers
234
views
MediaRecorder on Chrome produces a truncated mp4 with the 'avc1' mediaType
When using MediaRecorder on Chrome (Javascript on windows) with the avc1 option on chrome the generated blob is truncated as opposed to the vp9 option,
Here are the 2 options as explained in Recording ...
0
votes
0
answers
73
views
Why is sys.stdout adjustment needed to print Unicode in Python?
I scraped some data from the web using:
import requests
from bs4 import BeautifulSoup
def get_lines_from_url(url):
response = requests.get(url)
if response.status_code == 200:
soup = ...
0
votes
1
answer
105
views
Safari not streaming embedded player
I run my own online radio station using a simple embedded audio player to stream. The stream works on all browsers on Mac, Windows, and Android. It does not stream in Safari or any browser on iOS. ...
1
vote
0
answers
41
views
No sound from codec LINEOUT on NXP LPC55s36
I'm using LPC55s36 i ran i2s_dma_transfer example, i changed pins like example say.
I'm not getting any sound out of codec LINEOUT jack port.
wm8904_config_t wm8904Config = {
.i2cConfig = {....
1
vote
2
answers
312
views
Where to find the first nal unit in the mdat payload of an MPEG4 file containing h265 video?
in my quest for fixing corrupt GoPro files, I am writing a decoder based on an MPEG4 parsing lib, but I now have to dig deeper in the h265 stream, and I'm having a hard time finding where the first ...
0
votes
0
answers
75
views
How do I Access Both Eye Images from LAV Video Decoder for 3D Blu-ray in C#?
I want to decode a 3D Blu-ray and handle the left and right eye images in my C# application. I have constructed a filter using DirectShowLib with a SampleGrabber to display and inspect the raw RGB32 ...
1
vote
1
answer
138
views
How is choice index encode in UPER when an extension is present
If I have the ASN.1 schema as shown below (I have truncated it to remove useless data) and I want to encode dm200 following the uPER rules, then I get the following encoding.
{
"messageData&...