[FFmpeg-user] Can't write packet with unknown timestamp

Edward Park kumowoon1025 at gmail.com
Fri Apr 24 18:14:17 EEST 2020


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


More information about the ffmpeg-user mailing list