[FFmpeg-user] Issue while merge large .wav file into .webm file
Kieran O Leary
kieran.o.leary at gmail.com
Fri Jan 25 17:43:22 EET 2019
On Fri, Jan 25, 2019 at 3:42 PM AMIT KUMAR <amitksoft8 at gmail.com> wrote:
> Hi,
> Then what should I do? I need the command that convert from 1 Mb to 1 GB
> .webm file to .mp4.
>
You want to turn a 1MB file into 1GB file? Why?
A quick google search for the error returned this:
https://trac.ffmpeg.org/ticket/6375
so adding -max_muxing_queue_size 1000 to the command resulted in a less
broken file. THis video seems very odd though, lots of missing frames maybe?
$ ffmpeg -i 407118_agentPL27_2018-09-26T16-18-17.webm
-max_muxing_queue_size 1000 407118_agentPL27_2018-09-26T16-18-17_in.mp4
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared
--enable-pthreads --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags=
--enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus
--enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma
--enable-libass --enable-libfreetype --enable-libtesseract --enable-opencl
--enable-videotoolbox --enable-libopenjpeg --disable-decoder=jpeg2000
--extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, matroska,webm, from '407118_agentPL27_2018-09-26T16-18-17.webm':
Metadata:
encoder : Chrome
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
Stream #0:1(eng): Video: h264 (Constrained Baseline),
yuv420p(progressive), 240x320, SAR 1:1 DAR 3:4, 16.67 fps, 16.67 tbr, 1k
tbn, 2k tbc (default)
File '407118_agentPL27_2018-09-26T16-18-17_in.mp4' already exists.
Overwrite ? [y/N] y
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (opus (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7fc9b3911000] using SAR=1/1
[libx264 @ 0x7fc9b3911000] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX
[libx264 @ 0x7fc9b3911000] profile High, level 1.2
[libx264 @ 0x7fc9b3911000] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2017 - 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=10
lookahead_threads=1 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=16
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 '407118_agentPL27_2018-09-26T16-18-17_in.mp4':
Metadata:
encoder : Lavf58.20.100
Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p,
240x320 [SAR 1:1 DAR 3:4], q=-1--1, 16.67 fps, 12800 tbn, 16.67 tbc
(default)
Metadata:
encoder : Lavc58.35.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono,
fltp, 69 kb/s (default)
Metadata:
encoder : Lavc58.35.100 aac
More than 1000 frames duplicated 2048kB time=00:01:41.95 bitrate=
164.6kbits/s dup=916 drop=541 speed=48.7x
frame= 2919 fps=844 q=-1.0 Lsize= 3592kB time=00:02:55.15 bitrate=
168.0kbits/s dup=1916 drop=721 speed=50.6x
video:2151kB audio:1347kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 2.676852%
[libx264 @ 0x7fc9b3911000] frame I:30 Avg QP:18.09 size: 6625
[libx264 @ 0x7fc9b3911000] frame P:841 Avg QP:18.92 size: 1614
[libx264 @ 0x7fc9b3911000] frame B:2048 Avg QP:23.71 size: 315
[libx264 @ 0x7fc9b3911000] consecutive B-frames: 4.6% 4.2% 4.0% 87.2%
[libx264 @ 0x7fc9b3911000] mb I I16..4: 14.0% 55.0% 31.0%
[libx264 @ 0x7fc9b3911000] mb P I16..4: 3.3% 7.8% 2.1% P16..4: 15.6%
10.8% 4.5% 0.0% 0.0% skip:56.0%
[libx264 @ 0x7fc9b3911000] mb B I16..4: 0.3% 0.5% 0.1% B16..8: 14.5%
4.1% 0.7% direct: 1.2% skip:78.7% L0:40.6% L1:44.3% BI:15.1%
[libx264 @ 0x7fc9b3911000] 8x8 transform intra:57.6% inter:58.5%
[libx264 @ 0x7fc9b3911000] coded y,uvDC,uvAC intra: 55.3% 69.7% 22.1%
inter: 8.4% 8.1% 0.2%
[libx264 @ 0x7fc9b3911000] i16 v,h,dc,p: 17% 24% 11% 48%
[libx264 @ 0x7fc9b3911000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 24% 20% 4%
5% 6% 6% 4% 7%
[libx264 @ 0x7fc9b3911000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 23% 16% 5%
7% 7% 7% 6% 6%
[libx264 @ 0x7fc9b3911000] i8c dc,h,v,p: 55% 22% 17% 6%
[libx264 @ 0x7fc9b3911000] Weighted P-Frames: Y:8.4% UV:2.9%
[libx264 @ 0x7fc9b3911000] ref P L0: 66.2% 18.5% 12.5% 2.6% 0.2%
[libx264 @ 0x7fc9b3911000] ref B L0: 94.4% 4.9% 0.7%
[libx264 @ 0x7fc9b3911000] ref B L1: 98.3% 1.7%
[libx264 @ 0x7fc9b3911000] kb/s:100.58
[aac @ 0x7fc9b3912800] Qavg: 10558.329
>
> Thanks & Regards
> Amit Kumar
>
> On Fri, Jan 25, 2019 at 9:05 PM Kieran O Leary <kieran.o.leary at gmail.com>
> wrote:
>
> > On Fri, Jan 25, 2019 at 3:29 PM AMIT KUMAR <amitksoft8 at gmail.com> wrote:
> >
> > > Hi,
> > > I need urgent basis solution for that why that becomes 0 kb.Please give
> > me
> > > the solution at High priority basis its urgent.My client get really
> > > annoying.
> > >
> >
> > You would have received help much sooner if you manually used ffmpeg and
> > posted the command line output. I can't solve this issue but in order to
> > get you better help, i'll post the command and the error for you:
> >
> > $ ffmpeg -i 407118_agentPL27_2018-09-26T16-18-17.webm
> > 407118_agentPL27_2018-09-26T16-18-17_in.mp4
> >
> > ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
> >
> > built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
> >
> > configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared
> > --enable-pthreads --enable-version3 --enable-hardcoded-tables
> > --enable-avresample --cc=clang --host-cflags= --host-ldflags=
> > --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus
> > --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma
> > --enable-libass --enable-libfreetype --enable-libtesseract
> --enable-opencl
> > --enable-videotoolbox --enable-libopenjpeg --disable-decoder=jpeg2000
> > --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3
> >
> > libavutil 56. 22.100 / 56. 22.100
> >
> > libavcodec 58. 35.100 / 58. 35.100
> >
> > libavformat 58. 20.100 / 58. 20.100
> >
> > libavdevice 58. 5.100 / 58. 5.100
> >
> > libavfilter 7. 40.101 / 7. 40.101
> >
> > libavresample 4. 0. 0 / 4. 0. 0
> >
> > libswscale 5. 3.100 / 5. 3.100
> >
> > libswresample 3. 3.100 / 3. 3.100
> >
> > libpostproc 55. 3.100 / 55. 3.100
> >
> > Input #0, matroska,webm, from
> '407118_agentPL27_2018-09-26T16-18-17.webm':
> >
> > Metadata:
> >
> > encoder : Chrome
> >
> > Duration: N/A, start: 0.000000, bitrate: N/A
> >
> > Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
> >
> > Stream #0:1(eng): Video: h264 (Constrained Baseline),
> > yuv420p(progressive), 240x320, SAR 1:1 DAR 3:4, 16.67 fps, 16.67 tbr, 1k
> > tbn, 2k tbc (default)
> >
> > File '407118_agentPL27_2018-09-26T16-18-17_in.mp4' already exists.
> > Overwrite ? [y/N] y
> >
> > Stream mapping:
> >
> > Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
> >
> > Stream #0:0 -> #0:1 (opus (native) -> aac (native))
> >
> > Press [q] to stop, [?] for help
> >
> > Too many packets buffered for output stream 0:1.
> >
> > [aac @ 0x7fc598912800] Qavg: 3204.831
> >
> > [aac @ 0x7fc598912800] 2 frames left in the queue on closing
> >
> > Conversion failed!
> >
> >
> >
> > Best,
> >
> >
> > Kieran.
> > _______________________________________________
> > 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".
> _______________________________________________
> 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".
More information about the ffmpeg-user
mailing list