Hi,
I tried that code, but did not change anything, still having this same problem.
There are two variants of the problem,
1) it shows a couple of those clipping lines and hangs endless and file grows and grows untill i kill the process
2) it will show a lot of those clipping lines scrolling on the screen and ffmpeg does fininsh encoding, but the file is useless.
here is the ffmpeg output:
- Code: Select all
ffmpeg version N-40558-g2a793ff Copyright (c) 2000-2012 the FFmpeg developers
built on May 10 2012 21:32:49 with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
configuration: --enable-libfaac --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-gpl --enable-nonfree
libavutil 51. 50.100 / 51. 50.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 4.100 / 54. 4.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.105 / 2. 72.105
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
[mpeg @ 0x9a4e3c0] max_analyze_duration 5000000 reached at 5015467
Input #0, mpeg, from '/home/tmp/movies/PlYt2l3NCHFzjyNoX16GolA9jmd5vqxS.mpg':
Duration: 26:47:27.73, start: 0.622000, bitrate: 16 kb/s
Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1452 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 128 kb/s
[buffer @ 0x9a56540] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:flags=2
[buffersink @ 0x9a4c320] No opaque field provided
[scale @ 0x9a4c580] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:yuv420p sar:1/1 flags:0x4
Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt'
[libx264 @ 0x9a54fa0] using SAR=1/1
[libx264 @ 0x9a54fa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x9a54fa0] profile High, level 3.0
[libx264 @ 0x9a54fa0] 264 - core 124 r2197 69a0443 - 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=abr mbtree=1 bitrate=400 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/home/tmp/content/movies/7762_tmp.mp4':
Metadata:
encoder : Lavf54.4.100
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 400 kb/s, 25 tbn, 25 tbc
Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo, flt, 48 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg1video -> libx264)
Stream #0:1 -> #0:1 (mp2 -> aac)
Press [q] to stop, [?] for help
[aac @ 0x9a55640] Que input is backward in time
Last message repeated 2 times
[mp4 @ 0x9a54ac0] Audio timestamp 2147483392 < 2147483521 invalid, cliping
[aac @ 0x9a55640] Que input is backward in time
[mp4 @ 0x9a54ac0] Audio timestamp 2147483264 < 2147483522 invalid, cliping
[aac @ 0x9a55640] Que input is backward in time
[mp4 @ 0x9a54ac0] Audio timestamp 2147483136 < 2147483523 invalid, cliping
[aac @ 0x9a55640] Que input is backward in time
[mp4 @ 0x9a54ac0] Audio timestamp 2147483008 < 2147483524 invalid, cliping
[mp4 @ 0x9a54ac0] Audio timestamp 2147482880 < 2147483525 invalid, cliping
[aac @ 0x9a55640] Que input is backward in time
[mp4 @ 0x9a54ac0] Audio timestamp 2147482752 < 2147483526 invalid, cliping
...and here it hangs and file grows and grows, till i kill ffmpeg.
let me know...
Thank you