mpeg

How can I reverse engineer a DirectShow graph?

落花浮王杯 提交于 2019-11-26 17:55:40
I have a DirectShow graph to render MPEG2/4 movies from a network stream. When I assemble the graph by connecting the pins manually it doesn't render. But when I call Render on the GraphBuilder it renders fine. Obviously there is some setup step that I'm not performing on some filter in the graph that GraphBuilder is performing. Is there any way to see debug output from GraphBuilder when it assembles a graph? Is there a way to dump a working graph to see how it was put together? Any other ideas for unraveling the mystery that lives in the DirectShow box? Thanks! -Z You can watch the graph you

Chromium Embedded Framework MP3 support

北城余情 提交于 2019-11-26 16:32:17
问题 I've downloaded Chromium Embedded Framework r306 for Windows and built it. Unfortunately, it shows, that it doesn't support mp3: <script> var a = document.createElement("audio"); document.write(a.canPlayType('audio/mpeg')); </script> Output is empty and when I try to open an mp3 file, it can't be played (ogg is playable). The same time Google Chrome writes "maybe" (and it actually plays). How can I add support for MP3 in CEF? 回答1: NOTE: PLEASE CONSIDER LEGAL ISSUES BEFORE PROCEEDING There is

Live streaming through MP4

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 15:25:59
问题 I am working on an online TV service. One of the goals is for the video to be played without any additional browser plug-ins (except for Flash). I decided to use MP4, because it is supported by the majority of HTML5 browsers and by Flash (for fallback). The videos are transcoded from ASF on a server by FFMpeg. However, I found that MP4 cannot be live-streamed because it has a moov atom for metadata that has to specify the length. FFMpeg cannot directly stream mp4 to stdout, because it puts

Can FFmpeg be used as a library, instead of a standalone program?

拟墨画扇 提交于 2019-11-26 06:16:49
问题 I\'d like to add video conversion capabilities to a program I\'m writing. FFmpeg\'s command line interface for doing this is simply ffmpeg -i InputFile OutputFile , but is there a way to make use of it as a library, so I can do something like ffmpeg_convert(InputFile, OutputFile) ? I\'m hoping I won\'t have to use libavcodec directly, as I imagine it will be far more complex than a one-line function to convert between formats. If FFmpeg can\'t be easily retrofitted to do this, is there