Questions tagged [mpeg-4]

MPEG-4 is an ISO/IEC standard for video and audio compression as a successor of MPEG-2. It has much more complex capabilities including arbitrary shaped videos and new ways of synthesis.

MPEG-4 is an ISO/IEC standard for video and audio compression as a successor of MPEG-2. It has much more complex capabilities including arbitrary shaped videos and new ways of synthesis.

More information about MPEG4 is at http://en.wikipedia.org/wiki/MPEG-4

248 questions
0
votes
2 answers

Are extra null-bytes allowed after NALUs when not inside an Annex-B bytestream

We have a device that creates video files in MP4 file format containing H.264 video data. Now we notice that within the first AVCC chunk, after the SPS there are 4 null-bytes (00 00 00 00). (I know that the SPS is technically not needed in the video…
unlord
  • 11
  • 5
0
votes
0 answers

How many bytes of the first chunk of an mp4 media recording are necessary to be included for an mp4 file to not be corrupted (HTML/JS)?

To better explain what I mean, I am trying to create an application (HTML/JavaScript) that allows users to record their screens (both visuals and system sounds), and get a video (an mp4 file) from it. I have actually long since succeeded in that…
Rikudou
  • 145
  • 6
0
votes
0 answers

In mpeg-4 part 10, is the video resolution stored in a header in the video codecs or within each frame?

In mpeg-4 part 10 (AVC), is the video resolution stored in a header in the video codecs or within each frame, so that each frame can have its own resolution? If both, which of either does main stream video players as VLC take in account when…
Themobisback
  • 101
  • 5
0
votes
1 answer

MJPEG vs. MPEG-4 encoding time

I am testing the encoding performance (MPEG-4 and MJPEG) of a smart camera. I have written an application in OpenCV/FFMPEG for performing encoding, where the application captures images from the camera and encodes them to a desired encoding format.…
umair
  • 1
  • 1
  • 3
0
votes
0 answers

OpenCV and OpenH264: H264 File is Larger than MPEG-4 File

I am getting unexpected results with writing a file using Python 3.7, OpenCV and using MPEG4 and H264 codecs. Everything I read states that H264 has a higher compression rate than MPEG-4, but my script produces the opposite results. I’m using…
slalomchip
  • 779
  • 2
  • 9
  • 25
0
votes
1 answer

What to use to get the whole file size of a partially downloaded mp4?

I tried with ffmpeg and MediaInfo, both give me only the downloaded size. MediaInfo also gives me the stream sizes, but audio+video is still ~130kb smaller than the original final size. What can I use for that?
blez
  • 4,939
  • 5
  • 50
  • 82
0
votes
1 answer

Detect H.264 frame type in an mp4 container

Assume an H.264-encoded video stream is stored in an mp4 container. What is a straightforward way of detecting frame types and associating them with parts of the stored data? I can extract the frame types using the below command. I would like to…
Alexander
  • 921
  • 3
  • 12
  • 31
0
votes
1 answer

Embedding a video to HTML that does not have the .mp4 filename extension

I changed the filename extension of my videos on the server from .mp4 to .zip. Now I want to embed the videos in my HTML web page, but it doesn't work due to the filename extension. I'm looking for a way to tell my front-end how to interpret the…
ProMaker Dev
  • 105
  • 1
  • 2
  • 12
0
votes
1 answer

Why is this MPEG-4 compression of GIF creating weird results?

I was wondering what would happen if MPEG-4 tried to compress an image with completely random pixels. So I made an image with random pixels using Pillow in Python. The actual GIF: This isn't animated as the animated one was too big. The colour of…
Shambhav
  • 813
  • 7
  • 20
0
votes
1 answer

What is the right way of decoding of MPEG-4 video stream sent by multicast?

I'm trying to view the MPEG-4 video stream from IP-camera which is sent by UDP multicast using gstreamer-java. Each frame sent by camera is splitted into several UDP-packets. After assembling complete frames from UDP-packets I get sequence of…
beemaster
  • 291
  • 1
  • 3
  • 13
0
votes
1 answer

Pushing MPEG4 video samples to decoder - How to use CBaseOutputPin::DeliverNewSegment()?

I wrote my own RTSP Push Source DirectShow filter (CBaseFilter), that works for H264 like a charm! But, when I tried to support MPEG4 (MP4V-ES stream), I stumbled upon a problem... My stream gets decoded (with ffdshow Video Decoder filter, or DivX…
Cipi
  • 11,055
  • 9
  • 47
  • 60
0
votes
1 answer

frame appears 0.000057 second before pts_time using ffmpeg

This video is created using ffmpeg command from a series of images with number and expected timestamp on it (assuming 120 fps constant frame rate): ffmpeg -framerate 120 -i %03d.png -crf 0 -x264opts keyint=1:min-keyint=1 120.mp4 It's supposed to be…
Lincolnhuj
  • 63
  • 6
0
votes
0 answers

FIFO pipe / buffer to convert data of variable length to fixed size length

I am working on live streaming project. We are getting UDP packets which we need to receive & then pass it to decoder , get it back from decoder & then pass it back over multicast IP. We have implemented logic to receive raw UDP packets ( size:…
user161607
  • 21
  • 3
0
votes
1 answer

How to speed up timeline scrubbing with FFMPEG?

I am using a software that converts a .MOV into a .MP4 video for use in the software.However, I want to be able to do this conversion outside of the software itself. When used, the software outputs a very high-quality .MP4 which allows you to scrub…
Nicole Pinto
  • 364
  • 1
  • 22
0
votes
1 answer

mp4 parsing for playback

I was asked to create a video player from scratch, so I think I'm missing some parts of the whole story. For an mp4 file containing this information, what boxes should I be concerned about in order to play the streams within the file. I know I…