NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) ZTools and UltraXMLTV v
« Previous 1 2 3 4 5 6 … 12 Next »
TS Transcode for MVP

 
  • 0 Vote(s) - 0 Average
TS Transcode for MVP
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,200
Threads: 133
Joined: Sep 2004
#11
2009-02-04, 12:02 AM
Just an update on today's testing.....

Tried playing a SD TS file on the MVP. The file was transcoded successfully "on-the-fly" and played but the video lagged the audio by about 1 second. Tried multiple different files same result always out of sync. (Hadn't noticed this on previous tests as they were cartoons)

Repeated the above but manually transcoding using Ztranscode... same out of sync. Tried again with the same 4ts profile but changed to the default GBPVR ffmpeg. File transcoded and audio was in sync. Is there a way for me to change the audio sync when using ffmpeg-alt?

Tried a manual transcode from within PVRX2 using the TS to MPEG setting. The transcode failed. Checking the logs, it looks like PVRX2 is trying to run the default GBPVR ffmpeg.exe with the 4ts profile

Whilst the config.xml has a line <AutoConvertTSCommand exe="ZTools\ZProcess2.exe">4ts "{SOURCE_FILE}" {DEST_FILE}</AutoConvertTSCommand>

The PVXR2 log shows......
TS Conversion: "C:\Program Files\Devnz\GBPVR\Third Party\FFmpeg\ffmpeg.exe" 4ts "E:\Recordings\Manual Recordings\Channel 4_20090126170000.ts" "E:\Recordings\Manual Recordings\Channel 4_20090126170000.mpg"

By all accounts it looks like the exe="****" in the config file is being ignored. I wonder has SUB hardcoded the TS transcode encoder selection to the GBPVR ffmpeg ?

The above means autoconvert after recording also fails.

The test HD file is now ready for download.
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#12
2009-02-04, 06:37 PM
Bobins Wrote:Just an update on today's testing.....

Tried playing a SD TS file on the MVP. The file was transcoded successfully "on-the-fly" and played but the video lagged the audio by about 1 second. Tried multiple different files same result always out of sync. (Hadn't noticed this on previous tests as they were cartoons)

Repeated the above but manually transcoding using Ztranscode... same out of sync. Tried again with the same 4ts profile but changed to the default GBPVR ffmpeg. File transcoded and audio was in sync. Is there a way for me to change the audio sync when using ffmpeg-alt?

Tried a manual transcode from within PVRX2 using the TS to MPEG setting. The transcode failed. Checking the logs, it looks like PVRX2 is trying to run the default GBPVR ffmpeg.exe with the 4ts profile

Whilst the config.xml has a line <AutoConvertTSCommand exe="ZTools\ZProcess2.exe">4ts "{SOURCE_FILE}" {DEST_FILE}</AutoConvertTSCommand>

The PVXR2 log shows......
TS Conversion: "C:\Program Files\Devnz\GBPVR\Third Party\FFmpeg\ffmpeg.exe" 4ts "E:\Recordings\Manual Recordings\Channel 4_20090126170000.ts" "E:\Recordings\Manual Recordings\Channel 4_20090126170000.mpg"

By all accounts it looks like the exe="****" in the config file is being ignored. I wonder has SUB hardcoded the TS transcode encoder selection to the GBPVR ffmpeg ?

The above means autoconvert after recording also fails.

The test HD file is now ready for download.

I've got your file...

This is the line you should be looking at in config.xml
Code:
<MVPFFmpegTranscodeTS exe="ZTools\ZProcess2.exe">4ts "{SOURCE_FILE}" "{DEST_FILE}"</MVPFFmpegTranscodeTS>

The entry in the log file indicates that your line doesn't look like this... because GB-PVR is calling ffmpeg and not ZProcess

(BTW, if you ever run something and aren't sure what the engine is doing, look in the task manager, you'll see ffmpeg, ffmpeg-alt or mencoder running...)

However you have given me an idea... in the meantime make sure you are using the latest prerelease (I won't be updating for a couple of days so if you have updated in the last week, you're good)

Remove Refs, Save settings, and then add refs, save settings. Check the config.xml, you should have the line looking mine (above)


Regarding your test file, maybe you can do some leg work... So far I have been unable to detect the dimensions. It doesn't play that well in VLC, but still the audio appears in sync...

One good thing is, if I can get this, I should also be able to display subtitles and teletext, but I don't want to get anyone's hopes up.

Can you find out what dimensions your Channels are broadcasting in, so I can do some playing...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,200
Threads: 133
Joined: Sep 2004
#13
2009-02-04, 08:55 PM
BBC HD broadcasts in 1440 x 1080i and encodes H.264/MPEG-4 AVC so I'm assuming that's what's in the TS file.

My understanding of GBPVR is that the <MVPFFmpegTranscodeTS exe="ZTools\ZProcess2.exe">4ts "{SOURCE_FILE}" "{DEST_FILE}"</MVPFFmpegTranscodeTS> is used when you try to watch a TS file and causes transcode "on-the-fly" using ZProcess.
This works for a SD TS file but the audio is out of sync.

When you select autotranscode TS or a manual TS transcode from the Video Library in PVRX2, I believe it uses the <AutoConvertTSCommand exe="ZTools\ZProcess2.exe">4ts "{SOURCE_FILE}" {DEST_FILE}</AutoConvertTSCommand> line. Unfortunately it's this line where the exe="***" bit seems to be being ignored and the log implies it's been replaced with a standard GBPVR ffmpeg transcode (which fails). This makes me think the config line is being ignored and has been hardcoded by SUB.

If he's watching, he might wish to comment?
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
leaded1
Offline

Member

Posts: 135
Threads: 15
Joined: Jul 2007
#14
2009-02-04, 09:30 PM (This post was last modified: 2009-02-04, 09:35 PM by leaded1.)
I had this working a few weeks ago by making a new entry under "Custom FFMPEG conversions" (I called mine TS>MPG) in Config.xml with the Zprocess commandline and 4ts profile then choosing that for TS Transcode in the Config App.

--edit--

It looks to me like if there is a Custom Conversion in the <AutoConvertTSToFormat> tag, it will use that and ignore what is in the <AutoConvertTSCommand> tag.

Mine looks like this:
<AutoConvertTSToFormat>TS-MVP</AutoConvertTSToFormat>
<AutoConvertTSCommand>-y -i "{SOURCE_FILE}" -vcodec copy -acodec copy -f dvd "{DEST_FILE}"</AutoConvertTSCommand>

and my Custom Conversion is this:

<Conversion name="TS-MVP" exe="ZTools\ZProcess2.exe" cmd="4ts {SOURCE_FILE} {DEST_FILE}" targetExtension=".mpg" />

Hope this helps,
Leaded
Server - AMD 6 Core windows 10 with Hauppage WINTV-PVR2 USB2, HDHomerun Dual, and WINTV-HVR 1600 tuners | Clients -PCH A-100 and iOS
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#15
2009-02-05, 02:09 PM
leaded1 Wrote:I had this working a few weeks ago by making a new entry under "Custom FFMPEG conversions" (I called mine TS>MPG) in Config.xml with the Zprocess commandline and 4ts profile then choosing that for TS Transcode in the Config App.

--edit--

It looks to me like if there is a Custom Conversion in the <AutoConvertTSToFormat> tag, it will use that and ignore what is in the <AutoConvertTSCommand> tag.

Mine looks like this:
<AutoConvertTSToFormat>TS-MVP</AutoConvertTSToFormat>
<AutoConvertTSCommand>-y -i "{SOURCE_FILE}" -vcodec copy -acodec copy -f dvd "{DEST_FILE}"</AutoConvertTSCommand>

and my Custom Conversion is this:

<Conversion name="TS-MVP" exe="ZTools\ZProcess2.exe" cmd="4ts {SOURCE_FILE} {DEST_FILE}" targetExtension=".mpg" />

Hope this helps,
Leaded

OK. And I still have to do something so that the UK TS file doesn't default to the Trans2MVP profile... So let me have a look...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,200
Threads: 133
Joined: Sep 2004
#16
2009-02-05, 10:47 PM
Thanks leaded1.

I've created a custom transcode as suggested and now ZProcess runs when I do a manual convert from the Video Library.

At first I couldn't find the transcoded file but I've noticed some odd behaviour from ZProcess.

Irrespective of the {dest_file} setting , the output file ends up in the "Recordings" directory. Also, all the file outputs are .mpg irrespective of the targetExtension.

Do you see this behaviour leaded1?

Zehd

I've included a log file which shows some of the above odd behaviour.
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
leaded1
Offline

Member

Posts: 135
Threads: 15
Joined: Jul 2007
#17
2009-02-06, 02:47 PM
Yes, all automatic transcodes end up in the recordings directory. I think Zehd said that he would make that configurable in a future release.
Server - AMD 6 Core windows 10 with Hauppage WINTV-PVR2 USB2, HDHomerun Dual, and WINTV-HVR 1600 tuners | Clients -PCH A-100 and iOS
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,200
Threads: 133
Joined: Sep 2004
#18
2009-02-06, 03:18 PM
leaded1,

Thanks for the reply.

Do all your transcodes end up as xxxxx.mpg as well (even thought for example a convert to xvid should end up as a xxxxx.avi)?
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,200
Threads: 133
Joined: Sep 2004
#19
2009-02-06, 03:21 PM
Zehd,

I've been looking to see if I can fix the audio sync on the transcoded SD TS files. I tried adding "async 1" to the ffmpeg command line but if anything it made the audio sysnc worse. The out of sync does look fixed in terms of its offset to the video.

Is there anyway I can adjust this?
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
leaded1
Offline

Member

Posts: 135
Threads: 15
Joined: Jul 2007
#20
2009-02-06, 08:27 PM
Yes, I just tried this out, and from the MVP, everything defaults to .mpg's regardless of the transcode profile you select. Looking at my logs in the MVP Cache folder, it looks like it is over-rideing to Trans2MVP for .mpeg files and overiding to 4ts for .ts files.
Server - AMD 6 Core windows 10 with Hauppage WINTV-PVR2 USB2, HDHomerun Dual, and WINTV-HVR 1600 tuners | Clients -PCH A-100 and iOS
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Zprocess transcode onMVP - "Transcoder died early" the.tangoman 33 11,543 2008-08-03, 11:18 PM
Last Post: zehd
  ZTools: Won't Transcode for MVP mag72 2 2,265 2008-07-26, 09:11 PM
Last Post: zehd
  ZProcess: default transcode profile Rayman 5 2,588 2007-12-24, 05:23 AM
Last Post: zehd
  how to transcode to 3gp and move to removable drive in zprocess2 ryanmc 3 2,363 2007-10-01, 07:52 PM
Last Post: zehd
  ZProcess: Manual Transcode playback problem KiddBludd 7 3,008 2007-06-26, 06:23 PM
Last Post: zehd
  ZProcess: Postprocessing.bat: comclean, comskip, transcode won't work svesnon14 13 4,552 2007-04-29, 09:44 PM
Last Post: zehd
  ZProcess: Can Transcode but MVP crashes... zehd 32 10,570 2007-02-17, 03:22 PM
Last Post: zehd
  MVP Transcode (continued) rscheller 9 4,863 2006-12-09, 06:41 PM
Last Post: zehd
  Transcode fails first try and queue doesn't work Pexcer 6 3,743 2006-12-04, 09:43 PM
Last Post: Pexcer
  Transcode to MPG ? zehd 7 4,724 2006-11-13, 11:28 PM
Last Post: jksmurf

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode