You are not logged in.

#1 2010-02-25 16:39:31

nixIT
Member
Registered: 2010-01-13
Posts: 548

[Solved] convert dvd to h.264 mkv files

Hello all,

I am looking for some software that will allow me to convert my DVD collection to H.264 (MKV) files so I can stream them to my Popcorn hour.  What do you guys recommend?

--nixIT

Last edited by nixIT (2010-09-15 02:22:42)


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#2 2010-02-25 16:44:45

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: [Solved] convert dvd to h.264 mkv files

Offline

#3 2010-02-25 16:52:59

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] convert dvd to h.264 mkv files

If space is no problem, you could also just rip the DVD to an ISO; the Popcorn hour should be able to handle DVD ISOs too (unencrypted, of course).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2010-02-25 16:54:25

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [Solved] convert dvd to h.264 mkv files

Offline

#5 2010-02-25 17:08:21

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [Solved] convert dvd to h.264 mkv files

Thanx for all the feedback, I tried handbrake, and it wasn't bad, but my audio was out of sync on all my rips, which is why I went to OGMRip, but for some reason, after an update it stopped supporting DTS and AC3:  http://bbs.archlinux.org/viewtopic.php?id=91747

since there have been no responses, I decided to see what other people are using out there.

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#6 2010-02-25 18:46:54

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: [Solved] convert dvd to h.264 mkv files

This tutorial is a good start: http://ubuntuforums.org/showthread.php?t=273635

Offline

#7 2010-02-26 00:00:45

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [Solved] convert dvd to h.264 mkv files

Thanx, will give that a shot.


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#8 2010-02-26 18:57:03

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [Solved] convert dvd to h.264 mkv files

I gave a handbrake another shot, and I appeared to create the MKV file, I played it on my computer, the sound was there, and SYNCED up to video.  I was excited.

I copied the file to my popcorn hour, and there was no sound.  I also noticed that the popcorn hour was reporting the sound was not DTS.  I didn't have time to write it down, and will update later today with what the popcorn hour is reporting the sound as.

so far, I"m not having any luck with conversions.  Stupid update last week.  sad

--nixIT.


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#9 2010-02-26 19:01:05

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: [Solved] convert dvd to h.264 mkv files

.:B:. wrote:

If space is no problem, you could also just rip the DVD to an ISO; the Popcorn hour should be able to handle DVD ISOs too (unencrypted, of course).

if this is true, you could use my script dvdcopy.  -I will tell it to stop after generating the ISO.  by default it does the longest title found on /dev/sr0.  it's worked in just about all of my test dvds.

Offline

#10 2010-02-26 19:27:29

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [Solved] convert dvd to h.264 mkv files

brisbin33 wrote:
.:B:. wrote:

If space is no problem, you could also just rip the DVD to an ISO; the Popcorn hour should be able to handle DVD ISOs too (unencrypted, of course).

if this is true, you could use my script dvdcopy.  -I will tell it to stop after generating the ISO.  by default it does the longest title found on /dev/sr0.  it's worked in just about all of my test dvds.

I appreciate it, and I will give it a shot, but space is limited, for now, so I was hoping to compress the movies down to about 2gig each.

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#11 2010-02-26 19:40:45

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: [Solved] convert dvd to h.264 mkv files

try ffmpeg, it has nice x264 presets, you can get good results with minimum efforts.

Offline

#12 2010-02-26 19:43:26

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: [Solved] convert dvd to h.264 mkv files

nixIT wrote:
brisbin33 wrote:
.:B:. wrote:

If space is no problem, you could also just rip the DVD to an ISO; the Popcorn hour should be able to handle DVD ISOs too (unencrypted, of course).

if this is true, you could use my script dvdcopy.  -I will tell it to stop after generating the ISO.  by default it does the longest title found on /dev/sr0.  it's worked in just about all of my test dvds.

I appreciate it, and I will give it a shot, but space is limited, for now, so I was hoping to compress the movies down to about 2gig each.

--nixIT

my script has a -s option to set the desired finished size.  not sure how accurate it is, but worth a shot.  i always use the default 4.7G of a DVD5, often they come out smaller; not sure if it's my script or the source movie that does that hmm

Offline

#13 2010-02-26 20:13:14

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: [Solved] convert dvd to h.264 mkv files

If you're going to specify file size then you'll get better results running a 2 pass rip. Take a look at h264enc (AUR) if brisbin33's script doesn't suit you.

Offline

#14 2010-02-26 20:18:55

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [Solved] convert dvd to h.264 mkv files

will allow me to retain the DTS audio track?  or will it re-encode it?


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#15 2010-02-26 21:43:19

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: [Solved] convert dvd to h.264 mkv files

+1 for handbrake.  Dunno if HB allows you to keep DTS (I think it does).

Offline

#16 2010-02-26 21:48:41

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [Solved] convert dvd to h.264 mkv files

I appreciate everyones feedback and suggestions.  However, I am at wits end since I've been pulling my hair out for a solid week on this.

I think I"m going to give up on this for a while.  The curse of nixIT lives on (whatever I like will soon be discontinued).


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#17 2010-02-26 23:14:43

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: [Solved] convert dvd to h.264 mkv files

nixIT wrote:

will allow me to retain the DTS audio track?  or will it re-encode it?

Sure, check right at the bottom of the link, you would enter 137 instead of hitting return
http://h264enc.sourceforge.net/screenshots.html

You could also specify COPY at the relevant part in audio options.

Last edited by rusty99 (2010-02-26 23:16:24)

Offline

#18 2010-02-27 04:43:39

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [Solved] convert dvd to h.264 mkv files

rusty99 wrote:
nixIT wrote:

will allow me to retain the DTS audio track?  or will it re-encode it?

Sure, check right at the bottom of the link, you would enter 137 instead of hitting return
http://h264enc.sourceforge.net/screenshots.html

You could also specify COPY at the relevant part in audio options.

Thanx, I gave that a shot, and here is what was outputted:

MEncoder SVN-r30526-4.4.3 (C) 2000-2010 MPlayer Team
142 audio & 332 video codecs
Option x264encopts: Unknown suboption nal_hrd
libdvdread: Using libdvdcss version 1.2.10 for DVD access
There are 54 titles on this DVD.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x000003fa
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000530
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000e1b2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00393d49
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00393fa7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00394635
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003946f0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00394873
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0039492e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x003953d5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00395490
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x00396527
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003965e2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00396c8b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00396d46
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x003b6b0c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003b6bc7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x003b92a1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003b92a6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x003ba890
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x003ba894
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x003ba9e1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x003ba9e5
libdvdread: Elapsed time 0
libdvdread: Found 11 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (5.1) language: fr aid: 129.
audio stream: 2 format: dts (5.1) language: en aid: 138.
audio stream: 3 format: ac3 (mono) language: en aid: 131.
audio stream: 4 format: ac3 (mono) language: en aid: 132.
number of audio channels on disk: 5.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: fr
subtitle ( sid ): 2 language: fr
number of subtitles on disk: 3
success: format: 2  data: 0x0 - 0xc276c800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.970  ftime:=0.0334
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 768.0 kbit/16.67% (ratio: 96000->576000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [softskip]
==========================================================================
Forced video codec: mpeg12
Opening video decoder: [libmpeg2] libmpeg2 MPEG 1/2 Video decoder
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
[ac3 @ 0x26ad320]No channel layout specified. The encoder will guess the layout, but it might be incorrect.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x26c7ca0]using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.

Exiting...
-> MEncoder has exited with a non-zero value!
-> Exiting in function: mencoder_exit()

I appreciate all your help.

uggg, time for bed.  Seems like I am losing this battle, and will need to throw in the towel for converting my dvd collection to digital set top box.  sad

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

Board footer

Powered by FluxBB