From: Janne G. <jan...@gr...> - 2012-06-15 19:31:31
|
Hey, On 2012-06-16 02:23:08 +0800, Piyush Verma wrote: > > I was working on DVBT for android. > > libmpeg2 looks interesting for that application. How ever I found some > issue while tyring to use it. > > I have compiled some test program like extract_mpeg2 and mpeg2dec. > > When I run extract_mpeg2 /dev/dvb0.dvr0. I am getting contentiously message > "looks like a video stream, not system stream" DVB-T uses a MPEG transport stream and extract_mpeg2 seems to expect a system stream. This is not going to work well. > Just for information. Before I was trying ffmpeg but the problem there I > got is av_open_input_file takes approx 12 to 15 sec. which is very long. av_open_input_file() with default options is optimized for fast random file access. It doesn't work well on the dvr device. The biggest problem is probably the size of the probe buffer (iirc 5 mega byte). Try setting probesize to something more reasonable, 100 kilo byte should be safe for SD mpeg2 program. If you have further question regarding libavcodec/format usage please ask on the libav-api mailing list https://lists.libav.org/mailman/listinfo/libav-api/ I would recommend using Libav over FFmpeg because the developers caring about Arm and embedded systems are in the Libav project. HTH Janne, Libav developer |