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
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

ANDROID: Is there is free 3rd party media player for streaming MPEG4 video?

The native Media Player coming with the android SDK doesnt play most of the MPEG4 format video files. Is there an alternate 3rd party media players that I can use? If yes how can i use then? Will it be a jar that I can add to my lib directory or shd…
Akh
  • 5,961
  • 14
  • 53
  • 82
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
7
votes
1 answer

Android: Stream Camera Data and Write it to Server

I stream webcam data to my client. I can see the data is arriving by listening on('data'). However, when I create it I am not able to view it and it's probably garbage data or missing some headers. VLC cannot play it. My next step is to make it…
Mustafa
  • 10,013
  • 10
  • 70
  • 116
6
votes
2 answers

java.io.IOException: setDataSource failed when play recorded mp4

I want to play recorded mp4 data using Android Media Player,but when try to play this error showed : java.io.IOException: setDataSource failed. at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1086) at…
Redturbo
  • 1,563
  • 8
  • 22
  • 34
6
votes
1 answer

Using a DirectShow filter without registering it, via a private CoCreateInstance

So basiclly I read this, http://www.gdcl.co.uk/2011/June/UnregisteredFilters.htm. Which tells you how to use filters without registering them. There are two methods, new and using a private CoCreateInstance. Im trying to use the CoCreateInstance…
Erik Swansson
  • 157
  • 6
  • 16
6
votes
2 answers

Android - combining two MP4 files

I'm writing an Android project where I'm recording several audio files. Therefore, I'm setting the following parameters. The recording works fine.…
user1463683
  • 63
  • 1
  • 4
6
votes
2 answers

MPEG-4 and alpha transparency - the ongoing saga

I'd like to reach some sort of definitive answer for the following questions: Is alpha transparency supported in MPEG-4-based codecs? Is there any way to be reasonably certain that there is no alpha-channel from the output of ffprobe? Some links…
OrangeDog
  • 36,653
  • 12
  • 122
  • 207
5
votes
3 answers

Parsing frame-by-frame from .mov using ffmpeg

I'm trying to parse H.264 frames from a .mov file. I think I've come to the conclusion that mov.c from AVFormat-part of FFMPEG is the way to go. But mov.c is ~2600 lines of next to uncommented code. I'm looking for examples of usage of FFMPEG,…
Robin Rye
  • 480
  • 1
  • 7
  • 20
5
votes
2 answers

GOP structure via FFmpeg

I have two questions regarding the Group-of-Pictures (GOP) in MPEG4 Video (both for MPEG4 Part2 and H.264): How can I extract the GOP structure and size of a video sequence using FFmpeg? I know that the av_get_picture_type_char function of the…
chronosynclastic
  • 1,585
  • 3
  • 19
  • 40
5
votes
0 answers

Android MediaRecorder: Continuous overwriting

I'm trying to record a 10 second video for surveillance. That is quite straight forward using MediaRecorder in Android. All i have to do is call mediaRecorder.setMaxDuration(10000); However, i want to continuously overwrite the same 10 second…
user604919
5
votes
4 answers

Video processing on android, how to write MPEG4 data into a MP4 file?

How to write (wrap) MPEG4 data into a MP4 file in android? I am doing some kind video processing on android platform, but I don't know how to write the processed data (encoded in some kind standard, like MPEG4) back into video file like mp4. I think…
guanlin
  • 51
  • 1
  • 3
4
votes
2 answers

Size / Compression of MJPEG vs MPEG-4

how big is the difference between a MJPEG and a MPEG-4 encoded stream ? I have an IP Camera which is capable of saving data to a 32 MB Buffer, in MJPEG Format or in MPEG-4. Resolution is 800x600 at 30 FPS Now when I streamed with MJPEG I could save…
Toby
  • 3,815
  • 14
  • 51
  • 67
4
votes
3 answers

Can you find key frame (I-frame) in h264 video without decoding? i.e. is it in packet?

I need to know if I can find a I-frame without having to decode it first. I would like there to be some flag in AVPacket, but I can't see that there is one. Thanks.
Mooser
  • 97
  • 2
  • 10
4
votes
2 answers

Merge two .m4a files or convert .wav file to m4a

I was looking for a way to record in mpeg-4 with the ability to pause and resume but it seemed like there isn't one. So I decided to record in raw wave format and convert to .m4a. Is there a way I can convert .wav file to .m4a in android. I've…
Pannu
  • 2,547
  • 2
  • 23
  • 29
1
2
3
16 17