Questions tagged [mpeg2-ts]

Questions related to creation, playing and program interaction with MPEG 2 Transport stream, a standard format for transmission and storage of audio, video, and Program and System Information Protocol data. It is used in broadcast systems such as DVB, ATSC and IPTV. Transport Stream is specified in MPEG-2 Part 1, Systems (formally known as ISO/IEC standard 13818-1 or ITU-T Rec. H.222.0)

MPEG 2 Transport stream is a standard format for transmission and storage of audio, video, and Program and System Information Protocol data. It is used in broadcast systems such as DVB, ATSC and IPTV.

Transport Stream is specified in MPEG-2 Part 1, Systems (formally known as ISO/IEC standard 13818-1 or ITU-T Rec. H.222.0). It defines how MPEG audio, video and program information is multiplexed and synchronized.

More information at http://en.wikipedia.org/wiki/MPEG_transport_stream

280 questions
34
votes
2 answers

How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream correctly?

I posted an same question to another community Video Production that I've found later, and which seems to be a better place for this question: See:…
kaorukobo
  • 2,223
  • 2
  • 22
  • 29
25
votes
3 answers

what is difference between mp4 and mpegts?

Recently I had a task to convert the file format to mp4 and stream it. I have used ffmpeg as the transcoding tool. The MP4 file doesn't get streamed over the http protocol [have used php cgi wrapper], but then the output format is changed to mpegts…
vinit sharma
  • 453
  • 2
  • 7
  • 12
18
votes
2 answers

Adding video codec to Android

Can someone please explain the steps I need to take in order to add a new codec to Android? Also, I would like the codec to be installed as part of an application installation (or first launch) and NOT as part of a full Android OS build. The reason…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
11
votes
2 answers

Is it possible to use HTML5 to display an MPEG Transport Stream video?

I have several MPEG2 Transport Stream videos with KLV metadata embedded in them. I would like to display the videos in a web browser. Is it possible to use the HTML5
Steph
  • 2,135
  • 6
  • 31
  • 44
10
votes
1 answer

MPEG-TS Encoding

I have a file that i need to convert to MPEG-TS so that it fits the below specification: Elementary stream bitrate [kbit/s] video: 2575 audio: 2 x 192 subtitle: - PAT/PMT: - Stuffing: - Component TS bitrate [kbit/s] video: 2652 audio: 395 subtitle:…
adismsc
  • 95
  • 1
  • 1
  • 4
9
votes
1 answer

Transcode HLS Segments individually using FFMPEG

I am recording a continuous, live stream to a high-bitrate HLS stream. I then want to asynchronously transcode this to different formats/bitrates. I have this working, mostly, except audio artefacts are appearing between each segment (gaps and…
rayh
  • 171
  • 2
  • 5
8
votes
0 answers

Issue With android MPEG2TS Writer

Hi am trying to use the mediarecorder api and generate a mpeg2ts output that contains h264 video and aac audio. 1) When i record the video alone, the output .ts file generated works fine without any lag. 2) when i record both audio and video, the…
Ravi
  • 371
  • 6
  • 11
8
votes
2 answers

MPEG2 Presentation Time Stamps (PTS) calculation

I have an MPEG2 TS file and now I am interested in extracting PTS information from each picture frame. I know that PTS is described in 33 bits including 3 marker bits. But I don't know how this bitfield can be converted to more understandable form…
Nabijon
  • 821
  • 2
  • 13
  • 17
7
votes
3 answers

Generate PCR from PTS

I am trying to create PCR from PTS as follows. S64 nPcr = nPts * 9 / 100; pTsBuf[4] = 7 + nStuffyingBytes; pTsBuf[5] = 0x10; /* flags */ pTsBuf[6] = ( nPcr >> 25 )&0xff; pTsBuf[7] = ( nPcr >> 17…
Ven
  • 247
  • 1
  • 5
  • 18
7
votes
1 answer

How to do webcam streaming with mpegtsmux in Gstreamer

I'm new to gstreamer, and I want to stream webcam video through network with mpeg2-ts. I am able to stream video using following pipeline, but I don't know how to stream it with mpeg2-ts using mpegmux. Any help would be great! Thanks. My working…
j0e1in
  • 696
  • 2
  • 8
  • 18
6
votes
3 answers

How to record video in MPEG-2 TS output and ACC audio encoding format

When I set video format MPEG-2(Constant value 8) TS and audio format ACC(Constant value 3) it records video only without audio in ACC format. But it doesn't give any error. I tried it on Samsung Galaxy Tab(Honeycomb). Because MPEG-2TS supports on…
Suvam Roy
  • 1,282
  • 2
  • 11
  • 21
6
votes
2 answers

where to start/split mpeg2-ts

I am writing a server which live streams mpeg2-ts on HTTP and I wondered what's the best position to split an mpeg transport stream. The stream is going to be played by iptv set-top boxes and I have no idea how these devices behave. I would think…
Karoly Horvath
  • 94,607
  • 11
  • 117
  • 176
6
votes
1 answer

Play MPEG-2 TS using MseStreamSource

I need to display a live video stream in a UWP application. The video stream comes from a GoPro. It is transported by UDP messages. It is a MPEG-2 TS stream. I can play it successfully using FFPlay with the following command line : ffplay -fflags…
Nicolas Séveno
  • 306
  • 2
  • 13
6
votes
5 answers

Concatenate TS files with correct timestamps

I'm trying to merge multiple ts chunk files to one single file, without any loss of quality or reencoding. The files are taken from a live stream, however I'm trying to merge them in a diffrent order and not the order they were streamed. Example of…
Pete9119
  • 147
  • 1
  • 3
  • 7
6
votes
2 answers

How to send MPEGTS streams over UDP

I am developing a realtime video-streaming system which is composed basically by a server and several clients. For now, let's ignore how packets are forwarded among the server and the clients, let's focus just on how the server can send a MPEGTS…
pAkY88
  • 6,262
  • 11
  • 46
  • 58
1
2 3
18 19