[vlc-devel] grabbing frames with vlc 1.1.0

Mehmet Kaplan mehmetkpln at gmail.com
Fri May 21 13:01:03 CEST 2010


I don't know it can be useful or not, but at last i obtained following
log statements:

[00000397] dummy interface: VLC media player - version 0.9.9 Grishenko - (c) 199
6-2009 the VideoLAN team
[00000397] dummy interface:
Uyar²: E­er GUI'ye bir daha eri■emiyorsan²z, bir komut-sat²r² penceresi a²n, VL
C klas÷r³ne gidin ve "vlc -I qt" komutunu al²■t²r²n

[00000397] dummy interface: using the dummy interface module...
[00000397] main interface debug: using interface module "dummy"
[00000397] main interface debug: TIMER module_Need() : 5.000 ms - Total 5.000 ms
 / 1 intvls (Avg 5.000 ms)
[00000397] main interface debug: thread 4832 (interface) created at priority 0 (
../../src/interface/interface.c:168)
[00000397] main interface debug: thread started
[00000369] main playlist debug: starting new item
[00000369] main playlist debug: processing request item null node Oynatma Listes
i skip 0
[00000369] main playlist debug: rebuilding array of current - root Oynatma Liste
si
[00000369] main playlist debug: rebuild done - 2 items, index -1
[00000369] main playlist debug: creating new input thread
[00000406] main input debug: Creating an input for 'durak.avi'
[00000406] main input debug: waiting for thread initialization
[00000406] main input debug: thread started
[00000406] main input debug: thread 4756 (input) created at priority 1 (../../sr
c/input/input.c:370)
[00000406] main input debug: `durak.avi' gives access `' demux `' path `durak.av
i'
[00000406] main input debug: creating demux: access='' demux='' path='durak.avi'

[00000407] main demux debug: looking for access_demux module: 1 candidate
[00000407] main demux debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1
 intvls (Avg 1.000 ms)
[00000406] main input debug: creating access '' path='durak.avi'
[00000409] main access debug: looking for access module: 5 candidates
[00000409] vcd access debug: trying .cue file: durak.cue
[00000409] vcd access debug: could not find .cue file
[00000409] access_file access debug: opening file `durak.avi'
[00000409] main access debug: using access module "access_file"
[00000409] main access debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms /
1 intvls (Avg 1.000 ms)
[00000411] main stream debug: Using AStream*Stream
[00000411] main stream debug: pre-buffering...
[00000411] main stream debug: received first data for our buffer
[00000411] main stream debug: pre-buffering done 1408981 bytes in 0s - 687635 kb
ytes/s
[00000406] main input debug: creating demux: access='' demux='' path='durak.avi'

[00000412] main demux debug: looking for demux module: 60 candidates
[00000411] avi stream debug: found Chunk fourcc:46464952 (RIFF) size:6065256 pos
:0
[00000411] avi stream debug: found LIST chunk: 'AVI '
[00000411] avi stream debug: <list 'AVI '>
[00000411] avi stream debug: found Chunk fourcc:5453494c (LIST) size:8850 pos:12

[00000411] avi stream debug: found LIST chunk: 'hdrl'
[00000411] avi stream debug: <list 'hdrl'>
[00000411] avi stream debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000411] avi stream debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 640
x286
[00000411] avi stream debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88

[00000411] avi stream debug: found LIST chunk: 'strl'
[00000411] avi stream debug: <list 'strl'>
[00000411] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000411] avi stream debug: strh: type:vids handler:0x78766964 samplesize:0 25.
00fps
[00000411] avi stream debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000411] avi stream debug: strf: video:DIVX 640x286 planes:1 24bpp
[00000411] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:21
2
[00000411] avi stream debug: </list 'strl'>
[00000411] avi stream debug: found Chunk fourcc:5453494c (LIST) size:4254 pos:43
40
[00000411] avi stream debug: found LIST chunk: 'strl'
[00000411] avi stream debug: <list 'strl'>
[00000411] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352

[00000411] avi stream debug: strh: type:auds handler:0x00000000 samplesize:2048
21.66fps
[00000411] avi stream debug: found Chunk fourcc:66727473 (strf) size:50 pos:4416

[00000411] avi stream debug: strf: audio:0x0002 channels:2 44100Hz 4bits/sample
346kb/s
[00000411] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:44
74
[00000411] avi stream debug: </list 'strl'>
[00000411] avi stream debug: found Chunk fourcc:5453494c (LIST) size:260 pos:860
2
[00000411] avi stream debug: found LIST chunk: 'odml'
[00000411] avi stream debug: <list 'odml'>
[00000411] avi stream debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:861
4
[00000411] avi stream warning: unknown chunk (not loaded)
[00000411] avi stream debug: </list 'odml'>
[00000411] avi stream debug: </list 'hdrl'>
[00000411] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:1362 pos:88
70
[00000411] avi stream debug: found Chunk fourcc:5453494c (LIST) size:6023792 pos
:10240
[00000411] avi stream debug: skipping movi chunk
[00000411] avi stream debug: found Chunk fourcc:31786469 (idx1) size:31216 pos:6
034040
[00000411] avi stream debug: idx1: index entry:1951
[00000411] avi stream debug: </list 'AVI '>
[00000411] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:904 pos:606
5264
[00000411] avi stream debug: * LIST-root size:6066176 pos:0
[00000411] avi stream debug:      + RIFF-AVI  size:6065256 pos:0
[00000411] avi stream debug:      |    + LIST-hdrl size:8850 pos:12
[00000411] avi stream debug:      |    |    + avih size:56 pos:24
[00000411] avi stream debug:      |    |    + LIST-strl size:4244 pos:88
[00000411] avi stream debug:      |    |    |    + strh size:56 pos:100
[00000411] avi stream debug:      |    |    |    + strf size:40 pos:164
[00000411] avi stream debug:      |    |    |    + JUNK size:4120 pos:212
[00000411] avi stream debug:      |    |    + LIST-strl size:4254 pos:4340
[00000411] avi stream debug:      |    |    |    + strh size:56 pos:4352
[00000411] avi stream debug:      |    |    |    + strf size:50 pos:4416
[00000411] avi stream debug:      |    |    |    + JUNK size:4120 pos:4474
[00000411] avi stream debug:      |    |    + LIST-odml size:260 pos:8602
[00000411] avi stream debug:      |    |    |    + dmlh size:248 pos:8614
[00000411] avi stream debug:      |    + JUNK size:1362 pos:8870
[00000411] avi stream debug:      |    + LIST-movi size:6023792 pos:10240
[00000411] avi stream debug:      |    + idx1 size:31216 pos:6034040
[00000411] avi stream debug:      + JUNK size:904 pos:6065264
[00000412] avi demux debug: AVIH: 2 stream, flags  HAS_INDEX IS_INTERLEAVED
[00000412] avi demux debug: stream[0] rate:25 scale:1 samplesize:0
[00000412] avi demux debug: stream[0] video(DIVX) 640x286 24bpp 25.000000fps
[00000406] main input debug: selecting program id=0
[00000412] avi demux debug: stream[1] rate:44359 scale:2048 samplesize:2048
[00000412] avi demux debug: stream[1] audio(0x2) 2 channels 44100Hz 4bits
[00000412] avi demux debug: stream[0] created 1051 index entries
[00000412] avi demux debug: stream[1] created 900 index entries
[00000412] avi demux debug: stream[0] length:42 (based on index)
[00000412] avi demux debug: stream[1] length:42 (based on index)
[00000412] main demux debug: using demux module "avi"
[00000412] main demux debug: TIMER module_Need() : 6.000 ms - Total 6.000 ms / 1
 intvls (Avg 6.000 ms)
[00000406] main input debug: looking for a subtitle file in C:\Documents and Set
tings\mehmet.kaplan\Desktop\vlc-0.9.9-win32\vlc-0.9.9\
[00000414] main decoder debug: looking for decoder module: 34 candidates
[00000414] avcodec decoder debug: libavcodec initialized (interface 3413507 )
[00000414] avcodec decoder debug: using direct rendering
[00000414] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000414] main decoder debug: using decoder module "avcodec"
[00000414] main decoder debug: TIMER module_Need() : 18.000 ms - Total 18.000 ms
 / 1 intvls (Avg 18.000 ms)
[00000414] main decoder debug: thread 4708 (decoder) created at priority 0 (../.
./src/input/decoder.c:217)
[00000414] main decoder debug: thread started
[00000406] main input debug: audio is disabled, not selecting ES 0x1
[00000406] main input debug: `durak.avi' successfully opened
[00000412] avi demux debug: old:0 < new 0
[00000406] main input debug: control type=1
[00000414] avcodec decoder warning: looks like this file was encoded with (divx4
/(old)xvid/opendivx) -> forcing low_delay flag
 (mpeg4 at 00C48440)
[00000414] avcodec decoder debug: disabling direct rendering
[00000414] main decoder debug: no usable vout present, spawning one
[00000447] main video output debug: window size: 640x286
[00000447] main video output debug: looking for video output module: 9 candidate
s
[00000447] main video output debug: using video output module "image"
[00000447] main video output debug: TIMER module_Need() : 2.000 ms - Total 2.000
 ms / 1 intvls (Avg 2.000 ms)
[00000447] main video output debug: waiting for thread initialization
[00000447] main video output debug: thread started
[00000447] main video output debug: got 1 direct buffer(s)
[00000447] main video output debug: picture in 640x286 (0,0,640x286), chroma I42
0, ar 966713:432000, sar 1:1
[00000447] main video output debug: picture user 640x286 (0,0,640x286), chroma I
420, ar 966713:432000, sar 1:1
[00000447] main video output debug: picture out 640x286 (0,0,640x286), chroma I4
20, ar 966713:432000, sar 138239959:138240000
[00000447] main video output debug: direct render, mapping render pictures 0-6 t
o system pictures 1-7
[00000447] main video output debug: thread 4896 (video output) created at priori
ty 1 (../../src/video_output/video_output.c:502)
[00000451] main spu text debug: looking for text renderer module: 2 candidates
[00000453] main generic debug: thread 4940 (fontlist builder) created at priorit
y 0 (../../../modules/misc/freetype.c:477)
[00000453] main generic debug: thread started
[00000451] freetype spu text debug: using fontsize: 17
Fontconfig error: [00000451] main spu text debug: using text renderer module "fr
eetype"
Cannot load default config file
[00000451] main spu text debug: TIMER module_Need() : 5.000 ms - Total 5.000 ms
/ 1 intvls (Avg 5.000 ms)
[00000453] freetype generic debug: Building font database...
[00000451] freetype spu text debug: using fontsize: 17
[00000453] freetype generic debug: Finished building font database.
[00000453] freetype generic debug: Took 0 seconds
[00000453] main generic debug: thread ended
[00000450] main blend debug: looking for video blending module: 1 candidate
[00000450] blend blend debug: chroma: YUVA -> I420
[00000450] main blend debug: using video blending module "blend"
[00000450] main blend debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1
 intvls (Avg 1.000 ms)
[00000455] main encoder debug: looking for encoder module: 11 candidates
[00000455] avcodec encoder debug: libavcodec already initialized
[00000455] avcodec encoder debug: found encoder PNG Image
[00000455] main encoder debug: using encoder module "avcodec"
[00000455] main encoder debug: TIMER module_Need() : 7.000 ms - Total 7.000 ms /
 1 intvls (Avg 7.000 ms)
[00000457] main filter debug: looking for video filter2 module: 19 candidates
[swscaler @ 0p33b6270]No accelerated colorspace conversion found.
[00000457] swscale filter debug: 640x286 chroma: I420 -> 640x286 chroma: RV24 wi
th scaling using Bicubic (good quality)
[00000457] main filter debug: using video filter2 module "swscale"
[00000457] main filter debug: TIMER module_Need() : 3.000 ms - Total 3.000 ms /
1 intvls (Avg 3.000 ms)

On Fri, May 21, 2010 at 1:50 PM, Kaarlo Räihä <kaarlo.raiha at gmail.com> wrote:
> Well I am out of options then.
>
> 2010/5/20 Mehmet Kaplan <mehmetkpln at gmail.com>
>>
>> The only thing i can get from logger is:
>> "looks like this file was encoded with (divx4/(old)xvid/opendivx) ->
>> forcing low_delay flag"
>>
>> On Thu, May 20, 2010 at 8:44 PM, Kaarlo Räihä <kaarlo.raiha at gmail.com>
>> wrote:
>> > With Windows --file-logging is broken AFAIK. So QT4 and messages or
>> > maybe rc
>> > or telnet interface.
>> >
>> > 2010/5/20 Mehmet Kaplan <mehmetkpln at gmail.com>
>> >>
>> >> I add the --file-logging option, but there is not any log file output.
>> >> I do something wrong or there is not any error.
>> >>
>> >> On Thu, May 20, 2010 at 6:20 PM, Kaarlo Räihä <kaarlo.raiha at gmail.com>
>> >> wrote:
>> >> > Could you check VLC message log while you do the operation? Look for
>> >> > any
>> >> > dropped frames or libavcodec errors/warnings.
>> >> >
>> >> > 2010/5/20 Mehmet Kaplan <mehmetkpln at gmail.com>
>> >> >>
>> >> >> I tested the following command on VLC 0.9.9 and the problem (less
>> >> >> number of frames and different number of frames in each execution)
>> >> >> still exists.
>> >> >> vlc.exe test.avi -V image --aout=dummy --intf=dummy --dummy-quiet
>> >> >> --no-video-title-show
>> >> >> --image-out-format=png --image-out-ratio=1 --image-out-prefix=frame_
>> >> >> --no-snapshot-preview vlc://quit
>> >> >>
>> >> >> On Tue, May 18, 2010 at 2:41 PM, Mehmet Kaplan
>> >> >> <mehmetkpln at gmail.com>
>> >> >> wrote:
>> >> >> > yes, i tried that command earlier and it doesn't work with 1.1.0.
>> >> >> > so, the only solution is to use old method wtih earlier builds.
>> >> >> > I'll try it, thanks a lot.
>> >> >> >
>> >> >> > On Tue, May 18, 2010 at 1:47 PM, Kaarlo Räihä
>> >> >> > <kaarlo.raiha at gmail.com>
>> >> >> > wrote:
>> >> >> >> http://wiki.videolan.org/Video_Output#image
>> >> >> >> that was old method. It doesn't work with current builds, but it
>> >> >> >> should
>> >> >> >> work
>> >> >> >> in 0.9.x series IIRC.
>> >> >> >>
>> >> >> >> 2010/5/18 Mehmet Kaplan <mehmetkpln at gmail.com>
>> >> >> >>>
>> >> >> >>> I'm sorry, I don't know the earlier method.
>> >> >> >>> Can you give me an example command?
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> 2010/5/18 Rémi Denis-Courmont <remi at remlab.net>:
>> >> >> >>> >
>> >> >> >>> > On Tue, 18 May 2010 08:48:38 +0300, Mehmet Kaplan
>> >> >> >>> > <mehmetkpln at gmail.com>
>> >> >> >>> > wrote:
>> >> >> >>> >> I'm using following command to grab all frames of a video
>> >> >> >>> >> file.
>> >> >> >>> >>
>> >> >> >>> >> vlc.exe --video-filter=scene --vout=dummy --aout=dummy
>> >> >> >>> >> --intf=dummy
>> >> >> >>> >> --dummy-quiet --scene-format=png --scene-ratio=1
>> >> >> >>> >> --scene-prefix=snap
>> >> >> >>> >> --scene-path=C:\images\ test.avi vlc://quit
>> >> >> >>> >>
>> >> >> >>> >> This command gives less number of frames than the original
>> >> >> >>> >> frames.
>> >> >> >>> >> Also this command produces different number of frames in
>> >> >> >>> >> every
>> >> >> >>> >> execution.
>> >> >> >>> >
>> >> >> >>> > Yeah. The scene filter is poorly designed, inefficient, and it
>> >> >> >>> > can
>> >> >> >>> > loose
>> >> >> >>> > frames if the system is not that fast. In my opinion, the
>> >> >> >>> > earlier
>> >> >> >>> > method
>> >> >> >>> > was much better.
>> >> >> >>> >
>> >> >> >>> > --
>> >> >> >>> > Rémi Denis-Courmont
>> >> >> >>> > http://www.remlab.net
>> >> >> >>> > http://fi.linkedin.com/in/remidenis
>> >> >> >>> >
>> >> >> >>> > _______________________________________________
>> >> >> >>> > vlc-devel mailing list
>> >> >> >>> > To unsubscribe or modify your subscription options:
>> >> >> >>> > http://mailman.videolan.org/listinfo/vlc-devel
>> >> >> >>> >
>> >> >> >>> _______________________________________________
>> >> >> >>> vlc-devel mailing list
>> >> >> >>> To unsubscribe or modify your subscription options:
>> >> >> >>> http://mailman.videolan.org/listinfo/vlc-devel
>> >> >> >>
>> >> >> >>
>> >> >> >> _______________________________________________
>> >> >> >> vlc-devel mailing list
>> >> >> >> To unsubscribe or modify your subscription options:
>> >> >> >> http://mailman.videolan.org/listinfo/vlc-devel
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> _______________________________________________
>> >> >> vlc-devel mailing list
>> >> >> To unsubscribe or modify your subscription options:
>> >> >> http://mailman.videolan.org/listinfo/vlc-devel
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > vlc-devel mailing list
>> >> > To unsubscribe or modify your subscription options:
>> >> > http://mailman.videolan.org/listinfo/vlc-devel
>> >> >
>> >> >
>> >> _______________________________________________
>> >> vlc-devel mailing list
>> >> To unsubscribe or modify your subscription options:
>> >> http://mailman.videolan.org/listinfo/vlc-devel
>> >
>> >
>> > _______________________________________________
>> > vlc-devel mailing list
>> > To unsubscribe or modify your subscription options:
>> > http://mailman.videolan.org/listinfo/vlc-devel
>> >
>> >
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>



More information about the vlc-devel mailing list