[FFmpeg-user] Ffmpeg Concat Images failure

Vivek Jain vivek.jain at mindtickle.com
Sat Jul 9 15:13:34 EEST 2016


Hey Cley,

PFB entire output. The duration thing has been working...

ffmpeg -y -safe 0 -i input_orig.txt -i song.mp3 -c:a copy -pix_fmt yuv444p
-shortest mashup.mp4

ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers

  built with Apple LLVM version 7.3.0 (clang-703.0.29)

  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.2 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags=
--enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid
--enable-vda

  libavutil      55. 17.103 / 55. 17.103

  libavcodec     57. 24.102 / 57. 24.102

  libavformat    57. 25.100 / 57. 25.100

  libavdevice    57.  0.101 / 57.  0.101

  libavfilter     6. 31.100 /  6. 31.100

  libavresample   3.  0.  0 /  3.  0.  0

  libswscale      4.  0.100 /  4.  0.100

  libswresample   2.  0.101 /  2.  0.101

  libpostproc    54.  0.100 / 54.  0.100

[mjpeg @ 0x7fe5ac018c00] Changing bps to 8

Input #0, concat, from 'input_orig.txt':

  Duration: 00:00:26.00, start: 0.000000, bitrate: 0 kb/s

    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
3000x2250 [SAR 72:72 DAR 4:3], 25 tbr, 25 tbn, 25 tbc

[mp3 @ 0x7fe5ac008000] Skipping 0 bytes of junk at 225664.

[mjpeg @ 0x7fe5ac010600] Changing bps to 8

Input #1, mp3, from 'song.mp3':

  Metadata:

    title           : Tumse Milke Dil Ka (Remix)    ::www.RAAG.ME::

    artist          : Sonu Nigam

    album           : Kar Le Kar Le Koi Dhamaal    ::www.RAAG.ME::

    genre           : Hindi

    track           : 11

    date            : 2007

  Duration: 00:05:33.96, start: 0.023021, bitrate: 133 kb/s

    Stream #1:0: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s

    Metadata:

      encoder         : LAME3.96r

    Stream #1:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
800x800 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc

    Metadata:

      title           : FRONT_COVER

      comment         : Other file icon

[swscaler @ 0x7fe5ad800600] deprecated pixel format used, make sure you did
set range correctly

[libx264 @ 0x7fe5ac012800] using SAR=1/1

[libx264 @ 0x7fe5ac012800] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2

[libx264 @ 0x7fe5ac012800] profile High 4:4:4 Predictive, level 5.1, 4:4:4
8-bit

[libx264 @ 0x7fe5ac012800] 264 - core 148 r2668 fd2c324 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2016 - 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=4 threads=12
lookahead_threads=2 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 'mashup.mp4':

  Metadata:

    encoder         : Lavf57.25.100

    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p,
3000x2250 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc

    Metadata:

      encoder         : Lavc57.24.102 libx264

    Side data:

      unknown side data type 10 (24 bytes)

    Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 48000 Hz, stereo, 128
kb/s

    Metadata:

      encoder         : LAME3.96r

Stream mapping:

  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))

  Stream #1:0 -> #0:1 (copy)

Press [q] to stop, [?] for help

[mjpeg @ 0x7fe5ada19400] Changing bps to 8

[mjpeg @ 0x7fe5ad848200] Changing bps to 8

    Last message repeated 6 times

[mjpeg @ 0x7fe5ac81a000] Changing bps to 8

[mjpeg @ 0x7fe5ac811c00] Changing bps to 8

Input stream #0:0 frame changed from size:3000x2250 fmt:yuvj420p to
size:3000x2250 fmt:gray

[mjpeg @ 0x7fe5ac819c00] Changing bps to 8time=00:00:00.00 bitrate=N/A
dup=48 drop=0 speed=   0x

[mjpeg @ 0x7fe5ac018600] Changing bps to 8 time=00:00:00.72 bitrate=
0.5kbits/s dup=72 drop=0 speed=0.25x

Input stream #0:0 frame changed from size:3000x2250 fmt:gray to
size:3000x2250 fmt:yuvj420p

[swscaler @ 0x7fe5ae318e00] deprecated pixel format used, make sure you did
set range correctly

[mjpeg @ 0x7fe5ac018600] Changing bps to 8 time=00:00:02.72
bitrate=1383.3kbits/s dup=120 drop=0 speed=0.615x

Input stream #0:0 frame changed from size:3000x2250 fmt:yuvj420p to
size:3000x2250 fmt:gray

[mjpeg @ 0x7fe5ac018c00] Changing bps to 8 time=00:00:03.72
bitrate=1513.9kbits/s dup=144 drop=0 speed=0.702x

[mjpeg @ 0x7fe5af805c00] Changing bps to 8 time=00:00:04.72
bitrate=1522.2kbits/s dup=168 drop=0 speed=0.763x

*[mjpeg @ 0x7fe5ac022200] invalid id 2306kB time=00:00:05.72
bitrate=1440.1kbits/s dup=192 drop=0 speed=0.846x    *

*Error while decoding stream #0:0: Invalid data found when processing input*

[mjpeg @ 0x7fe5ac018600] Changing bps to 8

[mjpeg @ 0x7fe5af008600] Changing bps to 8

Input stream #0:0 frame changed from size:3000x2250 fmt:gray to
size:3000x2250 fmt:yuvj420p

[swscaler @ 0x7fe5ad800000] deprecated pixel format used, make sure you did
set range correctly

[mjpeg @ 0x7fe5ac018c00] Changing bps to 8 time=00:00:07.72
bitrate=1171.2kbits/s dup=241 drop=0 speed=0.956x

*[mjpeg @ 0x7fe5ac022200] bits 204 is invalidime=00:00:10.72
bitrate=1286.0kbits/s dup=313 drop=0 speed=1.05x     *

*Error while decoding stream #0:0: Invalid data found when processing input*

Input stream #0:0 frame changed from size:3000x2250 fmt:yuvj420p to
size:3000x2250 fmt:grayrop=0 speed=1.12x

Input stream #0:0 frame changed from size:3000x2250 fmt:gray to
size:3000x2250 fmt:yuvj420prop=0 speed=1.14x

[swscaler @ 0x7fe5ae318e00] deprecated pixel format used, make sure you did
set range correctly

frame=  524 fps= 30 q=-1.0 Lsize=    3333kB time=00:00:20.97
bitrate=1301.8kbits/s dup=505 drop=0 speed=1.21x

video:2990kB audio:328kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.469907%

[libx264 @ 0x7fe5ac012800] frame I:13    Avg QP:15.35  size:166901

[libx264 @ 0x7fe5ac012800] frame P:134   Avg QP:19.71  size:  5398

[libx264 @ 0x7fe5ac012800] frame B:377   Avg QP:33.83  size:   445

[libx264 @ 0x7fe5ac012800] consecutive B-frames:  4.0%  0.0%  0.6% 95.4%

[libx264 @ 0x7fe5ac012800] mb I  I16..4: 31.8% 60.3%  7.9%

[libx264 @ 0x7fe5ac012800] mb P  I16..4:  0.3%  0.9%  0.2%  P16..4:  0.3%
0.1%  0.1%  0.0%  0.0%    skip:98.2%

[libx264 @ 0x7fe5ac012800] mb B  I16..4:  0.0%  0.2%  0.0%  B16..8:  0.7%
0.0%  0.0%  direct: 0.0%  skip:99.1%  L0:49.6% L1:50.3% BI: 0.1%

[libx264 @ 0x7fe5ac012800] 8x8 transform intra:61.8% inter:26.1%

[libx264 @ 0x7fe5ac012800] coded y,u,v intra: 17.5% 5.0% 5.3% inter: 0.0%
0.0% 0.0%

[libx264 @ 0x7fe5ac012800] i16 v,h,dc,p: 85% 14%  1%  0%

[libx264 @ 0x7fe5ac012800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 11% 40%  1%
1%  2%  1%  2%  2%

[libx264 @ 0x7fe5ac012800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 18% 14%  5%
4%  4%  4%  5%  4%

[libx264 @ 0x7fe5ac012800] Weighted P-Frames: Y:0.0% UV:0.0%

[libx264 @ 0x7fe5ac012800] ref P L0: 73.2%  9.0% 13.3%  4.6%

[libx264 @ 0x7fe5ac012800] ref B L0: 41.2% 56.9%  1.9%

[libx264 @ 0x7fe5ac012800] ref B L1: 90.3%  9.7%
[libx264 @ 0x7fe5ac012800] kb/s:1168.23

On Sat, Jul 9, 2016 at 5:16 PM, Cley Faye <cleyfaye at gmail.com> wrote:

> 2016-07-09 6:43 GMT+02:00 Vivek Jain <vivek.jain at mindtickle.com>:
>
> > Please let me know if entire output or actual images are needed.. Much
> > thanks...
> >
>
> ‚ÄčEntire output is always a good idea.
> Also, I'm not sure, but I don't think 'duration' is used that way in a
> concat file. Complete output might confirm this.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".




-- 
Thanks,
Vivek


More information about the ffmpeg-user mailing list