Re: [FFmpeg-user] dvd2concat error with loopback mounted ISO
Le quintidi 15 frimaire, an CCXXIII, Adrian Meyer a écrit : Thanks for all the help. I built lsdvd 0.17 from sourceforge an now dvd2concat is working. However, ffmpeg seems not to like the syntax. I get a message unknown keyword 'stream'. ffmpeg -safe 0 -f concat -i file.concat . The output: ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers This version is too old to work with scripts produced by dvd2concat. dvd2concat was added on 2014-03-02. Better use Git head, but if you have to go with a release branch, 2.3 is the minimum. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] dvd2concat error with loopback mounted ISO
= content'Undefined', %s = streamid'0x22', }, { %s = ix4, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x23', }, { %s = ix5, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x24', }, { %s = ix6, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x25', }, { %s = ix7, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x26', }, { %s = ix8, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x27', }, { %s = ix9, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x28', }, { %s = ix10, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x29', }, { %s = ix11, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x2a', }, { %s = ix12, %s = langcode'xx', %s = language'Unknown', %s = content'Undefined', %s = streamid'0x2b', }, ], }, ], %s = longest_track1, ); From: Nicolas George geo...@nsup.org To: FFmpeg user questions ffmpeg-user@ffmpeg.org Sent: Wednesday, December 3, 2014 3:21 PM Subject: Re: [FFmpeg-user] dvd2concat error with loopback mounted ISO Le tridi 13 frimaire, an CCXXIII, Adrian Meyer a écrit : 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. Can you show the output of lsdvd -Op -x /dev/loop0? Please make sure you distinguish stdout and stderr, for example by redirecting each in a separate file ( log_stdout 2 log_stderr)? 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: There is no need to ignore stderr, it is already written separately. You would not see it on the terminal otherwise. What you report looks like a bug in lsdvd (its output in -Op mode should be valid perl under any circumstance), but I would need to see the output you get, because I can not reproduce the problem with my version and the ISO file I have laying around. Regards, -- Nicolas George ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] dvd2concat error with loopback mounted ISO
Le tridi 13 frimaire, an CCXXIII, Adrian Meyer a écrit : The real output: lsdvd iso -Op -x 2/dev/null our %lsdvd = ( %s = device'iso', %s = title'unknown', %s = vmg_id'DVDVIDEO-VMG', %s = provider_id'', track = [ { %s = ix1, %s = length6126.533, I believe there is no need to search further: your version of dvd2concat seems utterly broken. Here is how the output should look like: our %lsdvd = ( device = 'XXX.iso', title = 'XXX', vmg_id = 'DVDVIDEO-VMG', provider_id = 'XXX', track = [ { ix = 1, I do not know if you are familiar with C, but %s is a format string that is supposed to be replaced by a string. You can achieve the same thing in shell: printf %s = \n device If you use a plain echo instead of printf, the output looks like your version. I do not know how it arrived there, but you need to reinstall a working version. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] dvd2concat error with loopback mounted ISO
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! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] dvd2concat error with loopback mounted ISO
Le tridi 13 frimaire, an CCXXIII, Adrian Meyer a écrit : 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. Can you show the output of lsdvd -Op -x /dev/loop0? Please make sure you distinguish stdout and stderr, for example by redirecting each in a separate file ( log_stdout 2 log_stderr)? 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: There is no need to ignore stderr, it is already written separately. You would not see it on the terminal otherwise. What you report looks like a bug in lsdvd (its output in -Op mode should be valid perl under any circumstance), but I would need to see the output you get, because I can not reproduce the problem with my version and the ISO file I have laying around. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user