ffmpeg extract elementary streams from mp4

不打扰是莪最后的温柔 提交于 2019-12-06 12:05:38

问题


I have successfully ported ffmpeg library to Android by using Bambuser's ffmpeg port. I'm currently investigating the ffmpeg's source codes especially ffplay.c and api-examples.c files.

I want to extract elementary streams from Android 2.2 recorded videos. For example I can record a H.263 encoded video in the MPEG-4 container. Lets say; test.mp4 file.

What I want to achieve is, I want to extract H.263 elementary stream video from the test.mp4 file something like test.h263.

It can be extracted by using the CLI of the ffmpeg. Just like;

ffmpeg -i test.mp4 -vcodec copy test.h263

But unfortunately I don't know how to extract elementary stream from a container by using the API of ffmpeg.

Thanks.

来源:https://stackoverflow.com/questions/5899044/ffmpeg-extract-elementary-streams-from-mp4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!