How do I programmatically find out the width and height of the video in an mpeg-2 transport stream file?
Thanks.
Edit: I am using C++, but am happy for examples in any language.
...
I'm trying to render MPEG-2 video files on Windows Vista "Ultimate" using DirectShow.
(note: MS included their own DirectShow filter for decoding MPEG-2 in the "Utimate" version
of Vista)
I'm manually building the following DirectShow filtergraph:
[file src] --> [MS MPEG-2 Demux] --> [MS MPEG-2 Video decoder] --> [custom video renderer]...
I have a project using libavcodec (ffmpeg). I'm using it to encode MPEG-2 video at 4:2:2 Profile, Main Level. I have the pixel format PIX_FMT_YUV422P selected in the AVCodecContext, however the video output I'm getting has all the colours wrong, and looks to me like the encoder is incorrectly reading the buffers as though it thinks it is...
So I'm trying to build some code that uses the FFMPEG libraries to read and display video packaged in an MPEG-2 Transport Stream encoded with H.264. I often find myself with intermittent problems playing the video.
However, I don't really know how to ensure that the source video is in fact free of problems.
Does anyone know where one ...
I've been working with Directshow for some time now. I've been working with codes (GMFBridge), and I recently started working with mp4demux. I saw it does a good work demuxing many compressed types, but there are a few types I work with that it still can't demux. I'm writing to ask about these ones.
I have here a sample of a XDCAM-EX fi...