Questions tagged [mp4]

MP4 is a multimedia container format standard with the file extension .mp4. It can be used to store digital audio/video streams, in addition to other multimedia.

MPEG-4 Part 14 or MP4 (formally ISO/IEC 14496-14:2003) is a multimedia container format standard specified as a part of MPEG-4. It is most commonly used to store digital video and digital audio streams, especially those defined by MPEG, but can also be used to store other data such as subtitles and still images.

More details at MP4 in WikiPedia

3069 questions
1
vote
2 answers

Digital signature (hash) of mp4 video

Is is possible to take a digital signature of an mp4 video? Is there a canonical way to do this, similar to how we use hashes to verify text file contents? thanks EDIT: I want a way to digitally version videos uploaded to vimeo so that I can then…
Zuriar
  • 11,096
  • 20
  • 57
  • 92
1
vote
1 answer

DirectShow MP4Demux application out of memory on IMediaControl::Run

I'm using the Geraint Davies' MP4Demux to stream some previously encoded mp4 files. In a past investigation I found that the MP4Demux allocates the memory for all the atoms on loading. For smaller files this works ok, but using a larger mp4 file…
Ralf
  • 9,405
  • 2
  • 28
  • 46
1
vote
1 answer

How to read metadata from mp4 using mp4.js node module?

I am trying to read the metadata tags from an mp4 file into my javascript using the node module mp4js. I followed the model provided on that page but with some issue. I tried the following: var mp4 = require('mp4js'); mp4({ file: 'small.mp4', type:…
user95227
  • 1,853
  • 2
  • 18
  • 36
1
vote
1 answer

How to read audio and video packets from mp4 file

I am trying to write a code in c/c++ (objective c) to parse the audio and video data from mp4 file. I know that data in mp4 file contains under the mp4 atom but not sure how i can parse out the audio and video data separately. Thanks in advance for…
Dinesh
  • 929
  • 7
  • 25
1
vote
0 answers

Fetching full MIME type string, including codec info

Alright, I am currently working on a php page that can stream any video on the fly. As a part of its continued development, I decided to add the MIME type to the source tag, but ran into a bit of an issue. I know how to get the MIME type of a file,…
1
vote
1 answer

FFmpeg transcoded sound (AAC) stops after half video time

I have a strange problem in my C/C++ FFmpeg transcoder, which takes an input MP4 (varying input codecs) and produces and output MP4 (x264, baseline & AAC LC @44100 sample rate with libfdk_aac): The resulting mp4 video has fine images (x264) and the…
TheSHEEEP
  • 2,961
  • 2
  • 31
  • 57
1
vote
0 answers

Successful upload using android drive api but file got corrupted

This is the code that I'm using to capture video for 7 seconds, then automatically upload the video to Google Drive using Google Drive Android API. The problem is: when the upload is finished, I can't play the video. The saved video in the…
1
vote
0 answers

KitKat is not playing html 5 mp4 video packaged in cordova

I am loading a video tag in html5 and packaging it into APK using cordova. The generated Apk is not playing the mp4 video at all, it used to play in Jelly bean but now i am using kitkat which is not playing mp4 videos. Even the stock kitkat browser…
1
vote
1 answer

Can jcodec add audio to MP4 file?

To anyone experienced with using jcodec, my understanding is that the library cannot yet encode audio (it can decode it, however). However, jcodec does have a PCMMP4MuxerTrack class which allows you to addSamples(ByteBuffer) of raw PCM data to an…
yesbutmaybeno
  • 1,078
  • 13
  • 31
1
vote
0 answers

MP4 Video Files Not Playing In HTML5

I'm building a website for a client and I'm nearly at the end when I hit a major problem with videos. I'm going a gallery of videos which link to a video.php page in which all of the videos are in MP4 format. So I've recieved the disc with all…
1
vote
1 answer

How do I get videostreaming mp4 from JWPlayer

I would like to programatically get straming URL to this video. The page uses JWPlayer, but there is no URL in the source coe. I figured out that the URL for this particular video would be http://photon.trollvid.net/videos/076b127c.mp4, but I have…
Chiro
  • 47
  • 1
  • 8
1
vote
1 answer

Encoding YUV to mP4 With qp to get max quality

I am trying to encode my YUV420 Raw format file into mp4. Here is the ffmpeg command ffmpeg -f s16le -ar 44100 -ac 1 -i "0.a" -f rawvideo -pix_fmt yuv420p -s 480x480 -r 30 -i "0.v" -vcodec libx264 -profile:v baseline -preset ultrafast -qp 0 -b:v…
Muhammad Umar
  • 11,391
  • 21
  • 91
  • 193
1
vote
0 answers

JNI ERROR (app bug): attempt to use stale global reference 0x1d200296 in Vitamio Library

I have implemented Vitamio Library in my application. Everything work fine but I am facing one issue when user play audio file after video file then application get crashed. In logcat I am getting following error message. JNI ERROR (app bug):…
Pavya
  • 6,015
  • 4
  • 29
  • 42
1
vote
0 answers

Video stretched on iphone. How to loop movie

I have over 1000 flv clips for education market on server side. Each clips plays for less than 3-4sec. 192x144 frame size. They play on infinite loop. Users access clips via web only - after logging into their account. Our clients now wish to…
Jezza
  • 11
  • 2
1
vote
2 answers

Audio format for stream recording: FLV or mp4?

I'm capturing microphone (speech) input and publishing it on a flash server. I want this content to eventually be able to be streamed on iPhones as well as in the browser, so I'm wondering if I should pick the FLV or mp4 format (which encodes audio…
atp
  • 30,132
  • 47
  • 125
  • 187