[FFmpeg-trac] #614(undetermined:new): mpegts issue on localhost

FFmpeg trac at avcodec.org
Tue Nov 8 00:15:20 CET 2011


#614: mpegts issue on localhost
-------------------------------------+-------------------------------------
             Reporter:  burek        |                    Owner:  michael
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by burek):

 -r 30 just tells the driver to correctly sample the video input, so we
 don't have to resample it afterwards

 here is the log:
 {{{
 # ffmpeg -f video4linux2 -i /dev/v4l/by-id/usb-046d_0809_33A881A3-video-
 index0 out.ts
 ffmpeg version N-34519-g54a09f1, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Nov  6 2011 12:46:05 with gcc 4.6.1
   configuration: --enable-static --enable-shared --enable-gpl --enable-
 nonfree --enable-postproc --enable-libx264 --enab
 le-libaacplus --enable-libmp3lame --enable-libv4l2 --enable-libvo-aacenc
 --enable-version3
   libavutil    51. 23. 0 / 51. 23. 0
   libavcodec   53. 28. 0 / 53. 28. 0
   libavformat  53. 19. 0 / 53. 19. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 47. 0 /  2. 47. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [video4linux2,v4l2 @ 0x1daf780] The driver changed the time per frame from
 32767/1996117544 to 1/30
 [video4linux2,v4l2 @ 0x1daf780] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/v4l/by-id/usb-046d_0809_33A881A3
 -video-index0':
   Duration: N/A, start: 25528.008073, bitrate: 27648 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240,
 27648 kb/s, 30 tbr, 1000k tbn, 30 tbc
 [buffer @ 0x1dbdf40] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1
 sws_param:
 [mpegts @ 0x1dbd0a0] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt
 every 40 pkts
 Output #0, mpegts, to 'out.ts':
   Metadata:
     encoder         : Lavf53.19.0
     Stream #0:0: Video: mpeg2video, yuv420p, 320x240, q=2-31, 200 kb/s,
 90k tbn, 30 tbc
 Stream mapping:
   Stream #0.0 -> #0.0 (rawvideo -> mpeg2video)
 Press [q] to stop, [?] for help
 frame=  480 fps= 37 q=10.3 Lsize=     754kB time=00:00:15.96 bitrate=
 386.9kbits/s dup=287 drop=0
 video:658kB audio:0kB global headers:0kB muxing overhead 14.622744%
 }}}

 and warnings are also there again :/

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


More information about the FFmpeg-trac mailing list