From: Piyush V. <piy...@gm...> - 2012-06-16 07:40:36
|
Dear Janne, Thanks a lot for your valuable information. Finally I have fixed that issue. I have tried probsize but it was not working before. The problem was only this that I was using depricted API. I just change open call from av_open_input_file to avformat_open_input and it's start respecting "probsize". where av_open_input_file was overwriting my probsize with default value. I come to know that with some debugging message and with DEPRICTED_API warning message. Thanks again to everybody and hope above information could help other in that issue. Thanks & Regards Piyush Verma On Sat, Jun 16, 2012 at 3:22 AM, Janne Grunau <jan...@gr...> wrote: > 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 > -- Thanks & Regards Piyush Verma |