FAQ Database Discussion Community


MP4 video doesn't start from frame 0 in some players. Why?

video,html5-video,mp4,video-processing
I'm noticing a weird issue with mp4 videos in my app. For some reason, some players do not start the video from frame 0, but rather drops the first few frames. For example: http://www.gifgrabber.com/app/misc/uploads/c44116b.mp4 open this video in Chrome - you will see the video starts at "55". Open it...

BigBlueButton H.264 & AAC Royalties/fees Required? [closed]

licensing,mp4,h.264,bigbluebutton
Looking to implement a small BigBlueButton server but leadership is asking about whether any royalties/fees need to be taken into consideration. In particular, BigBlueButton recordings are in MP4 format so they are wondering whether any H.264 & AAC encoding royalties are required? Any point in right direction is appreciated....

When converting mkv to mp4, the audio is lost

ubuntu-14.04,mp4,video-encoding,mkv
I have converted my .mkv file into an .mp4 by using the command: sudo avconv -i input.mkv -codec copy output.mp4 I am trying to play the mp4 file in the browser, but the audio is not playing. The video player shows that it is on mute, but the button is...

Updating isoparser-1.0-RC-37 from isoparser-1.0-RC-15 issues in getDecodingTimeEntries()

ffmpeg,mp4,mp4parser
I found sample code to cut the video based on the duration from Link, but i cannot find method getDecodingTimeEntries() in isoparser-1.0-RC-37. It's available in the older version of isoparser(-1.0-RC-15). So my question are. Why that methode removed from the update jar? Is there any alternate method available? Any one...

MP4 MOOV atom for progressive playing

video,video-streaming,mp4,vlc,transcoding
I'm looking a way to create a MOOV atom that would allow an user to reproduce an MP4 file while it is still transcoding (for example the transcoding of an endless stream like a the one from a security camera) I think that the only way I could do that...

multiple mp4 videos code for looping (as3)

actionscript-3,loops,mp4
import fl.video.FLVPlayback; import fl.video.VideoEvent; mcV2.autoRewind = true; mcV2.autoPlay = true; function Loop(event:fl.video.VideoEvent):void { mcV2.play(); } mcV2.addEventListener(fl.video.VideoEvent.AUTO_REWOUND, Loop); Its a good solution for looping mp4 video files, thx. How can I use 2 (or more) videos with this code for loop? etc: mcV1, mcV2, ../.....

Mozilla Firefox 36 has problems playing my h264 MP4 files

firefox,ffmpeg,h.264,mp4
I try to convert videos with ffmpeg to mp4 format (h264) Profile: High Level: 3.1 (1280x720 with 30fps), Bitrate 1500k The video plays very well in every browser except in Firefox. http://5.79.72.89/trailer/trailer.mp4 At first it needs longer to load and when I seek inside the video most times the video...

How to read and write id3v1 and id3v2 tags in Elixir

erlang,mp4,elixir,id3
I would like to scan music files and read/write metadata using Elixir (this whole project is about learning Elixir - so please don't tell me to use Python!). As I understand it, I have two choices: call a system utility or (as no libraries exist in Erlang or Elixir that...

Can a text attribute be set on .mp4 files that could be used for version info?

video,mp4,chm
I have a number of mp4 training videos that I use as help files with our software suite. I do not want to disrupt the naming convention of the video because that would change links all over the place, but would rather like to be able to tag the video...

How can this MP4 be played in Firefox? From what I know Firefox doesn't support MP4

firefox,mp4,codec
I found this mp4 from the site Giphy. To my surprise it plays in Firefox. Does anyone know how that can be? Normally I have to generate two versions of every video file, mp4 and webm. It would be nice to not have to do that. Here's the file: http://media2.giphy.com/media/yoJC2NG0MLnSoEPjIA/giphy.mp4...

check if nginx pseudo streaming is working

nginx,video-streaming,mp4,pseudo-streaming
i have nginx 1.9 version installed, and enabled mp4 ngx_http_mp4 modules,and i configured the setting below. location /video/ { mp4; mp4_buffer_size 1m; mp4_max_buffer_size 5m; mp4_limit_rate on; mp4_limit_rate_after 30s; } but when i use jwplayer to play the mp4 file and checking it using live-http-header, when i jump to different time:...

How to download mp4 file via http headers

php,http,http-headers,mp4,downloading
I've got a mp4 file saved on external FTP server. When I save it over "Save video as" when I play this video in classic HTML5 player, everything is ok. But when I download this file over this headers: header('Content-Description: File Download'); header('Content-Transfer-Encoding: binary'); header('Content-Length: FILE_SIZE'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0');...

Debugging an MP4 opened by VLC but not by ffplay

video,ffmpeg,mp4,vlc
I'm writing a code which creates MP4 files. To check it I've created an MP4 file. The file is played correctly by VLC and Firefox, but not by ffplay or by Chrome. I guess the file contains error which VLC can cope with but more aggressive MP4 reader cannot. I've...

Opening frame that is under the JavaFX program category

eclipse,video,javafx,jframe,mp4
Most of program is using JFrames throughout the application for all the different windows that can appear. However, I have to play an instructional video for the user inside a JFrame. I couldn't find a way to do this, so I had to make a JavaFX program. Is there a...

HTML5 video wont play when hosted on my server, plays fine from external source

html5,video,mime-types,mp4,webm
I think I have exhausted every avenue in trying to solve an issue whereby an HTML5 video won't play on my site. I have a simple demo page (below) to demonstrate where I am. I originally had a video in various formats for different browsers but for easier testing I...

How do I embed mp4 videos on html? [closed]

html,video,mp4
I want to make a site that has videos, how do I embed mp4 videos on html? I have tried <embed src="helloworld.mp4"> but it doesn't work.

How to read or write MP4 file from file stream in silverlight and vb.net application?

vb.net,silverlight,streaming,video-streaming,mp4
In my Silverlight web application,I am accessing mp4 audio file from client bin folder.I am saving this file stream to local folder on client machine using save file dialog box. I can play mp4 file in media element and can hear audio without any problem,But when I save file to...

mp4 video starts at different time on Quicktime/AVplayer vs Chrome/Firefox

video,avfoundation,mp4,avplayer,quicktime
I have a very strange issue. My OSX app is generating an mp4 video based on a screen cast. For some reason, if I open this video in Quicktime or any OSX-based AVPlayer, it will start about 14-15 frames in advance of frame 0. If I open the mp4 with...

Safe place to truncate H.264 data?

video,mp4,h.264,mpeg2-ts
I am writing a transmuxer to turn MPEG-TS files from an HLS stream into MP4 files, which can then be played in a web browser. I had expected to be able to just do a simple one-to-one mapping of TS files to MP4 files, but it turns out that some...

Http video streaming needs to download full video data to start play?

http,servlets,video-streaming,mp4,http-streaming
In my server two mp4 file is available. When I browse the video1.mp4 url from my browser, it started to play the video file in browser. If I play video2.mp4 url from browser,it takes long to start playing. At that time I had checked the browsers temp file, It downloads...

ffmpeg to split mp4 file into segments… after first segment, audio unsynced

ffmpeg,mp4,video-editing
I've used the ffmpeg command line shown in this question to split MKV files perfectly for a long time. Now i have some MP4 files that i'd like to split and at first it seemed to work, but every subsequent segment after the first has the audio not synced! And...

Where to store an mp4 file in my project?

.net,vb.net,visual-studio,mp4
I have been studying vb.net for a couple of months now and I want to try something new. I have this sample project to try. It is a web browser and I want that if a button will be clicked, a video will play immediately. This is what my application...

MP4Parser creates corrupt mp4

java,android,video,mp4,mp4parser
I'm using mp4parser to add two videos together in an android app, but the output is a file I can't play with my phone or my computer (Windows Media Player and VLC). This is the function i use public void MergeVideos(String[] pathsToVideos, String pathToOutput) throws IOException, InterruptedException { List<Track> tracks...

How to extract just the audio from an MP4 file and convert it to FLAC file in C#?

c#,format,record,mp4,flac
My goal is to write c# that turns Microsoft LYNC meeting audio into text. Here is my project so far. Initially I was trying to record from microphone, save it to WAV then convert WAV to FLAC and using GoogleSpeechAPI, convert FLAC to text. But I got stuck recording microphone...

Emulation prevention bytes in MP4

video,ffmpeg,mp4,h.264,libavcodec
H.264 defines that a sequence of two zero bytes should be escaped by adding a '3' byte after the two zero bytes ("Emulation prevention"). Is this escaping rule correct also for the mp4 file format? The question is followed by results of debugging ffmpeg. I've tried to open the following...

Fetch H.264 video dimensions from MPEG-TS stream with corrupted SPS

video,mp4,mpeg,mpeg2-ts
I am writing an MPEG-TS to MP4 transmuxer, which is mostly working insofar as I get playable MP4 files out of it which have the proper dimensions and playback speed and so forth. However, I am not sure how VLC (or any other video player I've tested my output on)...