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
1
vote
1 answer

Get Stream Type from Rtp Packets or by Other Methods

I have simple Rtsp Source Filter which connects Rtsp Server and get Rtp packets. The problem is that i have to set media subtype in my Rtsp Source Filter Pin...[ Now i give substype hard-coded] pMediaType->SetSubtype(&MyHardCodedSubTypeGUID); What…
Novalis
  • 2,265
  • 6
  • 39
  • 63
1
vote
1 answer

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 avoid subjectivity, by simplest, I mean requires the…
Douglas B
  • 585
  • 2
  • 13
1
vote
0 answers

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 directshow sample below. #include…
BigRiver
  • 11
  • 1
1
vote
1 answer

Loading MPEG-4 H264 with SDL or Open Media Layer on Windows, is this possible?

I want to programmatically load the MPEG-4 H264 video format. I want to know if anyone has tried it or knows if it is possible with SDL or Open Media Layer APIs on Windows.
ceorron
  • 1,230
  • 1
  • 17
  • 28
1
vote
1 answer

Creating procedural MPEG-4 video with pygst

I hope to find how to create MPEG-4 video file with pygst (other frameworks can be suggested). The question has three parts How to feed generated video data in pygst pipeline from Python frame buffer How to save this stream to MPEG-4 file How to…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
1
vote
0 answers

Remux MPEG TS -> RTP MPEG ES

Please guide me to achieve the following result in my program (written in C): I have a stream source as HTTP MPEG TS stream (codecs h264 & aac), It has 1 video and 1 audio substream. I need to get MPEG ES frames (of same codecs), to send them via…
1
vote
1 answer

Cocoa Touch: Capturing Still Poster Frame from Video File?

I have an app that records videos. It will display each video in its interface, and I'd like to have a little thumbnail to represent each video. OS X shows a preview of the video, a poster frame taken some few seconds into the file. I'd like to do…
Aaron Vegh
  • 5,217
  • 7
  • 48
  • 75
1
vote
1 answer

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 NALU, I'm getting a false NALU because in RBSP data…
Mohammad Azam
  • 71
  • 1
  • 7
1
vote
1 answer

Writing H264 File using Microsoft sample Dump Filter

I just create a simple Graph Source Filter [ MPEG4 || H264 ] ----> DumpFilter I can write raw encoded video stream to file and can play. But there is a problem with H264 video. When i play recorded H264 stream it play too fast.(Should have to…
Novalis
  • 2,265
  • 6
  • 39
  • 63
1
vote
0 answers

How to detect if a media file is DRM protected in ANDROID?

I trying to play a MPEG4 file using Android VideoView(Media Player). But it gives out the following error. Here is the logs. VERBOSE/MediaPlayerService(64): setDataSource(), player type = 4 DEBUG/MediaPlayerService(64): setDataSource(), player type…
Akh
  • 5,961
  • 14
  • 53
  • 82
1
vote
1 answer

Why can't I get a manually modified MPEG-4 extended box (chunk) size to work?

Overview As part of a project to write an MPEG-4 (MP4) file parser, I need to understand how an extended box (or chunk) size is processed within an MP4 file. When I tried to manually simulate an MP4 file with an extended box size, media players…
Moshe Rubin
  • 1,944
  • 1
  • 17
  • 37
1
vote
1 answer

Problem while encoding PCM Stereo file to M4A stereo

I am facing an issue while encoding M4A stereo file from PCM. My code works perfectly for MONO encoding (means Channel count =1) but for stereo(channel count =2) it's not working. The problem is that the encoder doubles the duration of audio. I…
Umer Farooq
  • 583
  • 3
  • 17
1
vote
1 answer

How can I change slice_type which is show in Elecard stream analyzer using ffmpeg?

I'm not ffmpeg and encodding expert and am trying to encode a MP4 file to MPEG-4 h264 .ts file. When Elecard stream analyzer is analyzing my result .ts file, it shows slice_type = 7 for all of i-frames as you can see in the attached screenshot. How…
Tooraj Jam
  • 1,592
  • 14
  • 27
1
vote
1 answer

Shifting audio in MPEG4 content and manipulating atoms

1. Shift audio I use ffmpeg / avconv quite often ... and usually I hate it. Those tools do what they are instructed to do about 30% of the time. I could give you countless examples but I don't want to start flame war, so please help me with my…
LLL
  • 1,777
  • 1
  • 15
  • 31
1
vote
1 answer

How play m4a/aac audio file if piece is missing?

We have an m4a audio file a container for a AAC encoded audio (container stream is mpeg-4, audio stream is AAC). We are transmitting this file in pieces (just breaking it randomly, at our size limit, and transmitting those bytes) between 2…
Fraggle
  • 8,607
  • 7
  • 54
  • 86