[FFmpeg-trac] #6638(avfilter:new): aresample does not work for unknown channel layouts
FFmpeg
trac at avcodec.org
Mon Nov 12 18:50:22 EET 2018
#6638: aresample does not work for unknown channel layouts
-------------------------------------+-------------------------------------
Reporter: CoRoNe | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: aresample | Blocked By:
unknown channel layouts | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by zaterio):
Similar behavior in last commit (Nov 2018):
{{{
[root at localhost 2]# /usr/local/ffmpeg-master-nvenc-fdk-aac/bin/ffmpeg
-buildconf
ffmpeg version N-92394-g75625c5 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
configuration: --prefix=/usr/local/ffmpeg-master-nvenc-fdk-aac --pkg-
config-flags=--static --extra-cflags=-I/usr/src/ffmpeg_build/include
--extra-cflags=-I/usr/local/cuda-9.2/include/ --extra-
ldflags=-L/usr/local/cuda-9.2/lib64/ --extra-
ldflags=-L/usr/src/ffmpeg_build/lib --extra-libs=-lpthread --extra-
libs=-lm --enable-gpl --enable-libx264 --enable-nonfree --enable-cuda
--enable-cuvid --enable-nvenc --enable-libnpp --enable-libfdk_aac
libavutil 56. 23.101 / 56. 23.101
libavcodec 58. 39.100 / 58. 39.100
libavformat 58. 22.100 / 58. 22.100
libavdevice 58. 6.100 / 58. 6.100
libavfilter 7. 43.100 / 7. 43.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
configuration:
--prefix=/usr/local/ffmpeg-master-nvenc-fdk-aac
--pkg-config-flags=--static
--extra-cflags=-I/usr/src/ffmpeg_build/include
--extra-cflags=-I/usr/local/cuda-9.2/include/
--extra-ldflags=-L/usr/local/cuda-9.2/lib64/
--extra-ldflags=-L/usr/src/ffmpeg_build/lib
--extra-libs=-lpthread
--extra-libs=-lm
--enable-gpl
--enable-libx264
--enable-nonfree
--enable-cuda
--enable-cuvid
--enable-nvenc
--enable-libnpp
--enable-libfdk_aac
}}}
# MPEGTS test
{{{
/usr/local/ffmpeg-master-nvenc-fdk-aac/bin/ffmpeg -loglevel debug \
-hwaccel cuvid -c:v h264_cuvid \
-y -i /home/trz/content/profile-
abr_progresive_hp_r30_hls/avengers60fps.mp4 \
-filter_complex "[v:0]split=2[s0][s1];[0:a]asplit=2[ao1][ao2]" \
-map [s0] -map [ao1] -c:v h264_nvenc -preset hp -b:v 3000k -rc cbr -c:a
libfdk_aac -b:a 96k -ar 48.0k -ac 2 \
-f mpegts 3000.ts \
-map [s1] -map [ao2] -c:v h264_nvenc -preset hp -b:v 1000k -rc cbr -c:a
libfdk_aac -b:a 96k -ar 48.0k -ac 2 \
-f mpegts 1000.ts 2> out1.log
}}}
{{{
[root at localhost 2]# mediainfo 1000.ts
General
ID : 1 (0x1)
Complete name : 1000.ts
Format : MPEG-TS
File size : 104 MiB
Duration : 11 min 20 s
Overall bit rate mode : Variable
Overall bit rate : 1 277 kb/s
}}}
{{{
[root at localhost 2]# mediainfo 3000.ts
General
ID : 1 (0x1)
Complete name : 3000.ts
Format : MPEG-TS
File size : 271 MiB
Duration : 11 min 20 s
Overall bit rate mode : Variable
Overall bit rate : 3 337 kb/s
}}}
# HLS test
{{{
/usr/local/ffmpeg-master-nvenc-fdk-aac/bin/ffmpeg -loglevel debug \
-hwaccel cuvid -c:v h264_cuvid \
-y -i /home/trz/content/profile-
abr_progresive_hp_r30_hls/avengers60fps.mp4 \
-filter_complex "[v:0]split=2[s0][s1];[0:a]asplit=2[ao1][ao2]" \
-map [s0] -map [ao1] -c:v h264_nvenc -preset hp -b:v 3000k -rc cbr -c:a
libfdk_aac -b:a 96k -ar 48.0k -ac 2 \
-map [s1] -map [ao2] -c:v h264_nvenc -preset hp -b:v 1000k -rc cbr -c:a
libfdk_aac -b:a 96k -ar 48.0k -ac 2 \
-f hls \
-var_stream_map "v:0,a:0 v:1,a:1" -hls_list_size 0 -hls_time 9 \
-master_pl_name master.m3u8 vs%v/manifest.m3u8 2> out2.log
}}}
{{{
[root at localhost 2]# cat master.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-
INF:BANDWIDTH=1205600,RESOLUTION=1920x1080,CODECS="avc1.4d402a,mp4a.40.2"
vs0/manifest.m3u8
#EXT-X-STREAM-
INF:BANDWIDTH=1205600,RESOLUTION=1920x1080,CODECS="avc1.4d402a,mp4a.40.2"
vs1/manifest.m3u8
}}}
{{{
[root at localhost 2]# mediainfo vs0/manifest15.ts
General
ID : 1 (0x1)
Complete name : vs0/manifest15.ts
CompleteName_Last : vs0/manifest75.ts
Format : MPEG-TS
File size : 79.2 MiB
Duration : 9 min 3 s
Overall bit rate mode : Variable
Overall bit rate : 1 222 kb/s
}}}
{{{
[root at localhost 2]# mediainfo vs1/manifest15.ts
General
ID : 1 (0x1)
Complete name : vs1/manifest15.ts
CompleteName_Last : vs1/manifest75.ts
Format : MPEG-TS
File size : 79.2 MiB
Duration : 9 min 3 s
Overall bit rate mode : Variable
Overall bit rate : 1 222 kb/s
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6638#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list