[FFmpeg-user] Opus audio in mpeg-ts file

Linuxbot B linuxbot at outlook.com
Sat Sep 26 08:22:46 CEST 2015


I`m trying to create mpeg-ts file with opus audio, but its not working..
Thank you..
ffmpeg and ffprobe logs:
ffmpeg -i /tmp/clip.ts  -c:v libx264 -tune zerolatency -c:a libopus -b:a 64k -f mpegts /root/test.tsffmpeg version 2.8-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2015 the FFmpeg developers  built with gcc 4.9.3 (Debian 4.9.3-4)  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --cc=gcc-4.9  libavutil      54. 31.100 / 54. 31.100  libavcodec     56. 60.100 / 56. 60.100  libavformat    56. 40.101 / 56. 40.101  libavdevice    56.  4.100 / 56.  4.100  libavfilter     5. 40.101 /  5. 40.101  libswscale      3.  1.101 /  3.  1.101  libswresample   1.  2.101 /  1.  2.101  libpostproc    53.  3.100 / 53.  3.100Input #0, mpegts, from '/tmp/clip.ts':  Duration: 00:01:05.25, start: 1.400000, bitrate: 1019 kb/s  Program 1    Metadata:      service_name    : Service01      service_provider: FFmpeg    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 16:15 DAR 4:3], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc    Stream #0:1[0x101](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s[libx264 @ 0x3bde6a0] using SAR=16/15[libx264 @ 0x3bde6a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2[libx264 @ 0x3bde6a0] profile High, level 3.0Output #0, mpegts, to '/root/test.ts':  Metadata:    encoder         : Lavf56.40.101    Stream #0:0: Video: h264 (libx264), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=-1--1, 25 fps, 90k tbn, 25 tbc    Metadata:      encoder         : Lavc56.60.100 libx264    Stream #0:1(eng): Audio: opus (libopus), 48000 Hz, stereo, s16, 64 kb/s    Metadata:      encoder         : Lavc56.60.100 libopusStream mapping:  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))  Stream #0:1 -> #0:1 (mp2 (native) -> opus (libopus))Press [q] to stop, [?] for helpframe=  756 fps= 68 q=24.0 Lsize=    7456kB time=00:01:05.28 bitrate= 935.7kbits/svideo:6555kB audio:267kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.306394%[libx264 @ 0x3bde6a0] frame I:5     Avg QP:20.61  size: 46011[libx264 @ 0x3bde6a0] frame P:751   Avg QP:23.66  size:  8631[libx264 @ 0x3bde6a0] mb I  I16..4: 10.2% 71.9% 17.9%[libx264 @ 0x3bde6a0] mb P  I16..4:  1.8%  4.8%  0.6%  P16..4: 50.8% 15.2%  6.5%  0.0%  0.0%    skip:20.2%[libx264 @ 0x3bde6a0] 8x8 transform intra:66.8% inter:76.0%[libx264 @ 0x3bde6a0] coded y,uvDC,uvAC intra: 57.0% 58.6% 14.1% inter: 25.0% 22.9% 0.7%[libx264 @ 0x3bde6a0] i16 v,h,dc,p: 29% 30% 16% 24%[libx264 @ 0x3bde6a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 19% 36%  3%  2%  3%  2%  3%  5%[libx264 @ 0x3bde6a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 43% 18%  2%  2%  2%  2%  2%  3%[libx264 @ 0x3bde6a0] i8c dc,h,v,p: 59% 16% 22%  4%[libx264 @ 0x3bde6a0] Weighted P-Frames: Y:0.5% UV:0.4%[libx264 @ 0x3bde6a0] ref P L0: 65.1% 11.3% 16.2%  7.3%  0.0%[libx264 @ 0x3bde6a0] kb/s:1775.62  


ffprobe /root/test.tsffprobe version 2.8-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2015 the FFmpeg developers  built with gcc 4.9.3 (Debian 4.9.3-4)  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --cc=gcc-4.9  libavutil      54. 31.100 / 54. 31.100  libavcodec     56. 60.100 / 56. 60.100  libavformat    56. 40.101 / 56. 40.101  libavdevice    56.  4.100 / 56.  4.100  libavfilter     5. 40.101 /  5. 40.101  libswscale      3.  1.101 /  3.  1.101  libswresample   1.  2.101 /  1.  2.101  libpostproc    53.  3.100 / 53.  3.100Input #0, mpegts, from '/root/test.ts':  Duration: 00:01:05.29, start: 2.446500, bitrate: 935 kb/s  Program 1    Metadata:      service_name    : Service01      service_provider: FFmpeg    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc    Stream #0:1[0x101](eng): Data: bin_data ([6][0][0][0] / 0x0006)Unsupported codec with id 1145132097 for input stream 1
 		 	   		  


More information about the ffmpeg-user mailing list