[FFmpeg-trac] #634(undetermined:closed): non monotonically increasing dts with v4l2

FFmpeg trac at avcodec.org
Mon Apr 1 16:45:18 CEST 2013


#634: non monotonically increasing dts with v4l2
-------------------------------------+-------------------------------------
             Reporter:  wim          |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:  fixed
  av_interleaved_write_frame v4l2    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  open => closed
 * resolution:   => fixed


Comment:

 Appears to work fine now.
 {{{
 $ ffmpeg -f v4l2 -video_size 64x48 -framerate 10 -i /dev/video0 out.avi
 ffmpeg version N-51435-g24cfe91 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Mar 29 2013 06:11:26 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 22.101 / 52. 22.101
   libavcodec     55.  2.100 / 55.  2.100
   libavformat    55.  0.100 / 55.  0.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 48.105 /  3. 48.105
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [video4linux2,v4l2 @ 0x2e3d140] The driver does not allow to change time
 per frame
 [video4linux2,v4l2 @ 0x2e3d140] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 1364536659.669939, bitrate: 921 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 64x48, 921
 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc
 [mpeg4 @ 0x2e3f120] too many threads/slices (4), reducing to 3
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf55.0.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 64x48, q=2-31,
 200 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
 Press [q] to stop, [?] for help
 frame=7269585 fps= 25 q=2.0 Lsize= 7188621kB time=80:46:23.80 bitrate=
 202.5kbits/s
 video:7054192kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 1.905667%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/634#comment:13>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list