[mythtv-users] Mythexport choosing wrong audio stream

john.baab at gmail.com john.baab at gmail.com
Tue Dec 4 16:29:29 UTC 2012


-ac channels        set number of audio channels
AKA stereo sound.  So that isn't what you want.

This should help you:
http://libav.org/avconv.html#Stream-selection



On Tue, Dec 4, 2012 at 10:57 AM, 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.
>
>
>
>> My solution to the original problem is to run a demux script on every UK
>> MPEG2 recording. It uses projectx to split into video and audio tracks,
>> finds the longest audio file, then uses mplex to combine that with with
>> the video file, producing an MPEG2 file with only one audio track. Put
>> that into mythexport and all should be well.
>>
>> David Newman
>> ______________________________**_________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/**listinfo/mythtv-users<http://www.mythtv.org/mailman/listinfo/mythtv-users>
>>
>>
> ______________________________**_________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/**listinfo/mythtv-users<http://www.mythtv.org/mailman/listinfo/mythtv-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121204/a62c0c56/attachment.html>


More information about the mythtv-users mailing list