246 questions
1
vote
2
answers
299
views
Where to find the first nal unit in the mdat payload of an MPEG4 file containing h265 video?
in my quest for fixing corrupt GoPro files, I am writing a decoder based on an MPEG4 parsing lib, but I now have to dig deeper in the h265 stream, and I'm having a hard time finding where the first ...
6
votes
3
answers
451
views
Structure of MPEG-4 "©xyz" box
I am trying to parse out ISO/IEC 14496-12 based files (essentially MPEG-4 movies). There are a few boxes are not in the standards (or on the MP4 Registration Authority lists), but are in real-world ...
-2
votes
1
answer
413
views
MPEG 4 video cannot display in html
I think it is not a duplicate of previous problem.
The background is i am doing web development.
I used opencv to gnerate video and put the video on website.
Before i try it can it worked.
But ...
1
vote
1
answer
960
views
Encode and stream raw audio over RTP/RTSP using FDK-AAC
EDITS ADDED AT END***
I am looking for the 'simplest' way to configure an aac encoder (FDK-AAC library), sdp header, and RTP headers so that the minimum viable RTP audio stream can be played. (To ...
0
votes
2
answers
351
views
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 ...
1
vote
0
answers
176
views
How to play mp4 movie with DirectShow
Directshow can't play mp4 default.
I found GDCL MPEG-4 and it seems to decode mp4 file.
But sample is not found.
Could anyone tell me how to play mp4 with directshow using GDCL MPEG-4.
I have simple ...
0
votes
0
answers
90
views
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 ...
0
votes
0
answers
736
views
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 ...
0
votes
1
answer
539
views
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 ...
0
votes
1
answer
387
views
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 ...
1
vote
1
answer
675
views
how to differentiate between valid and invalid NALU in AVCC?
I have a mp4 file that has only video data without moov atom. I have parsed the SPS, PPS. I'm trying to decode the video frames and NALU in this data. When I process each byte of this data to find ...
0
votes
1
answer
427
views
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 ...
0
votes
1
answer
1k
views
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 ...
0
votes
0
answers
254
views
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 ...
0
votes
1
answer
1k
views
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 ...