VOB files convertion failed

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

VOB files convertion failed

Jamenson Ferreira Espindula de Almeida Melo
From Jaboatão dos Guararapes, Pernambuco, Brazil.

Thank you for your response.

Below is the listing of a DVD movie disc. I want to convert these files
to one file. The files already are on my hard disk.

total 4,2G
-r--r--r-- 1 jamenson jamenson 124K fev  2  2010 video_ts.vob
-r--r--r-- 1 jamenson jamenson 320M fev  2  2010 vts_01_0.vob
-r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_1.vob
-r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_2.vob
-r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_3.vob
-r--r--r-- 1 jamenson jamenson 735M fev  2  2010 vts_01_4.vob
-r--r--r-- 1 jamenson jamenson  11M fev  2  2010 vts_02_0.vob
-r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_02_1.vob
-r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_03_1.vob
-r--r--r-- 1 jamenson jamenson 159M fev  2  2010 vts_04_1.vob
-r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_05_1.vob

So, first of all, I concatenate the eleven files to one file with this
command:


cat *vob > crepusculo.vob


Second I have analyze the contents of that file with this command:


ffprobe -hide_banner -analyzeduration 500M -probesize 500M -i \
crepusculo.vob


The output of that command was:


Input #0, mpeg, from '/tmp/crepusculo.vob':
  Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
    first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
    tbr, 90k tbn, 59.94 tbc

    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x20]: Subtitle: dvd_subtitle
    Stream #0:4[0x21]: Subtitle: dvd_subtitle
    Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Unsupported codec with id 100357 for input stream 0


ffmpeg -version output:


ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --prefix=/usr --enable-gpl --enable-version3 \
--enable-nonfree --disable-static --enable-shared --disable-debug \
--enable-libass --enable-libfdk-aac --enable-libfreetype \
--enable-libmp3lame --enable-libopus --enable-libtheora \
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
--enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3

libavutil      55. 58.100 / 55. 58.100
libavcodec     57. 89.100 / 57. 89.100
libavformat    57. 71.100 / 57. 71.100
libavdevice    57.  6.100 / 57.  6.100
libavfilter     6. 82.100 /  6. 82.100
libswscale      4.  6.100 /  4.  6.100
libswresample   2.  7.100 /  2.  7.100
libpostproc    54.  5.100 / 54.  5.100


First try: I tried the Matroska container. Below is the command:


ffmpeg -analyzeduration 500M -probesize 500M -i crepusculo.vob \
-map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 \
-metadata:s:a:0 language=eng -metadata:s:a:0 title="English stereo" \
-metadata:s:a:1 language=por -metadata:s:a:1 title="Português estereo" \
-metadata:s:s:0 language=eng -metadata:s:s:0 title="English" \
-metadata:s:s:1 language=por -metadata:s:s:1 title="Português" \
-codec:v copy -crf 20 -codec:a copy -qscale:a 2 -codec:s copy \
crepusculo.mkv


The command output was:


ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/usr --enable-gpl --enable-version3 \
  --enable-nonfree --disable-static --enable-shared --disable-debug \
  --enable-libass --enable-libfdk-aac --enable-libfreetype \
  --enable-libmp3lame --enable-libopus --enable-libtheora \
  --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
  --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3

  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mpeg, from 'crepusculo.vob':
  Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
    first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
    tbr, 90k tbn, 59.94 tbc

    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x20]: Subtitle: dvd_subtitle
    Stream #0:4[0x21]: Subtitle: dvd_subtitle
    Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Output #0, matroska, to 'crepusculo.mkv':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), \
    yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 8000 \
    kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc

    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, \
    5.1(side), fltp, 448 kb/s

    Metadata:
      title           : English stereo
    Stream #0:2(eng): Subtitle: dvd_subtitle
    Metadata:
      title           : English
    Stream #0:3(por): Subtitle: dvd_subtitle
    Metadata:
      title           : Português
    Stream #0:4(por): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, \
    5.1(side), fltp, 448 kb/s

    Metadata:
      title           : Português estereo
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
  Stream #0:3 -> #0:2 (copy)
  Stream #0:4 -> #0:3 (copy)
  Stream #0:5 -> #0:4 (copy)
Press [q] to stop, [?] for help
[matroska @ 0xd5a240] Non-monotonous DTS in output stream 0:0; \
previous: 16, current: -33; changing to 16. This may result in \
incorrect timestamps in the output file.

[matroska @ 0xd5a240] Non-monotonous DTS in output stream 0:0; \
previous: 16, current: 0; changing to 16. This may result in \
incorrect timestamps in the output file.

[matroska @ 0xd5a240] Timestamps are unset in a packet for \
stream 0. This is deprecated and will stop working in the \
future. Fix your code to set the timestamps properly

[matroska @ 0xd5a240] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument

[matroska @ 0xd5a240] Can't write packet with unknown timestamp
Error writing trailer of crepusculo.mkv: Invalid argument

frame=  305 fps=0.0 q=-1.0 Lsize=     231kB time=00:00:10.07 \
bitrate= 187.4kbits/s speed= 321x

video:6008kB audio:154kB subtitle:0kB other streams:0kB global \
headers:0kB muxing overhead: unknown
Conversion failed!


Second try: I tried to change the container to mp4. The command line
looks like this:


ffmpeg -analyzeduration 500M -probesize 500M -i crepusculo.vob \
-map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 \
-metadata:s:a:0 language=eng -metadata:s:a:0 title="English stereo" \
-metadata:s:a:1 language=por -metadata:s:a:1 title="Português estereo" \
-metadata:s:s:0 language=eng -metadata:s:s:0 title="English" \
-metadata:s:s:1 language=por -metadata:s:s:1 title="Português" \
-codec:v copy -crf 20 -codec:a copy -qscale:a 2 -codec:s copy \
crepusculo.mp4


The command output was:


ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/usr --enable-gpl --enable-version3 \
  --enable-nonfree --disable-static --enable-shared --disable-debug \
  --enable-libass --enable-libfdk-aac --enable-libfreetype \
  --enable-libmp3lame --enable-libopus --enable-libtheora \
  --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
  --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3

  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mpeg, from 'crepusculo.vob':
  Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
    first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
    tbr, 90k tbn, 59.94 tbc

    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x20]: Subtitle: dvd_subtitle
    Stream #0:4[0x21]: Subtitle: dvd_subtitle
    Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
[mp4 @ 0x1079240] track 1: codec frame size is not set
[mp4 @ 0x1079240] track 4: codec frame size is not set
Output #0, mp4, to 'crepusculo.mp4':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: mpeg2video (Main) (a[0][0][0] / 0x0061), \
    yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 8000 \
    kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc

    Stream #0:1(eng): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, \
    5.1(side), fltp, 448 kb/s

    Metadata:
      title           : English stereo
    Stream #0:2(eng): Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0)
    Metadata:
      title           : English
    Stream #0:3(por): Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0)
    Metadata:
      title           : Português
    Stream #0:4(por): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, \
    5.1(side), fltp, 448 kb/s

    Metadata:
      title           : Português estereo
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
  Stream #0:3 -> #0:2 (copy)
  Stream #0:4 -> #0:3 (copy)
  Stream #0:5 -> #0:4 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x1079240] Non-monotonous DTS in output stream 0:0; previous: \
1447, current: -3003; changing to 1448. This may result in incorrect \
timestamps in the output file.

[mp4 @ 0x1079240] Non-monotonous DTS in output stream 0:0; previous: \
1448, current: 0; changing to 1449. This may result in incorrect \
timestamps in the output file.

[mp4 @ 0x1079240] Timestamps are unset in a packet for stream 0. This \
is deprecated and will stop working in the future. Fix your code to \
set the timestamps properly

[mp4 @ 0x1079240] pts has no value
    Last message repeated 648 times
frame= 2722 fps=0.0 q=-1.0 size=   61241kB time=00:01:30.72 \
bitrate=5529.9kbits/s speed= 181x
[mp4 @ 0x1079240] pts has no \
value

    Last message repeated 655 times
frame= 5180 fps=5179 q=-1.0 size=  123840kB time=00:02:52.73 \
bitrate=5873.0kbits/s speed= 173x
[mp4 @ 0x1079240] pts has no \
value

    Last message repeated 503 times
[mp4 @ 0x1079240] Application provided invalid, non monotonically \
increasing dts to muxer in stream 2: 17129112 >= 16543527

av_interleaved_write_frame(): Invalid argument
[mp4 @ 0x1079240] pts has no value
    Last message repeated 79 times
frame= 7070 fps=5123 q=-1.0 Lsize=  179654kB time=00:03:55.81 \
bitrate=6241.0kbits/s speed= 171x

video:174140kB audio:5395kB subtitle:22kB other streams:0kB global \
headers:0kB muxing overhead: 0.054197%
Conversion failed!


What I should do to solve that?

Thank you.

Jamenson Ferreira Espindula de Almeida Melo
GNU/Linux user # 166197
https://linuxcounter.net/cert/166197.png

Key fingerprint:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Micael Silva
On Mon, May 7, 2018 at 9:13 PM, Jamenson Ferreira Espindula de Almeida Melo
<[hidden email]> wrote:

> From Jaboatão dos Guararapes, Pernambuco, Brazil.
>
> Thank you for your response.
>
> Below is the listing of a DVD movie disc. I want to convert these files
> to one file. The files already are on my hard disk.
>
> total 4,2G
> -r--r--r-- 1 jamenson jamenson 124K fev  2  2010 video_ts.vob
> -r--r--r-- 1 jamenson jamenson 320M fev  2  2010 vts_01_0.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_1.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_2.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_3.vob
> -r--r--r-- 1 jamenson jamenson 735M fev  2  2010 vts_01_4.vob
> -r--r--r-- 1 jamenson jamenson  11M fev  2  2010 vts_02_0.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_02_1.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_03_1.vob
> -r--r--r-- 1 jamenson jamenson 159M fev  2  2010 vts_04_1.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_05_1.vob
>
> So, first of all, I concatenate the eleven files to one file with this
> command:
>
>
> cat *vob > crepusculo.vob
>
>
> Second I have analyze the contents of that file with this command:
>
>
> ffprobe -hide_banner -analyzeduration 500M -probesize 500M -i \
> crepusculo.vob
>
>
> The output of that command was:
>
>
> Input #0, mpeg, from '/tmp/crepusculo.vob':
>   Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
>     Stream #0:0[0x1bf]: Data: dvd_nav_packet
>     Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>     first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
>     tbr, 90k tbn, 59.94 tbc
>
>     Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>     Stream #0:3[0x20]: Subtitle: dvd_subtitle
>     Stream #0:4[0x21]: Subtitle: dvd_subtitle
>     Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
> Unsupported codec with id 100357 for input stream 0
>
>
> ffmpeg -version output:
>
>
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
> built with gcc 7.2.0 (GCC)
> configuration: --prefix=/usr --enable-gpl --enable-version3 \
> --enable-nonfree --disable-static --enable-shared --disable-debug \
> --enable-libass --enable-libfdk-aac --enable-libfreetype \
> --enable-libmp3lame --enable-libopus --enable-libtheora \
> --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
> --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>
> libavutil      55. 58.100 / 55. 58.100
> libavcodec     57. 89.100 / 57. 89.100
> libavformat    57. 71.100 / 57. 71.100
> libavdevice    57.  6.100 / 57.  6.100
> libavfilter     6. 82.100 /  6. 82.100
> libswscale      4.  6.100 /  4.  6.100
> libswresample   2.  7.100 /  2.  7.100
> libpostproc    54.  5.100 / 54.  5.100
>
>
> First try: I tried the Matroska container. Below is the command:
>
>
> ffmpeg -analyzeduration 500M -probesize 500M -i crepusculo.vob \
> -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 \
> -metadata:s:a:0 language=eng -metadata:s:a:0 title="English stereo" \
> -metadata:s:a:1 language=por -metadata:s:a:1 title="Português estereo" \
> -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" \
> -metadata:s:s:1 language=por -metadata:s:s:1 title="Português" \
> -codec:v copy -crf 20 -codec:a copy -qscale:a 2 -codec:s copy \
> crepusculo.mkv
>
>
> The command output was:
>
>
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>   built with gcc 7.2.0 (GCC)
>   configuration: --prefix=/usr --enable-gpl --enable-version3 \
>   --enable-nonfree --disable-static --enable-shared --disable-debug \
>   --enable-libass --enable-libfdk-aac --enable-libfreetype \
>   --enable-libmp3lame --enable-libopus --enable-libtheora \
>   --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
>   --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>
>   libavutil      55. 58.100 / 55. 58.100
>   libavcodec     57. 89.100 / 57. 89.100
>   libavformat    57. 71.100 / 57. 71.100
>   libavdevice    57.  6.100 / 57.  6.100
>   libavfilter     6. 82.100 /  6. 82.100
>   libswscale      4.  6.100 /  4.  6.100
>   libswresample   2.  7.100 /  2.  7.100
>   libpostproc    54.  5.100 / 54.  5.100
> Input #0, mpeg, from 'crepusculo.vob':
>   Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
>     Stream #0:0[0x1bf]: Data: dvd_nav_packet
>     Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>     first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
>     tbr, 90k tbn, 59.94 tbc
>
>     Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>     Stream #0:3[0x20]: Subtitle: dvd_subtitle
>     Stream #0:4[0x21]: Subtitle: dvd_subtitle
>     Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
> Output #0, matroska, to 'crepusculo.mkv':
>   Metadata:
>     encoder         : Lavf57.71.100
>     Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), \
>     yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 8000 \
>     kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc
>
>     Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, \
>     5.1(side), fltp, 448 kb/s
>
>     Metadata:
>       title           : English stereo
>     Stream #0:2(eng): Subtitle: dvd_subtitle
>     Metadata:
>       title           : English
>     Stream #0:3(por): Subtitle: dvd_subtitle
>     Metadata:
>       title           : Português
>     Stream #0:4(por): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, \
>     5.1(side), fltp, 448 kb/s
>
>     Metadata:
>       title           : Português estereo
> Stream mapping:
>   Stream #0:1 -> #0:0 (copy)
>   Stream #0:2 -> #0:1 (copy)
>   Stream #0:3 -> #0:2 (copy)
>   Stream #0:4 -> #0:3 (copy)
>   Stream #0:5 -> #0:4 (copy)
> Press [q] to stop, [?] for help
> [matroska @ 0xd5a240] Non-monotonous DTS in output stream 0:0; \
> previous: 16, current: -33; changing to 16. This may result in \
> incorrect timestamps in the output file.
>
> [matroska @ 0xd5a240] Non-monotonous DTS in output stream 0:0; \
> previous: 16, current: 0; changing to 16. This may result in \
> incorrect timestamps in the output file.
>
> [matroska @ 0xd5a240] Timestamps are unset in a packet for \
> stream 0. This is deprecated and will stop working in the \
> future. Fix your code to set the timestamps properly
>
> [matroska @ 0xd5a240] Can't write packet with unknown timestamp
> av_interleaved_write_frame(): Invalid argument
>
> [matroska @ 0xd5a240] Can't write packet with unknown timestamp
> Error writing trailer of crepusculo.mkv: Invalid argument
>
> frame=  305 fps=0.0 q=-1.0 Lsize=     231kB time=00:00:10.07 \
> bitrate= 187.4kbits/s speed= 321x
>
> video:6008kB audio:154kB subtitle:0kB other streams:0kB global \
> headers:0kB muxing overhead: unknown
> Conversion failed!
>
>
> Second try: I tried to change the container to mp4. The command line
> looks like this:
>
>
> ffmpeg -analyzeduration 500M -probesize 500M -i crepusculo.vob \
> -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 \
> -metadata:s:a:0 language=eng -metadata:s:a:0 title="English stereo" \
> -metadata:s:a:1 language=por -metadata:s:a:1 title="Português estereo" \
> -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" \
> -metadata:s:s:1 language=por -metadata:s:s:1 title="Português" \
> -codec:v copy -crf 20 -codec:a copy -qscale:a 2 -codec:s copy \
> crepusculo.mp4
>
>
> The command output was:
>
>
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>   built with gcc 7.2.0 (GCC)
>   configuration: --prefix=/usr --enable-gpl --enable-version3 \
>   --enable-nonfree --disable-static --enable-shared --disable-debug \
>   --enable-libass --enable-libfdk-aac --enable-libfreetype \
>   --enable-libmp3lame --enable-libopus --enable-libtheora \
>   --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
>   --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>
>   libavutil      55. 58.100 / 55. 58.100
>   libavcodec     57. 89.100 / 57. 89.100
>   libavformat    57. 71.100 / 57. 71.100
>   libavdevice    57.  6.100 / 57.  6.100
>   libavfilter     6. 82.100 /  6. 82.100
>   libswscale      4.  6.100 /  4.  6.100
>   libswresample   2.  7.100 /  2.  7.100
>   libpostproc    54.  5.100 / 54.  5.100
> Input #0, mpeg, from 'crepusculo.vob':
>   Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
>     Stream #0:0[0x1bf]: Data: dvd_nav_packet
>     Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>     first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
>     tbr, 90k tbn, 59.94 tbc
>
>     Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>     Stream #0:3[0x20]: Subtitle: dvd_subtitle
>     Stream #0:4[0x21]: Subtitle: dvd_subtitle
>     Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
> [mp4 @ 0x1079240] track 1: codec frame size is not set
> [mp4 @ 0x1079240] track 4: codec frame size is not set
> Output #0, mp4, to 'crepusculo.mp4':
>   Metadata:
>     encoder         : Lavf57.71.100
>     Stream #0:0: Video: mpeg2video (Main) (a[0][0][0] / 0x0061), \
>     yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 8000 \
>     kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
>
>     Stream #0:1(eng): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, \
>     5.1(side), fltp, 448 kb/s
>
>     Metadata:
>       title           : English stereo
>     Stream #0:2(eng): Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0)
>     Metadata:
>       title           : English
>     Stream #0:3(por): Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0)
>     Metadata:
>       title           : Português
>     Stream #0:4(por): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, \
>     5.1(side), fltp, 448 kb/s
>
>     Metadata:
>       title           : Português estereo
> Stream mapping:
>   Stream #0:1 -> #0:0 (copy)
>   Stream #0:2 -> #0:1 (copy)
>   Stream #0:3 -> #0:2 (copy)
>   Stream #0:4 -> #0:3 (copy)
>   Stream #0:5 -> #0:4 (copy)
> Press [q] to stop, [?] for help
> [mp4 @ 0x1079240] Non-monotonous DTS in output stream 0:0; previous: \
> 1447, current: -3003; changing to 1448. This may result in incorrect \
> timestamps in the output file.
>
> [mp4 @ 0x1079240] Non-monotonous DTS in output stream 0:0; previous: \
> 1448, current: 0; changing to 1449. This may result in incorrect \
> timestamps in the output file.
>
> [mp4 @ 0x1079240] Timestamps are unset in a packet for stream 0. This \
> is deprecated and will stop working in the future. Fix your code to \
> set the timestamps properly
>
> [mp4 @ 0x1079240] pts has no value
>     Last message repeated 648 times
> frame= 2722 fps=0.0 q=-1.0 size=   61241kB time=00:01:30.72 \
> bitrate=5529.9kbits/s speed= 181x
> [mp4 @ 0x1079240] pts has no \
> value
>
>     Last message repeated 655 times
> frame= 5180 fps=5179 q=-1.0 size=  123840kB time=00:02:52.73 \
> bitrate=5873.0kbits/s speed= 173x
> [mp4 @ 0x1079240] pts has no \
> value
>
>     Last message repeated 503 times
> [mp4 @ 0x1079240] Application provided invalid, non monotonically \
> increasing dts to muxer in stream 2: 17129112 >= 16543527
>
> av_interleaved_write_frame(): Invalid argument
> [mp4 @ 0x1079240] pts has no value
>     Last message repeated 79 times
> frame= 7070 fps=5123 q=-1.0 Lsize=  179654kB time=00:03:55.81 \
> bitrate=6241.0kbits/s speed= 171x
>
> video:174140kB audio:5395kB subtitle:22kB other streams:0kB global \
> headers:0kB muxing overhead: 0.054197%
> Conversion failed!
>
>
> What I should do to solve that?
>
> Thank you.
>

Concating VOB files usually goes wrong caused by timecode discontinuities
by the file splitting, I think. You could try to make one single file first
with ffmpeg regenerating PTS before converting to another format. It
generally works for me:

ffmpeg -fflags +genpts -i
"concat:vts_01_0.vob|vts_01_1.vob|vts_01_2.vob(....)" -c copy -f vob
filme.mpg

I am not completely sure but the video_ts.vob carries the DVD menu, it can
be messy putting it among the rest of video, since than menus don't have to
be at same properties of the movie file.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Moritz Barsnick
In reply to this post by Jamenson Ferreira Espindula de Almeida Melo
On Mon, May 07, 2018 at 21:13:38 -0300, Jamenson Ferreira Espindula de Almeida Melo wrote:

> Below is the listing of a DVD movie disc. I want to convert these files
> to one file. The files already are on my hard disk.
>
> total 4,2G
> -r--r--r-- 1 jamenson jamenson 124K fev  2  2010 video_ts.vob
> -r--r--r-- 1 jamenson jamenson 320M fev  2  2010 vts_01_0.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_1.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_2.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_3.vob
> -r--r--r-- 1 jamenson jamenson 735M fev  2  2010 vts_01_4.vob
> -r--r--r-- 1 jamenson jamenson  11M fev  2  2010 vts_02_0.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_02_1.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_03_1.vob
> -r--r--r-- 1 jamenson jamenson 159M fev  2  2010 vts_04_1.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_05_1.vob
>
> So, first of all, I concatenate the eleven files to one file with this
> command:

> cat *vob > crepusculo.vob

Instead, please use the script tools/dvd2concat from the ffmpeg source
directory. It requires lsdvd in order to scan the structure correctly.

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Jamenson Ferreira Espindula de Almeida Melo
In reply to this post by Jamenson Ferreira Espindula de Almeida Melo
> On Mon, May 07, 2018 at 21:13:38 -0300, Jamenson Ferreira Espindula de Almeida Melo wrote:
>> Below is the listing of a DVD movie disc. I want to convert these files
>> to one file. The files already are on my hard disk.
>>
>> total 4,2G
>> -r--r--r-- 1 jamenson jamenson 124K fev  2  2010 video_ts.vob
>> -r--r--r-- 1 jamenson jamenson 320M fev  2  2010 vts_01_0.vob
>> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_1.vob
>> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_2.vob
>> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_3.vob
>> -r--r--r-- 1 jamenson jamenson 735M fev  2  2010 vts_01_4.vob
>> -r--r--r-- 1 jamenson jamenson  11M fev  2  2010 vts_02_0.vob
>> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_02_1.vob
>> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_03_1.vob
>> -r--r--r-- 1 jamenson jamenson 159M fev  2  2010 vts_04_1.vob
>> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_05_1.vob
>>
>> So, first of all, I concatenate the eleven files to one file with this
>> command:
>
>> cat *vob > crepusculo.vob
>
>Instead, please use the script tools/dvd2concat from the ffmpeg source
>directory. It requires lsdvd in order to scan the structure correctly.
>
>Cheers,
>Moritz

Hi, Moritz.

I tried to use the script tools/dvd2concat from the FFmpeg source
directory. The command I tried was:


./dvd2concat /dev/sr0 > file.concat


The output of that command was:


Using longest title 1
Cell beyond VOB data


P.S.: the created file "file.concat" had nothing in it.

Any idea?

Thank you in advance!

God bless you!

Jamenson Ferreira Espindula de Almeida Melo
GNU/Linux user # 166197
https://linuxcounter.net/cert/166197.png

Key fingerprint:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Jamenson Ferreira Espindula de Almeida Melo
In reply to this post by Jamenson Ferreira Espindula de Almeida Melo
> Concating VOB files usually goes wrong caused by timecode discontinuities
> by the file splitting, I think. You could try to make one single file first
> with ffmpeg regenerating PTS before converting to another format. It
> generally works for me:
>
> ffmpeg -fflags +genpts -i
> "concat:vts_01_0.vob|vts_01_1.vob|vts_01_2.vob(....)" -c copy -f vob
> filme.mpg
>
> I am not completely sure but the video_ts.vob carries the DVD menu, it can
> be messy putting it among the rest of video, since than menus don't have to
> be at same properties of the movie file.

Hi, Micael Silva.

I tried the command you sugested. The command was:


ffmpeg -analyzeduration 500M -probesize 500M -fflags +genpts -i
"concat:../vob/vts_01_0.vob|../vob/vts_01_1.vob|../vob/vts_01_2.vob|../vob/vts_01_3.vob|../vob/vts_01_4.vob|../vob/vts_02_0.vob|../vob/vts_02_1.vob|../vob/vts_03_1.vob|../vob/vts_04_1.vob|../vob/vts_05_1.vob"
-map 0:1 -map 0:2? -map 0:3? -map 0:4? -map 0:5? -metadata:s:a:0
language=eng -metadata:s:a:0 title="English stereo" -metadata:s:a:1
language=por -metadata:s:a:1 title="Português estéreo" -metadata:s:s:0
language=eng -metadata:s:s:0 title="English" -metadata:s:s:1
language=por -metadata:s:s:1 title="Português" -codec:v copy -codec:a
copy -codec:s copy -f vob crepusculo.mp4


The output os that command was:


ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/usr --enable-gpl --enable-version3 \
  --enable-nonfree --disable-static --enable-shared --disable-debug \
  --enable-libass --enable-libfdk-aac --enable-libfreetype \
  --enable-libmp3lame --enable-libopus --enable-libtheora \
  --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
  --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3

  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mpeg, from \
'concat:../vob/vts_01_0.vob|../vob/vts_01_1.vob|../vob/vts_01_2.vob|../vob/vts_01_3.vob|../vob/vts_01_4.vob|../vob/vts_02_0.vob|../vob/vts_02_1.vob|../vob/vts_03_1.vob|../vob/vts_04_1.vob|../vob/vts_05_1.vob':

  Duration: 00:01:43.71, start: 0.280633, bitrate: 347385 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
    first), 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k \
    tbn, 59.94 tbc

    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x20]: Subtitle: dvd_subtitle
    Stream #0:4[0x21]: Subtitle: dvd_subtitle
    Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
[vob @ 0x18c5ac0] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, vob, to 'crepusculo.mp4':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), \
    720x480 [SAR 32:27 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k \
    tbn, 29.97 tbc

    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : English stereo
    Stream #0:2(eng): Subtitle: dvd_subtitle
    Metadata:
      title           : English
    Stream #0:3(por): Subtitle: dvd_subtitle
    Metadata:
      title           : Português
    Stream #0:4(por): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Português estéreo
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
  Stream #0:3 -> #0:2 (copy)
  Stream #0:4 -> #0:3 (copy)
  Stream #0:5 -> #0:4 (copy)
Press [q] to stop, [?] for help
frame= 7068 fps= 10 q=-1.0 size=       0kB time=00:03:55.76 bitrate=   \
0.0kbits/s speed=0.348x

[vob @ 0x18c5ac0] Application provided invalid, non monotonically \
increasing dts to muxer in stream 2: 17129112 >= 16543527

av_interleaved_write_frame(): Invalid argument
frame= 7069 fps=9.6 q=-1.0 Lsize=  181704kB time=00:03:55.81 \
bitrate=6312.2kbits/s speed=0.319x

video:174046kB audio:5395kB subtitle:22kB other streams:0kB global \
headers:0kB muxing overhead: 1.249032%

Conversion failed!


Any idea?

Thank you in advance.

God bless you!

Jamenson Ferreira Espindula de Almeida Melo
GNU/Linux user # 166197
https://linuxcounter.net/cert/166197.png

Key fingerprint:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Zak
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Zak
In reply to this post by Jamenson Ferreira Espindula de Almeida Melo
On 2018-05-07 at 8:13 PM EDT, Jamenson Ferreira Espindula de Almeida
Melo wrote:

>  From Jaboatão dos Guararapes, Pernambuco, Brazil.
>
> Thank you for your response.
>
> Below is the listing of a DVD movie disc. I want to convert these files
> to one file. The files already are on my hard disk.
>
> total 4,2G
> -r--r--r-- 1 jamenson jamenson 124K fev  2  2010 video_ts.vob
> -r--r--r-- 1 jamenson jamenson 320M fev  2  2010 vts_01_0.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_1.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_2.vob
> -r--r--r-- 1 jamenson jamenson 1,0G fev  2  2010 vts_01_3.vob
> -r--r--r-- 1 jamenson jamenson 735M fev  2  2010 vts_01_4.vob
> -r--r--r-- 1 jamenson jamenson  11M fev  2  2010 vts_02_0.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_02_1.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_03_1.vob
> -r--r--r-- 1 jamenson jamenson 159M fev  2  2010 vts_04_1.vob
> -r--r--r-- 1 jamenson jamenson 8,0K fev  2  2010 vts_05_1.vob
>
> So, first of all, I concatenate the eleven files to one file with this
> command:
>
>
> cat *vob > crepusculo.vob
>
>
> Second I have analyze the contents of that file with this command:
>
>
> ffprobe -hide_banner -analyzeduration 500M -probesize 500M -i \
> crepusculo.vob
>
>
> The output of that command was:
>
>
> Input #0, mpeg, from '/tmp/crepusculo.vob':
>    Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
>      Stream #0:0[0x1bf]: Data: dvd_nav_packet
>      Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>      first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
>      tbr, 90k tbn, 59.94 tbc
>
>      Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>      Stream #0:3[0x20]: Subtitle: dvd_subtitle
>      Stream #0:4[0x21]: Subtitle: dvd_subtitle
>      Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
> Unsupported codec with id 100357 for input stream 0
>
>
> ffmpeg -version output:
>
>
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
> built with gcc 7.2.0 (GCC)
> configuration: --prefix=/usr --enable-gpl --enable-version3 \
> --enable-nonfree --disable-static --enable-shared --disable-debug \
> --enable-libass --enable-libfdk-aac --enable-libfreetype \
> --enable-libmp3lame --enable-libopus --enable-libtheora \
> --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
> --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>
> libavutil      55. 58.100 / 55. 58.100
> libavcodec     57. 89.100 / 57. 89.100
> libavformat    57. 71.100 / 57. 71.100
> libavdevice    57.  6.100 / 57.  6.100
> libavfilter     6. 82.100 /  6. 82.100
> libswscale      4.  6.100 /  4.  6.100
> libswresample   2.  7.100 /  2.  7.100
> libpostproc    54.  5.100 / 54.  5.100
>
>
> First try: I tried the Matroska container. Below is the command:
>
>
> ffmpeg -analyzeduration 500M -probesize 500M -i crepusculo.vob \
> -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 \
> -metadata:s:a:0 language=eng -metadata:s:a:0 title="English stereo" \
> -metadata:s:a:1 language=por -metadata:s:a:1 title="Português estereo" \
> -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" \
> -metadata:s:s:1 language=por -metadata:s:s:1 title="Português" \
> -codec:v copy -crf 20 -codec:a copy -qscale:a 2 -codec:s copy \
> crepusculo.mkv
>
>
> The command output was:
>
>
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>    built with gcc 7.2.0 (GCC)
>    configuration: --prefix=/usr --enable-gpl --enable-version3 \
>    --enable-nonfree --disable-static --enable-shared --disable-debug \
>    --enable-libass --enable-libfdk-aac --enable-libfreetype \
>    --enable-libmp3lame --enable-libopus --enable-libtheora \
>    --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
>    --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>
>    libavutil      55. 58.100 / 55. 58.100
>    libavcodec     57. 89.100 / 57. 89.100
>    libavformat    57. 71.100 / 57. 71.100
>    libavdevice    57.  6.100 / 57.  6.100
>    libavfilter     6. 82.100 /  6. 82.100
>    libswscale      4.  6.100 /  4.  6.100
>    libswresample   2.  7.100 /  2.  7.100
>    libpostproc    54.  5.100 / 54.  5.100
> Input #0, mpeg, from 'crepusculo.vob':
>    Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
>      Stream #0:0[0x1bf]: Data: dvd_nav_packet
>      Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>      first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
>      tbr, 90k tbn, 59.94 tbc
>
>      Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>      Stream #0:3[0x20]: Subtitle: dvd_subtitle
>      Stream #0:4[0x21]: Subtitle: dvd_subtitle
>      Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
> Output #0, matroska, to 'crepusculo.mkv':
>    Metadata:
>      encoder         : Lavf57.71.100
>      Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), \
>      yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 8000 \
>      kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc
>
>      Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, \
>      5.1(side), fltp, 448 kb/s
>
>      Metadata:
>        title           : English stereo
>      Stream #0:2(eng): Subtitle: dvd_subtitle
>      Metadata:
>        title           : English
>      Stream #0:3(por): Subtitle: dvd_subtitle
>      Metadata:
>        title           : Português
>      Stream #0:4(por): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, \
>      5.1(side), fltp, 448 kb/s
>
>      Metadata:
>        title           : Português estereo
> Stream mapping:
>    Stream #0:1 -> #0:0 (copy)
>    Stream #0:2 -> #0:1 (copy)
>    Stream #0:3 -> #0:2 (copy)
>    Stream #0:4 -> #0:3 (copy)
>    Stream #0:5 -> #0:4 (copy)
> Press [q] to stop, [?] for help
> [matroska @ 0xd5a240] Non-monotonous DTS in output stream 0:0; \
> previous: 16, current: -33; changing to 16. This may result in \
> incorrect timestamps in the output file.
>
> [matroska @ 0xd5a240] Non-monotonous DTS in output stream 0:0; \
> previous: 16, current: 0; changing to 16. This may result in \
> incorrect timestamps in the output file.
>
> [matroska @ 0xd5a240] Timestamps are unset in a packet for \
> stream 0. This is deprecated and will stop working in the \
> future. Fix your code to set the timestamps properly
>
> [matroska @ 0xd5a240] Can't write packet with unknown timestamp
> av_interleaved_write_frame(): Invalid argument
>
> [matroska @ 0xd5a240] Can't write packet with unknown timestamp
> Error writing trailer of crepusculo.mkv: Invalid argument
>
> frame=  305 fps=0.0 q=-1.0 Lsize=     231kB time=00:00:10.07 \
> bitrate= 187.4kbits/s speed= 321x
>
> video:6008kB audio:154kB subtitle:0kB other streams:0kB global \
> headers:0kB muxing overhead: unknown
> Conversion failed!
>
>
> Second try: I tried to change the container to mp4. The command line
> looks like this:
>
>
> ffmpeg -analyzeduration 500M -probesize 500M -i crepusculo.vob \
> -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 \
> -metadata:s:a:0 language=eng -metadata:s:a:0 title="English stereo" \
> -metadata:s:a:1 language=por -metadata:s:a:1 title="Português estereo" \
> -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" \
> -metadata:s:s:1 language=por -metadata:s:s:1 title="Português" \
> -codec:v copy -crf 20 -codec:a copy -qscale:a 2 -codec:s copy \
> crepusculo.mp4
>
>
> The command output was:
>
>
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>    built with gcc 7.2.0 (GCC)
>    configuration: --prefix=/usr --enable-gpl --enable-version3 \
>    --enable-nonfree --disable-static --enable-shared --disable-debug \
>    --enable-libass --enable-libfdk-aac --enable-libfreetype \
>    --enable-libmp3lame --enable-libopus --enable-libtheora \
>    --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
>    --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>
>    libavutil      55. 58.100 / 55. 58.100
>    libavcodec     57. 89.100 / 57. 89.100
>    libavformat    57. 71.100 / 57. 71.100
>    libavdevice    57.  6.100 / 57.  6.100
>    libavfilter     6. 82.100 /  6. 82.100
>    libswscale      4.  6.100 /  4.  6.100
>    libswresample   2.  7.100 /  2.  7.100
>    libpostproc    54.  5.100 / 54.  5.100
> Input #0, mpeg, from 'crepusculo.vob':
>    Duration: 00:01:43.71, start: 0.280633, bitrate: 347394 kb/s
>      Stream #0:0[0x1bf]: Data: dvd_nav_packet
>      Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>      first), 720x480 [SAR 32:27 DAR 16:9], 8000 kb/s, 29.97 fps, 29.97 \
>      tbr, 90k tbn, 59.94 tbc
>
>      Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>      Stream #0:3[0x20]: Subtitle: dvd_subtitle
>      Stream #0:4[0x21]: Subtitle: dvd_subtitle
>      Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
> [mp4 @ 0x1079240] track 1: codec frame size is not set
> [mp4 @ 0x1079240] track 4: codec frame size is not set
> Output #0, mp4, to 'crepusculo.mp4':
>    Metadata:
>      encoder         : Lavf57.71.100
>      Stream #0:0: Video: mpeg2video (Main) (a[0][0][0] / 0x0061), \
>      yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 8000 \
>      kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
>
>      Stream #0:1(eng): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, \
>      5.1(side), fltp, 448 kb/s
>
>      Metadata:
>        title           : English stereo
>      Stream #0:2(eng): Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0)
>      Metadata:
>        title           : English
>      Stream #0:3(por): Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0)
>      Metadata:
>        title           : Português
>      Stream #0:4(por): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, \
>      5.1(side), fltp, 448 kb/s
>
>      Metadata:
>        title           : Português estereo
> Stream mapping:
>    Stream #0:1 -> #0:0 (copy)
>    Stream #0:2 -> #0:1 (copy)
>    Stream #0:3 -> #0:2 (copy)
>    Stream #0:4 -> #0:3 (copy)
>    Stream #0:5 -> #0:4 (copy)
> Press [q] to stop, [?] for help
> [mp4 @ 0x1079240] Non-monotonous DTS in output stream 0:0; previous: \
> 1447, current: -3003; changing to 1448. This may result in incorrect \
> timestamps in the output file.
>
> [mp4 @ 0x1079240] Non-monotonous DTS in output stream 0:0; previous: \
> 1448, current: 0; changing to 1449. This may result in incorrect \
> timestamps in the output file.
>
> [mp4 @ 0x1079240] Timestamps are unset in a packet for stream 0. This \
> is deprecated and will stop working in the future. Fix your code to \
> set the timestamps properly
>
> [mp4 @ 0x1079240] pts has no value
>      Last message repeated 648 times
> frame= 2722 fps=0.0 q=-1.0 size=   61241kB time=00:01:30.72 \
> bitrate=5529.9kbits/s speed= 181x
> [mp4 @ 0x1079240] pts has no \
> value
>
>      Last message repeated 655 times
> frame= 5180 fps=5179 q=-1.0 size=  123840kB time=00:02:52.73 \
> bitrate=5873.0kbits/s speed= 173x
> [mp4 @ 0x1079240] pts has no \
> value
>
>      Last message repeated 503 times
> [mp4 @ 0x1079240] Application provided invalid, non monotonically \
> increasing dts to muxer in stream 2: 17129112 >= 16543527
>
> av_interleaved_write_frame(): Invalid argument
> [mp4 @ 0x1079240] pts has no value
>      Last message repeated 79 times
> frame= 7070 fps=5123 q=-1.0 Lsize=  179654kB time=00:03:55.81 \
> bitrate=6241.0kbits/s speed= 171x
>
> video:174140kB audio:5395kB subtitle:22kB other streams:0kB global \
> headers:0kB muxing overhead: 0.054197%
> Conversion failed!
>
>
> What I should do to solve that?
>
> Thank you.
>
> Jamenson Ferreira Espindula de Almeida Melo
> GNU/Linux user # 166197
> https://linuxcounter.net/cert/166197.png
>
> Key fingerprint:
> 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

Hello Jamenson,

You cannot use cat (Unix utility) to concatenate .VOB files.

You cannot use the FFmpeg concat filter to concatenate ALL of the .VOB
files, and you tried to do all of them. (This might work in extremely
rare cases, but I doubt it ever does with a realistic DVD.)

The answer from Micael Silva hints at the problem with concatenating
everything, but let me go more in depth:

The video_ts.vob file is not really movie content, it is metadata.

The vts_xx_y.vob files may or may not be movie content, but they VERY
often have different stream(s) in them. VTS stands for "Video Title
Set". The xx, the 2-digit number, is the title. The feature film is one
title (almost always). On your DVD, the feature film is vts_01_y.vob, so
it is "title 01". The feature film is usually title 01 or title N, where
N is the biggest number used on the disc.

Within a given title, such as vts_01_y.vob (the feature film on your
DVD), there are up to 10 VOB files, with y from 0 to 9. The file
vts_01_0.vob, with y == 0, may or may not be safe to concatenate with
the rest of this title, it may or may not have the same streams. Yours
is 320 megabytes, so it might be safe. If it was super small, then it
would likely just be a menu.

The VOB files vts_01_y.vob for y from 0 or 1 to as high as it goes (y ==
4, for your DVD) can be safely concatenated, and the result will be one
title. In your DVD, this one title will be the feature film.
vts_02_y.vob, vts_03_y.vob, and the other titles are likely special
features, and they cannot be concatenated safely. They likely have
different streams, and possibly even different resolution, frame rates,
or all kinds of differences that will not fit inside a single MKV file.

SUMMARY: You only want to concatenate VOB files from the same title. The
other titles (2 through 5, on your example DVD) are special features or
something, they are not the movie itself. You also want to avoid the
video_ts.vob file and you may need to avoid the vts_xx_0.vob file.

More notes:

1. I don't think you can use -codec:v copy -crf 20. It doesn't seem like
it should be allowed. -codec:v copy means "don't touch the bytes", but
-crf 20 implies you want to use libx264 and you want that quality of output.

2. I don't think you can use -codec:a copy -qscale:a 2 for a similar
reason, 'copy' means "don't touch the bytes".

3. You can maybe theoretically use -codec:s copy with the output being a
.MKV file, but DVD subtitles are very user-unfriendly in MKV containers.
If at all possible, I suggest using WebVTT or SubRip (filename.srt)
format subtitles in your MKV file. The subtitles on the DVD are not
actually text, they are images. They need to be processed by OCR and
then converted into a text-based subtitle format such as WebVTT or
SubRip (filename.srt).

4. The MP4 container file can't handle several of those things: It can't
handle subtitles in that format, it can't handle audio in that format
(edit: actually, it looks like VLC will play an MP4 file with AC-3
audio, but iTunes will not), and it may not be able to handle two full
5.1-channel audio streams, I forget. In fact, MP4 files almost don't
handle subtitles at all, they support one format that is weird, if I
recall correctly.

5. Depending on your goals, I'm not sure if FFmpeg is what you want to
use to convert this DVD into a more user-friendly MKV or MP4 file. I
might suggest HandBrake with the GUI interface, I suspect it may do what
you want. FFmpeg is utterly impressive, it can do a huge array of
things, but the HandBrake GUI application will find the names for the
"titles" on the DVD (the feature film, the making of featurette, the
deleted scenes), it will ignore vts_01_0.vob if it needs to but keep it
if it should, stuff like that. You can select "MP4" from the drop-down
menu and then it will tell you "I can't put AC-3 audio in an MP4
container, please use a MKV container or I might I suggest transcoding
to AAC". It's not as awesome as FFmpeg, but given the VOB files you have
and the MKV or MP4 you want to make, HandBrake can probably do it much
less painfully.

Good luck,

Zak

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Micael Silva
In reply to this post by Jamenson Ferreira Espindula de Almeida Melo
On Wed, May 9, 2018 at 2:53 AM, Jamenson Ferreira Espindula de Almeida Melo
<[hidden email]> wrote:

> > Concating VOB files usually goes wrong caused by timecode discontinuities
> > by the file splitting, I think. You could try to make one single file
> first
> > with ffmpeg regenerating PTS before converting to another format. It
> > generally works for me:
> >
> > ffmpeg -fflags +genpts -i
> > "concat:vts_01_0.vob|vts_01_1.vob|vts_01_2.vob(....)" -c copy -f vob
> > filme.mpg
> >
> > I am not completely sure but the video_ts.vob carries the DVD menu, it
> can
> > be messy putting it among the rest of video, since than menus don't have
> to
> > be at same properties of the movie file.
>
> Hi, Micael Silva.
>
> I tried the command you sugested. The command was:
>
>
> ffmpeg -analyzeduration 500M -probesize 500M -fflags +genpts -i
> "concat:../vob/vts_01_0.vob|../vob/vts_01_1.vob|../vob/vts_
> 01_2.vob|../vob/vts_01_3.vob|../vob/vts_01_4.vob|../vob/vts_
> 02_0.vob|../vob/vts_02_1.vob|../vob/vts_03_1.vob|../vob/vts_
> 04_1.vob|../vob/vts_05_1.vob"
> -map 0:1 -map 0:2? -map 0:3? -map 0:4? -map 0:5? -metadata:s:a:0
> language=eng -metadata:s:a:0 title="English stereo" -metadata:s:a:1
> language=por -metadata:s:a:1 title="Português estéreo" -metadata:s:s:0
> language=eng -metadata:s:s:0 title="English" -metadata:s:s:1
> language=por -metadata:s:s:1 title="Português" -codec:v copy -codec:a
> copy -codec:s copy -f vob crepusculo.mp4
>
>
> The output os that command was:
>
>
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>   built with gcc 7.2.0 (GCC)
>   configuration: --prefix=/usr --enable-gpl --enable-version3 \
>   --enable-nonfree --disable-static --enable-shared --disable-debug \
>   --enable-libass --enable-libfdk-aac --enable-libfreetype \
>   --enable-libmp3lame --enable-libopus --enable-libtheora \
>   --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
>   --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>
>   libavutil      55. 58.100 / 55. 58.100
>   libavcodec     57. 89.100 / 57. 89.100
>   libavformat    57. 71.100 / 57. 71.100
>   libavdevice    57.  6.100 / 57.  6.100
>   libavfilter     6. 82.100 /  6. 82.100
>   libswscale      4.  6.100 /  4.  6.100
>   libswresample   2.  7.100 /  2.  7.100
>   libpostproc    54.  5.100 / 54.  5.100
> Input #0, mpeg, from \
> 'concat:../vob/vts_01_0.vob|../vob/vts_01_1.vob|../vob/vts_
> 01_2.vob|../vob/vts_01_3.vob|../vob/vts_01_4.vob|../vob/vts_
> 02_0.vob|../vob/vts_02_1.vob|../vob/vts_03_1.vob|../vob/vts_
> 04_1.vob|../vob/vts_05_1.vob':
>
>   Duration: 00:01:43.71, start: 0.280633, bitrate: 347385 kb/s
>     Stream #0:0[0x1bf]: Data: dvd_nav_packet
>     Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>     first), 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k \
>     tbn, 59.94 tbc
>
>     Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>     Stream #0:3[0x20]: Subtitle: dvd_subtitle
>     Stream #0:4[0x21]: Subtitle: dvd_subtitle
>     Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
> [vob @ 0x18c5ac0] VBV buffer size not set, using default size of 130KB
> If you want the mpeg file to be compliant to some specification
> Like DVD, VCD or others, make sure you set the correct buffer size
> Output #0, vob, to 'crepusculo.mp4':
>   Metadata:
>     encoder         : Lavf57.71.100
>     Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), \
>     720x480 [SAR 32:27 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k \
>     tbn, 29.97 tbc
>
>     Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>     Metadata:
>       title           : English stereo
>     Stream #0:2(eng): Subtitle: dvd_subtitle
>     Metadata:
>       title           : English
>     Stream #0:3(por): Subtitle: dvd_subtitle
>     Metadata:
>       title           : Português
>     Stream #0:4(por): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>     Metadata:
>       title           : Português estéreo
> Stream mapping:
>   Stream #0:1 -> #0:0 (copy)
>   Stream #0:2 -> #0:1 (copy)
>   Stream #0:3 -> #0:2 (copy)
>   Stream #0:4 -> #0:3 (copy)
>   Stream #0:5 -> #0:4 (copy)
> Press [q] to stop, [?] for help
> frame= 7068 fps= 10 q=-1.0 size=       0kB time=00:03:55.76 bitrate=   \
> 0.0kbits/s speed=0.348x
>
> [vob @ 0x18c5ac0] Application provided invalid, non monotonically \
> increasing dts to muxer in stream 2: 17129112 >= 16543527
>
> av_interleaved_write_frame(): Invalid argument
> frame= 7069 fps=9.6 q=-1.0 Lsize=  181704kB time=00:03:55.81 \
> bitrate=6312.2kbits/s speed=0.319x
>
> video:174046kB audio:5395kB subtitle:22kB other streams:0kB global \
> headers:0kB muxing overhead: 1.249032%
>
> Conversion failed!
>
>
> Any idea?
>
> Thank you in advance.
>
> God bless you!
>
> Jamenson Ferreira Espindula de Almeida Melo
> GNU/Linux user # 166197
> https://linuxcounter.net/cert/166197.png
>
>
As Zak explained, the DVD format it's a kinda of complex to deal with
ffmpeg alone, concatenating. I prefer to use mplayer to dump it to file
before using ffmpeg. I use:

mplayer -dumpstream dvd://3 -nocache -dvd-device /path/to/VIDEO_TS
-dumpfile output-file.mpg

Where the number after dvd:// means the title to be dumped. After that i
have no issues converting.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Zak
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Zak
In reply to this post by Jamenson Ferreira Espindula de Almeida Melo
On 2018-05-09 at 1:53 AM EDT, Jamenson Ferreira Espindula de Almeida
Melo wrote:

> Hi, Micael Silva.
>
> I tried the command you sugested. The command was:
>
>
> ffmpeg -analyzeduration 500M -probesize 500M -fflags +genpts -i
> "concat:../vob/vts_01_0.vob|../vob/vts_01_1.vob|../vob/vts_01_2.vob|../vob/vts_01_3.vob|../vob/vts_01_4.vob|../vob/vts_02_0.vob|../vob/vts_02_1.vob|../vob/vts_03_1.vob|../vob/vts_04_1.vob|../vob/vts_05_1.vob"
> -map 0:1 -map 0:2? -map 0:3? -map 0:4? -map 0:5? -metadata:s:a:0
> language=eng -metadata:s:a:0 title="English stereo" -metadata:s:a:1
> language=por -metadata:s:a:1 title="Português estéreo" -metadata:s:s:0
> language=eng -metadata:s:s:0 title="English" -metadata:s:s:1
> language=por -metadata:s:s:1 title="Português" -codec:v copy -codec:a
> copy -codec:s copy -f vob crepusculo.mp4

Okay, a few major tips or points:

1. I recommend HandBrake, at least to turn many VOB files into one
manageable file (an MP4 or MKV, perhaps).

2. I have not used MPlayer, but Micael Silva recommended it and I have
heard it is good. HandBrake is a GUI and MPlayer is a command line
utility. (However, HandBrake can be accessed from the command line, and
there are GUI front-ends for MPlayer.)

3. I suspect HandBrake or MPlayer will solve most of your problems.

4. You cannot use the concat filter on VOB files from different title
sets, see my prior email. vts_01_1.vob is from the title set 01.
vts_02_1.vob is from the title set 02, and it will not fit in the same
file as title set 01. Also, you may or may not be able to include
vts_01_0.vob, it is really hard to tell without parsing the IFO file,
and FFmpeg cannot do that (as far as I know). HandBrake and MPlayer can
definitely do that. Without parsing the IFO file, I might just try doing
concat of vts_01_1.vob (but do NOT include vts_01_0.vob), plus
vts_01_2.vob, vts_01_3.vob, and vts_01_4.vob, and THAT'S ALL, you need
to stop there. If the first chunk of the movie is missing, you can try
again but include vts_01_0.vob.

5. In FFmpeg, you should not use MP4 as the output container. In
HandBrake that will be okay, because it will give you a nice verbose
warning if it won't work. In FFmpeg, use MKV. Just use MKV every time.
MKV is very flexible.

6. Simplify the experimental command: Don't include the metadata about
language with the 3-character ISO code, the cleartext "title" in
Unicode, and all that stuff. Get the video and audio working. Why don't
you just map the video stream and just one audio stream? Once that
works, you can go back and add more.

Question: Is this actually the movie Twilight? Or is the title a red
herring? I'm just curious, I haven't seen Twilight and I don't make any
judgments.

Good luck,

Zak

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: VOB files convertion failed

Jamenson Ferreira Espindula de Almeida Melo
In reply to this post by Micael Silva
2018-05-09 16:00 GMT-03:00 Micael Silva <[hidden email]>:

> On Wed, May 9, 2018 at 2:53 AM, Jamenson Ferreira Espindula de Almeida Melo
> <[hidden email]> wrote:
>
>> > Concating VOB files usually goes wrong caused by timecode discontinuities
>> > by the file splitting, I think. You could try to make one single file
>> first
>> > with ffmpeg regenerating PTS before converting to another format. It
>> > generally works for me:
>> >
>> > ffmpeg -fflags +genpts -i
>> > "concat:vts_01_0.vob|vts_01_1.vob|vts_01_2.vob(....)" -c copy -f vob
>> > filme.mpg
>> >
>> > I am not completely sure but the video_ts.vob carries the DVD menu, it
>> can
>> > be messy putting it among the rest of video, since than menus don't have
>> to
>> > be at same properties of the movie file.
>>
>> Hi, Micael Silva.
>>
>> I tried the command you sugested. The command was:
>>
>>
>> ffmpeg -analyzeduration 500M -probesize 500M -fflags +genpts -i
>> "concat:../vob/vts_01_0.vob|../vob/vts_01_1.vob|../vob/vts_
>> 01_2.vob|../vob/vts_01_3.vob|../vob/vts_01_4.vob|../vob/vts_
>> 02_0.vob|../vob/vts_02_1.vob|../vob/vts_03_1.vob|../vob/vts_
>> 04_1.vob|../vob/vts_05_1.vob"
>> -map 0:1 -map 0:2? -map 0:3? -map 0:4? -map 0:5? -metadata:s:a:0
>> language=eng -metadata:s:a:0 title="English stereo" -metadata:s:a:1
>> language=por -metadata:s:a:1 title="Português estéreo" -metadata:s:s:0
>> language=eng -metadata:s:s:0 title="English" -metadata:s:s:1
>> language=por -metadata:s:s:1 title="Português" -codec:v copy -codec:a
>> copy -codec:s copy -f vob crepusculo.mp4
>>
>>
>> The output os that command was:
>>
>>
>> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>>   built with gcc 7.2.0 (GCC)
>>   configuration: --prefix=/usr --enable-gpl --enable-version3 \
>>   --enable-nonfree --disable-static --enable-shared --disable-debug \
>>   --enable-libass --enable-libfdk-aac --enable-libfreetype \
>>   --enable-libmp3lame --enable-libopus --enable-libtheora \
>>   --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
>>   --enable-openssl --docdir=/usr/share/doc/ffmpeg-3.3.3
>>
>>   libavutil      55. 58.100 / 55. 58.100
>>   libavcodec     57. 89.100 / 57. 89.100
>>   libavformat    57. 71.100 / 57. 71.100
>>   libavdevice    57.  6.100 / 57.  6.100
>>   libavfilter     6. 82.100 /  6. 82.100
>>   libswscale      4.  6.100 /  4.  6.100
>>   libswresample   2.  7.100 /  2.  7.100
>>   libpostproc    54.  5.100 / 54.  5.100
>> Input #0, mpeg, from \
>> 'concat:../vob/vts_01_0.vob|../vob/vts_01_1.vob|../vob/vts_
>> 01_2.vob|../vob/vts_01_3.vob|../vob/vts_01_4.vob|../vob/vts_
>> 02_0.vob|../vob/vts_02_1.vob|../vob/vts_03_1.vob|../vob/vts_
>> 04_1.vob|../vob/vts_05_1.vob':
>>
>>   Duration: 00:01:43.71, start: 0.280633, bitrate: 347385 kb/s
>>     Stream #0:0[0x1bf]: Data: dvd_nav_packet
>>     Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top \
>>     first), 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k \
>>     tbn, 59.94 tbc
>>
>>     Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>>     Stream #0:3[0x20]: Subtitle: dvd_subtitle
>>     Stream #0:4[0x21]: Subtitle: dvd_subtitle
>>     Stream #0:5[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>> [vob @ 0x18c5ac0] VBV buffer size not set, using default size of 130KB
>> If you want the mpeg file to be compliant to some specification
>> Like DVD, VCD or others, make sure you set the correct buffer size
>> Output #0, vob, to 'crepusculo.mp4':
>>   Metadata:
>>     encoder         : Lavf57.71.100
>>     Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), \
>>     720x480 [SAR 32:27 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k \
>>     tbn, 29.97 tbc
>>
>>     Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>>     Metadata:
>>       title           : English stereo
>>     Stream #0:2(eng): Subtitle: dvd_subtitle
>>     Metadata:
>>       title           : English
>>     Stream #0:3(por): Subtitle: dvd_subtitle
>>     Metadata:
>>       title           : Português
>>     Stream #0:4(por): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
>>     Metadata:
>>       title           : Português estéreo
>> Stream mapping:
>>   Stream #0:1 -> #0:0 (copy)
>>   Stream #0:2 -> #0:1 (copy)
>>   Stream #0:3 -> #0:2 (copy)
>>   Stream #0:4 -> #0:3 (copy)
>>   Stream #0:5 -> #0:4 (copy)
>> Press [q] to stop, [?] for help
>> frame= 7068 fps= 10 q=-1.0 size=       0kB time=00:03:55.76 bitrate=   \
>> 0.0kbits/s speed=0.348x
>>
>> [vob @ 0x18c5ac0] Application provided invalid, non monotonically \
>> increasing dts to muxer in stream 2: 17129112 >= 16543527
>>
>> av_interleaved_write_frame(): Invalid argument
>> frame= 7069 fps=9.6 q=-1.0 Lsize=  181704kB time=00:03:55.81 \
>> bitrate=6312.2kbits/s speed=0.319x
>>
>> video:174046kB audio:5395kB subtitle:22kB other streams:0kB global \
>> headers:0kB muxing overhead: 1.249032%
>>
>> Conversion failed!
>>
>>
>> Any idea?
>>
>> Thank you in advance.
>>
>> God bless you!
>>
>> Jamenson Ferreira Espindula de Almeida Melo
>> GNU/Linux user # 166197
>> https://linuxcounter.net/cert/166197.png
>>
>>
> As Zak explained, the DVD format it's a kinda of complex to deal with
> ffmpeg alone, concatenating. I prefer to use mplayer to dump it to file
> before using ffmpeg. I use:
>
> mplayer -dumpstream dvd://3 -nocache -dvd-device /path/to/VIDEO_TS
> -dumpfile output-file.mpg
>
> Where the number after dvd:// means the title to be dumped. After that i
> have no issues converting.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

Hi, Micael Silva. Thank you for your response.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".