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

switch Program `PID` in VLC via command line

I have got a MPEGTS file that contains multi programs PID's recorded from UDP stream. How to switch Playback->Program in VLC via command line.
BlackRoot
  • 504
  • 1
  • 9
  • 29
0
votes
1 answer

How to check MPEG2-TS "Continuity counter" form parse udp package

I am writing simple software to parse MPEG-TS stream The following appears (udp package): |_ Data : 47004413273ac7.. |_ Data : 470044113d1ab1.. |_ Data : 4700441ffaad75.. |_ Data : 4700441ddd42a8.. |_ Data…
0
votes
0 answers

What does this one byte mean in NALu

For NALu (Network abstraction Layer Units) I can interpret below 000000 0109f000 00000167.... 00000001 -> Start code prefix 09 -> NALu type. f0 -> ?? 00000001 -> Start code prefix 67 -> SPS So what is the meaning of f0? UPDATED As answered in…
Hwangho Kim
  • 629
  • 4
  • 20
0
votes
0 answers

MPEG2(MPEG 2) TS Hardware Interface

Hi I have an mpeg connection that I am trying to read. It has 4 signals. clock, data, valid and sync. Now for some reason I don't see the sync byte when the sync signal is active. I am thinking since there is a sync signal they have eliminated the…
DBB
  • 467
  • 9
  • 23
0
votes
0 answers

FFmpeg resample audio while decoding

I am having a task to build a decoder that generates exactly 1 raw audio frame for 1 raw video frame, from an encoded mpegts network stream, so that users can use the API by calling getFrames() and receive exactly these two frames. Currently I am…
baci
  • 2,528
  • 15
  • 28
0
votes
1 answer

Presentation time of an access unit for MPEG2-TS

Can someone please help me about the times when exactly the access units are displayed in vlc when it plays a TS file? For elaboration, we provide PCR_base and PCR_ext in each TS packet, PTS in each PES packet(for the time being I am not providing…
sourav
  • 113
  • 2
  • 15
0
votes
1 answer

which slices form a P Frame or B Frame

In a H.264 bit stream, how can I find which p-slices/b-slices form which frame? Does the frame_num help anyway? Also in my source file(.264 file), frame_num field values are inconsistent, i.e, in first slice it is 10, later it becomes 5 like that.…
sourav
  • 113
  • 2
  • 15
0
votes
0 answers

Encode H.264 to TS

I want to encode H.264 bit stream to TS(using .264 file as input). I added a PAT, PMT and formed PES Packets. When I run ffmpeg.exe video_31-05-17-05_49PM.ts, it says no stream found. Output #0, mpegts, to 'video_31-05-17-05_49PM.ts': …
sourav
  • 113
  • 2
  • 15
0
votes
1 answer

How to create MPEG2 Transport Stream Pipeline Using Python and Gstreamer

In developing a streaming audio application I used the gst-launch-1.0 command-line tool to generate an MPEG Transport stream for testing. This worked as intended (I was able to serve the stream from a simple http server and hear it using VLC media…
0
votes
2 answers

How to get bit values from byte array using shifting with 32 bit big endian mask in C#

I have a four byte array (which represents an MPEG TS packet header) and I want to get PID value which is 13 bits starting from bit 12 to 24 (in bold). Wikipedia says the PID value has a 32-bit Big Endian Mask... what does that mean? 0100 0111 0000…
Jonathan Kittell
  • 7,163
  • 15
  • 50
  • 93
0
votes
2 answers

How to store 13-bit structure?

I want to create a class that represents an MPEG 2 Transport Stream packet. I want to have a class property that stores the 13 bit PID value? What would be the best data type? Would you use a mask to store this value? I'm thinking I should just…
Jonathan Kittell
  • 7,163
  • 15
  • 50
  • 93
0
votes
1 answer

ffmpeg producing strange NAL suffixes for MPEG-TS with h264

I am making h264 stream analyzer and have found strange ffmpeg behaviour while writing and reading same frame packetized with MPEG-TS. I have dumped both encoding and decoding frame data in HEX and found these differences: At the beginning of frame…
ElDorado
  • 448
  • 6
  • 19
0
votes
1 answer

MPEG Transport Stream Audio data information

I am writing a code to extract AAC audio data from mpeg ts stream. I want to get stream properties like sampling frequency, number of channels, Audio type, Audio profile type etc. from Transport stream, without decoding the actual data. How much of…
0
votes
1 answer

ts nalu to mp4 mdat doesn't seem to contain neither nalu nor avcc

I created a java program to parse mp4 and ts segments. I muxed a ts fragment with ffmpeg into mp4. I'm trying to understand why ffmpeg formed the mdat the way it is. Here are the original 4 NALU extracted from TS-PES in hex, ordered by start codes…
nilgirian
  • 21
  • 1
  • 5
0
votes
1 answer

Extract original name & date from m2ts (mpeg2-ts) files

I want to extract the original name and date-taken from m2ts files in Node. I found some dead code (m2ts-parser) using the package "packet". Though I'm too novice to really understand. But I want to learn :-) So can anyone tell me how to extract the…
mvermand
  • 5,829
  • 7
  • 48
  • 74