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 … 77 78 79 80 81 … 1231 Next »
Post processing of TS file for PS3

 
  • 0 Vote(s) - 0 Average
Post processing of TS file for PS3
GSpanFan
Offline

Junior Member

Posts: 47
Threads: 10
Joined: Apr 2005
#1
2009-09-20, 02:11 AM
I recently got a HD Homerun to record HD OTA programming which is scheduled through GBPVR. Since I don't have a dedicated frontend computer, I'd like to stream the files to my PS3 using PS3 Media Server.

Has anyone had success doing this?

The problem I am having is that the TS files recorded by GBPVR seem to not be readable by the PS3. Accordingly, I can either (1) transcode the stream in real time using PS3 Media Server or (2) try to post process the file into a format native to the PS3. I've found that doing realtime transcoding (in a way that doesn't create audio sync issues) isn't very stable and, thus, isn't really a good option. I've also used TSMuxer to post process a TS file to make a M2TS file (which is searchable using the PS3 in a way that is not allowable using realtime transcoding option), but I have had some audio sync issues (even using the timeshift option in TSMuxer cli). However, some files have less sync issues that others and when converted, those seem to run well. I should note that the TS files always play fine in VLC with proper sync, but that the M2TS file do not.

BTW, I do realize I could probably transcode to a different format, but would prefer not to if possible. The nice thing about TSMuxer, is that it can run in about 3 minutes for a 30 min recording and still keep the high resolution of the original recording. But I think converting to an avi would probably take a lot of time and I suspect that I'd lose some video quality.

Does anyone have any advice?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2009-09-20, 02:51 AM (This post was last modified: 2009-09-20, 03:17 AM by pBS.)
is it atsc digital? if so you can use ffmpeg_mpgmux.exe to remux to regular .mpg file..
it's a special version that looks to be much faster than normal, and was tweaked specially to re-mux files....
hopefully it'll handle the input files well enough..it is showing age..[2007]
it won't be quite as fast as tsmuxer, but it is close as it gets...and live..[playable during processing]

hmm, i do hope the ps3 can play .mpg files....Smile
note: use the -f vob output so it's same as dvd, i assume ps3 can play dvd formats..

also, have you tried tsremux? almost same as tsmuxer...
Quote:TsRemux v.0.0.21.2
usage: tsremux input-file output-path [-a] [+b] [+m] [+c]
-a: do not use async io (default on)
+b: bypass audio alignment (default off)
+m: trueHd to ac3 (default off)
+c: keep console open when done (win2k)
output extension controls processing:
ts, m2ts, none for bluray directory
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
GSpanFan
Offline

Junior Member

Posts: 47
Threads: 10
Joined: Apr 2005
#3
2009-09-20, 03:34 AM
Thanks, pBS. I'll give each of these a try and report back in this thread soon.
GSpanFan
Offline

Junior Member

Posts: 47
Threads: 10
Joined: Apr 2005
#4
2009-09-21, 02:45 AM
Ok, so I tried TSRemux with mixed results. Conversion to an m2ts file takes 10 minutes instead of 3 with TSMuxer, but the audio sync problems don't seem to be fixed. I messed with some of the options in the GUI and at one point this seemed to fix the audio issue, but I couldn't figure out how to reproduce it.

However, in the midst of all of this, I stumbled across something very odd. I found that I could play some TS streams to the PS3 with no post processing at all (and the TS files could even be cleanly ff/rwd using the PS3). Further the files that did play, had no audio sync problems.

In particular, the shows I record off of FOX and PBS worked just fine as TS files. However, the shows recorded from NBC were the ones that would give me corrupt data errors on the PS3, requiring the post-processing to even play. Since most of the recordings I had been trying to play back were from NBC, I think I overlooked the fact that the content provided by the channel was the real issue.

Thus, I think I might not need to convert ts file to an m2ts file, but only find a way to repair the ts file. Hopefully, there is a solution to repair a ts file short of *muxing it which is more processor efficient than conversion. I will post here when I figure out more.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2009-09-21, 08:14 PM
maybe try tsdoctor....http://www.cypheros.de/dvb_e.html
it may at least tell you whats wrong with the streams...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
GSpanFan
Offline

Junior Member

Posts: 47
Threads: 10
Joined: Apr 2005
#6
2009-11-06, 04:11 AM
So after trying about twenty different remuxing solutions (projectx, avidemux, tsdoctor, tsmuxer, tsremux, ts2np, etc.), I found that ffmpeg fixed the transport stream:

"C:\Program Files\devnz\gbpvr\Third Party\ffmpeg\ffmpeg.exe" -i %1 -vcodec copy -acodec copy -copyts -f dvd "%~d1%~p1%~n1_new.ts"

Now everything works great, fast post-processing (< 3 min, even on my crappy computer), corrects whatever problems their were with the transport stream, no sync problems, and I can ff/rw on ps3 smoothly. Smile
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#7
2009-11-06, 04:58 AM
I'm glad that works, but there are so many problems in your command line it is hard to guess what kind of file this is making. A vob HD file with ts timestamps named .ts?

Since the PS3 is a BluRay player I would think they safest bet is to remux HD to m2ts with 192 byte headers.

Martin
GSpanFan
Offline

Junior Member

Posts: 47
Threads: 10
Joined: Apr 2005
#8
2009-11-09, 06:59 AM (This post was last modified: 2009-11-09, 07:06 AM by GSpanFan.)
i'm starting with a .ts source file (from the hd homerun), so all this command line is doing is copying the video (MPEG-2) and audio (AC3) streams and making them dvd compliant while maintaining the proper timestamps (which is what i think the ps3 needs). something was wrong with the structure of the originally recorded ts files - i think duplicate tref frames - although with my limited knowledge I could never confirm this, nor seem to consistently correct this with the other software at my disposal. All I know is the above command line results in a file that plays correctly for me on the ps3.

For clarification, I also note that in the post-processing batch file, I then delete the original file and rename the _new.ts ffmpeg'd file to the original file name

At least for me, simply remuxing into a m2ts file made it playable on the ps3, but resulted in the audio being out of sync, even when i attempted to account for the timeshift.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Conversion Processing paul1 1 2,819 2012-10-01, 10:07 AM
Last Post: Graham
  file types of recorded TV paul1 3 3,676 2012-09-30, 05:20 PM
Last Post: sub
  No Data In the Recorded File zb1 5 2,230 2010-08-24, 01:08 AM
Last Post: zb1
  Italian channels post and a question about compatibility with Seven 64 bit pinopallino 2 1,649 2010-08-18, 09:14 AM
Last Post: pinopallino
  Path to file being recorded. brianj 5 2,274 2010-08-08, 10:58 PM
Last Post: brianj
  error: failure playing back file yonu 4 2,021 2010-07-12, 12:52 AM
Last Post: yonu
  UK Freesat Scan.cache File jeffers 3 2,036 2010-05-25, 10:34 PM
Last Post: jeffers
  Post Processing Has Quit Working skycyclepilot 1 1,469 2010-05-17, 02:36 AM
Last Post: replaytv
  3 AC3Filter instances when playing back a still recording TS file? jksmurf 3 1,892 2010-05-17, 12:30 AM
Last Post: jksmurf
  Recording stops at 4gb file size experiencebliss 5 2,394 2010-05-04, 02:54 AM
Last Post: pBS

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

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

Linear Mode
Threaded Mode