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 … 174 175 176 177 178 … 1231 Next »
ts to mpeg2 auto convert - isn't.

 
  • 0 Vote(s) - 0 Average
ts to mpeg2 auto convert - isn't.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#11
2008-12-03, 10:13 PM
Try using Notepad to edit this line in config.xml
Code:
<AutoConvertTSCommand>-y -i "{SOURCE_FILE}" -vcodec copy -acodec copy {DEST_FILE}</AutoConvertTSCommand>
Surround {DEST_FILE} with quotation marks (as per those for the source file entry).

I pointed out a problem with manual transcoding from Video Librry to sub and he released a new pvrx2.exe which didn't care about the missing quotes for the destination but it's possible the autoconvert is failing because of spaces in the file name.

I've given up on using TS for the time being due to lack of time to play so I'm not sure if it'll fix things.

Cheers,
Brian
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#12
2008-12-04, 01:34 AM
its already like that anyway bgowland
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#13
2008-12-04, 02:03 AM
Curious - at some point my config.xml had the quotes missing...

http://forums.nextpvr.com/showthread.php?t=38652
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#14
2008-12-04, 07:55 AM
Yep I tried the patch that Sub posted but that didnt get the manual xcode working. To be honest I'm not that bothered about the manual xcode not working it's the autoconvert I need, but I figure the 2 are related.

bgowland
You dont explicitley say, but do you have autoconvert working?
[SIZE="4"]Elmo Putney[/SIZE]
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#15
2008-12-08, 10:36 PM
Ok, found a bit of time to try and work this out......

I cleared the logs out re-booted changed to blue skin (to get the transcode button in video library) and tried a manual transcode. I figured that if I can get this working its a start.

So from the logs gbpvr calls:

Code:
TS Conversion: "C:\Program Files\Devnz\GBPVR\Third Party\FFmpeg\ffmpeg.exe" -y -i "F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know What Time It Is_20081202_21002200.ts" -vcodec copy -acodec copy -f -pass 2 -ac 2  dvd ""F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know What Time It Is_20081202_21002200.mpg""


If i run this from the command line i get:

Code:
FFmpeg version SVN-r7165, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-mp3lame --enable-libnut --enable-libogg --enable-vorbis --enable-faad --e
nable-faac --enable-libgsm --enable-xvid --enable-x264 --enable-mingw32 --enable-a52 --enable-dts --
enable-pp --enable-amr_nb --enable-amr_wb --enable-swscaler --enable-avisynth --enable-gpl --enable-
memalign-hack --cpu=i686 --extra-ldflags=-static
  libavutil version: 49.1.0
  libavcodec version: 51.25.0
  libavformat version: 51.6.0
  built on Nov 24 2006 18:53:03, gcc: 4.0.3
Input #0, mpegts, from 'F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know
What Time It Is_20081202_21002200.ts':
  Duration: 01:02:57.4, start: 63675.327789, bitrate: 4100 kb/s
  Stream #0.0[0x262]: Video: mpeg2video, yuv420p, 720x576, 6500 kb/s, 25.00 fps(r)
  Stream #0.1[0x263](eng): Audio: mp2, 48000 Hz, stereo, 256 kb/s
  Stream #0.2[0x265](eng): Subtitle: dvbsub
  Stream #0.3[0x264](eng): Audio: mp3
Unknown input or output format: -pass

So if I delete -pass 2 from the command i get:

Code:
blah blah blah
Unknown input or output format: -ac

so if I delete -ac 2 i get:
Code:
blah blah blah
Unable for find a suitable output format for 'Do'

Do is part of the filename I'm trying to convert, so as a last resort I remove the pair of double quotes in exchange for one double quote, so originally it looked like this:

Code:
"C:\Program Files\Devnz\GBPVR\Third Party\FFmpeg\ffmpeg.exe" -y -i "F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know What Time It Is_20081202_21002200.ts" -vcodec copy -acodec copy -f -pass 2 -ac 2  dvd ""F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know What Time It Is_20081202_21002200.mpg""

now it looks like:

Code:
"C:\Program Files\Devnz\GBPVR\Third Party\FFmpeg\ffmpeg.exe" -y -i "F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know What Time It Is_20081202_21002200.ts" -vcodec copy -acodec copy -f dvd "F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know What Time It Is_20081202_21002200.mpg"

and hey presto it transcodes....

If I go back and put back in the ac 2 or pass 2 it wont transcode.

So is anyone able to explain this to me because I'm out of my depth......

should it work with double quotes?
should it work with ac 2 and pass 2?
If i change config.xml to relect the above do you think autoconvert will work?
How do I change config.xml to reflect the above?
Should I?, what could I be missing out on?
Why is my wife always 15 minutes late?
[SIZE="4"]Elmo Putney[/SIZE]
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#16
2008-12-09, 08:16 AM
Had a quick go on my other machine this morning which will do manual transcodes (though it doesn't like filenames with spaces) any it submits the following:

Code:
ffmpeg.exe" -y -i "C:\temp\Watchdog\Watchdog_20081124_19301957.ts" -vcodec copy -acodec copy -f dvd ""C:\temp\Watchdog\Watchdog_20081124_19301957.mpg""

Which is not the same as my problem machine:
Code:
ffmpeg.exe" -y -i "F:\Video\Recordings\directory name\filename.ts" -vcodec copy -acodec copy -f -pass 2 -ac 2  dvd ""F:\Video\Recordings\Horizon Do You Know What Time It Is\Horizon Do You Know What Time It Is_20081202_21002200.mpg""

I've truncated the filename and directory name so its easy to see the differences.

So the ok machine doesnt send the -pass 2 and -ac 2 to ffmpeg, I will have a look at the config.xml tonight to figure out where they are coming from.
[SIZE="4"]Elmo Putney[/SIZE]
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#17
2008-12-11, 09:00 AM
Right, just an update if anyones watching:

So I fixed manul transode by changine config.xml from:
Code:
<AutoConvertTSCommand>-y -i "{SOURCE_FILE}" -vcodec copy -acodec copy -f -pass 2 -ac 2 dvd "{DEST_FILE}"</AutoConvertTSCommand>

To:
Code:
<AutoConvertTSCommand>-y -i "{SOURCE_FILE}" -vcodec copy -acodec copy -f dvd {DEST_FILE}</AutoConvertTSCommand>

So I removed the -ac 2, -pass 2 and the " " around DESTFILE.

So manual xcode works so I thought I'd try a auto...nope.

I have attached logs, Family Guy recorded at about 23:10 (on the 10th) and was meant to xcode at 3am. but nothing.

Sub,
Am I right in thinking that both the manual and autoconvert use the same line in the config.xml?
<AutoConvertTSCommand>-
[SIZE="4"]Elmo Putney[/SIZE]
topperdude
Offline

Member

Posts: 141
Threads: 17
Joined: Mar 2007
#18
2008-12-11, 03:50 PM
FWIW, I also tried autoconvert recently. I use the TS Mux to record shows off the HVR 1600 QAM tuner and selected the option to autotranscode and the option to use the "DVD" (my custom transcode option) profile from the drop down in the Processing tab. This transcode option converts the recording to mpeg-2 as below:

Code:
<Conversion name="DVD" cmd="-y -i {SOURCE_FILE} -s 720x480 -target ntsc-dvd -acodec copy {DEST_FILE}" targetExtension=".mpg" />

In my case, the autotranscode worked for about 1/3 of the file before it rebooted the machine. There werent any other programs running on that computer when it rebooted. I looked at the GBPVR logs and Windows Event View after the reboot and didnt notice any errors nor did I have comskip running.

After the reboot, I initiated a manual transcode using the same profile and that finished without a glitch. In fact, I was also able to manually start comksip on the output file about halfway through the conversion and that completed without any problem as well.

Not sure what would be different in the auto-transcode and manual transcode options. :confused:

-Topper
[SIZE="2"]PVR Server Setup
AMD AthlonXP 2200+, 2048MB RAM, Windows XP MCE 2005 with update rollup 2 and SP3
GBPVR (1.2.13), HVR 1600 w/ QAM, MainConcept (from HVR-1600 install pkg online), Cyberlink, ATI Mux[/SIZE]

[SIZE="1"]Coming soon (but not soon enough Wink )
Hardware ATI AIW Radeon 32MB
Encoder/Decoder: ATI Avivo Encoder, AC3filter,
Plugins: Weather, UltraXMLTV, GraphRecorder (for ATI AIW), Ubustream
Utilities: Enhanced Web Admin (EWA)
Other playback software: VLC
Client: NMT (PCH or similar)[/SIZE]
RichardHendy
Offline

Junior Member

Posts: 17
Threads: 2
Joined: Aug 2006
#19
2008-12-12, 11:10 AM
I have the same problem, manual transcode of TS to MPG works fine, but the auto transcode just dont work :confused:

Anyone got any ideas what the problem is? Vista issue maybe? Rolleyes
Sunken
Offline

Junior Member

Posts: 49
Threads: 7
Joined: Oct 2008
#20
2008-12-12, 11:20 AM (This post was last modified: 2008-12-12, 11:28 AM by Sunken.)
I am running XP Pro SP3 and can't auto transcode TS files either. In fact when manually transcoding the option for MPG isn't even available. What is the reason for the non availability of MPG. I only have the option of AVI files. Or is AVI and MPG the same thing?
Sorry still trying to get my head around all the different file types.

Should have checked first. AVI is a container for MPG. Sop I am manually coverting OK.

GBPVR (1.2.13) HVR 2200, 8600GT
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Disappointing MPEG2 decoding wtg 236 183,089 2011-10-19, 01:09 PM
Last Post: meccano
  Unable to get Sony MPeg2 card to work... AssarGabrielson 43 18,124 2011-03-17, 11:09 PM
Last Post: Snooze
  New channel 11 scans as h.264, actually MPEG2. shaunpatrick77 2 1,842 2011-02-19, 08:40 AM
Last Post: shaunpatrick77
  No Sound for MPEG2 video dartis 5 10,927 2010-09-12, 11:46 PM
Last Post: rw1
  Auto Converting TS Files To MPEG2 Not Working skycyclepilot 2 2,007 2010-07-06, 10:35 AM
Last Post: skycyclepilot
  Can't convert TS to MPEG mark_lt 18 11,819 2010-05-16, 05:02 PM
Last Post: mark_lt
  Any provision of auto shutdown after recording? seymoria 15 4,726 2010-05-10, 06:17 PM
Last Post: morser
  How do I activate ffmpeg to automaticaliy convert MPG video to AVI format in GbPVR HYBRiD.BLiNG 0 1,265 2010-04-18, 01:52 AM
Last Post: HYBRiD.BLiNG
  Questions regarding gbpvr's conversion processing and auto-convert mpg recordings. HYBRiD.BLiNG 1 1,492 2010-04-16, 12:39 AM
Last Post: Graham
  Net radio Auto Reconnect Feature kindt nick 2 1,763 2010-02-28, 07:09 PM
Last Post: kindt nick

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

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

Linear Mode
Threaded Mode