[mythtv-users] Mythexport choosing wrong audio stream
Stephen Robertson
stephengrobertson at gmail.com
Tue Dec 4 16:30:44 UTC 2012
On Tue, Dec 4, 2012 at 3:57 PM, John Pilkington <J.Pilk at tesco.net> wrote:
> On 04/12/12 15:33, D. R. Newman wrote:
>>
>> On 04/12/12 09:20, John Pilkington wrote:
>>
>>> Can you switch channels on playback? The -ac 2 suggests (to me) that
>>> both channels would be passed.
>>
>>
>> I thought -ac 2 merely told avconv to produce stereo, rather than 5
>> channel output from a particular audio track, not to use a different
>> track?
>
>
> That was a guess. avconv --help and man avconv both drew a blank and I
> didn't look further. It looked like an audio option. What you describe
> below is essentially what my script does, for DVB-T, with the option to
> choose the audio PID. I haven't tried it with DVB-S, I follow it with:
>
> ionice -c3 mythutil --clearcutlist --chanid "$chanid" --starttime
> "$starttime"
>
> ionice -c3 mythcommflag --rebuild --file $1
>
> ionice -c3 mythpreviewgen --chanid "$chanid" --starttime "$starttime"
>
> using --file in the mythcommflag line because it seemed fussy about
> the starttime format. The previewgen is optional but I like it there.
> mythcommflag --rebuild now resets the filesize in the DB, so there's no need
> to script that.
>
Are either of the scripts you mention available anywhere? I take it
from your experiences that a crude approach of always choosing the
second rather than first track doesn't work as the broadcasts are not
consistent?
Cheers
Stephen
More information about the mythtv-users
mailing list