[mythtv-users] mythtranscode in V31

James Abernathy jfabernathy at gmail.com
Sat Apr 4 17:07:32 UTC 2020


> On Apr 4, 2020, at 12:14 PM, James Abernathy <jfabernathy at gmail.com> wrote:
> 
> I wanted to test transcoding on v31 on the RPi4 but first I need to better understand how to properly use it on v31 on my production backend which is a Core i7 PC so no performance issues. Source is OTA MPEG2 programs from HDHR.
> 
> 1.  The concept is to have a recording that is automatically flagged for commercials. 
> 2,  Then after the Commflagging is done use Mythfrontend to manually edit the cutlist to be correct for all commercials and save it.
> 3.  Use the builtin Job Option -> Begin Transcoding -> [Default | Autodetect | High Quality | Medium Quality | Low Quality] I used Autodetect for my test.
> 
> While this works, the transcoded program is really messed up.  What I want is lossless MPEG2 (.ts). I envision a simple copy function where the source is copied to a .tmp file dropping the commercials but no compression. So the file would be smaller and the quality the same. No changing of interlacing.
> 
> I’m not doing this right. So any help would be appreciated.
> 
> Jim A
>   
In an effort to get more data, I tried mythtranscode from the command line and was even less successful there.  Console log with error below:
jim at mythbuntu:~$ mythtranscode --infile /mnt/md0/recorded-tv1/11701_20190529020000.ts --mpeg2 --honorcutlist -o /home/jim/Videos
2020-04-04 13:03:44.042146 C  mythtranscode version:  [v31.0] www.mythtv.org
2020-04-04 13:03:44.042161 C  Qt version: compile: 5.9.5, runtime: 5.9.5
2020-04-04 13:03:44.042181 I  Ubuntu 18.04.4 LTS (x86_64)
2020-04-04 13:03:44.042183 N  Enabled verbose msgs:  general
2020-04-04 13:03:44.042191 N  Setting Log Level to LOG_INFO
2020-04-04 13:03:44.052485 I  Added logging to the console
2020-04-04 13:03:44.052745 I  Setup Interrupt handler
2020-04-04 13:03:44.052756 I  Setup Terminated handler
2020-04-04 13:03:44.052764 I  Setup Segmentation fault handler
2020-04-04 13:03:44.052776 I  Setup Aborted handler
2020-04-04 13:03:44.052784 I  Setup Bus error handler
2020-04-04 13:03:44.052792 I  Setup Floating point exception handler
2020-04-04 13:03:44.052797 I  Setup Illegal instruction handler
2020-04-04 13:03:44.052803 I  Setup Real-time signal 0 handler
2020-04-04 13:03:44.052809 I  Setup Hangup handler
2020-04-04 13:03:44.052888 N  Using runtime prefix = /usr
2020-04-04 13:03:44.052891 N  Using configuration directory = /home/jim/.mythtv
2020-04-04 13:03:44.052944 I  Assumed character encoding: en_US.UTF-8
2020-04-04 13:03:44.053225 I  Empty LocalHostName. This is typical.
2020-04-04 13:03:44.053232 I  Using a profile name of: 'mythbuntu' (Usually the same as this host's name.)
2020-04-04 13:03:44.053276 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
2020-04-04 13:03:45.066725 N  Setting QT default locale to EN_US
2020-04-04 13:03:45.066735 I  Current locale EN_US
2020-04-04 13:03:45.066775 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2020-04-04 13:03:45.089848 I  PowerDBus: Failed to delay sleep,shutdown: Permission denied
2020-04-04 13:03:45.094465 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/ups_hiddev0'
2020-04-04 13:03:45.094475 I  Power: Unknown power source
2020-04-04 13:03:45.133917 I  Power: Supported actions: None
2020-04-04 13:03:45.134728 I  Loading en_us translation for module mythfrontend
2020-04-04 13:03:45.136591 N  Transcoding from /mnt/md0/recorded-tv1/11701_20190529020000.ts to /home/jim/Videos
2020-04-04 13:03:45.136604 I  Honoring the cutlist while transcoding
2020-04-04 13:03:45.139270 I  Opening /mnt/md0/recorded-tv1/11701_20190529020000.ts
2020-04-04 13:03:45.145880 I  PES packet size mismatch
2020-04-04 13:03:45.145889 I  PES packet size mismatch
2020-04-04 13:03:45.145997 I  Input #0, mpegts, from '/mnt/md0/recorded-tv1/11701_20190529020000.ts':
2020-04-04 13:03:45.146005 I    Duration: 00:59:56.04, start: 40483.382878, bitrate: 12342 kb/s
2020-04-04 13:03:45.146050 I      Stream #0:0[0x31]: Video: mpeg2video (Main), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
2020-04-04 13:03:45.146072 I      Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
2020-04-04 13:03:45.146090 I      Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired)
2020-04-04 13:03:45.152022 I  #0 PTS:11:14:43.967 Delta: 0.0ms queue: 16
2020-04-04 13:03:45.152037 I  #1 PTS:11:14:43.958 Delta: 8.62222ms queue: 2
2020-04-04 13:03:45.152043 I  #2 PTS:11:14:43.961 Delta: 5.9ms queue: 6
2020-04-04 13:03:45.152053 N  MPEG2fixup::InitReplex(): High Definition input, increasing replex buffers
2020-04-04 13:03:45.191697 I  Mux rate: 24.98 Mbit/s
2020-04-04 13:04:02.585378 I  PES packet size mismatch
2020-04-04 13:04:02.585392 I  PES packet size mismatch
2020-04-04 13:04:02.596823 I  Generating Keyframe Index
2020-04-04 13:04:02.596828 I  Opening /home/jim/Videos
2020-04-04 13:04:02.596914 E  Couldn't open input file, error #-21
2020-04-04 13:04:02.602942 E  Transcoding /mnt/md0/recorded-tv1/11701_20190529020000.ts failed
2020-04-04 13:04:02.602969 I  PowerDBus: Closing interfaces
2020-04-04 13:04:02.603547 I  Exiting
jim at mythbuntu:~$ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200404/aac70b06/attachment.htm>


More information about the mythtv-users mailing list