[mythtv-users] asus memo pad 7

Bill Meek keemllib at gmail.com
Tue Feb 10 16:17:01 UTC 2015


On 02/10/2015 09:55 AM, Daniel Frey wrote:
...
> Also, Bill Meek has a working patch for mythtranscode that will allow it to
> --honorcutlist if you are interested in doing HLS transcodes without
> commercials.  But it is a patch and you have to be running your backend
> from source.
>
> Dan

Here's the patch:

diff --git a/mythtv/libs/libmythtv/HLS/httplivestream.cpp b/mythtv/libs/libmythtv/HLS/httplivestream.cpp
index 12e99fe..04a3617 100644
--- a/mythtv/libs/libmythtv/HLS/httplivestream.cpp
+++ b/mythtv/libs/libmythtv/HLS/httplivestream.cpp
@@ -76,7 +76,7 @@ class HTTPLiveStreamThread : public QRunnable
          uint flags = kMSDontBlockInputDevs;

          QString command = GetAppBinDir() +
-            QString("mythtranscode --hls --hlsstreamid %1")
+            QString("mythtranscode --hls --hlsstreamid %1 --honorcutlist")
                      .arg(m_streamID) + logPropagateArgs;

          uint result = myth_system(command, flags);

The above didn't work long ago (I think I tried it in 0.26 but not in 0.27.)
And all my source material is in .mpg files. The old result was hundreds of
0 byte *.ts files and one with the original content size.

-- 
Bill


More information about the mythtv-users mailing list