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

239 questions
7
votes
2 answers

Pause & Resume with Android MediaRecorder (API level < 24)

While using MediaRecorder, we don't have pause/resume for API level below 24. So there can be a way to do this is: On pause event stop the recorder and create the recorded file. And on resume start recording again and create another file and keep…
Nitin Mathur
  • 501
  • 5
  • 16
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
  • 10,477
  • 8
  • 51
  • 76
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
  • 9,075
  • 7
  • 62
  • 109
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
  • 147
  • 5
  • 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
1 answer

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
  • 30,151
  • 11
  • 105
  • 177
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
  • 7
  • 20
5
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,443
  • 7
  • 22
  • 32
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
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
  • 283
  • 2
  • 5
  • 15
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,575
  • 12
  • 43
  • 64
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,091
  • 2
  • 20
  • 24
4
votes
2 answers

IOS versions and HTML5 video support

Im new to Stack-Overflow , I have been working on a html5 video application, and I know that IOS 4.2.1 ( iphone 3g , 3gs , and 4g ) Supports the HTML5 video tag in its Safari browser. However I am wondering if the original Iphone (2g) with its IOS…
Charbz
  • 534
  • 3
  • 13
4
votes
1 answer

MP4 segments with header in each keyframe

I'm trying to locate h264 frames in the mp4 container of a segmented file(styp). For the segmentation I'm currently using MP4Box dash. I used MP4Box parser and I noticed that in each keyframe(IDR) the size of the sample is different than the size of…
1
2
3
15 16