h.264

What combinations of video formats and video and audio codecs can be played in most modern browsers using html5?

拥有回忆 提交于 2019-12-14 03:01:10
问题 We want to play video with audio using the <video> tag. What combinations of video formats and video and audio codecs can be played in most modern browsers using html5? For example, can the files be in Quicktime container format? Can they be h.264 and MP3 inside of Quicktime and still play in most browsers? Can they be h.264 and AAC inside of Quicktime and still play in most browsers? We do not care about Internet Explorer older than version 11. We do care about current versions of Chrome,

what happen to B-frames?! MP4Box evalvid , JM .264

谁都会走 提交于 2019-12-13 08:35:29
问题 I encode an HD video (Beauty.yuv) by JM with IBBBPBBBPBBBP... pattern. then to convert output.264 to out.mp4 by MP4Box do this: MP4Box -profile high -hint -mtu 1024 -fps 30 -add output.264 out.mp4 then I make .st file: ./mp4trace -f -s 192.168.0.2 12346 out.mp4 > st_a01.st but my st file look like: 1 I 142647 140 0.075 2 P 82493 81 0.202 3 P 24373 24 0.204 4 P 29224 29 0.204 5 P 23495 23 0.204 6 P 76393 75 0.331 7 P 22832 23 0.331 8 P 25367 25 0.336 9 P 22635 23 0.336 10 P 120039 118 0.469 11

How to enable autoplay .h264 video in html

主宰稳场 提交于 2019-12-13 03:50:56
问题 I am trying to get a h.264 video to autoplay in Qualtrics. Here is the HTML code for the video (I've removed the source from the code). <video class="qmedia" controls="true" height="480" preload="auto" width="640"><source src="blah" type="video/mp4" /><embed align="middle" autoplay="true" bgcolor="white" class="qmedia" controller="true" height="480" pluginspage="http://www.apple.com/quicktime/download/" src="blah" type="video/quicktime" width="640" /></video> I've tried autoplay ="true" and

how to decode h.264 slice mode stream with type-9 NALs on iOS

时光怂恿深爱的人放手 提交于 2019-12-13 03:34:52
问题 The input raw bitstream has type 9 NALs (AU delimiter). There are multiple NALs of type 5 or 1 between NAL type 9. for ex: {NAL-9, NAL-5, NAL-5, NAL-9, NAL-1, NAL-1, NAL-9, NAL-1, NAL-1 ....}. I believe the encoder used slice mode (raw stream is from windows h.264 encoder which has slice mode enabled via low latency flag). How do i feed such stream to iOS? My guess: put all NALs between two NAL-9 into one buffer, removed NAL-9, and send those buffers to HW decoder. In my example, buffers

Android video stream to windows desktop - Latency Issue

对着背影说爱祢 提交于 2019-12-13 03:05:51
问题 I am using an android v21 device to stream data to a javafx application. Its working fine but I have about 2 seconds of latency. As of now the basic transportation goes like this android Cameratompegtest.class unkown latency android packetizer(udp) 10 millis windows depacketizer no buildup of data in buffers windows ffmpeg framgrabber unkown latency javafx imageview <1 millis My data stream to my desktop and my packetizer is much faster than my frame rate and is often just waiting. There is

ffmpeg stream decoding - artefacts when not using ffplay

旧街凉风 提交于 2019-12-13 01:17:59
问题 I stream a video capture via RTP using libx264. For now, I just stream to localhost. For watching the stream, I use the ffmpeg library. When I set the GOP size greater than 1 (only I frames), I get artefacts on the receiver side . The strange thing is, when I use ffplay, the image is perfect . What am I doing wrong? Settings for encoding output_codec_ctx->bit_rate = 5000000; output_codec_ctx->width = 1920; output_codec_ctx->height = 1080; output_codec_ctx->time_base.den = 30; // frames per

FFMpeg Mobile video encoding stutter

↘锁芯ラ 提交于 2019-12-12 18:34:04
问题 I have been playing around with ffmpeg and video encoding and even though my mp4's work great on desktop, they are smooth etc they are terrible on mobile devices. They stutter and load very slowly and I am trying to figure out the problem. As an example I made a page using the media element plugin: http://mediaelementjs.com/ and on it I first placed the video that comes with mediaelementjs and it worked well, it scaled to desktop and mobile and loaded quickly and played without any stutter.

how encode bitmap with H264 video encoder MFT in windows

﹥>﹥吖頭↗ 提交于 2019-12-12 17:10:39
问题 My application do encoding of captured frame from GDI or DXGI method. currently i am doing encoding with help x264 library. AFAIK x264 is software based library, i want to do encoding with help of GPU, so it can save CPU cycles and hope speed also will be faster. After searching, I found a H.264 Video Encoder MFT which is doing h264 encoding. But couple of questions are answered for me. 1) is It faster than x264 encoding library? 2) can bitmap frame be encoded with help this MFT? - i have

Filling CMediaType and IMediaSample from AVPacket for h264 video

谁说胖子不能爱 提交于 2019-12-12 14:59:44
问题 I have searched and have found almost nothing, so I would really appreciate some help with my question. I am writting a DirectShow source filter which uses libav to read and send downstream h264 packets from youtube's FLV file. But I can't find appropriate libav structure's fields to implement correctly filter's GetMediType() and FillBuffer(). Some libav fields is null. In consequence h264 decoder crashes in attempt to process received data. Where am I wrong? In working with libav or with

How to properly wrap H264 into FLV with FFMPEG?

ⅰ亾dé卋堺 提交于 2019-12-12 14:37:53
问题 First of all, the "properly" in the title refers to this related question, of which answer does not solve my problem. tl;dr: There is a difference between encoding a video and directly storing it into FLV and doing this in two separate steps. I need to do it separately, how do I get the same result as doing it directly? Nvidia's hardware encoder NVENC produces raw H.264 data without a container, which is difficult to play in most video players. For an Adobe AIR application, I need to wrap the