435 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
79
views
AAC from HLS TS causes clicks when decoded to PCM per segment
I'm working on a custom HLS audio player for iOS.
Each .ts segment contains AAC audio. I extract AAC from each TS file, decode it to PCM (using FFmpegKit), and schedule it using AVAudioEngine.
❗ ...
0
votes
0
answers
42
views
Can MPEG-TS contain both PSI and PES packets in the same PID?
More specifically, can PMT table be carried in the same PID as that program's video stream?
I've ran into a MPEG-TS sample recently which does that. Understandably, FFmpeg cannot process it correctly. ...
0
votes
0
answers
139
views
Issue Muxing KLV Metadata with GStreamer 1.20.3 on Ubuntu 22.04
I'm working on a GStreamer pipeline that muxes H.264 video and KLV metadata into an MPEG-TS stream using mpegtsmux. While this setup functions correctly with GStreamer 1.16.3, I'm encountering issues ...
0
votes
0
answers
42
views
SCD (Scalable Color Descriptor) and CLD(Color Layout Descriptor) image extraction code in Python
I somehow can't find good code documentation or tutorial on SCD and CLD image extraction on the internet. Where can I find the documentation? preferably on python because I need it for my project. It'...
0
votes
1
answer
38
views
Intra prediction for edge boundary block
What would be the values of (A, B, C, D, M, I, J, K, L) for the top left-upper block (edge block) in H.264/AVC intra-prediction?
image 1: Intra block layout
The second picture shows that, in this ...
0
votes
1
answer
1k
views
Media3 ExoPlayer Not Playing FLV, ASF, or MPEG Formats: What Are the Solutions?
I'm currently working on an Android app using Media3 ExoPlayer, and I'm facing issues with playing media files in FLV, ASF, and MPEG formats. I’ve tried loading these files, but ExoPlayer seems to ...
1
vote
0
answers
94
views
should I ignore the packet if the banned_zero_bit of the NAL Unit is 1(true)?
I'm trying to check if a NAL unit is valid. I found that the video packets have PID 256 and are encoded in H.264/AVC. I filtered the packets that have PUSI as true and apparently they all start a NAL ...
1
vote
0
answers
170
views
How to convert MPEG2-TTS to MPEG2-TS format to playback using ffplay
I know some OSS such as ffmpeg or gstreamer don't support to play-back MPEG2-TTS stream.
Then, I tried to convert 192 bytes TTS packet to 188 bytes TS packet by deleting first 4 bytes like:
def ...
0
votes
0
answers
265
views
How to correctly encrypt the I-frames in video files?
I'm trying to encrypt only the I-frames of a video file so that the energy overhead is lessened compared to if I tried to encrypt the whole file. However, after encrypting what I thought were the I-...
user avatar
user21612887
0
votes
0
answers
101
views
How to play audio from a stream that contains a MPEG file?
My program receives MPEG audio as a stream and I want to play that stream as soon as it's received by the app. I am already familiar with SoundPlayer but it only supports .wav files and I've seen ...
0
votes
1
answer
325
views
Convert 10 bit number to mantissa-exponent and vice-versa
From: ST 2022-3:2010 - SMPTE Standard https://ieeexplore.ieee.org/document/7290021
How do I understand and do this:
Maximum_bit_rate (Mode 1 only): This field shall contain a
10-bit number where the ...
0
votes
1
answer
196
views
Does MPEG-Dash live have ?begin parameter in their URI to start playback from a particular position
I have a MPEG-DASH URI like below
https://test.com/default/index.mpd?begin=20230222T120430
where i have begin parameter specifying from where to start the playback. This is a dynamic MPD.
I want to ...
4
votes
0
answers
765
views
How do I convert raw audio/binary mpeg data into audio/x-mulaw with a sample rate of 8000 and base64 encoded in NodeJS?
I'm reading the docs of https://www.twilio.com/docs/voice/twiml/stream#websocket-messages-to-twilio.
I'm currently using a TTS API that returns back raw audio/mpeg binary data. But in order to play ...
0
votes
2
answers
769
views
How to get better video quality using Accord.Video.FFMPEG.DLL
I have developed a Visual Studio Winapp that produces a video file utilizing Accord.Video.FFMPEG.DLL.
The quality the video is less than the original images.
Here is the code and then a sample ...
2
votes
1
answer
951
views
How to turn binary from server back into audio file?
I am using express's res.sendFile() to send an .mp3 file from my server to my client as a response to a post request.
I have been unable to transform the string of data (binary, I think?) back into a ...