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

Not able to generate mp4 using png and mp3 audio

I am totally nob to FFMPEG. I am trying to generate mp4 video file by merging mp3 and png image. When i try converting png image into mp4 it works ffmpeg -r 1/5.544000 -i 1.png -qscale 2 1.mp4 But when i add mp3 audio file then it fails ffmpeg -r…
Bhaskar Dabhi
  • 841
  • 1
  • 11
  • 28
1
vote
1 answer

cant play movie file with JME3-JFX

I am trying to play an flv file using JME3X-JFX and i use the demo class and can play their file via the http url method. I can also download their flv and play it with the flv method. But i cant seem to play my own flv file (downloaded after using…
jsky
  • 2,225
  • 5
  • 38
  • 54
1
vote
0 answers

ffmpeg creating mp4 vs mp4

I have two mp4 files. One of them was given to me and plays well under mediawiki (using the MediawikiPlayer extension). The other I created from a WMV file and it does not play. When I look at the two files through the eyes of ffprobe, they appear…
1
vote
1 answer

How to extract duration from an mp4 FileStream object (not stored in file system)

I've been trying to find a library in Nuget that will give me the duration of an MP4 when it is being uploaded to my server. Everything I've come across requires the filepath of the video. Is there anything out there that I can pass a Stream object…
What-About-Bob
  • 649
  • 5
  • 13
1
vote
0 answers

FFmpeg - Fragmented MP4 with non-fixed frame rate

I'm creating a fragmented MP4 for the use of playing in Media Source Extensions. The command line is: ffmpeg.exe -probesize 10000000 -r 10 -i - -vcodec copy -an -f mp4 -reset_timestamps 0 -blocksize 30000 -movflags…
galbarm
  • 2,441
  • 3
  • 32
  • 52
1
vote
1 answer

Download mp4 in Android WebView

I have a WebView which goes to a website which has mp4 files available for download, but when i press the download button nothing happens. Is there any way to be able to download the file through the WebView? Help would be appreciated.
user3074140
  • 733
  • 3
  • 13
  • 30
1
vote
1 answer

How to replace audio of a video in Android

I'm trying to replace the audio of a video in Android. I think to solutions like mute the video and put on it an audio track, but that not works very well if you want to save the video with the track on. Is there a way to replace the sound part of a…
Bitle Apps
  • 148
  • 8
1
vote
3 answers

Spring Boot - Writing media (image, mp3, mp4) file to response output stream

I am new to Servlets and Spring Framework. I try to get media files from directory through Rest Service. For videos/mp4 I couldn't find anything. For audio I did this: Writing mp3 file to response output stream For images I did…
pik4
  • 1,283
  • 3
  • 21
  • 56
1
vote
0 answers

Mp4/m4a audio streaming issue in iOS9 using AudioToolBox

I have a audio streaming app that streams music from a network resource with audio files as mp4's encoded as AAC using Azure's Media Encoder. I'm using open source library's https://github.com/muhku/FreeStreamer…
1
vote
1 answer

Safari gets 404 on mp4 from IIS

I'm using IIS to serve mp4 videos. I get a 404 on mac/safari. It works in chrome and firefox on the same macs. The MIME is video/mp4 . I've ran tests locally to rule out the video encoding, and the videojs. I've taken the request path directly as…
loctrice
  • 2,454
  • 1
  • 23
  • 34
1
vote
0 answers

mp4 upload from httppostedfilebase triggers The resource you are looking for has been removed, had its name changed, or is temporarily unavailable

I really don’t get this and am having little luck in finding any help online. Please help. I have a form on my site that allows the user to upload two httppostedfilebase files. It works fine for anything, word docs, images etc but as soon as I try…
1
vote
1 answer

android videoview mp4 seekto can only seek to every 10 seconds

i have an mp4 i am trying to view on my android in a video view but for some reason when i use seekto i can only seek to every 10 seconds. if i seek to 34 seconds it seeks to 30 and if i seek to 36 it seeks to 40. and so on for every thing i try to…
Tomer Shemesh
  • 10,278
  • 4
  • 21
  • 44
1
vote
1 answer

How to create an Mp4 file from H264 raw data that I am receiving from a live streamer

How to create an Mp4 file from H264 raw data that I am receiving from a live streamer (no predefined duration or moov atom), unfortunately can't use FFMPEG, I have to write my own code using live555. Can somebody help me with Mp4 container and how…
1
vote
1 answer

MP4 'covr' atom - where is it located

Where in an mp4 file is the covr atom located? Or where is its location specified, ISO 14496-1?
kurosh
  • 11
  • 2
1
vote
2 answers

Concatenate video files to get a single video in Rails project

I would like to know which is the best or the most efficient library to concatenate video files. I'm working in a Rails project and I need to merge different video files to get one video in mp4. I've been searching in Internet but I don't see a…
David Soler
  • 219
  • 6
  • 22