Transcoding with VAAPI decoding accelaration using VLC 2.0

I saw that vlc gets the decoded image back from the graphics cards when using hardware acceleration, e.g. VAAPI. So I thought this should also work as encoding accelerator, so the CPU only has to encode, not decode the video and cause at least some speedup, especially for large video files encoded into small files. I'm using the GMA500 poulsbo chipset for this test with 1,6 Ghz Atom(TM) CPU Z530.


Well, at least with VAAPI v. 0.31 and VLC 2.0, the speedup is not statistically significant. The input is 720p and the command line is
time vlc --stop-time 25 --ffmpeg-hw test.mov --sout "#transcode{width=384,height=288,vcodec=h264,acodec=vorbis}:standard{access=file,mux=mkv,dst=test.mkv}}" --sout-x264-crf=24 --sout-transcode-threads=2 vlc://quit

Without vaapi:
real    1m26.511s
user    2m2.810s
sys     0m3.855s

With vaapi:
real    1m30.712s
user    1m58.216s
sys     0m3.399s

This might just as well be a randrom difference. The real actual time spent is actually longer with vaapi. I should try again sometime with vaapi 0.31 and someone else might try this with an ATI card. Still, it's fun that it's possible. And yes, vlc did state "[0xb7000c60] avcodec generic: Using VA API version 0.31 for hardware decoding.", so the hardware decoding was most probably active:

VLC media player 2.0.0 Twoflower (revision 2.0.0-0-g421a4fc)                                                          
[0x87e20c8] main libvlc debug: VLC media player - 2.0.0 Twoflower                                                     
[0x87e20c8] main libvlc debug: Copyright © 1996-2012 VLC authors and VideoLAN                                         
[0x87e20c8] main libvlc debug: revision 2.0.0-0-g421a4fc                                                              
[0x87e20c8] main libvlc debug: configured with ./configure  '--disable-lua' '--disable-a52' '--disable-xcb' '--disable-qt4' '--disable-skins2' '--disable-libgcrypt' '--disable-v4l2' '--disable-pulse' '--disable-jack' 'CFLAGS=-O4 -march=native ' 'CXXFLAGS=-O4 -march=native '                                                                                                    
[0x87e20c8] main libvlc debug: searching plug-in modules                                                                    
[0x87e20c8] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat                            
[0x87e20c8] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'                                            
[0x87e20c8] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat                                  
[0x87e20c8] main libvlc debug: plug-ins loaded: 339 modules                                                                 
[0x87e20c8] main libvlc debug: opening config file (/home/djtm/.config/vlc/vlcrc)                                           
[0x87e20c8] main libvlc debug: translation test: code is "C"                                                                
[0x87e20c8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU                                      
[0x87e20c8] main libvlc debug: looking for memcpy module: 4 candidates                                                      
[0x87e20c8] main libvlc debug: using memcpy module "memcpymmxext"                                                           
[0x8861688] main input debug: Creating an input for 'Media Library'                                                         
[0x8861688] main input debug: Input is a meta file: disabling unneeded options                                              
[0x8861688] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'                                         
[0x8861688] main input debug: `file/xspf-open:///home/djtm/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/djtm/.local/share/vlc/ml.xspf'                                                                                    
[0x8861688] main input debug: creating demux: access='file' demux='xspf-open' location='/home/djtm/.local/share/vlc/ml.xspf' file='/home/djtm/.local/share/vlc/ml.xspf'                                                                                  
[0x885af70] main demux debug: looking for access_demux module: 2 candidates                                                 
[0x885af70] main demux debug: no access_demux module matching "file" could be loaded                                        
[0x885af70] main demux debug: TIMER module_need() : 2.607 ms - Total 2.607 ms / 1 intvls (Avg 2.607 ms)                     
[0x8861688] main input debug: creating access 'file' location='/home/djtm/.local/share/vlc/ml.xspf', path='/home/djtm/.local/share/vlc/ml.xspf'                                                                                                          
[0x885e7c8] main access debug: looking for access module: 2 candidates                                                      
[0x885e7c8] filesystem access debug: opening file `/home/djtm/.local/share/vlc/ml.xspf'                                     
[0x885e7c8] main access debug: using access module "filesystem"                                                             
[0x885e7c8] main access debug: TIMER module_need() : 1.443 ms - Total 1.443 ms / 1 intvls (Avg 1.443 ms)                    
[0x885f730] main stream debug: Using stream method for AStream*                                                             
[0x885f730] main stream debug: starting pre-buffering                                                                       
[0x885f730] main stream debug: received first data after 0 ms                                                               
[0x885f730] main stream debug: pre-buffering done 296 bytes in 0s - 1773 KiB/s                                              
[0x885efa8] main stream debug: looking for stream_filter module: 6 candidates                                               
[0x885efa8] main stream debug: no stream_filter module matching "any" could be loaded                                       
[0x885efa8] main stream debug: TIMER module_need() : 9.420 ms - Total 9.420 ms / 1 intvls (Avg 9.420 ms)                    
[0x885efa8] main stream debug: looking for stream_filter module: 1 candidate                                                
[0x885efa8] main stream debug: using stream_filter module "stream_filter_record"                                            
[0x885efa8] main stream debug: TIMER module_need() : 0.765 ms - Total 0.765 ms / 1 intvls (Avg 0.765 ms)                    
[0x8861688] main input debug: creating demux: access='file' demux='xspf-open' location='/home/djtm/.local/share/vlc/ml.xspf' file='/home/djtm/.local/share/vlc/ml.xspf'                                                                                  
[0x885e338] main demux debug: looking for demux module: 1 candidate                                                         
[0x885e338] playlist demux debug: using XSPF playlist reader                                                                
[0x885e338] main demux debug: using demux module "playlist"                                                                 
[0x885e338] main demux debug: TIMER module_need() : 1.108 ms - Total 1.108 ms / 1 intvls (Avg 1.108 ms)                     
[0x885fa90] main demux meta debug: looking for meta reader module: 0 candidates                                             
[0x885fa90] main demux meta debug: no meta reader module matched "any"                                                      
[0x885fa90] main demux meta debug: TIMER module_need() : 0.324 ms - Total 0.324 ms / 1 intvls (Avg 0.324 ms)                
[0x8861688] main input debug: `file/xspf-open:///home/djtm/.local/share/vlc/ml.xspf' successfully opened                    
[0x885fa90] main xml reader debug: looking for xml reader module: 1 candidate                                               
[0x885fa90] main xml reader debug: using xml reader module "xml"                                                            
[0x885fa90] main xml reader debug: TIMER module_need() : 2.095 ms - Total 2.095 ms / 1 intvls (Avg 2.095 ms)                
[0x885e338] playlist demux debug: parsed 0 tracks successfully                                                              
[0x8861688] main input debug: EOF reached                                                                                   
[0x885e338] main demux debug: removing module "playlist"                                                                    
[0x885efa8] main stream debug: removing module "stream_filter_record"                                                       
[0x885e7c8] main access debug: removing module "filesystem"                                                                 
[0x8861688] main input debug: TIMER input launching for 'Media Library' : 18.303 ms - Total 18.303 ms / 1 intvls (Avg 18.303 ms)                                                                                                                         
[0x885bba0] main interface debug: looking for interface module: 1 candidate                                                 
[0x885bba0] main interface debug: using interface module "hotkeys"                                                          
[0x885bba0] main interface debug: TIMER module_need() : 0.828 ms - Total 0.828 ms / 1 intvls (Avg 0.828 ms)                 
[0x885e338] main interface debug: looking for interface module: 1 candidate                                                 
[0x8859980] main playlist debug: playlist threads correctly activated                                                       
[0x885e338] main interface debug: using interface module "inhibit"                                                          
[0x885e338] main interface debug: TIMER module_need() : 19.186 ms - Total 19.186 ms / 1 intvls (Avg 19.186 ms)              
[0x8859980] main playlist debug: adding item `quit' ( vlc://quit )                                                          
[0x8859980] main playlist debug: adding item `test.MOV' ( file:///D/test.MOV )                                      
[0x885c0b0] main interface debug: looking for interface module: 0 candidates                                                
[0x885c0b0] main interface debug: no interface module matched "globalhotkeys,none"                                          
[0x885c0b0] main interface debug: TIMER module_need() : 0.299 ms - Total 0.299 ms / 1 intvls (Avg 0.299 ms)                 
[0x885c0b0] main interface error: no suitable interface module                                                              
[0x87e20c8] main libvlc error: interface "globalhotkeys,none" initialization failed                                         
[0x87e20c8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.                   
[0x885c0b0] main interface debug: looking for interface module: 1 candidate                                                 
Remote control interface initialized. Type `help' for help.                                                                 
[0x885c0b0] main interface debug: using interface module "oldrc"                                                            
[0x885c0b0] main interface debug: TIMER module_need() : 1.134 ms - Total 1.134 ms / 1 intvls (Avg 1.134 ms)                 
[0x885f018] main input debug: Creating an input for 'quit'                                                                  
[0x8859980] main playlist debug: meta ok for (null), need to fetch art                                                      
[0x8852678] main input debug: Creating an input for '.MOV'                                                          
[0x8859980] main playlist debug: rebuilding array of current - root Playlist                                                
[0x8859980] main playlist debug: rebuild done - 2 items, index -1                                                           
[0x8859980] main playlist debug: processing request item: null, node: Playlist, skip: 0                                     
[0x8859980] main playlist debug: starting playback of the new playlist item                                                 
[0x8859980] main playlist debug: creating new input thread                                                                  
[0x8856018] main input debug: Creating an input for 'MVI_.MOV'                                                          
[0x8868748] main stream output debug: using sout chain=`transcode{width=384,height=288,vcodec=h264,acodec=vorbis}:standard{access=file,mux=mkv,dst=/home/djtm/test.mkv}}'                                                                                
[0x8868748] main stream output debug: stream=`standard'                                                                     
[0x88688d8] main stream out debug: looking for sout stream module: 1 candidate                                              
[0x88688d8] main stream out debug: set config option: sout-standard-access to file                                          
[0x88688d8] main stream out debug: set config option: sout-standard-mux to mkv                                              
[0x88688d8] main stream out debug: set config option: sout-standard-dst to /home/djtm/test.mkv                              
[0xb7000d70] main access out debug: looking for sout access module: 1 candidate                                             
[0x8869e40] main demux meta debug: looking for meta fetcher module: 0 candidates                                            
[0x8869e40] main demux meta debug: no meta fetcher module matched "any"                                                     
[0x8869e40] main demux meta debug: TIMER module_need() : 0.371 ms - Total 0.371 ms / 1 intvls (Avg 0.371 ms)                
[0x8859980] main playlist debug: searching art for quit                                                                     
[0x885f700] main art finder debug: looking for art finder module: 1 candidate                                               
[0x885f700] main art finder debug: no art finder module matching "any" could be loaded                                      
[0x885f700] main art finder debug: TIMER module_need() : 0.827 ms - Total 0.827 ms / 1 intvls (Avg 0.827 ms)                
[0x8859980] main playlist debug: art not found for quit                                                                     
[0xb7000d70] access_output_file access out debug: file access output opened (/home/djtm/test.mkv)                           
[0xb7000d70] main access out debug: using sout access module "access_output_file"                                           
[0xb7000d70] main access out debug: TIMER module_need() : 6.446 ms - Total 6.446 ms / 1 intvls (Avg 6.446 ms)               
[0x8854688] main mux debug: looking for sout mux module: 0 candidates                                                       
[0x8854688] main mux debug: no sout mux module matched "mkv"                                                                
[0x8854688] main mux debug: TIMER module_need() : 0.354 ms - Total 0.354 ms / 1 intvls (Avg 0.354 ms)                       
[0x88688d8] stream_out_standard stream out debug: Couldn't open mux `mkv', trying `ffmpeg{mux=matroska}' instead            
[0x8854688] main mux debug: looking for sout mux module: 1 candidate                                                        
[0x8859980] main playlist debug: meta ok for (null), need to fetch art                                                      
[0x885b878] main demux meta debug: looking for meta fetcher module: 0 candidates                                            
[0x885b878] main demux meta debug: no meta fetcher module matched "any"                                                     
[0x885b878] main demux meta debug: TIMER module_need() : 0.330 ms - Total 0.330 ms / 1 intvls (Avg 0.330 ms)                
[0x8859980] main playlist debug: searching art for MV.MOV                                                             
[0x885b878] main art finder debug: looking for art finder module: 1 candidate                                               
[0x885b878] main art finder debug: no art finder module matching "any" could be loaded                                      
[0x885b878] main art finder debug: TIMER module_need() : 1.349 ms - Total 1.349 ms / 1 intvls (Avg 1.349 ms)                
[0x8859980] main playlist debug: art not found for M.MOV                                                             
[0x8854688] main mux debug: set config option: ffmpeg-mux to matroska                                                       
[0x8854688] main mux debug: using sout mux module "avformat"                                                                
[0x8854688] main mux debug: TIMER module_need() : 66.019 ms - Total 66.019 ms / 1 intvls (Avg 66.019 ms)                    
[0x88688d8] stream_out_standard stream out debug: using `file/mkv:///home/djtm/test.mkv'                                    
[0x88688d8] main stream out debug: using sout stream module "stream_out_standard"                                           
[0x88688d8] main stream out debug: TIMER module_need() : 76.585 ms - Total 76.585 ms / 1 intvls (Avg 76.585 ms)             
[0x8868748] main stream output debug: stream=`transcode'                                                                    
[0x885cd10] main stream out debug: looking for sout stream module: 1 candidate                                              
[0x885cd10] main stream out debug: set config option: sout-transcode-width to 384                                           
[0x885cd10] main stream out debug: set config option: sout-transcode-height to 288                                          
[0x885cd10] main stream out debug: set config option: sout-transcode-vcodec to h264                                         
[0x885cd10] main stream out debug: set config option: sout-transcode-acodec to vorbis                                       
[0x885cd10] stream_out_transcode stream out debug: codec audio=vorb 0Hz 0 channels 96Kb/s                                   
[0x885cd10] stream_out_transcode stream out debug: codec video=h264 384x288 scaling: 0.000000 0kb/s                         
[0x885cd10] main stream out debug: using sout stream module "stream_out_transcode"                                          
[0x885cd10] main stream out debug: TIMER module_need() : 1.994 ms - Total 1.994 ms / 1 intvls (Avg 1.994 ms)                
[0x8856018] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'                                         
[0x8856018] main input debug: `file:///test.MOV' gives access `file' demux `' path `'                  
[0x8856018] main input debug: creating demux: access='file' demux='' location='test.MOV' file='test.MOV'      
[0x87f1868] main demux debug: looking for access_demux module: 2 candidates                                                 
[0x87f1868] main demux debug: no access_demux module matching "file" could be loaded                                        
[0x87f1868] main demux debug: TIMER module_need() : 1.308 ms - Total 1.308 ms / 1 intvls (Avg 1.308 ms)                     
[0x8856018] main input debug: creating access 'file' location='/.MOV', path='/D/MVI_.MOV'                     
[0x87f1868] main access debug: looking for access module: 2 candidates                                                      
[0x87f1868] filesystem access debug: opening file `/D/MVI_.MOV'                                                         
[0x87f1868] main access debug: using access module "filesystem"                                                             
[0x87f1868] main access debug: TIMER module_need() : 1.055 ms - Total 1.055 ms / 1 intvls (Avg 1.055 ms)                    
[0x87f19a0] main stream debug: Using stream method for AStream*                                                             
[0x87f19a0] main stream debug: starting pre-buffering                                                                       
[0x87f19a0] main stream debug: received first data after 0 ms                                                               
[0x87f19a0] main stream debug: pre-buffering done 1024 bytes in 0s - 13513 KiB/s                                            
[0x87f1b50] main stream debug: looking for stream_filter module: 6 candidates                                               
[0x87f1b50] main stream debug: no stream_filter module matching "any" could be loaded                                       
[0x87f1b50] main stream debug: TIMER module_need() : 0.302 ms - Total 0.302 ms / 1 intvls (Avg 0.302 ms)                    
[0x87f1b50] main stream debug: looking for stream_filter module: 1 candidate                                                
[0x87f1b50] main stream debug: using stream_filter module "stream_filter_record"                                            
[0x87f1b50] main stream debug: TIMER module_need() : 0.287 ms - Total 0.287 ms / 1 intvls (Avg 0.287 ms)                    
[0x8856018] main input debug: creating demux: access='file' demux='' location='/D/MVI_.MOV' file='/D/MVI_.MOV'      
[0x885a930] main demux debug: looking for demux module: 48 candidates                                                       
[0x87f1b50] mp4 stream warning: unknown box type alis (incompletely loaded)                                                 
[0x87f1b50] mp4 stream warning: unknown box type colr (incompletely loaded)                                                 
[0x87f1b50] mp4 stream warning: unknown box type gama (incompletely loaded)                                                 
[0x87f1b50] mp4 stream debug: found an empty box (null size)                                                                
[0x87f1b50] mp4 stream warning: unknown box type alis (incompletely loaded)                                                 
[0x87f1b50] mp4 stream warning: unknown box type chan (incompletely loaded)                                                 
[0x87f1b50] mp4 stream warning: unknown box type CNCV (incompletely loaded)                                                 
[0x87f1b50] mp4 stream warning: unknown box type CNMN (incompletely loaded)                                                 
[0x87f1b50] mp4 stream warning: unknown box type CNFV (incompletely loaded)                                                 
[0x87f1b50] mp4 stream warning: cannot read one box                                                                         
[0x87f1b50] mp4 stream debug: dumping root Box "root"                                                                       
[0x87f1b50] mp4 stream debug: |   + ftyp size 24                                                                            
[0x87f1b50] mp4 stream debug: |   + mdat size 1641959460                                                                    
[0x87f1b50] mp4 stream debug: |   + moov size 118541                                                                        
[0x87f1b50] mp4 stream debug: |   |   + mvhd size 108                                                                       
[0x87f1b50] mp4 stream debug: |   |   + trak size 115919                                                                    
[0x87f1b50] mp4 stream debug: |   |   |   + tkhd size 92                                                                    
[0x87f1b50] mp4 stream debug: |   |   |   + mdia size 115819                                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   + mdhd size 32                                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   + hdlr size 33                                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   + minf size 115746                                                            
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + vmhd size 20                                                            
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + hdlr size 33                                                            
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + dinf size 36                                                            
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + dref size 28                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   + alis size 12                                                    
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + stbl size 115649                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stsd size 173                                                       
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   + avc1 size 157                                                   
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   |   + colr size 18                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   |   + gama size 12                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   |   + avcC size 37                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stts size 24                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stss size 3740                                                      
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stsc size 28                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stsz size 55840                                                     
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stco size 55836                                                     
[0x87f1b50] mp4 stream debug: |   |   + trak size 2330                                                                      
[0x87f1b50] mp4 stream debug: |   |   |   + tkhd size 92                                                                    
[0x87f1b50] mp4 stream debug: |   |   |   + mdia size 2230                                                                  
[0x87f1b50] mp4 stream debug: |   |   |   |   + mdhd size 32                                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   + hdlr size 33                                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   + minf size 2157                                                              
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + smhd size 16                                                            
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + hdlr size 33                                                            
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + dinf size 36                                                            
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + dref size 28                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   + alis size 12                                                    
[0x87f1b50] mp4 stream debug: |   |   |   |   |   + stbl size 2064                                                          
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stsd size 92                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   + sowt size 76                                                    
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   |   |   + chan size 24                                                
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stts size 24                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stsc size 40                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stsz size 20                                                        
[0x87f1b50] mp4 stream debug: |   |   |   |   |   |   + stco size 1880                                                      
[0x87f1b50] mp4 stream debug: |   |   + udta size 176                                                                       
[0x87f1b50] mp4 stream debug: |   |   |   + CNCV size 20                                                                    
[0x87f1b50] mp4 stream debug: |   |   |   + CNMN size 72                                                                    
[0x87f1b50] mp4 stream debug: |   |   |   + CNFV size 72                                                                    
[0x885a930] mp4 demux debug: Apple QuickTime file                                                                           
[0x885a930] mp4 demux debug: found 2 tracks                                                                                 
[0x885a930] mp4 demux debug: track[Id 0x1] read 13955 chunk                                                                 
[0x885a930] mp4 demux debug: track[Id 0x1] read 13955 samples length:465s                                                   
[0x8856018] main input debug: selecting program id=0                                                                        
[0x885a930] mp4 demux debug: adding track[Id 0x1] video (enable) language en                                                
[0x885a930] mp4 demux debug: track[Id 0x2] read 466 chunk                                                                   
[0x885a930] mp4 demux debug: track[Id 0x2] read 20513850 samples length:465s                                                
[0x885a930] mp4 demux debug: adding track[Id 0x2] audio (enable) language en                                                
[0x885a930] main demux debug: using demux module "mp4"                                                                      
[0x885a930] main demux debug: TIMER module_need() : 24.768 ms - Total 24.768 ms / 1 intvls (Avg 24.768 ms)                  
[0x8856018] main input debug: looking for a subtitle file in /D                                                             
[0x886b868] main decoder debug: looking for packetizer module: 21 candidates                                                
[0x886b868] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)                                                         
[0x886b868] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)                                                
[0x886b868] packetizer_h264 decoder debug: avcC length size=4, sps=1, pps=1                                                 
[0x886b868] main decoder debug: using packetizer module "packetizer_h264"                                                   
[0x886b868] main decoder debug: TIMER module_need() : 5.439 ms - Total 5.439 ms / 1 intvls (Avg 5.439 ms)                   
[0x8925230] main decoder debug: looking for packetizer module: 21 candidates                                                
[0x8925230] main decoder debug: using packetizer module "packetizer_copy"                                                   
[0x8925230] main decoder debug: TIMER module_need() : 1.848 ms - Total 1.848 ms / 1 intvls (Avg 1.848 ms)                   
[0x8856018] main input debug: starting in sync mode                                                                         
[0x892dee0] main demux meta debug: looking for meta reader module: 0 candidates                                             
[0x892dee0] main demux meta debug: no meta reader module matched "any"                                                      
[0x892dee0] main demux meta debug: TIMER module_need() : 0.294 ms - Total 0.294 ms / 1 intvls (Avg 0.294 ms)                
[0x8856018] main input debug: `file:///D/MVI_.MOV' successfully opened                                                  
[0x885a930] mp4 demux debug: track[Id 0x1] using Sync Sample Box (stss)                                                     
[0x885a930] mp4 demux debug: stts gives 0 --> 0 (sample number)                                                             
[0x885a930] mp4 demux debug: track[Id 0x2] does not provide Sync Sample Box (stss)                                          
[0x8856018] main input debug: Buffering 0%                                                                                  
[0x8856018] main input debug: switching to async mode                                                                       
[0x8868748] main stream output debug: adding a new sout input (sout_input:0xb70005f8)                                       
[0x885cd10] stream_out_transcode stream out debug: creating video transcoding from fcc=`h264' to fcc=`h264'                 
[0xb7000e58] main generic debug: looking for decoder module: 26 candidates                                                  
[0x8856018] main input debug: Buffering 0%                                                                                  
[0x8856018] main input debug: Buffering 33%                                                                                 
[0x8856018] main input debug: Buffering 66%                                                                                 
[0x8856018] main input debug: Buffering 100%                                                                                
[0xb7000e58] avcodec generic debug: libavcodec initialized (interface 0x353d64)                                             
[0x8856018] main input debug: Stream buffering done (400 ms in 29 ms)                                                       
[0xb7000e58] avcodec generic debug: trying to use direct rendering                                                          
[0xb7000e58] avcodec generic debug: allowing 3 thread(s) for decoding                                                       
[0xb7000e58] avcodec generic warning: threaded frame decoding is not compatible with ffmpeg-hw, disabled                    
[0xb7000e58] avcodec generic debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started                                      
[0xb7000e58] avcodec generic debug: using slice thread mode with 3 threads                                                  
[0xb7000e58] main generic debug: using decoder module "avcodec"                                                             
[0xb7000e58] main generic debug: TIMER module_need() : 28.628 ms - Total 28.628 ms / 1 intvls (Avg 28.628 ms)               
[0xb70011b0] main encoder debug: looking for encoder module: 10 candidates                                                  
[0xb70011b0] x264 encoder debug: version x264 0.122.X                                                                       
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowCTZ SlowAtom                                           
x264 [info]: profile High, level 2.1                                                                                        
[0xb70011b0] main encoder debug: using encoder module "x264"                                                                
[0xb70011b0] main encoder debug: TIMER module_need() : 41.762 ms - Total 41.762 ms / 1 intvls (Avg 41.762 ms)               
[0xb70011b0] main encoder debug: removing module "x264"                                                                     
[0xb70011b0] x264 encoder debug: framecount still in libx264 buffer: 0                                                      
[0x8856018] main input debug: Decoder buffering done in 47 ms                                                               
[0xb7000e58] avcodec generic debug: Available decoder output format 61 (Unknown)                                            
[0xb7000e58] avcodec generic debug: Available decoder output format 53 (PIX_FMT_VAAPI_VLD)                                  
[0xb7000e58] avcodec generic debug: Trying VA API                                                                           
libva: libva version 0.31.1-sds1                                                                                            
libva: va_getDriverName() returns 0                                                                                         
libva: Trying to open /usr/lib/va/drivers/psb_drv_video.so                                                                  
libva: va_openDriver() returns 0                                                                                            
[0xb7000e58] avcodec generic: Using VA API version 0.31 for hardware decoding.                                              
[0x885cd10] stream_out_transcode stream out debug: decoder aspect is 1.777778:1                                             
[0x885cd10] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1                                        
[0x885cd10] stream_out_transcode stream out debug: scaled pixel aspect is 1.333333:1                                        
[0x885cd10] stream_out_transcode stream out debug: source 1280x720, destination 384x288                                     
[0x885cd10] stream_out_transcode stream out debug: encoder aspect is 1536:864                                               
[0x8de6ef8] main filter debug: looking for video filter2 module: 18 candidates                                              
[0x8de6ef8] swscale filter debug: 1280x720 chroma: YV12 -> 384x288 chroma: I420 with scaling using Bicubic (good quality)   
[0x8de6ef8] main filter debug: using video filter2 module "swscale"                                                         
[0x8de6ef8] main filter debug: TIMER module_need() : 11.087 ms - Total 11.087 ms / 1 intvls (Avg 11.087 ms)                 
[0x885cd10] main stream out debug: Filter 'Swscale' (0x8de6ef8) appended to chain                                           
[0x885cd10] stream_out_transcode stream out debug: destination (after video filters) 384x288                                
[0xb70011b0] main encoder debug: looking for encoder module: 10 candidates                                                  
[0xb70011b0] x264 encoder debug: version x264 0.122.X                                                                       
x264 [info]: using SAR=4/3
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowCTZ SlowAtom
x264 [info]: profile High, level 2.1
[0xb70011b0] main encoder debug: using encoder module "x264"
[0xb70011b0] main encoder debug: TIMER module_need() : 41.157 ms - Total 41.157 ms / 1 intvls (Avg 41.157 ms)
[0x8854688] main mux debug: adding a new input
[0x8854688] avformat mux debug: adding input
[0x8868748] main stream output debug: adding a new sout input (sout_input:0x8df6d90)
[0x885cd10] stream_out_transcode stream out debug: creating audio transcoding from fcc=`s16l' to fcc=`vorb'
[0x925d960] main generic debug: looking for decoder module: 26 candidates
[0x925d960] araw generic debug: samplerate:44100Hz channels:1 bits/sample:16
[0x925d960] main generic debug: using decoder module "araw"
[0x925d960] main generic debug: TIMER module_need() : 1.012 ms - Total 1.012 ms / 1 intvls (Avg 1.012 ms)
[0x8de80f0] main encoder debug: looking for encoder module: 10 candidates
[0x8de80f0] main encoder debug: using encoder module "vorbis"
[0x8de80f0] main encoder debug: TIMER module_need() : 63.995 ms - Total 63.995 ms / 1 intvls (Avg 63.995 ms)
[0x885cd10] stream_out_transcode stream out debug: Looking for filter (s16l->f32l, channels 1->1, rate 44100->44100)
[0x92618c8] main filter debug: looking for audio filter module: 13 candidates
[0x92618c8] audio_format filter debug: s16l->f32l, bits per sample: 16->32
[0x92618c8] main filter debug: using audio filter module "audio_format"
[0x92618c8] main filter debug: TIMER module_need() : 5.017 ms - Total 5.017 ms / 1 intvls (Avg 5.017 ms)
[0x885cd10] main stream out debug: Filter 'audio_format' (0x92618c8) appended to chain
[0x885cd10] stream_out_transcode stream out debug: Got complete audio filter chain
[0x8854688] main mux debug: adding a new input
[0x8854688] avformat mux debug: adding input
[0x8854688] avformat mux debug: writing header

No comments:

Post a Comment

I appreciate comments. Feel free to write anything you wish. Selected comments and questions will be published.