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
86 questions
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,961
  • 2
  • 31
  • 57
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
  • 23,923
  • 29
  • 97
  • 142
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,265
  • 6
  • 39
  • 63
1
vote
3 answers

How to change the RGB value of the pixels, to read out and to save the changes of every frame on TV

I'd like to make a C++ program that changes the RGB value of the pixels of every frame of the MPEG2 file to be broadcasted, and reads out and saves the changed value of the pixels of every frame on TV screen simultaneously with the broadcasting. Can…
Young Choi
  • 11
  • 1
1
vote
2 answers

Media Foundation: Custom Topology with Direct3D 11

I am having to build a video topology manually, which includes using loading and configuring the mpeg2videoextension (decoder). Otherwise the default topoloader fails to resolve the video stream automatically. I am using the default topology loader…
Jerry Davis
  • 151
  • 1
  • 11
1
vote
1 answer

ffmpeg options for encoding a video mpeg2video but with .mov extension

I just finished a project, and need to produce an output in the specific format, should be exactly the same as the format of the video I received. The best way for me to identify the source format was to use ffprobe. Here was the output of…
QRrabbit
  • 330
  • 3
  • 14
1
vote
2 answers

Why are the MPEG-TS specifications not freely available?

I'm looking at doing some MPEG-TS program specific information parsing. I understand wikipedia has some details regarding the syntax structure, but it's just not enough for my usage case, however, it seems like the specifications/standards are not…
Zan
  • 21
  • 3
1
vote
1 answer

MPEG-2 Program Stream w/PCM Audio

I'm trying to create an MPEG-2 Program Stream in an mpg wrapper that contains PCM audio. When I run the below command, I get an output that contains MPEG-1 audio. ffmpeg -i "input.mov" -vcodec mpeg2video -pix_fmt yuv422p -bf 2 -b:v 50000000…
DMtd
  • 21
  • 5
1
vote
0 answers

encoding a yuv file into mpeg2 using mpegencoder

I wanted to compress a .yuv using a mpeg-2 standard. So, I have downloaded the mpegencoder of MSSG. Below is the code for the parameters file. But I don't know how to store the output video. Please help me with this issue. I want to single and…
sai
  • 319
  • 1
  • 5
1
vote
0 answers

How to encode low bitrate / low quality MPEG2 video?

Got some YUV420 1920x1080 60FPS videos i want to encode with MPEG2 with different quality levels. According to stackoverflow: ffmpeg conversion to mpeg2video I could do it with ffmpeg -i input -codec:v mpeg2video -qscale:v 10 output.mpg The qscale…
1
vote
0 answers

How to shrink the frame size of mpeg2 transport stream using gstreamer

I am trying to shrink the resolution of an mpeg2 transport stream video using gstreamer. I decomposed the stream into an audio portion and a video portion using tsdemux, add a capsfilter to shrink the video frame size, then combined the audio and…
ghu
  • 11
  • 3
1
vote
1 answer

Which transport mechanism is used for MPEG-2 and MPEG-4 broadcast streaming?

I am trying to understand the MPEG streaming over network. I have couple of questions specific to MPEG-2 and MPEG-4 streaming. 1) As I understood MPEG-2 uses a Transport Stream (TS) which is encapsulated within RTP/UDP or directly in UDP/TCP packets…
CompNet
  • 77
  • 1
  • 7
1
vote
1 answer

Transport stream extract ES video/audio data and play it

I am working on something and i came a point that i cannot find something useful by searching on the internet any further. I wrote a descrambler for dvbs2 csa, now i want to try it with real data. I have a .ts file and i have the key. All i want to…
greentree
  • 45
  • 7
1
vote
1 answer

Is there any difference between ISO/IEC 13818-2 and H.262

I have read the H.262 document and a draft version of ISO/IEC 13818-2. I cannot figure out the difference between the two, can anyone point it out?? Thanks in Advance
1
vote
1 answer

Playing video stream from ip camera's with m3u8 playlist of ts files

I am encountering problems developing small apk to use with my ip camera. I am able to play test video from apple (http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8), but I am unable to play .m3u8 from my cam. The adress for…
tomtom
  • 21
  • 4