[mythtv-users] Mythexport choosing wrong audio stream

John Pilkington J.Pilk at tesco.net
Tue Dec 4 15:57:27 UTC 2012


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
>



More information about the mythtv-users mailing list