Dear experts,

I am trying to get video elementary stream from a MP4 file, using ffmpeg
lib.

What I did is
(1) find correct id of video stream from MP4 file.
(2) using av_read_frame() to get a AVPacket with this specific stream-id,
and dump all found packets' packet->data into a file.

I expect this is the video elementary stream, and name the file as
video.m4v.
But the problem is the VLC player cannot recognize the file. It seems what I
get is not the elementary stream.

Please correct me if my understanding is wrong. I appreciate your
suggestions!

-- 
Woods
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to