[FFmpeg-user] dvd2concat error with loopback mounted ISO

Adrian Meyer adrian.meyer at rocketmail.com
Fri Dec 5 17:49:51 CET 2014


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
  built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --arch=amd64 --disable-stripping --enable-avresample --enable-pthreads --enable-runtime-cpudetect --extra-version='7:1.2.6-1~trusty1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    53.  5.103 / 53.  5.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[concat @ 0xc572c0] Line 3: unknown keyword 'stream'
file.concat: Invalid data found when processing input


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,




  


More information about the ffmpeg-user mailing list