I'm trying to take a raw video file and raw audio and remux them together still as raw. I don't want any compression. I'm doing something wrong but not sure what. It ends up making h264 even though i never asked for it. I got this command from a tutorial on the web on how to concat multiple videos together with ffmpeg. This is the last step. Any help is appreciated. Thanks Here is the input:
ffmpeg -f u16le -acodec pcm_s16le -ac 2 -ar 48000 -i /all_a1 -f yuv4mpegpipe -vcodec rawvideo -i /all_v1 -strict -2 /all.mov Here is the output: ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers built on Jan 27 2015 16:34:38 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid libavutil 54. 15.100 / 54. 15.100 libavcodec 56. 13.100 / 56. 13.100 libavformat 56. 15.102 / 56. 15.102 libavdevice 56. 3.100 / 56. 3.100 libavfilter 5. 2.103 / 5. 2.103 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 [u16le @ 0x7fb825000000] Estimating duration from bitrate, this may be inaccurate Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, u16le, from '/Volumes/RR250-Shaken-Baby_1/RR250_Archival_Footage/RR250_A016_Warren_County_Man_Accused_of_Shaking_injuring_3_month_old_son_WNYT_13/RR250_A016_tmp/all_a1': Duration: 00:02:02.88, bitrate: 1536 kb/s Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Input #1, yuv4mpegpipe, from '/Volumes/RR250-Shaken-Baby_1/RR250_Archival_Footage/RR250_A016_Warren_County_Man_Accused_of_Shaking_injuring_3_month_old_son_WNYT_13/RR250_A016_tmp/all_v1': Duration: N/A, bitrate: N/A Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 960x540, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc [libx264 @ 0x7fb825028200] using SAR=1/1 [libx264 @ 0x7fb825028200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x7fb825028200] profile High, level 3.1 [libx264 @ 0x7fb825028200] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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 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, mov, to '/all.mov': Metadata: encoder : Lavf56.15.102 Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc Metadata: encoder : Lavc56.13.100 libx264 Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc56.13.100 aac Stream mapping: Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native)) Press [q] to stop, [?] for help frame= 3682 fps=126 q=-1.0 Lsize= 9139kB time=00:02:02.90 bitrate= 609.1kbits/s video:7104kB audio:1904kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.453171% [libx264 @ 0x7fb825028200] frame I:21 Avg QP:18.09 size: 36067 [libx264 @ 0x7fb825028200] frame P:1265 Avg QP:21.48 size: 4114 [libx264 @ 0x7fb825028200] frame B:2396 Avg QP:26.10 size: 548 [libx264 @ 0x7fb825028200] consecutive B-frames: 11.7% 4.5% 0.7% 83.1% [libx264 @ 0x7fb825028200] mb I I16..4: 17.3% 62.3% 20.4% [libx264 @ 0x7fb825028200] mb P I16..4: 2.9% 4.0% 0.2% P16..4: 30.1% 6.0% 3.9% 0.0% 0.0% skip:52.9% [libx264 @ 0x7fb825028200] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 18.7% 0.3% 0.0% direct: 0.2% skip:80.6% L0:40.2% L1:58.7% BI: 1.0% [libx264 @ 0x7fb825028200] 8x8 transform intra:56.9% inter:85.6% [libx264 @ 0x7fb825028200] coded y,uvDC,uvAC intra: 41.7% 61.5% 17.3% inter: 4.7% 10.3% 0.1% [libx264 @ 0x7fb825028200] i16 v,h,dc,p: 25% 25% 10% 40% [libx264 @ 0x7fb825028200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 21% 26% 4% 6% 5% 6% 5% 5% [libx264 @ 0x7fb825028200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 25% 13% 4% 7% 5% 5% 4% 3% [libx264 @ 0x7fb825028200] i8c dc,h,v,p: 49% 24% 21% 6% [libx264 @ 0x7fb825028200] Weighted P-Frames: Y:2.9% UV:2.5% [libx264 @ 0x7fb825028200] ref P L0: 66.4% 10.2% 17.6% 5.8% 0.0% [libx264 @ 0x7fb825028200] ref B L0: 91.3% 7.2% 1.5% [libx264 @ 0x7fb825028200] ref B L1: 95.9% 4.1% [libx264 @ 0x7fb825028200] kb/s:473.66 _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user