[vlc-devel] avi.c i_count change

Moriarty, Mark F mark.f.moriarty at lmco.com
Wed Aug 4 22:05:19 CEST 2004


In mux\avi.c I tried fen's suggestion, changed the condition at line 424
to "> 1".

It looks like it's registering the proper fps now, as shown by the
Messages log.  I suspect this is a "good" change, should be committed,
unless it relates to what I'm seeing below:

Unfortunately, the playback side is not working properly.  It's properly
detecting the fps (no surprise, since fps is stored properly), but is
only displaying the very first frame, which stays up (displayed) for the
duration.

It continuously generates "late picture skipped" warnings, with an
ffmpeg frame skip error.  The CPU use is actually trivial -- under 5%
total -- and I have no memory problems (well, my computer has none).

Thoughts?


avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
avi debug: strh: type:vids handler:0x44495633 samplesize:0 1.00fps
avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
avi debug: strf: video:DIV3 1024x768 planes:1 24bpp
avi debug: </list 'strl'>
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:10008 pos:212
avi debug: found Chunk fourcc:5453494c (LIST) size:1228920 pos:10228
avi debug: skipping movi chunk
avi debug: </list 'hdrl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:1228920 pos:10228
avi debug: skipping movi chunk
avi debug: found Chunk fourcc:31786469 (idx1) size:768 pos:1239156
avi debug: idx1: index entry:48
avi debug: </list 'AVI '>
avi debug: * LIST-root size:1239932 pos:0
avi debug:      + RIFF-AVI  size:1239924 pos:0
avi debug:      |    + LIST-hdrl size:10232 pos:12
avi debug:      |    |    + avih size:56 pos:24
avi debug:      |    |    + LIST-strl size:116 pos:88
avi debug:      |    |    |    + strh size:56 pos:100
avi debug:      |    |    |    + strf size:40 pos:164
avi debug:      |    |    + JUNK size:10008 pos:212
avi debug:      |    |    + LIST-movi size:1228920 pos:10228
avi debug:      |    + LIST-movi size:1228920 pos:10228
avi debug:      |    + idx1 size:768 pos:1239156
avi debug: AVIH: 1 stream, flags  HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE 
avi debug: stream[0] rate:1000 scale:1000 samplesize:0
avi debug: stream[0] video(DIV3) 1024x768 24bpp 1.000000fps
main debug: Selecting program id=0
avi debug: stream[0] created 48 index entries
avi debug: stream[0] length:48 (based on index)
main debug: using demux2 module "avi"
main debug: looking for a subtitle file in C:\temp\
main debug: looking for decoder module
main debug: probing 23 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MS MPEG-4 Video v3) started
main debug: using decoder module "ffmpeg"
main debug: thread 3124 (decoder) created at priority 0
(src/input/decoder.c:151)
main debug: meta information:
main debug:   - 'Setting' = ' HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE'
main debug: `C:\temp\tesi_countchanged.avi' sucessfully opened
avi debug: old:0 < new 0
main debug: control type=1
main debug: no usable vout present, spawning one
main debug: looking for video output module
main debug: probing 5 candidates
     --Deleted a bunch of no-problem debug lines--
main debug: thread 3080 (video output) created at priority 1
(src/video_output/video_output.c:478)
main debug: Registering OSD channel, ID: 2
main debug: Registering OSD channel, ID: 3
main debug: Registering OSD channel, ID: 4
main debug: Registering OSD channel, ID: 5
main warning: late picture skipped (713147)
main warning: late picture skipped (706315)
main warning: late picture skipped (689470)
main warning: late picture skipped (695894)
main warning: late picture skipped (701885)
main warning: late picture skipped (686011)
ffmpeg error: more than 5 seconds of late video -> dropping frame
(computer too slow ?)
main warning: late picture skipped (682827)
main warning: late picture skipped (689538)
main warning: late picture skipped (712800)
main warning: late picture skipped (703962)
main warning: late picture skipped (694131)
main warning: late picture skipped (682316)
ffmpeg error: more than 5 seconds of late video -> dropping frame
(computer too slow ?)
main warning: late picture skipped (687487)
main warning: late picture skipped (698700)
main warning: late picture skipped (702852)
main warning: late picture skipped (688008)
main warning: late picture skipped (694217)
main warning: late picture skipped (682511)
main warning: late picture skipped (696604)
main warning: late picture skipped (682996)
ffmpeg error: more than 5 seconds of late video -> dropping frame
(computer too slow ?)
main warning: late picture skipped (688105)
main warning: late picture skipped (683274)
main warning: late picture skipped (693493)
main warning: late picture skipped (686661)
main warning: late picture skipped (693874)
main warning: late picture skipped (697071)
ffmpeg error: more than 5 seconds of late video -> dropping frame
(computer too slow ?)
main warning: late picture skipped (683420)
access_file error: seeking too far
avi warning: failled reading data
access_file error: seeking too far
access_file error: seeking too far
ffmpeg debug: ffmpeg codec (MS MPEG-4 Video v3) stopped
main debug: unlocking module "ffmpeg"

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list