[FFmpeg-user] ffmpeg - equivalent of mencoder's immediatemode=0

Mike F paziu at yahoo.com
Sun Jul 8 21:01:44 CEST 2012


> 

> Please post complete, uncut output here on the mailing list, 
> external resources tend to disappear one day.
> 
> Carl Eugen
> 
> _______________________________________________

This is what I understand for an "uncut output":  ( latest git with --enable-debug )
================================================================
# ffmpeg -v debug -y -standard NTSC -f video4linux2 -i /dev/video0 -f alsa -i hw:1,0 -acodec ac3 -ar 48000 -vcodec libx264 out.mp4
ffmpeg version N-42344-g99622f6 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul  8 2012 13:42:36 with gcc 4.5.2
  configuration: --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-gpl --enable-nonfree --enable-libpulse --enable-libv4l2 --enable-x11grab --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-avfilter --enable-debug --disable-static --cpu=core2 --enable-sram
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  0.101 /  3.  0.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[video4linux2,v4l2 @ 0xdaa260] [3]Capabilities: 5020041
[video4linux2,v4l2 @ 0xdaa260] Querying the device for the current frame size                                                                                                                          
[video4linux2,v4l2 @ 0xdaa260] Setting frame size to 720x480                                                                                                                                           
[video4linux2,v4l2 @ 0xdaa260] The V4L2 driver using the interlaced modeThe V4L2 driver set input_id: 0, input: Composite1                                                                             
[video4linux2,v4l2 @ 0xdaa260] The V4L2 driver set standard: NTSC                                                                                                                                      
[video4linux2,v4l2 @ 0xdaa260] The V4L2 driver set standard: NTSC, id: 45056                                                                                                                           
[video4linux2,v4l2 @ 0xdaa260] All info found                                                                                                                                                          
[video4linux2,v4l2 @ 0xdaa260] Estimating duration from bitrate, this may be inaccurate                                                                                                                
Input #0, video4linux2,v4l2, from '/dev/video0':                                                                                                                                                       
  Duration: N/A, start: 1341773280.388190, bitrate: 124291 kb/s
    Stream #0:0, 1, 1/1000000: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480, 1001/30000, 124291 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
[alsa @ 0xdaada0] All info found
[alsa @ 0xdaada0] Estimating duration from bitrate, this may be inaccurate                                                                                                                             
Guessed Channel Layout for  Input Stream #1.0 : stereo                                                                                                                                                 
Input #1, alsa, from 'hw:1,0':                                                                                                                                                                         
  Duration: N/A, start: 1341773280.401027, bitrate: 1536 kb/s
    Stream #1:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[buffer @ 0xda6b80] Setting entry with key 'video_size' to value '720x480'
[buffer @ 0xda6b80] Setting entry with key 'pix_fmt' to value '0'                                                                                                                                      
[buffer @ 0xda6b80] Setting entry with key 'time_base' to value '1/1000000'                                                                                                                            
[buffer @ 0xda6b80] Setting entry with key 'pixel_aspect' to value '0/1'                                                                                                                               
[buffer @ 0xda6b80] Setting entry with key 'sws_param' to value 'flags=2'                                                                                                                              
[buffer @ 0xda6b80] Setting entry with key 'frame_rate' to value '30000/1001'                                                                                                                          
[graph 0 input from stream 0:0 @ 0xda9fe0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 fr:30000/1001 sar:0/1 sws_param:flags=2                                                                             
[output stream 0:0 @ 0xdaa040] No opaque field provided
[abuffer @ 0xdbdb20] Setting entry with key 'time_base' to value '1/48000'                                                                                                                             
[abuffer @ 0xdbdb20] Setting entry with key 'sample_rate' to value '48000'                                                                                                                             
[abuffer @ 0xdbdb20] Setting entry with key 'sample_fmt' to value 's16'                                                                                                                                
[abuffer @ 0xdbdb20] Setting entry with key 'channel_layout' to value '0x3'                                                                                                                            
[graph 1 input from stream 1:0 @ 0xda6ac0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3                                                                                                      
[aformat @ 0xdbd960] Setting entry with key 'sample_fmts' to value 'flt'
[aformat @ 0xdbd960] Setting entry with key 'sample_rates' to value '48000'                                                                                                                            
[aformat @ 0xdbd960] Setting entry with key 'channel_layouts' to value '0x4,0x3,0x103,0x7,0x603,0x33,0x107,0x607,0x37,0xc,0xb,0x10b,0xf,0x60b,0x3b,0x10f,0x60f,0x3f'                                   
[audio format for output stream 0:1 @ 0xda7b20] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'              
[auto-inserted resampler 0 @ 0xdb8920] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:flt r:48000Hz                                                                                                    
[libx264 @ 0xda5b60] using mv_range_thread = 24
[libx264 @ 0xda5b60] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64                                                                                                            
[libx264 @ 0xda5b60] profile High, level 3.0
[libx264 @ 0xda5b60] 264 - core 122 r2184 5c85e0a - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf54.15.102
    Stream #0:0, 0, 1/30000: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x480, 1001/30000, q=-1--1, 30k tbn, 29.97 tbc
    Stream #0:1, 0, 1/48000: Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, stereo, flt, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
  Stream #1:0 -> #0:1 (pcm_s16le -> ac3)
Press [q] to stop, [?] for help
[libx264 @ 0xda5b60] using mv_range_thread = 24
frame=   0 QP=22.17 NAL=3 Slice:I Poc:0   I:1350 P:0    SKIP:0    size=47893 bytes                                                                                                                     
[libx264 @ 0xda5b60] frame=   1 QP=21.31 NAL=2 Slice:P Poc:8   I:19   P:1000 SKIP:331  size=10716 bytes                                                                                                
[libx264 @ 0xda5b60] frame=   2 QP=29.25 NAL=2 Slice:B Poc:4   I:0    P:155  SKIP:1195 size=241 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=   3 QP=29.94 NAL=0 Slice:B Poc:2   I:0    P:489  SKIP:839  size=2013 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=   4 QP=30.34 NAL=0 Slice:B Poc:6   I:0    P:213  SKIP:1119 size=1268 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=   5 QP=21.39 NAL=2 Slice:P Poc:16  I:1    P:632  SKIP:717  size=4010 bytes                                                                                                 
frame=   6 QP=27.38 NAL=2 Slice:B Poc:12  I:0    P:330  SKIP:1016 size=326 bytess                                                                                                                      
[libx264 @ 0xda5b60] frame=   7 QP=30.67 NAL=0 Slice:B Poc:10  I:0    P:369  SKIP:967  size=1476 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=   8 QP=31.06 NAL=0 Slice:B Poc:14  I:0    P:242  SKIP:1090 size=1286 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=   9 QP=21.22 NAL=2 Slice:P Poc:24  I:0    P:651  SKIP:699  size=3811 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  10 QP=27.79 NAL=2 Slice:B Poc:20  I:0    P:305  SKIP:1041 size=316 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  11 QP=30.33 NAL=0 Slice:B Poc:18  I:0    P:324  SKIP:1011 size=1392 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  12 QP=30.80 NAL=0 Slice:B Poc:22  I:0    P:245  SKIP:1091 size=1304 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  13 QP=21.27 NAL=2 Slice:P Poc:32  I:0    P:742  SKIP:608  size=3775 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  14 QP=27.22 NAL=2 Slice:B Poc:28  I:0    P:360  SKIP:986  size=400 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  15 QP=30.82 NAL=0 Slice:B Poc:26  I:0    P:326  SKIP:1012 size=1535 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  16 QP=30.46 NAL=0 Slice:B Poc:30  I:0    P:307  SKIP:1031 size=1433 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  17 QP=21.24 NAL=2 Slice:P Poc:40  I:1    P:689  SKIP:660  size=3900 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  18 QP=28.24 NAL=2 Slice:B Poc:36  I:0    P:285  SKIP:1065 size=311 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  19 QP=30.61 NAL=0 Slice:B Poc:34  I:0    P:315  SKIP:1024 size=1413 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  20 QP=30.99 NAL=0 Slice:B Poc:38  I:0    P:261  SKIP:1073 size=1330 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  21 QP=21.38 NAL=2 Slice:P Poc:48  I:0    P:654  SKIP:696  size=3822 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  22 QP=23.32 NAL=2 Slice:B Poc:44  I:0    P:324  SKIP:1026 size=208 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  23 QP=30.69 NAL=0 Slice:B Poc:42  I:0    P:280  SKIP:1055 size=1378 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  24 QP=31.08 NAL=0 Slice:B Poc:46  I:0    P:252  SKIP:1086 size=1369 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  25 QP=21.69 NAL=2 Slice:P Poc:56  I:0    P:602  SKIP:748  size=3409 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  26 QP=28.51 NAL=2 Slice:B Poc:52  I:0    P:321  SKIP:1027 size=300 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  27 QP=30.93 NAL=0 Slice:B Poc:50  I:0    P:249  SKIP:1086 size=1300 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  28 QP=31.24 NAL=0 Slice:B Poc:54  I:0    P:266  SKIP:1063 size=1326 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  29 QP=21.87 NAL=2 Slice:P Poc:64  I:10   P:649  SKIP:691  size=4246 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  30 QP=26.50 NAL=2 Slice:B Poc:60  I:0    P:268  SKIP:1082 size=393 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  31 QP=30.87 NAL=0 Slice:B Poc:58  I:0    P:309  SKIP:1021 size=1430 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  32 QP=31.05 NAL=0 Slice:B Poc:62  I:0    P:287  SKIP:1044 size=1517 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  33 QP=21.72 NAL=2 Slice:P Poc:72  I:0    P:584  SKIP:766  size=3643 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  34 QP=28.57 NAL=2 Slice:B Poc:68  I:0    P:280  SKIP:1070 size=388 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  35 QP=31.34 NAL=0 Slice:B Poc:66  I:0    P:278  SKIP:1060 size=1367 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  36 QP=31.13 NAL=0 Slice:B Poc:70  I:0    P:339  SKIP:1000 size=1464 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  37 QP=22.09 NAL=2 Slice:P Poc:80  I:0    P:511  SKIP:839  size=3615 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  38 QP=28.23 NAL=2 Slice:B Poc:76  I:0    P:244  SKIP:1102 size=480 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  39 QP=31.11 NAL=0 Slice:B Poc:74  I:0    P:239  SKIP:1103 size=1271 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  40 QP=31.01 NAL=0 Slice:B Poc:78  I:0    P:305  SKIP:1030 size=1520 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  41 QP=22.31 NAL=2 Slice:P Poc:88  I:0    P:463  SKIP:887  size=3044 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  42 QP=28.55 NAL=2 Slice:B Poc:84  I:0    P:230  SKIP:1114 size=299 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  43 QP=31.15 NAL=0 Slice:B Poc:82  I:0    P:247  SKIP:1076 size=1723 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  44 QP=30.91 NAL=0 Slice:B Poc:86  I:0    P:262  SKIP:1073 size=1211 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  45 QP=22.79 NAL=2 Slice:P Poc:96  I:0    P:409  SKIP:941  size=2402 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  46 QP=28.23 NAL=2 Slice:B Poc:92  I:0    P:254  SKIP:1095 size=251 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  47 QP=30.95 NAL=0 Slice:B Poc:90  I:0    P:232  SKIP:1102 size=1232 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  48 QP=31.13 NAL=0 Slice:B Poc:94  I:0    P:251  SKIP:1088 size=1246 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  49 QP=23.34 NAL=2 Slice:P Poc:104 I:0    P:341  SKIP:1009 size=1860 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  50 QP=28.73 NAL=2 Slice:B Poc:100 I:0    P:162  SKIP:1186 size=314 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  51 QP=31.31 NAL=0 Slice:B Poc:98  I:0    P:251  SKIP:1086 size=1288 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  52 QP=30.79 NAL=0 Slice:B Poc:102 I:0    P:253  SKIP:1088 size=1298 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  53 QP=23.92 NAL=2 Slice:P Poc:112 I:0    P:253  SKIP:1097 size=1446 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  54 QP=26.70 NAL=2 Slice:B Poc:108 I:0    P:125  SKIP:1225 size=222 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  55 QP=31.15 NAL=0 Slice:B Poc:106 I:0    P:224  SKIP:1113 size=1234 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  56 QP=31.09 NAL=0 Slice:B Poc:110 I:0    P:226  SKIP:1110 size=1299 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  57 QP=25.32 NAL=2 Slice:P Poc:120 I:0    P:110  SKIP:1240 size=776 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  58 QP=29.53 NAL=2 Slice:B Poc:116 I:0    P:42   SKIP:1307 size=124 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  59 QP=30.93 NAL=0 Slice:B Poc:114 I:0    P:225  SKIP:1119 size=1218 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  60 QP=31.10 NAL=0 Slice:B Poc:118 I:0    P:224  SKIP:1112 size=1274 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  61 QP=29.59 NAL=2 Slice:P Poc:126 I:0    P:348  SKIP:1002 size=1618 bytes                                                                                                 
[libx264 @ 0xda5b60] frame=  62 QP=30.05 NAL=2 Slice:B Poc:124 I:0    P:230  SKIP:1119 size=252 bytes                                                                                                  
[libx264 @ 0xda5b60] frame=  63 QP=30.70 NAL=0 Slice:B Poc:122 I:0    P:301  SKIP:1044 size=690 bytes                                                                                                  
frame=   64 fps= 28 q=-1.0 Lsize=     201kB time=00:00:02.06 bitrate= 797.2kbits/s                                                                                                                     
video:148kB audio:50kB subtitle:0 global headers:0kB muxing overhead 1.517144%
[libx264 @ 0xda5b60] frame I:1     Avg QP:22.17  size: 47893
[libx264 @ 0xda5b60] frame P:16    Avg QP:22.65  size:  3506
[libx264 @ 0xda5b60] frame B:47    Avg QP:29.88  size:   999
[libx264 @ 0xda5b60] consecutive B-frames:  1.6%  0.0%  4.7% 93.8%
[libx264 @ 0xda5b60] mb I  I16..4: 10.8% 61.4% 27.8%
[libx264 @ 0xda5b60] mb P  I16..4:  0.0%  0.1%  0.0%  P16..4: 32.1%  3.6%  4.3%  0.0%  0.0%    skip:59.9%
[libx264 @ 0xda5b60] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 17.4%  1.1%  0.3%  direct: 1.6%  skip:79.5%  L0:26.3% L1:72.4% BI: 1.4%
[libx264 @ 0xda5b60] 8x8 transform intra:61.5% inter:75.8%
[libx264 @ 0xda5b60] coded y,uvDC,uvAC intra: 86.3% 85.3% 65.9% inter: 5.2% 12.4% 2.4%
[libx264 @ 0xda5b60] i16 v,h,dc,p: 51% 29%  3% 17%
[libx264 @ 0xda5b60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 21% 12%  9%  8%  5%  9%  8% 12%
[libx264 @ 0xda5b60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 25% 10%  9%  9%  6%  9%  8% 11%
[libx264 @ 0xda5b60] i8c dc,h,v,p: 31% 34% 24% 10%
[libx264 @ 0xda5b60] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0xda5b60] ref P L0: 76.9%  3.8% 15.8%  3.6%
[libx264 @ 0xda5b60] ref B L0: 85.1% 14.7%  0.2%
[libx264 @ 0xda5b60] ref B L1: 93.9%  6.1%
[libx264 @ 0xda5b60] kb/s:565.37
================================================================================================================


I also noticed one more interesting thing:
If I capture just the audio, after system reboot or plugging Dazzle into USB, I always get audio the first and n'th time, but as soon as I issue ffmpeg to capture A+V, I get no audio ( nothing changed ), but after that, I cannot capture JUST audio anymore... the output of "-v debug" in all cases is the same for audio:
==============================================
# ffmpeg -v debug -y -f alsa -i hw:1,0 out.ac3                               
ffmpeg version N-42344-g99622f6 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul  8 2012 13:42:36 with gcc 4.5.2
  configuration: --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-gpl --enable-nonfree --enable-libpulse --enable-libv4l2 --enable-x11grab --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-avfilter --enable-debug --disable-static --cpu=core2 --enable-sram
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  0.101 /  3.  0.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[alsa @ 0xfe0160] All info found
[alsa @ 0xfe0160] Estimating duration from bitrate, this may be inaccurate                                                                                                                            
Guessed Channel Layout for  Input Stream #0.0 : stereo                                                                                                                                                
Input #0, alsa, from 'hw:1,0':                                                                                                                                                                        
  Duration: N/A, start: 1341773846.003247, bitrate: 1536 kb/s
    Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[abuffer @ 0xfdfe80] Setting entry with key 'time_base' to value '1/48000'
[abuffer @ 0xfdfe80] Setting entry with key 'sample_rate' to value '48000'                                                                                                                            
[abuffer @ 0xfdfe80] Setting entry with key 'sample_fmt' to value 's16'                                                                                                                               
[abuffer @ 0xfdfe80] Setting entry with key 'channel_layout' to value '0x3'                                                                                                                           
[graph 0 input from stream 0:0 @ 0xfdf940] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3                                                                                                     
[aformat @ 0xfe0060] Setting entry with key 'sample_fmts' to value 'flt'
[aformat @ 0xfe0060] Setting entry with key 'channel_layouts' to value '0x4,0x3,0x103,0x7,0x603,0x33,0x107,0x607,0x37,0xc,0xb,0x10b,0xf,0x60b,0x3b,0x10f,0x60f,0x3f'                                  
[audio format for output stream 0:0 @ 0xfdbfc0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'             
[auto-inserted resampler 0 @ 0xfe3ec0] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:flt r:48000Hz                                                                                                   
Output #0, ac3, to 'out.ac3':
  Metadata:
    encoder         : Lavf54.15.102
    Stream #0:0, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, flt, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> ac3)
Press [q] to stop, [?] for help
size=      58kB time=00:00:02.45 bitrate= 192.6kbits/s    
video:0kB audio:58kB subtitle:0 global headers:0kB muxing overhead 0.000000%
================================================================
so making ffmpeg access v4l2 messes up something in sound... but mplayer does not have a problem.... ( forceaudio + immediatemode=0 )

Thank you,

Mike


More information about the ffmpeg-user mailing list