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
2
votes
2 answers

ATSC Digital Broadcasting

I dont know on which tag i need to ask this question. I'm currently studying about the ATSC standards for Digital TV broadcasting. I have doubts while going through the contents. In Digital TV broadcasting, a single bandwidth will contain multiple…
Angus
  • 10,450
  • 28
  • 81
  • 135
2
votes
1 answer

PCR based Seek for MpegTSFile

I want to implement seek functionality for MpegTs file playback. Could any one suggest me how to convert PCR to time(in mescs). I know that PCR is used for seek(I have seen in VLC) but would like to know how this can be done. Kind Regards, Ven
Ven
  • 247
  • 1
  • 5
  • 17
2
votes
1 answer

directshow mpeg2 text overlay without decoding

I found some directshow filters that does text overlay, but they always build this graph: source mpeg2 (only video) -> mpeg2 decoder -> overlay -> (some encoder) ... -> file writer Is possible (also with a third party filter), in directshow, to…
cicvsalba
  • 61
  • 1
  • 7
2
votes
4 answers

decode MPEG1/2 video with Media Foundation

I am using Media Foundation to play videos. On windows 7 some videos encoded with Mpeg1/Mpeg2 PS and Windows Media Player can play them, but Media Foundation does not(I tried to register a stub MPEG1Source but it still does not work). I noticed some…
2
votes
2 answers

setting timestamps for audio samples in directshow graph

I am developing a directshow audio decoder filter, to decode AC3 audio. the filter is used in a live graph, decoding TS multicast. the demuxer (mainconcept) provides me with the audio data demuxed, but does not provide timestamps for the sample. how…
Aviad Rozenhek
  • 2,030
  • 2
  • 18
  • 36
2
votes
0 answers

Playing mpeg2ts with Gstreamer-1.0

I am trying to play a .ts file with Gstreamer-1.0 as well as gst-omx have been successfully installed . Try to play ts video using below command line format but failed to play. test@test-Gardenia:~/Videos$ gst-launch-1.0 -v filesrc location=…
2
votes
0 answers

How to properly demux this PES packet from the program stream file?

I'm demuxing one program stream file and I can't figure out what one PES packet is carrying. (see picture below). Stream ID is 0xE0, so it is a video stream. Since I'm reading a program stream file, it is the only video stream. As you can see, the…
kytodrk
  • 153
  • 9
2
votes
1 answer

Read MPEG-2 timecode

I'm using some old code from many years ago to calculate the duration of MPEG-2 videos. It seems something has changed as I'm getting 1 hour and 49 seconds for a 49 second video. The last GOP Header is found in the file and the 4 byte TimeCode is…
Ross
  • 121
  • 8
2
votes
2 answers

C code to cut the MPEG 2 Video at GOP(Group of Pictures) End

I am working on MPEG 2 Transcoding project and I need to cut a video at the boundary of GOP. I've gone through some Documents and was able to cut the video at the start of next GOP (by checking the I-frame (or) GOP Start code 0x00 0x00 0x01 0xB8),…
user2406774
  • 151
  • 1
  • 6
2
votes
0 answers

How can I use libav to encode video to dvd compliant mpeg2

Im new to using FFMpeg and I'd like to do the equivalent of using the command line option -f dvd but in my app, by using the libav api. In the source of FFMpeg the option sets up some parameters as opt_video_codec(o, "c:v", "mpeg2video"); …
Dave Camp
  • 115
  • 8
2
votes
1 answer

Separate 2 video streams from one MPEG-2 file into 2 files

I'm really rookie in manipulating with video files and I have question. I have one MPEG-2 file with two video streams synchronized by time (first from RGB camera and second from thermal camera). I would like to separate this streams into two files…
Martej
  • 55
  • 1
  • 6
2
votes
1 answer

selectively 'turn off' more than one out pin stream directshow filter

I'm sure this question would have been asked before but I've searched and can't find anything specific to help a solution. I'll start out outlining the initial concerns and if more indepth technical information is needed then I can give it.…
Dave
  • 107
  • 7
2
votes
2 answers

Header missing in mpg, in spite of using avformat_write_header

I am encoding a live rendered video to mpg and/or mp4 (depends on the later usage of the video) using the ffmpeg C API. When encoding to mp4, everything is well. But when encoding to mpg, the resulting video cannot be played by any player. A quick…
TheSHEEEP
  • 2,684
  • 2
  • 28
  • 52
1
vote
1 answer

How to relay h.264 stream?

I have 2 servers, server2 can receive h.264 stream from server1. I need my iPad can play the h.264 stream, and my ipad and server2 are in the same local area network, but can not connect to server1, so I need server2 relay the h.264 stream to my…
why
  • 21,267
  • 27
  • 91
  • 134
1
vote
1 answer

H264 stream incorrect height [8 pixels taller]

I get h264 stream from an ip camera using RTSP protocol. I parse h264 seq_parameter_data based on the answer [http://stackoverflow.com/questions/6394874/fetching-the-dimensions-of-a-h264video-stream], and for some ip cameras, the height value is…
Novalis
  • 2,123
  • 6
  • 35
  • 60