<div dir="ltr">I added an extra step to my cutting commericals script that uses ffmpeg -map 0:0 -map 0:1 -c:v copy -c:a:0 copy -f mpegts<div><div><br></div><div>That creates a file with only one audio track, so that mythtranscode has no way to swap the tracks.</div></div><div><br></div><div>Weirdly, I found that it RANDOMLY swaps the tracks, so one segment between commercials will have the first track, and another will have the second, but it's not consistent.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">-- <br>Justin B. Alcorn<br>PGP Fingerprint A36D D691 C5B0 BE15 5A2A AF49 AA1C 372C</div></div>
<br><div class="gmail_quote">On Wed, Nov 12, 2014 at 6:13 AM, John Pilkington <span dir="ltr"><<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12/11/14 05:55, Justin Alcorn wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I found --audiotrack but it doesn't seem to do anything - I tried<br>
--audiotrack 0 and --audiotrack 1 both ended up with 2 audiotracks, and<br>
they are swapped.<br>
<br>
--<br>
Justin B. Alcorn<br>
PGP Fingerprint A36D D691 C5B0 BE15 5A2A AF49 AA1C 372C<br>
<br>
On Tue, Nov 11, 2014 at 9:15 PM, Justin Alcorn <<a href="mailto:justin@jalcorn.net" target="_blank">justin@jalcorn.net</a><br></span><div><div class="h5">
<mailto:<a href="mailto:justin@jalcorn.net" target="_blank">justin@jalcorn.net</a>>> wrote:<br>
<br>
Mythtv 0.28pre on Ubuntu 14.04.1<br>
<br>
I'm using a script to losslessly cut commercials out of my HRHomerun<br>
recordings. The command used is quite simple:<br>
<br>
mythtranscode --honorcutlist -m -i ${INPUTFILE} -o ${WORKFILEBASE}.mpg<br>
<br>
Everything else in the script is mythutil cutlist or mythcommflag,<br>
or other things that don't change the file. That's the only command<br>
that changes the file.<br>
<br>
When I record something off the local Fox affiliate, the default<br>
track, and the only one available for the MythTV Plex plugin, is the<br>
Audio Track for the visually impaired. The first track has been<br>
swapped with the second.<br>
<br>
The original file looks like this to ffmpeg:<br>
<br>
mythtv@gossamer:~$ ffmpeg -i<br>
/var/lib/mythtv/recordings/<u></u>3081_20141111010000.mpg.old 2>&1 | grep<br>
Stream<br>
Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] /<br>
0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr,<br>
90k tbn, 119.88 tbc<br>
Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000<br>
Hz, stereo, fltp, 448 kb/s<br>
Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000<br>
Hz, stereo, fltp, 192 kb/s<br>
<br>
<br>
mythtv@gossamer:~$ ffmpeg -i<br>
/var/lib/mythtv/recordings/<u></u>3081_20141111010000.mpg 2>&1 | grep Stream<br>
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1280x720<br>
[SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc<br>
Stream #0:1[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s<br>
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s<br>
<br>
That's a lot of changes, not just cutting out commercials. I found<br>
some 6 year old bug reports that said that the issue of<br>
mythtranscode swapping teh audio tracks was solved in 0.21, but<br>
either we've got a regression bug or something really weird is<br>
happening to me.<br>
--<br>
Justin B. Alcorn<br>
PGP Fingerprint A36D D691 C5B0 BE15 5A2A AF49 AA1C 372C<br>
</div></div></blockquote>
<br>
There are similar complaints about recent breakage at #12303. Two of my attempts to help have vanished without trace, rejected as possible spam and apparently not recoverable, I suspect bad stream choice there too, and was trying to steer the thread towards the user list...<br>
<br>
John P<br>
<br>
<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/<u></u>mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/<u></u>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div><br></div>