[mythtv-users] Version 4.4.1 of FFmpeg ready for testing

Peter Bennett pb.mythtv at gmail.com
Mon Nov 1 20:24:02 UTC 2021


On 10/31/21 4:30 PM, James Abernathy wrote:
>
>
> On Sun, Oct 31, 2021 at 4:22 PM James Abernathy <jfabernathy at gmail.com 
> <mailto:jfabernathy at gmail.com>> wrote:
>
>
>
>     On Sun, Oct 31, 2021 at 3:39 PM Peter Bennett <pb.mythtv at gmail.com
>     <mailto:pb.mythtv at gmail.com>> wrote:
>
>
>         On 10/31/21 2:21 PM, James Abernathy wrote:
>>
>>
>>         On Sun, Oct 31, 2021 at 11:18 AM Peter Bennett
>>         <pb.mythtv at gmail.com <mailto:pb.mythtv at gmail.com>> wrote:
>>
>>             I have merged version 4.4.1 of FFmpeg into the latest
>>             MythTV source
>>             master branch. The merged version is in branch
>>             devel/ffmpeg-resync. I
>>             have not merged it into the main master as yet in case
>>             there are problems.
>>
>>             I have run a few basic tests of playback with NVDEC,
>>             VDPAU and Standard
>>             (ffmpeg software) decoding. Also I tested
>>             recording/LiveTV with Ceton.
>>             All tests were successful.
>>
>>             Anybody who is interested, please build and test it to
>>             verify that all
>>             is well before we merge it into the main master branch.
>>
>>             Peter
>>
>>
>>         I have a test system with v31 on it via PPA.  It's working
>>         fine.  What else do I need to do besides building the branch
>>         devel/ffmpeg-resync.  I have built from source before, but
>>         always starting with a working system.
>>
>>         Jim A
>
>         You will need a v32-pre version (master). If you run it on v31
>         it will upgrade the database to v32 and then you will not be
>         able to go back to v31.
>
>         Peter
>
>
>     I figured it would need an upgraded database. I got the upgrade
>     done, but it turns out that I could not run mythbackend as a
>     service because the official .service file assumes
>     /usr/bin/mythbackend.  When I built from source it put the
>     executables in /usr/local/bin.  Once that was fixed it ran.
>
>     Now to the problems I'm seeing.  I have a PBS channel that has an
>     Audio Disabled error on mythfrontend due to an initialization
>     error.  All the other channels work fine.  In Setup/audio the
>     testing of the channels work and I hear sound but the error popup
>     says Invalid audio device.
>
>     If you can't duplicate, let me know and I'll see what logs I can
>     dig up
>
>     jim A
>
>
> Some of the log on that audio failure.
> 2021-10-31 16:28:01.380638 I  Player(0): Opening 
> '/srv/mythtv/livetv/10401_20211031202800.ts'
> 2021-10-31 16:28:01.741521 I  AFD: codec AC3 has 2 channels
> 2021-10-31 16:28:01.741668 I  AFD: Opened codec 0x55786d540c40, 
> id(AC3) type(Audio)
> 2021-10-31 16:28:01.741922 I  AFD: codec AC3 has 2 channels
> 2021-10-31 16:28:01.742036 I  AFD: Opened codec 0x55786d64b240, 
> id(AC3) type(Audio)
> 2021-10-31 16:28:01.759902 I  VideoOutput: SetDeinterlacing 
> (Doublerate 0): Single High|CPU|GLSL Double None
> 2021-10-31 16:28:01.759949 I  AFD: Using ffmpeg for video decoding
> 2021-10-31 16:28:01.760169 I  AFD: Opened codec 0x55786d837a40, 
> id(MPEG2VIDEO) type(Video)
> 2021-10-31 16:28:01.761207 E  DEnc: Could not open codec, invalid 
> bitrate or samplerate
> 2021-10-31 16:28:01.761213 E  AudioOutput Error: Ac-3 Encoder 
> Initialization Failed
> 2021-10-31 16:28:01.761225 I  AOBase: Opening audio device 
> 'hdmi:CARD=PCH,DEV=0' ch 6(2) sr 48000 sf signed 32 bit reenc 1
> 2021-10-31 16:28:01.836411 E  ALSA: no playback control PCM found on 
> mixer device default
> 2021-10-31 16:28:01.836435 E  ALSA: Unable to open audio mixer. Volume 
> control disabled
> 2021-10-31 16:28:01.836526 N  AudioPlayer: Disabling Audio, reason is: 
> Ac-3 Encoder Initialization Failed
>
> Jim A

Thanks for letting me know. If you disable "Upconvert Stereo to 5.1 
Surround" in Audio settings the problem should go away, as a temporary 
work around. I will look and see why this is failing.

Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20211101/331617db/attachment.htm>


More information about the mythtv-users mailing list