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
2
votes
1 answer

How to change MPEG2-ts without encoding?

I have many ts file for apple streaming ( MPEG2-TS format ). Can I change, for example PTS/PCR params for this files, using ffmpeg ?
Bdfy
  • 23,141
  • 55
  • 131
  • 179
2
votes
1 answer

How to receive the same udp-stream in several programs?

I have a closed third party system that sends a unicast UDP stream (MPEG-TS) that I'd like to access in two different programs on the same computer. I can not change anything on the source, not even IP or Port. Is there any other option than to…
2
votes
1 answer

Http Live Streaming ts segment not start with key frame

I'm working on streaming live video to ipad/iphone using apple's http live streaming. One important step of this is segmenting transport stream to several ts segments along with a playlist. According to apple's document, the recommanded ts segment…
summerlismile
  • 35
  • 2
  • 5
2
votes
1 answer

Windows Media Player cannot play MPEG-TS file created in Android.

I tested the StageFright record sample (frameworks/base/cmds/stagefright/record) to create a mpeg2 TS file. While it can be played on Android default Media player, it cannot be played in Windows Media Player or MPlayer. Any suggestions? Note that I…
mophead
  • 21
  • 4
2
votes
0 answers

Playing .ts files using AVAsset? -> The media format is not supported

I'm working on my final university project and deveolping an application for iOS 5 that demostrates how HTTP Live Streaming protocol works. The application gets a list of diferent HLS sources to play. They can be player using the internal iOS…
napilut
  • 21
  • 1
  • 2
1
vote
1 answer

Extracting AC-3 from MPEG Transport Stream

I am writing a demultiplexer for MPEG Transport Stream which should extract Audio and Video access points. Assume i have an Audio PID and that i know it is AC-3 audio. Also assume that i collected all the PID's TS packets and assembles their…
talel
  • 355
  • 2
  • 16
1
vote
0 answers

Mux KLV STANAG data into MPEG-TS stream in Python

I have some MPEGTS video streams and i need to mux KLV metadata into these. KLV data may e in a .pcap format or any another binary format. Any ideas about how can i perform this using some Python library?
carraro
  • 162
  • 10
1
vote
1 answer

How to receive mpegts multicast steam on vlc

I have developed a mpegs-ts streaming server which sends multicast stream to multicast ip address 224.2.3.51:3200. I am running my streaming server in a linux server. How can I receive and play this multicast stream on vlc running in local windows…
1
vote
1 answer

Combing effect while reading interlaced video

all. I have a very strange issue, reading the VideoCapture in OpenCV. I have .MTS videos (MPEG2), and I read them in OpenCV using the next code: cv2.namedWindow("frame", cv2.WINDOW_NORMAL) cap =…
Pavlo Sharhan
  • 174
  • 2
  • 10
1
vote
2 answers

Saving every nth packet from a UDP stream

I am parsing embedded KLV data in an MPEG-TS video stream sent to a UDP port from a UAV to use in a real time map. I am getting 25 packets per second (tied to the video frame rate) at the moment and can save all of this data but I want to only save…
Daff
  • 23
  • 5
1
vote
1 answer

Buid Exoplayer with ffmpeg extension

I'm making IP streaming android application. In which I'm using exoplayer 2.12.0. Input video is having mpeg-L2 audio layer codec which is not supported by exoplayer https://github.com/google/ExoPlayer/issues/6525. So i'm using ffmpeg extension to…
1
vote
0 answers

-use_wallclock_as_timestamps adds delay in live stream

We have a livestream (MPEG-TS with RTP), which we currently, for testing purposes, replay with tcpreplay. Our mpeg-ts stream consists of 4 streams (codec details omitted for brevity). Stream #0:2: Video: h264 Stream #0:1: Audio: mp2 Stream #0:4:…
Arikael
  • 1,989
  • 1
  • 23
  • 60
1
vote
0 answers

Looking for a point in the right direction - openinging MPEG-2 transport stream with python

I have a question that feels like it should be simple, but my searches haven’t turned up an answer. Hoping someone can help me narrow down keywords or point me to some documentation. I have a camera connecting to a computer with an Ethernet cable,…
1
vote
0 answers

GStreamer mpegtsmux + udpsink, very slow restart in case of sender going offline

I'm streaming a sequence of H264 mp4 files without reencoding using mpegtsmux over UDP. I previously had problems with streaming raw RTP H264 over UDP so I switched to MPEGTS, which worked out far better for me. The only problem I have now, is that…
AJ Cole
  • 169
  • 2
  • 13
1
vote
1 answer

ffmpeg - how to "set" continuity counters when generating .ts segments for HLS live streaming?

Say I have a batch of 40 JPEGs that represent 2 FPS video, and I want to generate a m3u8 playlist + h264 ts segments for an HLS live stream - so I do something like this: ffmpeg -y -framerate 2 -start_number 0 -i /frames/frame_%d.jpg -frames:v 40 \ …
Rob
  • 25,984
  • 32
  • 109
  • 155