Questions tagged [mpeg-2]

Questions related to MPEG-2, an ISO/IEC standard for video/audio compression and systems. MPEG-2 standard was successor to MPEG-1 standards. MPEG-2 is at the core of most digital television and DVD formats.

MPEG-2 is a standard for "the generic coding of moving pictures and associated audio information". It describes a combination of lossy video compression and lossy audio data compression methods which permit storage and transmission of movies using currently available storage media and transmission bandwidth.

MPEG-2 is widely used as the format of digital television signals that are broadcast by terrestrial (over-the-air), cable, and direct broadcast satellite TV systems. It also specifies the format of movies and other programs that are distributed on DVD and similar discs.

MPEG-2 systems specification, encompasses MPEG transport stream (used in ATSC/DVB/ISDB/SBTVD broadcasting, and HDV recording on tape) and MPEG program stream (used as container format in file-based media such as hard disk drives, optical discs and flash memory)

Sources:

  1. http://en.wikipedia.org/wiki/MPEG-2
82 questions
1
vote
2 answers

Writing PTS/DTS to MPEG Stream (Gstreamer)

So, for a GNURadio project, I am sending MPEG-2 video muxed with PSIP data to my TV. The actual passing of said data and video is fine, however, the video is not decoded properly. It is mostly blank with blinking blocks everywhere, with fast moving…
jowijo
  • 13
  • 4
1
vote
1 answer

Undefined symbol (CLSID_CMPEG2EncoderVideoDS)

I cannot compile my project, that uses MPEG2 DirectShow video encoder. I've included Wmcodecdsp.h, but when I compile project, Visual C++ gives undefined symbol error on CLSID_CMPEG2EncoderVideoDS. I've tried to add to project msmpeg2enc.dll, but…
1
vote
2 answers

Playing mpeg2ts with Gstreamer-1.0 on Raspberry Pi

Good day fellow programmers, I am trying to play a .ts file with gstreamer straight on a RPi. Gstreamer-1.0 as well as gst-omx have been successfully installed and this example pipeline runs like a charm: gst-launch-1.0 -v filesrc…
Plox
  • 85
  • 3
  • 10
1
vote
2 answers

PCR Accuracy Error in MPEG TS

What is PCR Accuracy Error? I am developing application which extracts particular programs from TS, muxes them, makes stream CBR and transmits them. To make stream CBR, I am inserting NULL packets in output TS. But on analyser I get errors like…
nullptr
  • 3,160
  • 4
  • 31
  • 66
1
vote
1 answer

Converting mp2's to mpeg transport stream

The application of this is for HTTP Live Streaming. (audio only) I have two 10-second mp2 files that are continuous (they are encoded one after the other but if spliced together play as one seamless file). I would like to create two mpeg-2 transport…
JonathanC
  • 937
  • 10
  • 30
1
vote
2 answers

Can a false sync word be found in the payload of an MPEG-1/MPEG-2 frame?

I know I can find other answers about this on SO, but I want clarifications from somebody who really knows MPEG-1/MPEG-2 (or MP3, obviously). The start of an MPEG-1/2 frame is 12 set bits starting at a byte boundary, so bytes ff f*, where * is any…
eepp
  • 6,698
  • 1
  • 34
  • 52
1
vote
1 answer

Losing Audio When Converting VOB to MPEG-2 using FFMPEG

I'm using FFMPEG to convert VOB files to MPEG2 using ffmpeg -i file.vob -c copy out.mpg. It's converting the video fine, but the audio doesn't play on the resulting files. I get the [mpeg @ 0x118afc0] max_analyze_duration 5000000 reached at…
Nathan
  • 686
  • 2
  • 8
  • 17
1
vote
1 answer

How to create .sub (vobsub sutitle sub/idx) file from bitmap files

I have some bitmap files (jpeg, png, ...) and I want to write a C++ program that joins those bitmap files to pes stream (mpeg-2 format), then create a sub file (.sub/.idx: vobsub subtitle files). Can you give me some hint? Thanks
aviit
  • 1,261
  • 1
  • 22
  • 42
1
vote
1 answer

I want to make a mpeg-2 decoder

Recently, I have got interested in mpeg-2 standard. And it suddenly occurred to me that i want to make a mpeg-2 decoder. I'm already studying mpeg system part that covers stream-packaging mechanism like transport stream or program stream. But I also…
user1013944
1
vote
2 answers

mpeg-2 ts video audio skipping - HTTP Live Streaming

I have multiple mp4 streams that I take and convert into mpeg-2 ts format using ffmpeg ffmpeg -i 0.mp4 -vcodec libx264 -sameq -acodec libfaac -fflags +genpts -coder 0 -f mpegts 0.ts The mp4s range from 1 to n. After converting all of them, I create…
Kami Shangool
  • 25
  • 1
  • 5
0
votes
2 answers

MPEG 2 - Adding custom tags via editing the source

I'm looking for advice and whether what I want to do is possible. I've been ask to create something similar to ID3 mp3 tags that can be used with MPEG 2/MPEG-TS video files. Because I'm a crude individual, I was thinking of just dumping some sort…
nf313743
  • 3,409
  • 8
  • 41
  • 61
0
votes
2 answers

How to read data in elementary stream

I have to read the eiss table in the elementary stream. How to read the elementary stream and get access to the data.Are there any API's available in DVB , javatv or ocap
Siva
  • 1,197
  • 3
  • 15
  • 22
0
votes
0 answers

Pulseaudio: How to pipe with compressed formats?

I am piping to a virtual input device via pactl load-module module-pipe-source source_name=mySource file=/home/user/mySource format=s16le rate=16000 channels=1 The important part here is format=s16le, which means I am using the PCM signed 16-bit…
ndr
  • 1
  • 1
  • 1
0
votes
0 answers

ffmpeg: unable to use hardware encoder h264_rkmpp with software decoded ATSC OTA transmission

When attempting to hardware encode to h264 using the Rockchip MPP encoder h264_rkmpp from an ATSC source, FFMPEG errors out with: "Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0'" The…
0
votes
0 answers

Testing MPEG2 decoder stage by stage

I am writing a video decoder for MPEG2 Transport Streams and looking for test data. More specifically, I want to be able to compare the output of my decoder versus a reference set of outputs at each stage of the decoding pipeline (Inverse…