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) GB-PVR Support (legacy) v
« Previous 1 … 202 203 204 205 206 … 1231 Next »
AutoConvertTSCommand blues

 
  • 0 Vote(s) - 0 Average
AutoConvertTSCommand blues
daneo
Offline

Member

Germany
Posts: 194
Threads: 56
Joined: Sep 2006
#1
2008-12-27, 10:10 PM
Hi Sub,

I'm still worrying on the TS transcoding issues in the current build, and tried to see if an elegant work-around could be found. Unfortunately, I find more difficulties than solutions.

I've made a custom ffmpeg conversion string

[INDENT]<CustomFFmpegConversions>
<Conversion name="DanesTS" cmd="-y -i {SOURCE_FILE} -vcodec copy -acodec copy -f dvd {DEST_FILE}" targetExtension=".mpg" />
</CustomFFmpegConversions>[/INDENT]

and configured it for the automatic TS file conversion instead of the default "MPEG-2" option which is currently not useable.

[INDENT]<AutoConvertTSToFormat>DanesTS</AutoConvertTSToFormat>
<AutoConvertTSCommand>-y -i "{SOURCE_FILE}" -vcodec copy -acodec copy -f dvd "{DEST_FILE}"</AutoConvertTSCommand> [/INDENT]

I keep getting zero-length MPG files when I try to transcode this way, and see the following in my log file:

[INDENT]2008-12-27 23:02:27.276 VERBOSE [14] About to start transcode of: E:\Recordings\Manual Recordings\manual_1_20081227225800.ts
2008-12-27 23:02:27.276 VERBOSE [14] getValue cached value: /settings/AutoConvertTSToFormat : DanesTS
2008-12-27 23:02:27.276 VERBOSE [14] About to run transcode command: C:\Program Files\Devnz\GBPVR\Third Party\FFmpeg\ffmpeg.exe -y -i "E:\Recordings\Manual Recordings\manual_1_20081227225800.ts" -vcodec copy -acodec copy -f dvd "E:\Recordings\Manual Recordings\manual_1_20081227225800.mpg"
2008-12-27 23:03:27.416 INFO [14] File transcode has completed unsuccessfully...[/INDENT]

Any suggestions?

Thanks,
Dane
- Dane

Cheap Medion Minitower, but it's quiet enough
- Windows 11x64
- Digital Devices DVB-C PCIe (1x Cine quad and 1x Cine dual)
- LG C2 with Jellyfin front end, NPVR back end
- 30TB storage, ~7,500 films
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#2
2008-12-27, 10:49 PM
What output do you get from ffmpeg when you run the transcode manually from a command prompt:

"C:\Program Files\Devnz\GBPVR\Third Party\FFmpeg\ffmpeg.exe" -y -i "E:\Recordings\Manual Recordings\manual_1_20081227225800.ts" -vcodec copy -acodec copy -f dvd "E:\Recordings\Manual Recordings\manual_1_20081227225800.mpg"
daneo
Offline

Member

Germany
Posts: 194
Threads: 56
Joined: Sep 2006
#3
2008-12-28, 07:31 AM
Hi Sub,

sorry, I planned to add this to the email but forgot to re-type it when I accidentally closed my browser..

The manual transcode works fine, but I need to quote the program name of course.

Regards,
Dane
- Dane

Cheap Medion Minitower, but it's quiet enough
- Windows 11x64
- Digital Devices DVB-C PCIe (1x Cine quad and 1x Cine dual)
- LG C2 with Jellyfin front end, NPVR back end
- 30TB storage, ~7,500 films
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#4
2008-12-28, 03:32 PM
So whats the problem then?
daneo
Offline

Member

Germany
Posts: 194
Threads: 56
Joined: Sep 2006
#5
2008-12-28, 07:29 PM
Hi Sub,

the problem is simple -- when GBPVR does the transcode, I get an error message and a zero-byte file. When I run the transcode manually on a command line, it works.

Dane
- Dane

Cheap Medion Minitower, but it's quiet enough
- Windows 11x64
- Digital Devices DVB-C PCIe (1x Cine quad and 1x Cine dual)
- LG C2 with Jellyfin front end, NPVR back end
- 30TB storage, ~7,500 films
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#6
2008-12-28, 07:32 PM
It should produce exactly the same results if you're running the same command line as shown in the GB-PVR logs. I'm not aware of any reason it'd be any different.
daneo
Offline

Member

Germany
Posts: 194
Threads: 56
Joined: Sep 2006
#7
2008-12-28, 08:00 PM
Hi Sub,

you're 100% correct -- it would do so if I were using the "GBPVR" version of ffmpeg -- but I've been working with a newer version to try and iron out timing glitches with the TS files (just realised this is the bug, tried it just now).

Soooo.....

Given that I've "caused" the problem in the first place -- how do I configure GBPVR to use a newer version of ffmepg?

Thanks,
Dane
- Dane

Cheap Medion Minitower, but it's quiet enough
- Windows 11x64
- Digital Devices DVB-C PCIe (1x Cine quad and 1x Cine dual)
- LG C2 with Jellyfin front end, NPVR back end
- 30TB storage, ~7,500 films
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#8
2008-12-28, 08:48 PM
The easiest way is probably to replace the GB-PVR version of ffmpeg.exe with the updated file you have.
daneo
Offline

Member

Germany
Posts: 194
Threads: 56
Joined: Sep 2006
#9
2008-12-29, 12:23 PM
Hi Sub,

that's the rub -- when simply "drop in" the new version of ffmpeg.exe, I get the zero-byte files.

When I put the old version back, it works.

Any suggestions on debugging the command line?

Thanks,
Dane
- Dane

Cheap Medion Minitower, but it's quiet enough
- Windows 11x64
- Digital Devices DVB-C PCIe (1x Cine quad and 1x Cine dual)
- LG C2 with Jellyfin front end, NPVR back end
- 30TB storage, ~7,500 films
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#10
2008-12-29, 09:12 PM
Sorry, I dont know what to tell you. You can see the command line GB-PVR is using in the logs.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  2nd Capture card blues / Peak Hybrid DVB-T robnotbob 2 2,145 2008-02-13, 01:27 AM
Last Post: robnotbob
  twinhan MUX blues RajDarge 1 1,609 2005-09-20, 07:24 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode