What are the differences between the video frame data obtained from a mpeg2video transport stream vs. one obtained from the same stream stuffed inside a mpg container. For instance if I stream data into a file name source.ts for some set time and then close the file, I will get different video frame when I read the source.ts vs. reading source.mpg with avcodec_decode_video(), where source.mpg was produced with the line:
ffmpeg -i source.ts -vcodec mpeg2video -acodec copy -sameq output_filename.mpg Basically avcodec_decode_video, is producing a different video frame when reading a transport stream vs. an mpeg video file. My goal is be able to read the streaming video source (mpeg2video transport stream) without having to push it into an mpeg container prior to do video analysis on the data. Thanks, Bob _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
