Questions tagged [mpeg]

MPEG - Class of Compression standards and related algorithms, tools and systems

MPEG is a name for (set) of standards defined for Audio, Video and it's transmission and is majorly used in Television Broadcast, Internet streaming and VCD/DVD based distribution.

435 questions
3
votes
1 answer

MPEG4 out of Raw RTP Payload

Okay I got the following problem: I have an IP Camera which is able to stream MPEG4 data over RTP I am able to connect to this camera via RTSP I can receive the raw RTP data. So what problems do I have now? 1. Extract Data What is the data I…
Toby
  • 3,815
  • 14
  • 51
  • 67
3
votes
1 answer

Embed Background Audio in Android >= 2.3 Browser

This question has been asked before, but all of the threads I have found have been regarding Android 2.2 and earlier. I am working on a mobile site that needs to embed a live mpeg-type stream. I would prefer that the stream continue playing even…
3
votes
2 answers

MPEG backwards frame decoding using FFmpeg

I have so-called "block's" that stores some of MPEG4 (I,p,p,p,p...) frames. For every "block", frame starts with an "I" frame, and ends before next "I" frame. (VOL - "visual_object_sequence_start_code" is allways included before the "I" frame) I…
Gediminas
  • 1,830
  • 3
  • 27
  • 47
3
votes
4 answers

MPEG-TS, Android and FFMPEG

I am receiving the MPEG-TS (MPEG transport stream) packets with the multiplexed H.264 video and AAC audio streams. I need to be able to show the audio and video on the Android phone. My assumption is that I need: MPEG-TS de-multiplexer AAC decoder…
STeN
  • 6,262
  • 22
  • 80
  • 125
3
votes
0 answers

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 this in a twilio media stream it has to be…
J.Gudal
  • 131
  • 3
3
votes
3 answers

Video size (horizontal and vertical) from MPEG-2 Transport Stream

I need to know how to get the height and width, and any other descriptive data I can, out of an MPEG Transport Stream (TS). Before this answer shows up: I'm well aware of the video sequence header (00 00 00 B3). That's part of the spec for an MPEG…
Dodger
  • 142
  • 2
  • 10
3
votes
1 answer

How to embed metadata with in mpeg2ts

I want to embed metadata about a particular stream with in a mpeg2ts. which is the best field with in transport stream to embed this information. Can i embed this information with in the adaptation field of the mpeg2ts header. Thank you Guru
3
votes
0 answers

Exoplayer demo stuck in buffering state

I'm using the Google Exoplayer demo app to test some h264 streams that I've transcoded. All the files I have created stall in the demo app in the buffering state. No errors are thrown in Android Studio and everything appears to be working correctly…
3
votes
1 answer

Extract raw I frame image data from MPEG-2 Transport Stream (H.264 - Annex B) byte stream

Context I'm attempting to extract raw image data for each I-frame from an MPEG-2 Transport Stream with a H.264 annex B codec. This video contains I-frames on every 2 second interval. I've read that an I-frame can be found in after an NALu start code…
Jarvis Prestidge
  • 326
  • 1
  • 10
3
votes
2 answers

How to parse this Apple-specific MPEG file header?

I have an MPEG file which starts like this: 0: 00 0f 6d 79 5f 66 69 6c 65 6e 61 6d 65 2e 6d 70 ..my_filename.mp 10: 67 00 04 fc 00 00 f0 00 b2 10 39 a8 b2 10 39 ad g.........9...9. 20: 0f 6d 79 5f 66 69 6c 65 6e 61 6d 65 2e 6d 70 67 …
pts
  • 80,836
  • 20
  • 110
  • 183
3
votes
1 answer

Repeated PTS/DTS in a PES header

When processing an MPEG-2 Transport Stream into an elementary stream and 2 PES Headers are encountered in a row with the same PTS/DTS how should these be handled in regard to storing timing meta data? Should the duplicate be ignored? If so does the…
Andrew
  • 742
  • 8
  • 21
3
votes
0 answers

how to use ffmpeg to cache a stream

i am using the following command to copy a live stream and restream it to a different endpoint. This works Ok , but the problem is that the stream breaks up/buffer occurs on client/stuttering and does not run smoothly or even fails. Here is the…
Marcel
  • 31
  • 3
3
votes
1 answer

What is the significance of non-IDR IFrame?

For random access, I am under the impression that we need IDR (nal_unit_type=5), instead of non-IDR Iframe (nal_unit_type=1). Is this true? If so, what's point to have GOP start with a non-IDR Iframe, since a non-IDR Iframe is not enough to decode…
Rio Wing
  • 662
  • 5
  • 12
3
votes
1 answer

Coding a certain MP4 GOP with FFMPEG

I have a .y4m video file, and I want to convert it to .mp4 using FFmpeg. The problem is that I want a certain kind of GOP, this one: IBBPBBPBBPBB. But what I get, when I set the GOP size to 12 (-g 12) is IPPPPPPPPPPP. I've also tried using the -bf 8…
Javi
  • 53
  • 1
  • 5
3
votes
5 answers

Hardware JPEG decompression / Win32

I know that most graphics hardware uses MPEG hardware decompression. I would like to use the hardware to decompress JPEG images. Does anyone know of a book or link to any information about using this functionality, or can tell me anything about…
user579480
  • 115
  • 2
  • 7