Mailing List Archive

Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS
On 2013-06-03, at 3:46 PM, MythTV wrote:

> #11497: ffmpeg1.1 sync: issue with HLS
>
> Right. With AAC works perfectly!. Thx. My family simply kiss You :-p

No kisses from me. I’m getting a lot of static and what sounds like a slow speed version of the audio underneath the static. Does that ring a bell for anyone? If not I’ll wait until a fix goes in for the built-in encoder.

- George

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 06/04/2013 10:14 AM, George Nassas wrote:
> On 2013-06-03, at 3:46 PM, MythTV wrote:
>
>> #11497: ffmpeg1.1 sync: issue with HLS
>>
>> Right. With AAC works perfectly!. Thx. My family simply kiss You :-p
>
> No kisses from me. I’m getting a lot of static and what sounds like a slow speed version of the audio underneath the static. Does that ring a bell for anyone? If not I’ll wait until a fix goes in for the built-in encoder.
>
> - George

I suspect you tested with an HD recording with 5.1 audio. I had the
same result. When I tested with an SD recording, it worked fine.

--
Bill
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 2013-06-04, at 11:20 AM, Bill Meek wrote:

> I suspect you tested with an HD recording with 5.1 audio. I had the
> same result. When I tested with an SD recording, it worked fine.

You’re right, I though of that after posting and sure enough the shows with mp3 audio transcode fine.

- George

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
Hi

On 5 June 2013 01:20, Bill Meek <keemllib@gmail.com> wrote:

>
> I suspect you tested with an HD recording with 5.1 audio. I had the
> same result. When I tested with an SD recording, it worked fine.

are you sure you're using faac and not the ffmpeg build-in AAC
encoder? last one has definite issues

what type of audio is it using to start with? AC3 or AAC ?

and open another bug for this, this is unrelated to the current one.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 06/04/2013 07:35 PM, Jean-Yves Avenard wrote:
> Hi
>
> On 5 June 2013 01:20, Bill Meek <keemllib@gmail.com> wrote:
>>
>> I suspect you tested with an HD recording with 5.1 audio. I had the
>> same result. When I tested with an SD recording, it worked fine.
>
> are you sure you're using faac and not the ffmpeg build-in AAC
> encoder? last one has definite issues

To be honest, I don't know. But I built 0.27-pre with the following

--enable-nonfree --enable-libfaac --enable-libx264 --enable-libvpx \
--enable-libxvid --enable-proc-opt

And I ran the backend with and without -O HLSAUDIO=aac and heard the
same static and slow audio that was mentioned earlier.

> what type of audio is it using to start with? AC3 or AAC ?

Full mythtranscode log with -v libav --loglevel debug is here:

http://pastebin.com/raw.php?i=bkwuP90L

These lines suggest AC3:

...Stream #0:1[0x34], 20, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
...Stream #0:2[0x35], 20, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 128 kb/s (visual impaired)

But following the above are lines like:

...[libfaac @ 0x7f12fe2aada0] Channel layout not specified

> and open another bug for this, this is unrelated to the current one.

Will do. If you recommend any other -v options or test requirements, I'd
be happy to rerun the tests before creating the ticket. I know that editing
the logs is sometimes a bad idea, so if the 54500 lines I edited out of the
pastebin are useful, please let me know. I've still got them.

--
Bill
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 2013-06-05, at 1:26 PM, Bill Meek wrote:

>> and open another bug for this, this is unrelated to the current one.
>
> Will do

No need, I just opened #11575 and it includes a link to a short mpeg that demonstrates the problem.

Regarding the use of the internal aac library, I did an ldd on mythtranscode and libfaac.so.0 => /usr/lib/x86_64-linux-gnu/libfaac.so.0 does show up but that doesn’t necessarily mean the code is using it does it?

- George
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 6 June 2013 07:49, George Nassas <gnassas@mac.com> wrote:
> On 2013-06-05, at 1:26 PM, Bill Meek wrote:
>
> and open another bug for this, this is unrelated to the current one.
>
>
> Will do
>
>
> No need, I just opened #11575 and it includes a link to a short mpeg that
> demonstrates the problem.
>
> Regarding the use of the internal aac library, I did an ldd on mythtranscode
> and libfaac.so.0 => /usr/lib/x86_64-linux-gnu/libfaac.so.0 does show up but
> that doesn’t necessarily mean the code is using it does it?

Did transcoding 5.1 audio ever worked for you guys ??? I mean no loss
of channels or weird mixed audio?

A 5.1 AC3 stream as the code was could only ever result in static...

Unless I've missed something obvious, it just couldn't handle those ever.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 06/06/2013 01:11 PM, Jean-Yves Avenard wrote:
> On 6 June 2013 07:49, George Nassas <gnassas@mac.com> wrote:
>> On 2013-06-05, at 1:26 PM, Bill Meek wrote:
>>
>> and open another bug for this, this is unrelated to the current one.
>>
>> Will do
>>
>> No need, I just opened #11575 and it includes a link to a short mpeg that
>> demonstrates the problem.
>>
>> Regarding the use of the internal aac library, I did an ldd on mythtranscode
>> and libfaac.so.0 => /usr/lib/x86_64-linux-gnu/libfaac.so.0 does show up but
>> that doesn’t necessarily mean the code is using it does it?
>
> Did transcoding 5.1 audio ever worked for you guys ??? I mean no loss
> of channels or weird mixed audio?

Yes, it did. The audio sounds fine, but my tablet only has 2 speakers.
The following was the evening news. The On Screen Display in mythfrontend
says it's 5.1. Since it's only the news, I suspect the loss of channels isn't
detectable.

Building with only --enable-libx264 and --enable-proc-opt
after reverting back to: v0.27-pre2-821-geca2729.

Here's the mythtranscode log beginning: http://pastebin.com/raw.php?i=fERCUu1d

> A 5.1 AC3 stream as the code was could only ever result in static...
>
> Unless I've missed something obvious, it just couldn't handle those ever.

--
Bill
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 2013-06-06, at 7:49 PM, Bill Meek wrote:

> On 06/06/2013 01:11 PM, Jean-Yves Avenard wrote:
>> Did transcoding 5.1 audio ever worked for you guys ??? I mean no loss
>> of channels or weird mixed audio?
>
> Yes, it did

Likewise. Over the year and a half HLS has been available I’ve used both the internal and external encoders. Or, at least I gave the --enable switches to make it happen. I don’t know what was going on internally.

If you like I can roll back to the revision Bill mentions and put a breakpoint on some problematic line to verify that it takes that path. On the other hand, last summer (I’m in North America) Chris Pinkham did several fixes for ac3 audio which I assume was to that same code you’re looking at so I don’t know what to say.

- George

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 06/06/2013 14:11, Jean-Yves Avenard wrote:
> On 6 June 2013 07:49, George Nassas <gnassas@mac.com> wrote:
>> On 2013-06-05, at 1:26 PM, Bill Meek wrote:
>>
>> and open another bug for this, this is unrelated to the current one.
>>
>>
>> Will do
>>
>>
>> No need, I just opened #11575 and it includes a link to a short mpeg that
>> demonstrates the problem.
>>
>> Regarding the use of the internal aac library, I did an ldd on mythtranscode
>> and libfaac.so.0 => /usr/lib/x86_64-linux-gnu/libfaac.so.0 does show up but
>> that doesn’t necessarily mean the code is using it does it?
>
> Did transcoding 5.1 audio ever worked for you guys ??? I mean no loss
> of channels or weird mixed audio?
>
> A 5.1 AC3 stream as the code was could only ever result in static...
>
> Unless I've missed something obvious, it just couldn't handle those ever.

Works fine using passthrough and fifidir, even latm.

P.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
Re: [mythtv-commits] Ticket #11497: ffmpeg1.1 sync: issue with HLS [ In reply to ]
On 8 June 2013 08:50, Paul Gardiner <lists@glidos.net> wrote:
> Works fine using passthrough and fifidir, even latm.

that's to be expected as 1- it's not HLS and 2- you're not re-encoding
nor decoding
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev