Questions tagged [mpeg]

MPEG - Class of Compression standards and related algorithms, tools and systems

MPEG is a name for (set) of standards defined for Audio, Video and it's transmission and is majorly used in Television Broadcast, Internet streaming and VCD/DVD based distribution.

435 questions
4
votes
1 answer

calculate MPEG frame length (ms)

I'm looking all over the Internet for information in regards to calculating the frame length and it's been hard... I was able to successfully calculate the frame length in ms of MPEG-4, AAC, using: frameLengthMs = mSamplingRate/1000 This works…
Jona
  • 13,325
  • 15
  • 86
  • 129
4
votes
1 answer

Is there a way to get the metadata(like hight, framerate, bitrate) of an MPEG file?

For part of a private project I am working on, I want to get the height, width, bite rate, FPS of an MPEG in Java. Does anyone know how to do this?
jamie
  • 580
  • 5
  • 16
4
votes
0 answers

Issue while Setting PID's to MPEGTS Mux

I am streaming a .ts file over UDP, by setting PID's for each stream. This ts file contains, video and text streams. I would like to set my own pid's to mpegtsmux as follows, g_object_set (mMux, "prog-map", gst_structure_from_string…
4
votes
1 answer

Reading information from PAT section (MPEG-TS)

I'm writing a MPEG-TS file parser and I'm stuck on getting program_numbers and PIDs from the PAT section. I'm using a packet analyser to compare my results. For example, here's a PAT packet 47 40 00 16 00 00 B0 31 00 14 D7 00 00 00 00 E0 10 00 01 E0…
4
votes
1 answer

Computation of B-Frames in MPEG video coding

I've been studying methods in reducing temporal redundancies in video compression and about the main concepts in MPEG video compression. I understand that I-frames are stored in similar way as JPEG compression and P-frames are computed as predicted…
Hanz0
  • 59
  • 7
4
votes
2 answers

pts & pcr values limit in mpegts?

As I know PCR stored in 42bits and PTS stored in 33bits in mpegts container So, Max value for PCR is 2^42 = 4398046511104 Max value for PTS is 2^33 = 8589934592 PCR (sec) = 4398046511104 / 27 000 000 Hz = 162890,6 seconds (45 hours) PTS (sec)…
user3652819
  • 125
  • 3
  • 11
4
votes
2 answers

Playing MPEG-1 Video in HTML

I need to play MPEG-1 files dynamically from a browser. Uploading them to YouTube or converting the videos is not an option. How can I do this? I've seen this, but the answers do not apply to MPEG-1. Is there a way to play mpeg videos in HTML5? The…
David
  • 15,652
  • 26
  • 115
  • 156
4
votes
2 answers

Record video from camera on Android to mp4

There seems to be TVideoCaptureDevice in FireMonkey (Delphi XE6), but on official documentation, capturing process ends up on lines: if(VideoCamera){ //do something } What do I do to record video to mp4 on flight? Tried looking on google, but…
Flash Thunder
  • 11,672
  • 8
  • 47
  • 91
4
votes
1 answer

Number of segments in a DASH MPD

How can I determine the number of segments of a DASH media if the MPD file doesn't have any segment URL's lists? It only has a segment template, so I don't know how many segments the media associated to this MPD has. This is the MPD I'm talking…
user3284980
  • 43
  • 1
  • 1
  • 3
4
votes
1 answer

Extract files from mpeg video

Videos created with Camtasia can be shared on the web by exporting the project for the TechSmith Smart Player. The video is exported in the "H264 - MPEG-4 AVC (part10) (avc1)" codec and the export also includes other custom XML, JavaScript and SWF…
A Dark Divided Gem
  • 419
  • 1
  • 4
  • 18
4
votes
1 answer

How to get Pipeline created by playbin in textual format in Gstreamer?

I'm playing a transport stream file (*.ts) using the following pipeline: gst-launch-0.10 playbin2 uri=file:///c:/bbb.ts But I need to convert that into a pipeline myself. I'm not sure how to achieve this. So far I have tried: (works…
rubndsouza
  • 1,224
  • 15
  • 23
4
votes
0 answers

Pure Java MPEG DASH library

Is there any PURE Java open source project to deal with MPEG4 or MPEG-DASH (aka MPEG Dash) without using native C or C++ libraries out there?
Iqbal
  • 590
  • 1
  • 4
  • 15
4
votes
0 answers

open and Play a transport stream on Android (mpeg2-ts)

It's me again. I am trying to play a TS file I am getting via http (mpeg2-ts) on android. I already tried VideoView as follows: VideoView videoView = (VideoView) findViewById(R.id.videoView); videoView.setMediaController(new…
C0dR
  • 320
  • 1
  • 6
  • 23
4
votes
1 answer

Convert streaming MPEG-4 raw data to H.264

I've got a Sony network camera (SNC-RZ25N) that I am trying desperately to get data from in some meaningful format. The documentation says it sends MPEG-4 raw data, but is not more specific than than. I can capture a segment of the stream using curl…
Jonathan Hawkes
  • 953
  • 2
  • 12
  • 24
4
votes
2 answers

Using VLC, is it possible to encode 30 to 40 IP based webcams on same computer?

I am the IT guy for a small chain of preschools. Each school current has about 30-40 Axis IP webcams each, ranging from the old Axis 205,206 models, up to the Axis M1011. These cams allow parents to log into a website to view their kid's classrooms…
Tim Murphree
  • 625
  • 1
  • 6
  • 12