video-codecs

how to access HTML5 video decoding functionality?

跟風遠走 提交于 2020-02-01 05:51:31
问题 HTML5 has <video/> element that downloads video from server, decodes it and renders. Often if not always they use hardware accelerated decoding (if available). Is it possible to access just decoding functionality? The reason is that I'm using custom streaming protocol and so on client side I have encoded video stream that I need to decode and render. Pure JavaScript implementations of video decoder are not applicable unfortunately as they cannot provide sufficient performance. I'm interested

Can't play this video. Android videoView mp4 recorded by android device

你离开我真会死。 提交于 2020-01-01 04:09:15
问题 I've looked for existing potential solutions with other formats and those still responds with mentioned error. Finally, recorded the video with the same device and used it as a resource for this app and it still doesn't work. Devices: SGS2 , lenovo a820 Video type: MPEG-4 video (video/mp4) videoView = (VideoView)findViewById(R.id.videoView); videoView.setVideoPath("android.resource://raw/sample.mp4"); videoView.start(); 回答1: Please refer below code snippet...problem was with the path

which function does VLC use to open a video file?

ⅰ亾dé卋堺 提交于 2019-12-24 07:15:39
问题 i`ve downloaded a video file and recorded the packet arrival time. and i want to use VLC to play the video according to the time i record. which function and how should i call to do it in the VLC source code? i mean usually which functions VLC use to play video when we press the button to open a video file? because there are so many files and functions in its source tree. thank you very much. 回答1: You can just link to libVLC and call functions in it. http://wiki.videolan.org/LibVLC_SampleCode

In h264 NAL units means frame.?

北战南征 提交于 2019-12-20 10:10:20
问题 I am working on a h264 video codec. I want to know: Is a single NAL unit in H264 equivalent to one video frame? 回答1: No, a sequence of NAL units can be decoded into video frames, but they are not equivalent. http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC http://en.wikipedia.org/wiki/Network_Abstraction_Layer#NAL_Units_in_Byte-Stream_Format_Use http://wiki.multimedia.cx/index.php?title=H.264 来源: https://stackoverflow.com/questions/6858991/in-h264-nal-units-means-frame

H.265/HEVC web browser support

老子叫甜甜 提交于 2019-12-20 08:38:45
问题 Are there any web browsers out there that can playback the H.265 / MPEG-4 HEVC codec in a html5 video element? On what platform or hardware? I heard rumours about HEVC support in Edge when hardware decoding is available. With current GPUs and CPUs shipping with HEVC hardware decoding I wonder which other browser vendors are following. Firefox already works like this for H.264 回答1: It works in IE and Edge but only if there is hardware support. It's also reported to work in Android browser and

H.265/HEVC web browser support

守給你的承諾、 提交于 2019-12-20 08:38:36
问题 Are there any web browsers out there that can playback the H.265 / MPEG-4 HEVC codec in a html5 video element? On what platform or hardware? I heard rumours about HEVC support in Edge when hardware decoding is available. With current GPUs and CPUs shipping with HEVC hardware decoding I wonder which other browser vendors are following. Firefox already works like this for H.264 回答1: It works in IE and Edge but only if there is hardware support. It's also reported to work in Android browser and

Video-codec rater by image comparison algorithm?

…衆ロ難τιáo~ 提交于 2019-12-13 00:08:51
问题 perhaps anyone knows if this is possible. comparing image quality is almost imposible to describe without subjective influences. When someone rates an image quality as good there is at least one person, that doesn't think so. human preferences are always different. So, I would like to know if there is away to "rate" the image quality by an algorithm that compares the original image to the produced one in following issues colour change(difference pixel by pixel blur rate artifacts and

How to use .so file to create an .apk file in android application for my custom video codec

对着背影说爱祢 提交于 2019-12-10 22:32:25
问题 i want create an app or .apk file which can play video in particular format. For this I had compiled my source files and taken object files, from object files i have generated one shared library file (.so) using command gcc -c -fPIC hello.c -o hello.o gcc hello.o -shared -o libhello.so can somebody please help me with the steps to create apk file from .so file in android Eclipse or android sdk what is the importence of java files while creating an apk file... 回答1: From what you have put up

How can i know the duration of any h264 file?

牧云@^-^@ 提交于 2019-12-10 08:24:30
问题 I have one file in which only h264 frames are there in form of NAL unit. So now is there any method so i can count the duration of that file? I dont know how many frames are there in file. I have only file size. PS: All i want to do is in C language and on Linux platform. 回答1: Your question is meaningless, that's why someone down vote you. Container file First, there is no such a thing as H264 file . There can be a container file (MP4, AVI, MKV) that holds the H264 encoded video. That

Picture size 0x10 is invalid | video codec is not opened.What should be the reason?

拥有回忆 提交于 2019-12-08 10:42:55
问题 Right now am using RTMPStreamPublisher to publish the video at wowzaserver from iphone application. i have downloaded some demo code from this GitHub Project https://github.com/slavavdovichenko/MediaLibDemos/tree/master/RTMPStreamPublisher. Now this sample is working great..but when i tried to create my own project with the same implementation then its giving me some error...am sure that there is not any kind of missing library or framework issue.. i had checked everything is same in my