Can't write packet with unknown timestamp

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

Can't write packet with unknown timestamp

Mark Filipak
What's going wrong with my remux? '-dn' tells ffmpeg to ignore data (stream 0, i.e., nav packets)
yet I get "Timestamps are unset in a packet for stream 0".

Thanks,
Mark.

ffmpeg -i "concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB|VTS_01_6.VOB"
-map 0 -codec:v copy -codec:a copy -codec:s copy -dn "C:\AVOut\VTS_01_1.MKV" -y
ffmpeg version git-2020-04-20-cacdac8 Copyright (c) 2000-2020 the FFmpeg developers
   built with gcc 9.3.1 (GCC) 20200328
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls
--enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
--enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads
--enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
   libavutil      56. 42.102 / 56. 42.102
   libavcodec     58. 80.100 / 58. 80.100
   libavformat    58. 42.100 / 58. 42.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 79.100 /  7. 79.100
   libswscale      5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
Input #0, mpeg, from
'concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB|VTS_01_6.VOB':
   Duration: 01:06:28.82, start: 0.039456, bitrate: 12486 kb/s
     Stream #0:0[0x1bf]: Data: dvd_nav_packet
     Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR
16:9], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
     Side data:
       cpb: bitrate max/min/avg: 7500000/0/0 buffer size: 1835008 vbv_delay: N/A
     Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Output #0, matroska, to 'C:\AVOut\VTS_01_1.MKV':
   Metadata:
     encoder         : Lavf58.42.100
     Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, progressive), 720x480
[SAR 32:27 DAR 16:9], q=2-31, 29.97 fps, 59.94 tbr, 1k tbn, 90k tbc
     Side data:
       cpb: bitrate max/min/avg: 7500000/0/0 buffer size: 1835008 vbv_delay: N/A
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
   Stream #0:1 -> #0:0 (copy)
   Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 000001b5fa53bac0] 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 @ 000001b5fa53bac0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame=    4 fps=0.0 q=-1.0 Lsize=      15kB time=00:00:00.09 bitrate=1251.4kbits/s speed=3.76x
video:12kB audio:3kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Carl Eugen Hoyos-2
Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
<[hidden email]>:
>
> What's going wrong with my remux?

I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
> <[hidden email]>:
>>
>> What's going wrong with my remux?
>
> I believe that you have already been told that you cannot generally
> concatenate vob files as you did, use mplayer -dumpstream.
>
> Carl Eugen

Okay. What can be concatenated? That purpose does the 'concat:' filter serve?

Thanks,
Mark.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Paul B Mahol
On 4/24/20, Mark Filipak <[hidden email]> wrote:

> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>> <[hidden email]>:
>>>
>>> What's going wrong with my remux?
>>
>> I believe that you have already been told that you cannot generally
>> concatenate vob files as you did, use mplayer -dumpstream.
>>
>> Carl Eugen
>
> Okay. What can be concatenated? That purpose does the 'concat:' filter
> serve?
>

What an big ignorance? You are using concat protocol.
Finally learn something....
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
On 04/24/2020 05:42 AM, Paul B Mahol wrote:

> On 4/24/20, Mark Filipak <[hidden email]> wrote:
>> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>>> <[hidden email]>:
>>>>
>>>> What's going wrong with my remux?
>>>
>>> I believe that you have already been told that you cannot generally
>>> concatenate vob files as you did, use mplayer -dumpstream.
>>>
>>> Carl Eugen
>>
>> Okay. What can be concatenated? That purpose does the 'concat:' filter
>> serve?
>>
>
> What an big ignorance? You are using concat protocol.
> Finally learn something....

Like I wrote: What can be concatenated? What purpose does the 'concat:' protocol serve?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Michael Koch
Mark,

>>> Okay. What can be concatenated? That purpose does the 'concat:' filter
>>> serve?
>>>
>>
>> What an big ignorance? You are using concat protocol.
>> Finally learn something....
>
> Like I wrote: What can be concatenated? What purpose does the
> 'concat:' protocol serve?

There are three different things: concat demuxer, concat protocol and
concat filter.
It's described here:
https://trac.ffmpeg.org/wiki/Concatenate

Michael

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
In reply to this post by Carl Eugen Hoyos-2
On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
> <[hidden email]>:
>>
>> What's going wrong with my remux?
>
> I believe that you have already been told that you cannot generally
> concatenate vob files as you did, use mplayer -dumpstream.

I downloaded mplayer and tried 'mplayer -dumpstream h:\video_ts\vts_01_1.vob'. It created
'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I don't know the point of that.

I couldn't figure out how to use 'mplayer -dumpstream' to concatenate vts_01_1.vob ... vts_01_6.vob.
I tried every combination I could think of. It's not documented.

I did make an MP4 via VLC. The judder is awful.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Paul B Mahol
On 4/24/20, Mark Filipak <[hidden email]> wrote:

> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>> <[hidden email]>:
>>>
>>> What's going wrong with my remux?
>>
>> I believe that you have already been told that you cannot generally
>> concatenate vob files as you did, use mplayer -dumpstream.
>
> I downloaded mplayer and tried 'mplayer -dumpstream
> h:\video_ts\vts_01_1.vob'. It created
> 'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
> don't know the point of that.
>
> I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
> vts_01_1.vob ... vts_01_6.vob.
> I tried every combination I could think of. It's not documented.
>

You have not tried playing with dvd protocol of mplayer by any chance?

> I did make an MP4 via VLC. The judder is awful.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
On 04/24/2020 09:46 AM, Paul B Mahol wrote:

> On 4/24/20, Mark Filipak <[hidden email]> wrote:
>> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>>> <[hidden email]>:
>>>>
>>>> What's going wrong with my remux?
>>>
>>> I believe that you have already been told that you cannot generally
>>> concatenate vob files as you did, use mplayer -dumpstream.
>>
>> I downloaded mplayer and tried 'mplayer -dumpstream
>> h:\video_ts\vts_01_1.vob'. It created
>> 'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
>> don't know the point of that.
>>
>> I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
>> vts_01_1.vob ... vts_01_6.vob.
>> I tried every combination I could think of. It's not documented.
>>
>
> You have not tried playing with dvd protocol of mplayer by any chance?

I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter (H: in this case), so I
couldn't get it to work.


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Paul B Mahol
On 4/24/20, Mark Filipak <[hidden email]> wrote:

> On 04/24/2020 09:46 AM, Paul B Mahol wrote:
>> On 4/24/20, Mark Filipak <[hidden email]> wrote:
>>> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>>>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>>>> <[hidden email]>:
>>>>>
>>>>> What's going wrong with my remux?
>>>>
>>>> I believe that you have already been told that you cannot generally
>>>> concatenate vob files as you did, use mplayer -dumpstream.
>>>
>>> I downloaded mplayer and tried 'mplayer -dumpstream
>>> h:\video_ts\vts_01_1.vob'. It created
>>> 'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
>>> don't know the point of that.
>>>
>>> I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
>>> vts_01_1.vob ... vts_01_6.vob.
>>> I tried every combination I could think of. It's not documented.
>>>
>>
>> You have not tried playing with dvd protocol of mplayer by any chance?
>
> I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter
> (H: in this case), so I
> couldn't get it to work.

Ugh, that makes no sense, consult mplayer documentation and use google.

>
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
On 04/24/2020 09:56 AM, Paul B Mahol wrote:

> On 4/24/20, Mark Filipak <[hidden email]> wrote:
>> On 04/24/2020 09:46 AM, Paul B Mahol wrote:
>>> On 4/24/20, Mark Filipak <[hidden email]> wrote:
>>>> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>>>>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>>>>> <[hidden email]>:
>>>>>>
>>>>>> What's going wrong with my remux?
>>>>>
>>>>> I believe that you have already been told that you cannot generally
>>>>> concatenate vob files as you did, use mplayer -dumpstream.
>>>>
>>>> I downloaded mplayer and tried 'mplayer -dumpstream
>>>> h:\video_ts\vts_01_1.vob'. It created
>>>> 'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
>>>> don't know the point of that.
>>>>
>>>> I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
>>>> vts_01_1.vob ... vts_01_6.vob.
>>>> I tried every combination I could think of. It's not documented.
>>>>
>>>
>>> You have not tried playing with dvd protocol of mplayer by any chance?
>>
>> I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter
>> (H: in this case), so I
>> couldn't get it to work.
>
> Ugh, that makes no sense, consult mplayer documentation and use google.

I did consult mplayer documentation, Paul. And Google's useless for stuff like this: A half million
hits showing "How to play videos". When the person doing the search (me) is so unsure, forming a
meaningful search string is difficult. You folks are the pros. I hope you can provide the guidance.

Look, this is really a side trip. I just wanted to see whether 55-telecine would work with a DVD
video that's as long running as the BD videos -- the ones that ffmpeg can't 55-telecine without PTS
errors. PTS errors is what really needs to be fixed. For now, this is just a distraction.

Carl Eugen reminded me of 'mplayer -dumpstream'. As you know, I've been rather busy lately. Well, I
can't get 'mplayer -dumpstream' to work with a string of VOBs. ...But it's just a distraction.


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
In reply to this post by Paul B Mahol
PS: Just to make it clear, I don't think the PTS errors when I try to transcode BD movies is a real
problem with 'telecine=pattern=5' or 'interlace' or any of the modulo splits. I think it's a memory
management problem in ffmpeg that is being exposed by what I'm doing.

I know I'm mixing threads here, and I'm sorry about that. The 55-telecine works so well with short
videos and it fails with full length movies, all full length movies, and in the same places, and in
the same ways.

On 04/24/2020 09:56 AM, Paul B Mahol wrote:

> On 4/24/20, Mark Filipak <[hidden email]> wrote:
>> On 04/24/2020 09:46 AM, Paul B Mahol wrote:
>>> On 4/24/20, Mark Filipak <[hidden email]> wrote:
>>>> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>>>>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>>>>> <[hidden email]>:
>>>>>>
>>>>>> What's going wrong with my remux?
>>>>>
>>>>> I believe that you have already been told that you cannot generally
>>>>> concatenate vob files as you did, use mplayer -dumpstream.
>>>>
>>>> I downloaded mplayer and tried 'mplayer -dumpstream
>>>> h:\video_ts\vts_01_1.vob'. It created
>>>> 'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
>>>> don't know the point of that.
>>>>
>>>> I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
>>>> vts_01_1.vob ... vts_01_6.vob.
>>>> I tried every combination I could think of. It's not documented.
>>>>
>>>
>>> You have not tried playing with dvd protocol of mplayer by any chance?
>>
>> I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter
>> (H: in this case), so I
>> couldn't get it to work.
>
> Ugh, that makes no sense, consult mplayer documentation and use google.

I did consult mplayer documentation, Paul. And Google's useless for stuff like this: A half million
hits showing "How to play videos". When the person doing the search (me) is so unsure, forming a
meaningful search string is difficult. You folks are the pros. I hope you can provide the guidance.

Look, this is really a side trip. I just wanted to see whether 55-telecine would work with a DVD
video that's as long running as the BD videos -- the ones that ffmpeg can't 55-telecine without PTS
errors. PTS errors is what really needs to be fixed. For now, this is just a distraction.

Carl Eugen reminded me of 'mplayer -dumpstream'. As you know, I've been rather busy lately. Well, I
can't get 'mplayer -dumpstream' to work with a string of VOBs. ...But it's just a distraction.


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

kumowoon1025
In reply to this post by Mark Filipak
Hi,

It is pretty much abandoned but did you try the dvd2concat perl script in the tools directory? That will output a file to use with the concat demuxer (not the protocol, I think that is only good for files you can literally use cat to concatenate), and it is pretty big, it should show that vobs from DVDs aren't that flat.

Example output:

ffconcat version 1.0

stream
exact_stream_id 0x1E0

stream
exact_stream_id 0x80

stream
exact_stream_id 0x81

stream
exact_stream_id 0x82

stream
exact_stream_id 0x83

stream
exact_stream_id 0x20

stream
exact_stream_id 0x21

stream
exact_stream_id 0x22

stream
exact_stream_id 0x23

stream
exact_stream_id 0x24

stream
exact_stream_id 0x25

stream
exact_stream_id 0x26

stream
exact_stream_id 0x27

stream
exact_stream_id 0x28

stream
exact_stream_id 0x29

file 'subfile,,start,382976,end,397312,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,397312,end,411648,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,411648,end,425984,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,425984,end,440320,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,440320,end,454656,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,454656,end,468992,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,468992,end,483328,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,483328,end,497664,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,497664,end,512000,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,512000,end,526336,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,526336,end,2215936,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,2215936,end,4225024,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.033

file 'subfile,,start,4225024,end,11036672,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.033

file 'subfile,,start,11036672,end,16971776,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.100

file 'subfile,,start,16971776,end,20178944,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.233

file 'subfile,,start,20178944,end,24090624,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.233

file 'subfile,,start,24090624,end,31891456,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.266

file 'subfile,,start,31891456,end,34271232,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.200

file 'subfile,,start,34271232,end,34314240,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.066

file 'subfile,,start,34314240,end,34328576,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.133

file 'subfile,,start,34328576,end,34392064,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.467

file 'subfile,,start,34392064,end,187197440,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:27.400

file 'subfile,,start,187197440,end,431077376,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:04:42.333

file 'subfile,,start,431077376,end,589074432,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:22.200

file 'subfile,,start,589074432,end,777889792,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:57.433

file 'subfile,,start,777889792,end,940957696,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:29.133

file 'subfile,,start,940957696,end,1121656832,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:03:50.967

file 'subfile,,start,47917056,end,251195392,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:04:23.500

file 'subfile,,start,251195392,end,469211136,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:04:28.633

file 'subfile,,start,469211136,end,694167552,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:05:09.834

file 'subfile,,start,694167552,end,798273536,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:02:17.667

file 'subfile,,start,798273536,end,1016700928,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:04:21.700

file 'subfile,,start,1016700928,end,1287690240,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:05:53.633

file 'subfile,,start,213950464,end,433152000,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:04:08.300

file 'subfile,,start,433152000,end,621991936,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:04:07.166

file 'subfile,,start,621991936,end,851488768,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:04:36.400

file 'subfile,,start,851488768,end,1098213376,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:05:25.200

file 'subfile,,start,24473600,end,126795776,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:02:01.066

file 'subfile,,start,126795776,end,301428736,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:03:40.400

file 'subfile,,start,301428736,end,419862528,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:02:33.533

file 'subfile,,start,419862528,end,601055232,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:03:36.834

file 'subfile,,start,601055232,end,812967936,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:03:58.467

file 'subfile,,start,812967936,end,1060419584,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:04:32.200

file 'subfile,,start,1060419584,end,1233108992,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_5.VOB'
duration 00:03:36.867

file 'subfile,,start,159369216,end,327673856,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_5.VOB'
duration 00:03:27.200

file 'subfile,,start,327673856,end,532797440,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_5.VOB'
duration 00:04:14.600

file 'subfile,,start,532797440,end,744931328,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_5.VOB'
duration 00:04:09.700

file 'subfile,,start,744931328,end,980563968,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_5.VOB'
duration 00:05:23.633

file 'subfile,,start,980563968,end,1102899200,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_5.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_6.VOB'
duration 00:05:25.300

file 'subfile,,start,29159424,end,29542400,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_6.VOB'
duration 00:00:00.467

Worked with libdvdcss on a typical DVD with css protection.

Regards,
Ted Park
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

a@slo.me
In reply to this post by Mark Filipak
They answered your question,  It is time to let it go.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Carl Eugen Hoyos-2
In reply to this post by kumowoon1025
Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park <[hidden email]>:

> It is pretty much abandoned but did you try the dvd2concat perl script in the tools directory?

It is supposed to work for this use case, but mplayer -dumpstream was tested
much more and is better suited if you need a file that contains a dvd track.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
On 04/24/2020 04:04 PM, Carl Eugen Hoyos wrote:
> Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park <[hidden email]>:
>
>> It is pretty much abandoned but did you try the dvd2concat perl script in the tools directory?
>
> It is supposed to work for this use case, but mplayer -dumpstream was tested
> much more and is better suited if you need a file that contains a dvd track.

By trial-&-error I discovered that this:
'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
works. However, TITLE1.VOB does not play correctly.

TITLE1.VOB total time shown (1:06:28) [1] is slightly more than 1/2 the movie's actual total time
(2:11:15). Otherwise, playback is normal. Skipping forward and back in the video only slightly
malfunctions [2].

[1] Curiously, PowerDVD reports TITLE1.VOB total time as 1:50:06.
[2] Very near the end of the movie, the progress bar shows

Second-by-second, MPV playback progress bar at 50% point:

Time (left) 01:04:30 [_________]__________ -00:01:36 Left (right)
             01:04:29 [_________]__________ -00:01:35
             01:04:28 [_________]__________ -00:01:34
             00:00:00 [_________]__________ -01:06:28
             00:00:01 [_________]__________ -01:06:27
             00:00:02 [_________]__________ -01:06:26

At that point, skipping forward by '5' seconds jumps to the credits roll.
At that point, skipping back by '5' seconds jumps back to about 2 minutes prior to the 50% point.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
In reply to this post by Carl Eugen Hoyos-2
Sorry. Slight edit error. Below is corrected.

On 04/24/2020 04:04 PM, Carl Eugen Hoyos wrote:
> Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park <[hidden email]>:
>
>> It is pretty much abandoned but did you try the dvd2concat perl script in the tools directory?
>
> It is supposed to work for this use case, but mplayer -dumpstream was tested
> much more and is better suited if you need a file that contains a dvd track.

By trial-&-error I discovered that this:
'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
works. However, TITLE1.VOB does not play correctly.

TITLE1.VOB total time shown (1:06:28) [1] is slightly more than 1/2 the movie's actual total time
(2:11:15). Otherwise, playback is normal. Skipping forward and back in the video malfunctions.

[1] Curiously, PowerDVD reports TITLE1.VOB total time as 1:50:06.

Second-by-second, MPV playback progress bar at the 50% point:

Time (left) 01:04:30 [_________]__________ -00:01:36 Left (right)
             01:04:29 [_________]__________ -00:01:35
             01:04:28 [_________]__________ -00:01:34
             00:00:00 [_________]__________ -01:06:28
             00:00:01 [_________]__________ -01:06:27
             00:00:02 [_________]__________ -01:06:26

At that point, skipping forward by '5' seconds jumps to the credits roll.
At that point, skipping back by '5' seconds jumps back to about 2 minutes prior to the 50% point.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Mark Filipak
In reply to this post by Carl Eugen Hoyos-2
UPDATED

On 04/24/2020 04:04 PM, Carl Eugen Hoyos wrote:
> Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park <[hidden email]>:
>
>> It is pretty much abandoned but did you try the dvd2concat perl script in the tools directory?
>
> It is supposed to work for this use case, but mplayer -dumpstream was tested
> much more and is better suited if you need a file that contains a dvd track.

By trial-&-error I discovered that this:
'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
works. However, TITLE1.VOB does not play correctly.

TITLE1.VOB total time shown (1:06:28) [1] is slightly more than 1/2 the movie's actual total time
(2:11:15). Otherwise, playback is normal. Skipping forward and back in the video malfunctions.

[1] Curiously, PowerDVD reports TITLE1.VOB total time as 1:50:06.

Second-by-second, MPV playback progress bar at the 50% point:

Time (left) 01:04:30 [_________]__________ -00:01:36 Left (right)
             01:04:29 [_________]__________ -00:01:35
             01:04:28 [_________]__________ -00:01:34
             00:00:00 [_________]__________ -01:06:28
             00:00:01 [_________]__________ -01:06:27
             00:00:02 [_________]__________ -01:06:26

At that point, skipping forward by '5' seconds jumps to the credits roll.
At that point, skipping back by '5' seconds jumps back to about 2 minutes prior to the 50% point.

UPDATE

I just ran H:\VIDEO_TS\VTS_01_1.VOB ... H:\VIDEO_TS\VTS_01_6.VOB through MKVToolNix. I saved the
result as 'c:\AVOut\VTS_01_1..6.VOB.MKVToolNix.MKV'. It plays flawlessly in MPV.

What to conclude:

'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
doesn't fix the PTS problems that dog ffmpeg.

Merging & remuxing 'H:\VIDEO_TS\VTS_01_1.VOB' ... 'H:\VIDEO_TS\VTS_01_6.VOB' does fix the PTS
problems that dog ffmpeg.

I know this is not an MPlayer support mailing list, but maybe my experiences with MKVToolNix (works)
versus 'MPlayer -dumpstream' (doesn't work) can help the ffmpeg devs to determine why ffmpeg is
dogged by PTS problems that appear to be provoked by what I've been doing.

Warm Regards,
Mark.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

Carl Eugen Hoyos-2
In reply to this post by Mark Filipak
Am Sa., 25. Apr. 2020 um 03:42 Uhr schrieb Mark Filipak
<[hidden email]>:

> By trial-&-error I discovered that this:
> 'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'

No, please test the following (untested, but I hope you get the idea):
$ cd H:
$ mplayer -dvd-device VIDEO_TS dvd://1 -dumpstream -dumpfile dvd1.vob
$ mplayer -dvd-device VIDEO_TS dvdnav://1 -dumpstream -dumpfile dvdnav1.vob

"dvdnav" uses a more sophisticated library for reading dvd's, it is
needed in some cases.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Can't write packet with unknown timestamp

DEF-2
> Am Sa., 25. Apr. 2020 um 03:42 Uhr schrieb Mark Fili
>
> > By trial-&-error I discovered that this:
> > 'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
>
> No, please test the following (untested, but I hope you get the idea):
> $ cd H:
> $ mplayer -dvd-device VIDEO_TS dvd://1 -dumpstream -dumpfile dvd1.vob
> $ mplayer -dvd-device VIDEO_TS dvdnav://1 -dumpstream -dumpfile dvdnav1.vob
>

Sometimes too,
$ mplayer -dvd-device VIDEO_TS dvdnav://1 -dumpstream -dumpfile
c:\users\$yourusername\videos\dvdnav1.vob


> "dvdnav" uses a more sophisticated library for reading dvd's, it is
> needed in some case
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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