[mythtv-users] Transcoding for best audio

Michael Stucky mike at stucky.us
Fri Jan 17 00:49:16 UTC 2014


On Tue, Jul 16, 2013 at 11:43 PM, Brenden Conte <brenden at thecontes.info>wrote:

> On Mon, Jul 15, 2013 at 3:06 PM, Michael Stucky <mike at stucky.us> wrote:
>
>> On Sun, Jul 7, 2013 at 7:06 PM, Michael Stucky <mike at stucky.us> wrote:
>>
>>> On Sun, Jul 7, 2013 at 6:00 PM, John Pilkington <J.Pilk at tesco.net>wrote:
>>>
>>>> On 07/07/13 21:26, Michael Stucky wrote:
>>>>
>>>>> On Sat, Jul 6, 2013 at 2:52 AM, Brenden Conte <brenden at thecontes.info
>>>>> <mailto:brenden at thecontes.info>> wrote:
>>>>>
>>>>>     Thank you everyone for your feedback; it has been quite useful!
>>>>>
>>>>
>>>> <snip>
>>>
>>>> I used to use the mencoder-based script that I posted earlier as a
>>>> preprocessor to get rid of the problematical extra streams that probably
>>>> still come and go in DVB-T recordings.  I used mythtranscode --mpeg2
>>>> --honorcutlist on the output, usually without problems, with MythArchive
>>>>  with no cutlists and no transcoding then usually able to create a
>>>> full-sized 4.3 GiB DVD image in less than 30 min.  Each stage of the
>>>> process could be checked, but inexplicable failures still happened.
>>>>
>>>> For several years now I've been using ProjectX within scripts to do the
>>>> job instead; currently mythDVBcut.  It's a hands-on process, but I can't
>>>> really see it being anything else. Failures are rare, and rarer than
>>>> before.  There are still niggly inconveniences, but the biggest worry is
>>>> that changes introduced into master, or the underlying tools, will bring
>>>> new problems when a new version of  -fixes makes its appearance. :-)
>>>>
>>>> John
>>>>
>>>> Thank you John for sharing your work and your advice for us all to
>>> benefit from!
>>>
>>> Mike
>>>
>>
>> This weekend I discovered an incredibly simple method for removing
>> unwanted audio streams from mpeg2 recordings using Mythffmpeg. The result
>> remains in an mpegts container, which means it is seekable and editable
>> like any other recording. The surprising thing is that the recording can
>> now be lossless transcoded by MythTV 0.26!!
>>
>> I have written a script (OK, full disclosure, this is mostly John's code
>> tweaked to work as a MythTV USERJOB) that takes the first video stream and
>> the first audio stream and copies them to a new file that replaces the
>> original recording. I have this configured to auto-execute for every
>> scheduled recording (it has been successfully working since Saturday
>> evening). After this JOB runs I can go in and create my cut-list as I
>> always have done in the past and schedule the "Transcode" job (this is the
>> part that has never worked for me in MythTV 0.26). Now I have recording
>>  (MythTV still see it as a normal recording, i.e. seekable and editable)
>> with no unwanted content (ads etc.) and only the video and audio streams
>> that I do want and it plays on all of my media players (Mythfronted, VLC,
>> SageTV, etc.)!!
>>
>> <snip>

>
>> Thanks Michael!  This is a great script, I will give it a try with the
> modifications needed to pick the "best", and let you know how it goes.
>
> -B
>
>
>  Update: I have enhanced my script to remove the hard-coded recordings
directory so it should work with storage groups containing multiple
directories:

http://www.mythtv.org/wiki/RemoveExtraAudioStreams

Wanted to make sure that readers of this thread are aware of and have
access to the improved script.

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140116/46af3232/attachment.html>


More information about the mythtv-users mailing list