My prefered way to transcode my DVD is to rely on a first dump with mplayer then the eventual transcoding with ffmpeg.
Mplayer summoned with this line to identify the tracks (the biggest being the movie, most likely): mplayer -nosound -dvd-device g: dvd:// -identify Then ripping it: mplayer -dvd-device g: -nocache dvdnav://3 -chapter 1-19 -dumpstream -dumpfile dvd.vob the device is my dvd-drive, obviously I used Windows here, adjust to your mounting point under Linux. I get a dvd.vob file that I can then use with FFMPEG without any problem. On 21 February 2018 at 17:27, Steve Boyer <steveboye...@gmail.com> wrote: > On Wed, Feb 21, 2018 at 10:06 AM, Adi Marvillo <a...@gmx.at> wrote: > > > Hello everyone - I am trying hard to rip my own DVD collection onto my > > fileserver but it doesn't work properly. > > Input-streams are: > > Stream #0:0: Data: dvd_nav_packet > > Stream #0:1: Video: mpeg2video (Main), yuv420p(tv, top first), 720x576 > > [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 90k tbc > > Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s > > > > I made a list of the biggest files on the DVD which are supposed to be > > the entire film if concatenated. > > files adi@HOST ~/Videos $ cat mylist.txt > > file '/media/cdrom/video_ts/vts_09_1.vob' > > file '/media/cdrom/video_ts/vts_09_2.vob' > > file '/media/cdrom/video_ts/vts_09_3.vob' > > file '/media/cdrom/video_ts/vts_09_4.vob' > > file '/media/cdrom/video_ts/vts_09_5.vob' > > file '/media/cdrom/video_ts/vts_09_6.vob' > > > > DVDs do have copy-protection. In my experience, some DVDs will rip well > with the CLI tool "dvdbackup," however I've had significant issues when > coming to backing up D!sn3y discs. My preferred way is to use MakeMKV > (there's a linux version available), decrypt to the local HDD, then run > FFmpeg on the resulting single file (which does still contain chapter > information). It looks like you are reading directly from the CD, so that > could be part of the issue there. > > > > the command to start ripping is this one: > > avconv -safe 0 -f concat -i mylist.txt -g 25 -keyint_min 3 -aspect > > "16:9" -map 0:1 -c:v libx264 -map 0:2 -c:a copy ~/Videos/testvideo.mkv > > > > My CLI for ripping DVD's is roughly: > ffmpeg -i movie.mkv -vf crop=NumbersHere,fieldmatch,decimate -c:a > libfdk_aac -b:a 384k -c:v libx264 -preset veryfast -crf 18 -tune film > -movflags +faststart movie.mp4 > > *I compile FFmpeg from source, and include the FDK AAC codec. Unless you > compile, you won't get this encoder option. > *CRF 18 I've found to be a good balance of filesize/quality for DVD > material. For Blu-Ray rips, I'll downscale to 720p and use CRF 21. > *Crop values I get from doing: ffmpeg -ss 25:00 -i movie.mkv -vf cropdetect > -t 10 -f null /dev/null" and taking the spit-out crop values and plugging > them in directly. > *For IVTC, I'll either use combo of fieldmatch,decimate or > fps=fps=24000/1001 (depending on what works best and source material). > *movflags +faststart does a second pass after encoding is done and moves > the MOOV header to the front of the file, allowing you to start watching > before the download is completed. > > > > Error message after half an hour: > > Non-monotonous DTS in output stream 0:1; previous: 17992, current: > > 17960; changing to 17992. This may result in incorrect timestamps in the > > output file. > > > > ... > > > > > > adi@HOST ~/Videos $ avconv -safe 0 -f concat -i mylist.txt -ss 00:18:15 > > -t 00:00:30 -g 25 -keyint_min 3 -vf > > "crop=x=22:out_w=in_w-52:y=4:out_h=in_h-6" -aspect "16:9" -map 0:1 -c:v > > libx264 -map 0:2 -c:a ac3_fixed ~/Videos/testvideo.mkv > > ffmpeg version 3.2.10-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg > > developers > > built with gcc 6.3.0 (Debian 6.3.0-18) 20170516 > > > > Also, why are you invoking it via avconv vs. ffmpeg? it looks like the > version is indeed FFmpeg and is just aliased ("Copyright (c) 2000-2018 the > FFmpeg developers") > > Steve > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".