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

Creating MPEG4 video file with Python from raw frames

I have a raw video frame source which I can access in Python. I'd like to create a MPEG4 video out of this, with MP3 background music. What kind of tools and libraries are available in Python for such a task? Preferably I'd like to have an API for…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
3
votes
1 answer

How to convert mpeg-4 to mp3 or wave format using pure python on Google App Engine?

I'm working on a project, using Python running on Google App Engine. The project must allow users to upload mpeg-4 audio file for others to playback. Is there a way to convert mpeg-4 to mp3/wav on the server side? Could anyone offer a solution to…
Ethan
  • 261
  • 2
  • 6
3
votes
2 answers

"audio/mpeg" stream api fails for some files plays some files?

We are recording some audios on Android phones which are having the following format as per vlc information: Codec: MPEG AAC Audio (mp4a) Language: English Type: Audio Channels: Stereo Sample rate: 32000 Hz Bits per sample: 32 The above files were…
Prashant
  • 4,474
  • 8
  • 34
  • 82
3
votes
1 answer

MPEG4 AVC header size?

Just one question : what is the size in bytes of the header of a .mp4 file ? The goal is to fuzz just this header. Thanks Karl
Karl Emax
  • 31
  • 1
  • 2
3
votes
2 answers

Using Microsoft DTV-DVD Video Decoder to play H264 video

I am trying to play an H264 video with graphedit on Windows 7 32bit. Graphedit is unable to render the file. I tried to mount the graph manually using the Microsoft DTV-DVD Video Decoder (also know as Microsoft MPEG-2 Video Encoder) but I could not…
Rafale
  • 65
  • 1
  • 3
3
votes
4 answers

Are there any non-GPL libraries for decoding MPEG-4?

I'm looking for a non-(L)GPL library to decode MPEG-4 stream. I don't mind it being commercial. The price is as not important as code quality and support. Any suggestions are welcome. Your own experience is even better.
Łukasz Lew
  • 48,526
  • 41
  • 139
  • 208
3
votes
1 answer

Parsing MPEG4 Frames from rtp packets

I am trying to parse different mpeg4 frames from an rtp stream coming from an axis camera, and feed the packets to ffmpeg library using avcodec_decode_video function. here are the steps i am doing 1. rtsp stream is initialized 2. rtp stream starts…
Althaf M
  • 498
  • 4
  • 12
3
votes
1 answer

CMVideoFormatDescription extensions for MPEG4 streams

I've managed to decode and play H264 videos, however I'm having a difficult time with MPEG4 videos. What CMVideoFormatDescription extensions does it need? I'm getting -8971 error (codecExtensionNotFoundErr) when trying to create a…
Lord Zsolt
  • 6,492
  • 9
  • 46
  • 76
3
votes
2 answers

HTML 5 Video Problem

I'm trying to set up my site to use HTML 5 videos. The mp4 files are served from S3. I've got the MIME type right, and the URL is right. It's not working though. The only thing I can think of is the codec being wrong. Here is my code:
jdp
  • 3,446
  • 2
  • 30
  • 54
3
votes
2 answers

PES structure of mpeg4 AVC video for encapsulation into Transport Stream

I want to understand how I,B,P pictures are packetized and multiplexed when mpeg4 AVC/H.264 coded video is encapsulated to a Transport Stream container (for streaming protocols like HTTP Live Streaming). For mpeg2 codec video as I understood that…
CompNet
  • 77
  • 1
  • 7
3
votes
0 answers

buffering period sei in JM reference codec

Can I know how to encode yuv420 video using JM such that each IDR frame must be associated with Buffering period SEI and picture timing SEI messages. I went through the "encoder.cfg" configure file but i coudn't find any options to enable buffering…
Nani
  • 31
  • 3
3
votes
0 answers

Decoding live H.264 stream over RTP in iOS

What I am trying to do Stream live H.264 data over the network and use hardware acceleration to decode it as specified in the WWDC video so I can play it in my iOS app in real time. What I have tried I have read RFC 6184 extensively and believe I…
ddelnano
  • 459
  • 5
  • 19
3
votes
1 answer

The reason for a 'free' box in an ISO BMFF or MP4 file?

It's easy to spot a free box in a .mp4 (or ISO BMFF) file. I'm wondering the reason for this box. Is it some sort of padding for file size? Sometimes, I even spotted two consecutive free boxes! The following is a partial info by mp4dump [ftyp]…
Drake Guan
  • 14,514
  • 15
  • 67
  • 94
3
votes
0 answers

openCV VideoCapture doesn't work with gstreamer x264

I'd like to display a rtp / vp8 video stream that comes from gstreamer, in openCV. I have already a working solution which is implemented like this : gst-launch-0.10 udpsrc port=6666 !…
nschoe
  • 1,967
  • 1
  • 19
  • 26
3
votes
0 answers

Android MediaCodec: encoding falis because no sync frames for video track

I am planning to convert a video file to another video file with different bitrate, fps, etc. Bascially I follow the examples in http://bigflake.com/mediacodec However, Log shows error of no sync frames for video track: submitted frame 5 to dec,…
user1914692
  • 3,033
  • 5
  • 36
  • 61