NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT v
« Previous 1 … 3 4 5 6 7 … 115 Next »
Suggestions for converting DVDs to MPG for MVP playback

 
  • 0 Vote(s) - 0 Average
Suggestions for converting DVDs to MPG for MVP playback
steve_c_nz
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Apr 2007
#11
2011-02-19, 08:18 AM
Hi,

I used to do this all the time with kids DVDs.

First, pick your DVD ripper of choice and create a media file of a rip of the *.vob DVD files. If there is more than one *.vob file for the main movie then first combine them. In Linux use the cat command to combine the files, in windows the equivalent (according to wikipedia) is the type command, but googling a little further people have used the Windows copy command.

cat 1.vob 2.vob 3.vob > all.vob

or in Windows

copy /b 1.vob + 2.vob + 3.vob all.vob

That command will create a single file (all.vob) for the whole video. The next step is converting to an MVP compliant format. I use ffmpeg. The trick is to use mp2 audio, mpeg2 video and tell ffmpeg that you are creating vob file. Once the conversion is complete rename the file to .mpg and the MVP should play without needing the host machine to transcode. No transcode means the skipping etc works much better as all the hardware is doing what it is supposed to do, the MVP decoding and playing, and the host pc just serving the file.

ffmpeg -i all.vob -vcodec mpeg2video -vb 3500k -acodec mp2 -ab 128k -async 1 new.vob

Change the video and audio bitrates as required. I find the above a good compromise between HD space and quality. This was done for kids videos so quality wasn't important.

The final step is to rename your output file, in this case new.vob to new.mpg.

Give it a try on a small file. If it works then you should see the complete timeline on the MVP, not an increasing timeline as you'd get with transcoded video. I know it's command line, but it's only 3 command lines if you include the rename to *.mpg. Don't forget to clean up all your working files once you're done.

S.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#12
2011-02-21, 04:39 AM
Thanks for the suggestion. I'll try that next.

I did remux a couple of my files using mplayer and it fixed the problem. So while the files created by vlc seemed ok in vlc, wmp and MediaInfo, there must have been something strange about them that npvr or mvpmc doesn't like. I hope I can work out a single command line that'll go straight from ISO to MPG reliably since I have a bunch more to do, but if ripping the isos to vobs once allows me to you ffmpeg reliably, I might just have to go that route.

Thanks again.
steveum
Offline

Member

Posts: 244
Threads: 43
Joined: Feb 2007
#13
2011-02-22, 06:16 PM
wtg Wrote:@steveum, thanks for the suggestion, though I don't have VideoRedo myself. I should have specified that I'm looking for free software that will do the trick. I'm curious though... did you use the rips via the MVP, and if so, any trouble with skipping or FF during playback?

I think skipping issues are related to timeline problems in your mpg file. I have seen where someone suggests if just rename a VOB to MPG. As I recall, this was ok to do for MVP to play the file, but it could not skip around very well. VideoRedo allows you to create a MPG file that works as you would expect. It is a great tool, but it is not free.
Windows 7 Premium 32-Bit, Intel i5 750, ASUS P7P55D, 4gb ram, ATI RADEON HD 4550, 5 sata drives, HVR2250, HDPVR, COMSKIP, PCH A100, EGreat 34a, VideoReDo, SA 4240HDC
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#14
2011-02-22, 07:53 PM (This post was last modified: 2011-02-22, 08:14 PM by pBS.)
i use this for almost every dvd..straight from disc to mpg.. [change stuff in bold for dvd disc, use path instead of drive letter for dir path, "-dvd-device c:\dvdrip\video_ts"]
Code:
mencoder.exe -cache 8192  -alang en -dvd-device [b]o:[/b]  dvd://[b]title#[/b] -ovc copy -oac lavc -dvdangle 1 -alang en -lavcopts ildct:vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vqscale=3:vmax_b_frames=2:keyint=15:acodec=mp2:abitrate=160:autoaspect  -idx -af volume=9  -of mpeg -mpegopts format=mpeg2 -o output.mpg
there's another tweak to it if that one doesn't work, it's setup for progressive only..i do have one for telecined material that works just as well..
and that video sounds like was shot on videotape not film..
for telecined material, add this near beginning: [videotaped]
Code:
-vf filmdint,softskip,harddup -ofps 24000/1001 -fps 30000/1001  -of mpeg -mpegopts format=dvd:telecine [b]-ovc lavc[/b]
which will inverse telecine it and output progressive video...

or can use mplayer to dump it as-is:
Code:
mplayer -cache 64000 -dumpfile %output%.vob -dumpstream -dvd-device %DiskOrPath% dvd://%title% > mpdump.log
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#15
2011-02-22, 08:22 PM
Thanks pBS... I'll give those a try. Re: the first one though... since -ovc copy is used to copy the video stream directly, why specify video parameters in the -lavcopts parameters? I thought those would only be necessary if you wanted to re-encode the video. Admittedly, there's a lot I don't understand about mencoder, ffmpeg, vlc, etc.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#16
2011-02-23, 06:13 AM
true, but they don't hurt anything being there and not used...easy to convert it to video encode if need be..Smile
the second one needs it cuz it's encoding, to get the inverse telecine to work..[has to]
and one nice thing is they can all read directly from a dvd..no decrypting needed beforehand..Smile
[tho it does help to use anydvd on really bad copy protection discs]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  NMT for New TV - Suggestions ww4397 8 9,538 2017-01-29, 06:48 PM
Last Post: dljones8053
  playback through PCH A110 is cropped dongna 17 12,827 2015-10-05, 11:54 PM
Last Post: Jaggy
  PCH Skip/Rewind Buttons Not Working Durring Playback Tony 4 4,188 2013-03-31, 12:24 AM
Last Post: Tony
  TS playback problem WKleeven 5 4,101 2011-09-27, 07:40 PM
Last Post: WKleeven
  Stuttering / Freezing on PCH-A100 but OK on PC Playback? jksmurf 13 6,553 2011-09-25, 04:27 PM
Last Post: SFX Group
  NPVR playback of recordings over MVP severely pixelated dongna 12 6,997 2011-09-04, 08:41 PM
Last Post: mvallevand
  MVP Help - Analog playback OK, HD playback missing video spdrac1 4 3,090 2011-05-22, 10:24 PM
Last Post: spdrac1
  No Playback via MVP on NPVR.... systemshark 3 2,802 2010-12-29, 07:09 PM
Last Post: mvallevand
  Want to start using a NMT or Hauppauge Media device. Suggestions? hexibot43 9 4,048 2010-06-12, 05:18 AM
Last Post: hexibot43
  Converting net videos to mpegs for the MVP Dave72 2 1,700 2010-05-21, 11:24 AM
Last Post: Dave72

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

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

Linear Mode
Threaded Mode