[FFmpeg-trac] #974(undetermined:new): pts issues when copying mpeg2video from VOB to QuickTime

FFmpeg trac at avcodec.org
Fri Feb 3 16:06:50 CET 2012


#974: pts issues when copying mpeg2video from VOB to QuickTime
-------------------------------------+-------------------------------------
             Reporter:  dericed      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I'm trying to copy an mpeg2video stream from a VOB file into a QuickTime
 container. I'm using

 ffmpeg -i VTS_01_1.VOB -vcodec copy -an VTS.mov

 As the process runs I get many "[mov @ 0x7fa18d005800] pts has no value"
 messages. Then the resulting QuickTime file has playback issue where the
 frames are presented out of order making the moving image appear to
 stutter and jerk. Any advice on getting a proper playback. For this
 process I need to use QuickTime as my target container. Also I'm using
 copy because the source mpeg2 contains captioning data that I need to have
 represented in the output file.


 {{{
 ffmpeg -i VTS_01_1.VOB -vcodec copy -an VTS.mov
 ffmpeg version N-33159-gf247f4c Copyright (c) 2000-2012 the FFmpeg
 developers
  built on Jan  9 2012 10:20:06 with gcc 4.2.1 (Apple Inc. build 5666) (dot
 3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
 --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-
 libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-
 libxvid
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 58.100 /  2. 58.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
 [mpeg @ 0x7fa18c03d800] max_analyze_duration 5000000 reached at 5005000
 Input #0, mpeg, from 'VTS_01_1.VOB':
  Duration: 26:30:43.71, start: 0.280633, bitrate: 78 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9
 DAR 4:3], 8503 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
 Output #0, mov, to 'VTS.mov':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: mpeg2video (m2v1 / 0x3176326D), yuv420p, 720x480
 [SAR 8:9 DAR 4:3], q=2-31, 8503 kb/s, 29.97 fps, 90k tbn, 90k tbc
 Stream mapping:
  Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 271 times
 pts has no value  0 q=-1.0 size=   15698kB time=00:00:31.43
 bitrate=4091.4kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 333 times
 pts has no value1899 q=-1.0 size=   37646kB time=00:01:13.27
 bitrate=4208.9kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 470 times
 pts has no value2392 q=-1.0 size=   68639kB time=00:02:12.26
 bitrate=4251.2kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 387 times
 pts has no value2506 q=-1.0 size=   94258kB time=00:03:01.04
 bitrate=4265.0kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 387 times
 pts has no value2555 q=-1.0 size=  119833kB time=00:03:49.76
 bitrate=4272.6kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 308 times
 pts has no value2404 q=-1.0 size=  140303kB time=00:04:28.73
 bitrate=4276.9kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 341 times
 pts has no value2385 q=-1.0 size=  162852kB time=00:05:11.71
 bitrate=4279.9kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 404 times
 pts has no value2441 q=-1.0 size=  189467kB time=00:06:02.32
 bitrate=4283.7kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 279 times
 pts has no value2387 q=-1.0 size=  207891kB time=00:06:37.46
 bitrate=4284.8kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 342 times
 pts has no value2372 q=-1.0 size=  230444kB time=00:07:20.40
 bitrate=4286.5kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 293 times
 pts has no value2357 q=-1.0 size=  249896kB time=00:07:57.44
 bitrate=4287.7kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 267 times
 pts has no value2327 q=-1.0 size=  267545kB time=00:08:31.04
 bitrate=4288.7kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 329 times
 pts has no value2334 q=-1.0 size=  289234kB time=00:09:12.38
 bitrate=4289.4kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 366 times
 pts has no value2348 q=-1.0 size=  313369kB time=00:09:58.36
 bitrate=4290.2kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 326 times
 pts has no value2340 q=-1.0 size=  334955kB time=00:10:39.43
 bitrate=4291.2kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 324 times
 pts has no value2342 q=-1.0 size=  356384kB time=00:11:20.27
 bitrate=4291.6kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 258 times
 pts has no value2300 q=-1.0 size=  373513kB time=00:11:52.84
 bitrate=4292.4kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 97 times
 pts has no value2219 q=-1.0 size=  380052kB time=00:12:05.32
 bitrate=4292.4kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 106 times
 pts has no value2135 q=-1.0 size=  387113kB time=00:12:18.77
 bitrate=4292.6kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 293 times
 pts has no value2139 q=-1.0 size=  406507kB time=00:12:55.74
 bitrate=4292.8kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 374 times
 pts has no value2161 q=-1.0 size=  431143kB time=00:13:42.65
 bitrate=4293.3kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 620 times
 pts has no value2266 q=-1.0 size=  472102kB time=00:15:00.59
 bitrate=4294.3kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 606 times
 pts has no value2358 q=-1.0 size=  512026kB time=00:16:16.64
 bitrate=4294.8kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 527 times
 pts has no value2418 q=-1.0 size=  546823kB time=00:17:22.90
 bitrate=4295.3kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 591 times
 pts has no value2493 q=-1.0 size=  585739kB time=00:18:37.04
 bitrate=4295.6kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 637 times
 pts has no value2574 q=-1.0 size=  627748kB time=00:19:57.02
 bitrate=4296.1kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 627 times
 pts has no value2648 q=-1.0 size=  669075kB time=00:21:15.70
 bitrate=4296.5kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 632 times
 pts has no value2719 q=-1.0 size=  710736kB time=00:22:35.08
 bitrate=4296.7kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 605 times
 pts has no value2777 q=-1.0 size=  750621kB time=00:23:51.02
 bitrate=4297.0kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 606 times
 pts has no value2832 q=-1.0 size=  790562kB time=00:25:07.10
 bitrate=4297.2kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 605 times
 pts has no value2883 q=-1.0 size=  830479kB time=00:26:23.14
 bitrate=4297.3kbits/s
 [mov @ 0x7fa18d005800] pts has no value
    Last message repeated 584 times
 frame=49520 fps=2936 q=-1.0 Lsize=  861587kB time=00:27:32.25
 bitrate=4271.8kbits/s
 video:861328kB audio:0kB global headers:0kB muxing overhead 0.030140%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/974>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list