Hi all.
I am writing a program, capturing the MPEG2 Transport Stream from a DVB-S
device and saving its parts to a file in the MPEG2 Program Stream according to
the user defined schedule.
The system, where the DVB device is installed, is rather old, it is the RHEL 4-
1 with gcc 3.4.3.
Initially I compiled the executable and libraries on my computer with gcc 4.2.3
and copied them to that system. Saved video files were fine.
However, that copying required upgrade of the compiler and the system libraries
and gave the overall system instability. Therefore I decided to compile
everything on that RHEL with the old gcc.
As a result I got lots of error messages from the FFmpeg dvd_muxer:
[dvd@ <address>] packet too large, ignoring buffer limits to mux it
[dvd@ <address>] buffer underflow i=0 bufi=9357 size=11820
[dvd@ <address>] buffer underflow i=0 bufi=11381 size=11820
and the saved video files have become buggy: no video and choppy unrecognizable
audio.
ffmpeg writes on them:
$ ffmpeg -i p8201_80_81_2008-05-05-18-55-00_2008-05-05-19-00-00.mpg
FFmpeg version SVN-r13018, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --disable-static --enable-shared --disable-stripping --
cpu=i686 --enable-debug=3 --enable-pthreads --prefix=/home/wl
libavutil version: 49.6.0
libavcodec version: 51.56.0
libavformat version: 52.13.0
libavdevice version: 52.0.0
built on May 5 2008 18:52:18, gcc: 3.4.3 20050227 (Red Hat 3.4.3-22.1)
Input #0, mpeg, from 'p8201_80_81_2008-05-05-18-55-00_2008-05-05-19-00-00.mpg':
Duration: 00:03:08.70, start: 70605.989178, bitrate: 2314 kb/s
Stream #0.0[0x1c0]: Audio: mp2
Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Must supply at least one output file
Mplayer writes on them:
Playing p8201_80_81_2008-05-05-18-55-00_2008-05-05-19-00-00.mpg.
demux: File doesn't contain the selected audio or video stream.
MPEG: Missing video stream!? Contact the author, it may be a bug :(
demux: File doesn't contain the selected audio or video stream.
MPEG: Missing video stream!? Contact the author, it may be a bug :(
libavformat file format detected.
[lavf] Audio stream found, -aid 0
[lavf] Audio stream found, -aid 1
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
Cannot sync MAD frame
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x50.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video
Exiting... (End of file)
Where could be a source of these bugs?
Compiler?
Something else?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user