[FFmpeg-user] FW: MOOV Atom problem capturing RSTP‏ / x264

juha s. salmjuh at hotmail.com
Fri Dec 30 14:49:30 CET 2011









Hi

I noticed that file that doesn't work is not ended normal way and here is last 30 lines from LOG of file which is failed:
[libx264 @ 0x2a8b6e0] frame=170408 QP=17.95 NAL=2 Slice:P Poc:316 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170409 QP=17.95 NAL=2 Slice:P Poc:318 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170410 QP=17.95 NAL=2 Slice:P Poc:320 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170411 QP=17.95 NAL=2 Slice:P Poc:322 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170412 QP=17.95 NAL=2 Slice:P Poc:324 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170413 QP=17.95 NAL=2 Slice:P Poc:326 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170414 QP=17.95 NAL=2 Slice:P Poc:328 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170415 QP=17.95 NAL=2 Slice:P Poc:330 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170416 QP=17.95 NAL=2 Slice:P Poc:332 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170417 QP=17.95 NAL=2 Slice:P Poc:334 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170418 QP=17.95 NAL=2 Slice:P Poc:336 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170419 QP=17.95 NAL=2 Slice:P Poc:338 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170420 QP=17.95 NAL=2 Slice:P Poc:340 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170421 QP=17.95 NAL=2 Slice:P Poc:342 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170422 QP=17.95 NAL=2 Slice:P Poc:344 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170423 QP=17.95 NAL=2 Slice:P Poc:346 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170424 QP=17.95 NAL=2 Slice:P Poc:348 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170425 QP=17.95 NAL=2 Slice:P Poc:350 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170426 QP=17.95 NAL=2 Slice:P Poc:352 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170427 QP=17.95 NAL=2 Slice:P Poc:354 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170428 QP=17.95 NAL=2 Slice:P Poc:356 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170429 QP=17.95 NAL=2 Slice:P Poc:358 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170430 QP=17.95 NAL=2 Slice:P Poc:360 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170431 QP=17.95 NAL=2 Slice:P Poc:362 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170432 QP=17.95 NAL=2 Slice:P Poc:364 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170433 QP=17.95 NAL=2 Slice:P Poc:366 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170434 QP=17.95 NAL=2 Slice:P Poc:368 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170435 QP=17.95 NAL=2 Slice:P Poc:370 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170436 QP=17.95 NAL=2 Slice:P Poc:372 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170437 QP=17.95 NAL=2 Slice:P Poc:374 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170438 QP=17.95 NAL=2 Slice:P Poc:376 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170439 QP=17.95 NAL=2 Slice:P Poc:378 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170440 QP=17.95 NAL=2 Slice:P Poc:380 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170441 QP=17.95 NAL=2 Slice:P Poc:382 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170442 QP=17.95 NAL=2 Slice:P Poc:384 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170443 QP=17.95 NAL=2 Slice:P Poc:386 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170444 QP=17.95 NAL=2 Slice:P Poc:388 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170445 QP=17.95 NAL=2 Slice:P Poc:390 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170446 QP=17.95 NAL=2 Slice:P Poc:392 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170447 QP=17.95 NAL=2 Slice:P Poc:394 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170448 QP=17.95 NAL=2 Slice:P Poc:396 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170449 QP=17.95 NAL=2 Slice:P Poc:398 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170450 QP=17.95 NAL=2 Slice:P Poc:400 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170451 QP=17.95 NAL=2 Slice:P Poc:402 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170452 QP=17.95 NAL=2 Slice:P Poc:404 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170453 QP=17.95 NAL=2 Slice:P Poc:406 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170454 QP=17.95 NAL=2 Slice:P Poc:408 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170455 QP=17.95 NAL=2 Slice:P Poc:410 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170456 QP=17.95 NAL=2 Slice:P Poc:412 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170457 QP=17.95 NAL=2 Slice:P Poc:414 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170458 QP=17.95 NAL=2 Slice:P Poc:416 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170459 QP=17.95 NAL=2 Slice:P Poc:418 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170460 QP=17.95 NAL=2 Slice:P Poc:420 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170461 QP=17.95 NAL=2 Slice:P Poc:422 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170462 QP=17.95 NAL=2 Slice:P Poc:424 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170463 QP=17.95 NAL=2 Slice:P Poc:426 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170464 QP=17.95 NAL=2 Slice:P Poc:428 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170465 QP=17.95 NAL=2 Slice:P Poc:430 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170466 QP=17.95 NAL=2 Slice:P Poc:432 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170467 QP=17.95 NAL=2 Slice:P Poc:434 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170468 QP=17.95 NAL=2 Slice:P Poc:436 I:0    P:5    SKIP:915  size=37 bytes[libx264 @ 0x2a8b6e0] frame=170469 QP=17.95 NAL=2 Slice:P Poc:438 I:0    P:5    SKIP:915  size=37 bytes




Files which are OK, is ended with summary of encoding:
[libx264 @ 0x24c4b00] frame= 124 QP=21.65 NAL=0 Slice:B Poc:246 I:69   P:440  SKIP:395  size=4547 bytes[libx264 @ 0x24c4b00] frame= 125 QP=17.96 NAL=2 Slice:P Poc:250 I:2    P:176  SKIP:742  size=466 bytes[libx264 @ 0x24c4b00] frame= 126 QP=16.51 NAL=2 Slice:P Poc:252 I:0    P:55   SKIP:865  size=150 bytesframe=  127 fps= 30 q=-1.0 Lsize=     920kB time=00:00:05.00 bitrate=1506.8kbits/s dup=5 drop=0video:834kB audio:80kB global headers:0kB muxing overhead 0.583887%[libx264 @ 0x24c4b00] frame I:2     Avg QP: 5.69  size: 13375[libx264 @ 0x24c4b00] frame P:48    Avg QP:18.04  size:  9275[libx264 @ 0x24c4b00] frame B:77    Avg QP:21.63  size:  4955[libx264 @ 0x24c4b00] consecutive B-frames: 15.0%  7.9% 14.2% 63.0%[libx264 @ 0x24c4b00] mb I  I16..4: 67.1%  0.0% 32.9%[libx264 @ 0x24c4b00] mb P  I16..4:  8.7%  0.0% 14.0%  P16..4: 24.5% 12.9%  3.3%  0.0%  0.0%    skip:36.6%[libx264 @ 0x24c4b00] mb B  I16..4:  1.9%  0.0%  5.7%  B16..8: 34.3% 13.2%  2.4%  direct: 4.5%  skip:38.0%  L0:38.5% L1:44.3% BI:17.2%[libx264 @ 0x24c4b00] coded y,uvDC,uvAC intra: 60.8% 59.0% 37.7% inter: 17.4% 16.7% 4.2%[libx264 @ 0x24c4b00] i16 v,h,dc,p: 53% 23% 14% 11%[libx264 @ 0x24c4b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 21% 17%  5%  6%  6%  6%  6%  7%[libx264 @ 0x24c4b00] i8c dc,h,v,p: 38% 27% 24% 11%[libx264 @ 0x24c4b00] Weighted P-Frames: Y:0.0% UV:0.0%[libx264 @ 0x24c4b00] ref P L0: 71.3%  6.9% 16.4%  5.4%[libx264 @ 0x24c4b00] ref B L0: 90.1%  8.3%  1.6%[libx264 @ 0x24c4b00] ref B L1: 94.3%  5.7%[libx264 @ 0x24c4b00] kb/s:1344.08Received signal 15: terminating.





So as you can see, I'm using "kill PID" for stopping the job. Why this usually works but sometimes makes unworking videofile ?

Cheers,Jii 





From: salmjuh at hotmail.com
To: ffmpeg-user at ffmpeg.org
Subject: MOOV Atom problem capturing RSTP‏ / x264 
Date: Fri, 30 Dec 2011 11:30:57 +0000







HiWhen recording RTSP feed some files are corrupted and some files work fine. Any ideas what might cause this behavior ??ffmpeg -i rtsp://10.10.22.31:8555 -aspect 16:9 -copyts -vcodec libx264 -b_strategy 2 -flags2 +bpyramid -coder 1 -flags +loop -deblockalpha 0 -deblockbeta 0 -flags2 +wpred -me_method hex -subq 8 -keyint_min 20 -crf 17 -threads 0 -y /tmp/test.mp4root at CVod1:~# ffmpeg -i /tmp/test.mp4ffmpeg version N-31684-g6071e4d, Copyright (c) 2000-2011 the FFmpeg developers  built on Dec 29 2011 09:01:07 with gcc 4.6.1  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx  libavutil      51. 33.100 / 51. 33.100  libavcodec     53. 49.100 / 53. 49.100  libavformat    53. 29.100 / 53. 29.100  libavdevice    53.  4.100 / 53.  4.100  libavfilter     2. 55.100 /  2. 55.100  libswscale      2.  1.100 /  2.  1.100  libswresample   0.  5.100 /  0.  5.100  libpostproc    51.  2.100 / 51.  2.100[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1a3b7e0] moov atom not found/tmp/test.mp4: Operation not permittedroot at Vod1:~# x264 -Vx264 0.120.2120 0c7dab9(libswscale 2.1.100)(libavformat 53.29.100)built on Dec 29 2011, gcc: 4.6.1configuration: --bit-depth=8 --chroma-format=allx264 license: GPL version 2 or laterMoutsly files are OK so hope that some one can help with this.Hope someone can help me with this.Cheers,Jii 		 	   		   		 	   		   		 	   		  


More information about the ffmpeg-user mailing list