Identify the volume size as follows:
isoinfo -d -i /dev/sr0 | grep -i -E 'block size|volume size'
Example:
~$ isoinfo -d -i /dev/sr0 | grep -i -E 'block size|volume size'
Logical block size is: 2048
Volume size is: 2516480
Then use the identified volume size to copy the DVD to /home/me/Videos/dvd_x.iso:
dd if=/dev/sr0 of=/home/me/Videos/dvd_x.iso status=progress bs=2048 count=2516480 conv=noerror,notrunc,sync