[FFmpeg-user] dvd2concat error with loopback mounted ISO
Adrian Meyer
adrian.meyer at rocketmail.com
Wed Dec 3 14:11:06 CET 2014
I am mounting an ISO through loopback and I get 5 messages from libdvdread through lsdvd and 1 from perl crashing on the eval:
libdvdread: Attempting to use device /dev/loop0 mounted on /media/raid/Video/divx/iso for CSS authentication
libdvdread: No VTS_TMAPT available - skipping.
libdvdread: No VTS_TMAPT available - skipping.
libdvdread: No VTS_TMAPT available - skipping.
Couldn't read enough bytes for title.
Bad name after device' at (eval 5) line 2.
I am not a perl programmer. How would I manage to ignore STDERR in this section of dvd2concat to for lsdvd only if it was succesfull? The -q on lsdvd does not suppress the output:
my $lsdvd = do {
open( my $l, "-|", "lsdvd", "-Op", "-x", $path )
or die "You need to install lsdvd for this script to work.\n$lsdvd_message";
local $/;
<$l>;
};
my %lsdvd = eval $lsdvd;
die $@ if $@;
Thanks!
More information about the ffmpeg-user
mailing list