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 … 88 89 90 91 92 … 1231 Next »
transcoded files from ts to mkv - db update needed?

 
  • 0 Vote(s) - 0 Average
transcoded files from ts to mkv - db update needed?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2009-02-05, 04:27 AM
Hi sub - I may have a process that can transcode freeviewhd files to something that the popcorn can play.

I'll perfect then post. But a question.

If I transcode a file to mkv from ts, and remove the ts, will the recordings db find the mkv file or do i need to update the db. Similar to mpg/avi how the db looks for both.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2009-02-05, 04:41 AM
No, it wont current automatically update the database for a mkv file. I'll try to add this for the next release though.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,941
Threads: 956
Joined: May 2006
#3
2009-02-05, 05:12 AM
mkv is not going to be something mvpmcx2 is going to be supporting natively, just mpeg-ps and mpeg-ts. The will allow sub to parse and position the files. mkv would need to pass through a splitter.

I don't know what you are using to do this, but I did have some success with handbrake creating audible ts files with good sync, even on-the-fly, but I never was able to optimize the h264 to copy the stream rather than transcode to a lower quality h264. It might be worth checking out.

Martin
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#4
2009-02-05, 11:29 AM
Ok well I've done it.

It uses, mplayer to rid out the video (x264 no encoding), then vlc to convert the audio formthe ts to ogg format. Then uses mkvmerge to join the ogg sound to the x264 video and calls it a .mkv file.

Works on the popcorn hour for me, but I'm only using a 15 minute video. Be interesting to see a decent sized one.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2009-02-05, 11:35 AM
Here is the batch file.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#6
2009-02-05, 08:10 PM
I may have simplified the process to just videolan and mkvmerge - but also having another idea, just convert the audio to ogg and try and mux that into the existing .ts file...

Question for sub though if he reads - is there anything I need to do to get ogg audio working?? I've installled codec but doesn't seem to have an effect.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#7
2009-02-05, 08:13 PM
I've never used ogg audio. I doubt it'd work in a .ts file.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#8
2009-02-05, 08:21 PM
ahh, bugger on the ts front. The mkv works well on the popcorn. Hmm, unless I add both the aac and ogg to the mkv.

That means the popcorn an stay on audio stream 2 (like you do for tv3) and the server can stay with monograam.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,941
Threads: 956
Joined: May 2006
#9
2009-02-06, 05:06 AM
I did some playing and if you want to preserve the audio without using vorbis audio you could try

Code:
mplayer.exe -dumpvideo -dumpfile video.h264 %1
mplayer.exe -vc null -vo null -ao pcm:fast:file=audio.wav %1
"mkvmerge" -o "test.mkv"  --default-duration 0:50fps -d 0 -A -S video.h264 -a 0 -D -S audio.wav --track-order 0:0,1:0

Remember that whether you you use a ogg container or pcm like my example you aren't really preserving time sync so you might need to modify the audio delay in mkvmerge here is how to add 500ms --sync 0:500 I needed this to play sub's coughing BBC news guy in sync.

Martin
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#10
2009-02-06, 05:10 AM
thanks martin, I ended up having to convert to vorbis, then to mp3 as the vid was fine on the pch, but not on the gpvr "server". I did try wav, but found it was put into the mkv at half speed.

I did try for a bunch today, to try and put the raw aac into the mkv as track 1 and then add something else for the second track. The thought being that the server would use the aac with monogram, and the pch would use the 2nd audio track.

Never managed to get it going though, the extracted aac was always garbage...it kept thinking it was a video track.

So it you feel like playing some more......
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  "database disk image is malformed" during attemped EPG update! (GBPVR v.1.4.7) DaveA 4 3,341 2011-01-23, 06:35 PM
Last Post: DaveA
  EPG won't update nate 3 2,598 2011-01-04, 03:55 PM
Last Post: sub
  0 sized files pjm460 4 2,019 2010-12-17, 05:15 PM
Last Post: sub
  Zero-size recording files rawlings471 1 1,641 2010-12-05, 04:12 PM
Last Post: sub
  original files not deleting David B 2 1,701 2010-11-28, 07:22 PM
Last Post: David B
  Update EPG Issue dean70 1 1,900 2010-11-13, 05:31 PM
Last Post: sub
  Attempts to play .dvd files in Video Library results in PVRX2 not responding Jwbrit 2 2,018 2010-11-04, 11:37 PM
Last Post: Jwbrit
  Missing Crossbar Files? David B 8 3,039 2010-11-02, 01:12 AM
Last Post: David B
  EPG update problem NZ Fredo 5 2,824 2010-10-13, 10:42 PM
Last Post: Jaggy
  xmltv update timing problem aneez 3 2,125 2010-09-29, 06:34 AM
Last Post: aneez

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

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

Linear Mode
Threaded Mode