mp4

can't add audio stream to MP4 file using sinkwriter from Media Foundation

喜你入骨 提交于 2019-12-10 23:37:17
问题 It's been a week since I'm trying to make my encoder works... So the things is: I create a file using the Sink Writer from MF. I write all my video sample. --> (If I stop there and call the Finish methods, I'm able to read the file using VLC but if I do the bellow stuff, the file will be "corrupted") I write all my audio sample. I call the finish function and I get a HRESULT code saying: "Sink could not create valid output file because required headers were not provided to the sink". I

Accessing & Manipulating video frames from .mp4 file in Windows Phone 7 app

荒凉一梦 提交于 2019-12-10 17:22:36
问题 As you may know, when you record a video on a windows phone, it is saved as a .mp4. I want to be able to access the video file (even if it's only stored in isolated storage for the app), and manipulate the pixel values for each frame. I can't find anything that allows me to load a .mp4 into an app, then access the frames. I want to be able to save the manipulated video as .mp4 file as well, or be able to share it. Has anyone figured out a good set of steps to do this? My guess was to first

Post processing in ffmpeg to move 'moov atom' in MP4 files (qt-faststart)

两盒软妹~` 提交于 2019-12-10 16:15:01
问题 Is it possible to run ffmpeg from the command line which will either place the 'moov atom' metadata in the beginning of the MP4 file or run the qt-faststart as a post processing operation in ffmpeg so the generated file is stream-able through the internet? I can of course run it as a separate command, but would prefer it to be something as an option within ffmpeg, or as part of a post conversion, command line option when converting the video files via ffmpeg Edit 1 http://ffmpeg.org/ffmpeg

ffmpeg - generate moov atom

烂漫一生 提交于 2019-12-10 15:33:57
问题 I am currently recording video with blackmagic's prorecorder. I transcode video on-the-fly to mp4 video container with ffmpeg. Duration is unknown as I'm transcoding .ts that prorecorder is outputing to named pipe. My goal is to I try to play this file with browser, while stream is still beeing recorded - Playback is great, but problem is that when I open file, duration is defined to current recording time. So, question is - I would like to generate "fake" moov atom for duration of fe. 8

HTML5 Video Chrome - ffmpeg - mp4 working in all but Chrome

为君一笑 提交于 2019-12-10 13:48:41
问题 I have successfully encoded a file to .mp4 using ffmpeg which will play in all tested devices (Safari on PC, IE on PC, Android Browser, Andriod Video Player, and Safari iPad), except for Chrome. As a work-around, I had planned to simply list the .ogg source prior to the .mp4 source so that chrome would play the .ogg source without even seeing the .mp4 source, however, I ran into the issue mentioned here. Basically, I am after the proper ffmpeg command which will encode an .mp4 video to

Can ffmpeg place Mp4 metainfo at the beginning of the file?

元气小坏坏 提交于 2019-12-10 12:54:39
问题 As I understand, ffmpeg by default places all meta info at the end of the file when generating mp4s. Source: http://www.stoimen.com/blog/2010/11/12/how-to-make-mp4-progressive-with-qt-faststart/ What I need to do is create the video, one frame at a time and then stream it. This is impossible if the header info is at the 'end' of the file. But is it possible to move this to the beginning or otherwise work around this? I would definitely prefer to not have to switch to another library and use

MP4 STSD structure

余生长醉 提交于 2019-12-10 11:54:30
问题 I doubt in one thing. As described in ISO-14496-12 moov/mvhd/trak/mdia/minf/stbl/stsd should contain format specific box e.g. avc1 box described in ISO-14496-15 or mp42 described in ISO-14496-14. But it also contains fields in VideoSampleDescription from QuickTime Format specification such as 'version', 'revision_level','vendor', etc. Could anyone explain this issue? 回答1: The stsd (Sample Description Box) can be treated like a box that contains other boxes. Each Sample Entry is also just a

HTML5 video not playing in native iOS email client (2015)

怎甘沉沦 提交于 2019-12-10 10:55:12
问题 I am trying to send an HTML email with a video embedded in the code and view it on the native email app for iOS devices. The native iOS mail app has supported HTML5 video elements and I have tested this on many occasions in the past few years. Last week after sending a few video emails, I noticed that the media player in the native app would load, render the initial frame of the video, but not play the video. I've gone through the iOS software release history to see if there was anything that

Fedora 21 解决播放器播放mp4、rmvb格式媒体文件

泄露秘密 提交于 2019-12-09 19:38:49
新安装了fedora21 workstation,第一件事情解决播放器播放mp4、rmvb文件。 当你打开默认播放器尝试播放一个mp4文件时,会提示缺少xxx,提示你搜索,点击【搜索】,搜索出一大堆东西,点击【安装】。一切似乎都非常顺利,可是一切都是徒劳。当你再次尝试播放时,依然会提示上面的步骤,只不过最后会提示你已经安装、无法再次安装。 于是,我想起原先fedora19时,我的解决办法,就是直接安装kmplayer就好了。 sudo yum intall *Kmplayer* 但是这次,成功安装了kmplayer之后,依然无效。提示的内容与上面默认播放器的一样。 以上就我遇到的问题。也许你也一样和我感到无助、错乱、纠结、萎靡等等。。。 那么下面就是解决问题的方法,当然是在fedora21下。(64位) 1.先装rpmfusion源。 yum localinstall --nogpgcheck http://mirrors.163.com/rpmfusion/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://mirrors.163.com/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm 或者用以下两个源: http:/

How do you do true streaming with the video tag (i.e. not progressive download)? (html5)

谁说胖子不能爱 提交于 2019-12-09 16:39:16
问题 I have I have cheap Apache PHP hosting. I have mp4 and or Ogg video file. I want to dynamically stream this video to users. And let that users see it through html 5 video player. How do you do true streaming (beeng able to scroll to any part of wideo with out previous download of full video) with the video tag (i.e. not progressive download) and Apache PHP? 回答1: There appears to be a slight mix-up between "true" streaming and "pseudo" streaming here. I believe true streaming is when video is