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
8
votes
3 answers

Can the ffmpeg av libs return an accurate PTS?

I'm working with an mpeg stream that uses a IBBP... GOP sequence. The (DTS,PTS) values returned for the first 4 AVPackets are as follows: I=(0,3) B=(1,1) B=(2,2) P=(3,6) The PTS on the I frame looks like it is legit, but then the PTS on the B frames…
hobb0001
  • 191
  • 1
  • 2
  • 7
8
votes
2 answers

Install libmad on Mac OS X Lion: "error: CPU you selected does not support x86-64 instruction set"

I am trying to install a program that requires the libmad (MPEG audio decoder library) library on Mac OS X 10.7 Lion, but installing libmad.0.15.b results in this error: version.c:1: error: CPU you selected does not support x86-64 instruction…
Drew C
  • 6,408
  • 3
  • 39
  • 50
8
votes
6 answers

Access MPEG transport packets via .NET

I have to deal with MPEG 2 transport packets using .NET. What is the best way to do that? Currently I'm considering using OpenCV to accomplish that, but not sure yet if it's possible.
Anton Moiseev
  • 2,834
  • 4
  • 24
  • 30
8
votes
3 answers

Is the leading structure in MP3 file a real frame?

I'm now doing some work with decoding MP3 files, but just have some basic knowledge about the MP3 file. I implement a simple decoder for MP3 these days. When comparing the decoded result with that of Maaate decoder, I encounter this problem. My…
Summer_More_More_Tea
  • 12,740
  • 12
  • 51
  • 83
8
votes
1 answer

HLS MPEG-TS metadata stream using FFMPEG

I want to create mpeg ts segment for HLS streaming. The ts should contain metadata as a separate stream as shown below- **Stream #0:0**[0x102]: Data: timed_id3 (ID3 / 0x20334449) **Stream #0:1**[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),…
8
votes
1 answer

Setting B frames in a video with ffmpeg

According to ffmpeg manual, setting -g is to define space between "I" frames, and setting -bf to use "B" frames. The former I got, but the latter not. The goal: I'm trying to have a video with a GOP 3,12 (M= 3, N=12). That means: 2 "B" frames…
roberutsu
  • 353
  • 2
  • 5
  • 15
7
votes
2 answers

What is lib Swscale used for by ffmpeg programers?

What is lib Swscale used for by ffmpeg programers? What benefits it gives for AV encoding/decoding? What is its position relevantly to av* libs?
Rella
  • 65,003
  • 109
  • 363
  • 636
7
votes
1 answer

ffmpeg PNG to mp4 - Black screen

I can create a mpg video using this line ffmpeg -f image2 -i 100%03d0.png movie.mpg But If I try creating an mp4 video I get a video with a black screen. ffmpeg -f image2 -i 100%03d0.png movie.mp4 My directory with figures looks…
ilciavo
  • 3,069
  • 7
  • 26
  • 40
7
votes
0 answers

GoPro: get each frame time stamp

I am currently trying to extract each frame time stamp from an MPEG-4 file that has been recorded using a GoPro. I want the exact time at which the frame has been captured by the camera, to couple that with computer vision algorithms later on. I…
jlengrand
  • 12,152
  • 14
  • 57
  • 87
6
votes
1 answer

MPEG1 motion estimation / compensation

I seen the following explanantion for motion estimation / compensation for MPEG 1 and was just wondering is it correct: Why dont we just code the raw difference between the current block and the reference block? Because the numbers for the residual…
user915071
  • 175
  • 1
  • 1
  • 6
6
votes
2 answers

How can I create a thumbnail from an mpg video with C#?

I'd like to process a directory of mpg's in a batch to have a thumbnail using C#/.NET. Does anyone have any good suggestions on how I could do this?
mson
  • 7,762
  • 6
  • 40
  • 70
6
votes
1 answer

Creating iPhone compatible video with ffmpeg from an image and MP3 file

I have the following command that I have used to create an MP4 video file from an image and an MP3 file, it plays fine in a Chrome browser on desktop and on an Android phone - but it doesn't work on an iPhone 10. Do I need some extra codec or…
Gracie
  • 896
  • 5
  • 14
  • 34
6
votes
0 answers

MediaFoundation SinkWriter: Enabling MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS results in WriteSample failing with E_FAIL error

I'm trying to encode RGB/NV12 samples to h264 and stream the encoded video over WebSocket through SinkWriter by implementing IMFByteStream. For this experiment, I have converted the RGB32 samples to NV12 samples using pixel shaders. The output…
iamrameshkumar
  • 1,328
  • 1
  • 14
  • 34
6
votes
1 answer

Maximum value of PCR

What is the maximum value of Program Clock Reference(PCR) in MPEG? I understand that it is derived from a 27MHz clock, periodically loaded into a 42bit register. PCR(i)=PCR_Base(i) * 300 + PCR_Ext(i) where PCR_Base is loaded into a 33 bits…
maks78in
  • 89
  • 1
  • 4
6
votes
2 answers

How can I view the "code" of a .mp4 video file?

I know that my terminology is not correct, but I am a complete novice when it comes to video. I have a regular .mp4 video file. I use MP4Box to segment the video file so I can play it back using a video player that supports MPEG dash. It is not…
Matt
  • 101
  • 1
  • 1
  • 5
1
2
3
28 29