Mythtranscode fails with honorcutlist set

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
Dai_Trying
Junior
Posts: 51
Joined: Tue May 24, 2022 10:18 am
Great Britain

Mythtranscode fails with honorcutlist set

Post by Dai_Trying »

Hi, I have a MythTv server and it is working mostly ok, scheduling and recording without issue. When I add a cut-list and then try to use mythtranscode to remove the adverts (the cut-list) it fails giving me this error:

Code: Select all

avcodec_encode_video2 failed (-22)
I can post the full output if it helps.

The command I use for the transcode is this:

Code: Select all

mythtranscode --chanid 10041 --starttime 20220511150000 --mpeg2 --honorcutlist
Other info likely relevant:
OS Xubuntu
Mythtv version: 2:32.0+fixes.20220325.f69ce764b7-0ubuntu1

Code: Select all

mythtranscode --version
Please attach all output as a file in bug reports.
MythTV Version : v32.0+fixes.20220325.f69ce764b7-0ubuntu1
MythTV Branch : fixes/32
Network Protocol : 91
Library API : 32.20200101-1
QT Version : 5.15.2
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_satip using_vbox using_ceton using_joystick_menu using_libcec using_libcrypto using_gnutls using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_egl using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_v4l2prime using_x11 using_system_libbluray using_system_libudfread using_systemd_notify using_systemd_journal using_drm using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_egl using_drm using_vaapi using_nvdec using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libmp3lame
If I need to post any other relevant info please let me know.

I'm wondering if I am missing something (software/plugin?) as I cannot find anything on "the net" recent (<4years) for this type of failure making me think it's something I'm lacking (other than knowledge :oops: ) Has anyone else noticed this or can point me in the direction of a fix?
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: Mythtranscode fails with honorcutlist set

Post by blm-ubunet »

I believe all dvb-t broadcasts in UK are H264.

mythtranscode can not handle this but it can pass-it-thru to external encoder ffmpeg etc. --fifo mode ??
https://www.mythtv.org/wiki/Example_Scr ... fodir_mode
Dai_Trying
Junior
Posts: 51
Joined: Tue May 24, 2022 10:18 am
Great Britain

Re: Mythtranscode fails with honorcutlist set

Post by Dai_Trying »

Thanks for the link I will check it out, as for h264, you could be right but my recordings are all mpeg2 (I think...) maybe I need to change the recording method (transcoder?) I will go have a look now and see if there is anything I hadn't noticed before.
Dai_Trying
Junior
Posts: 51
Joined: Tue May 24, 2022 10:18 am
Great Britain

Re: Mythtranscode fails with honorcutlist set

Post by Dai_Trying »

I didn't try your link in the end as I removed the SSD from my old mythtv server (Debian Buster) and put it into this laptop and after a couple of minor configuration tweaks it works as it should (although using v31) and now I can transcode again, although I have had to give up on the other recordings as I couldn't see an easy way to export/import them across, but I can live with that for now.
Thanks for the reply though bim-ubunet.
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: Mythtranscode fails with honorcutlist set

Post by blm-ubunet »

Recordings from modern tuner cards are PID filtered transport stream digital recordings. There is no transcoding.

DVB-T has always & only been H264 here.
Old mpeg2 video was reserved for SD over 2nd hand satellite transponders.

Maybe the UK only used H264 on DVB-T2 & used mpeg2 video with DVB-T.
But I can't imagine that could continue indefinitely.. Every TV sold in last 10yrs can play H264 TS. And radio spectrum is valuable.

You can migrate recordings using mytharchive (to file not optical disk).
Dai_Trying
Junior
Posts: 51
Joined: Tue May 24, 2022 10:18 am
Great Britain

Re: Mythtranscode fails with honorcutlist set

Post by Dai_Trying »

blm-ubunet wrote:
Thu May 26, 2022 10:35 pm
Old mpeg2 video was reserved for SD over 2nd hand satellite transponders.
Maybe I should have stated, I am only recording SD as it is what my cheapo usb adaptors can handle.
blm-ubunet wrote:
Thu May 26, 2022 10:35 pm
You can migrate recordings using mytharchive (to file not optical disk).
Thanks, I will try that. :)
Post Reply