[mythtv] FFmpeg sync

Janne Grunau janne-mythtv at grunau.be
Mon Oct 13 21:17:44 UTC 2008

On Saturday 11 October 2008 21:30:46 David Engel wrote:
> On Sat, Oct 11, 2008 at 03:30:22PM +0200, Janne Grunau wrote:
> > I've updated the ffmpeg sync patch since all major regressions I
> > know of should be fixed. There is still at least one H.264 decoder
> > segfault which I can't reproduce and is not a regression.
> >
> > I intend to apply following patch monday or tuesday evening CEST.
> The following change in configure causes a "GNU make not found" error
> if a gmake isn't installed.
> -make="make"

Yeah, ffmpeg's Makefiles need gnu make, but we should not. I'll correct 
that before committing.

> When I played an HDPVR 480p H.264 recording using mythfrontend, the
> video played fine but I got no audio and the following log messages:
> 2008-10-11 13:43:40.745 Opening audio device 'default'. ch 1(1) sr
> 12000 2008-10-11 13:43:40.745 Opening ALSA audio device 'default'.
> 2008-10-11 13:43:40.763 AudioOutput Error: Unable to get period size
> for playback: Invalid argument 2008-10-11 13:43:40.763 AudioOutput
> Error: Unable to set ALSA parameters 2008-10-11 13:43:40.763 NVP:
> Disabling Audio, reason is: Unable to set ALSA parameters

Is that a recording with AAC audio? please send a complete log, the 
error looks unrelated to the ffmpeg merge.

> This was with mythtv configured with "--enable-debug".  When I
> rebuilt later with "--compile-type=debug", audio worked.

could you try with with --compile-type=profile? --enable-debug shouldn't 
be used.

> When I played a PVRx50 480i MPEG2 recording using mythtv, the video
> and audio planed fine with "--enable-debug" and
> "--compile-type=debug".
> When I played a QAM 720p MPEG2 recording using mythtv, it segfaulted
> with with "--enable-debug" and "--compile-type=debug".  The backtrace
> from the "--compile-type=debug" version is attached.

The backtrace is useless, it looks if it is for two separate processes 
and it misses symbols for libmythavcodec. And please don't cut the 
message in which thread and function the segfault occured. If the error 
with that recording is reproduceable a sample would help.


More information about the mythtv-dev mailing list