Re: [FFmpeg-user] VBR setting is unsupported in libfdk_aac

2019-12-26 Thread Ashish Jha
for aac_low profile as well, I am getting the same error. PFB error

ffmpeg -i Bera_Jaal.wav -codec:a libfdk_aac -vbr 3 output.m4a
ffmpeg version N-95890-gdf62505 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
  configuration: --prefix=/home/ashish/ffmpeg_build --pkg-config-flags=--static 
--extra-cflags=-I/home/ashish/ffmpeg_build/include 
--extra-ldflags=-L/home/ashish/ffmpeg_build/lib --bindir=/home/ashish/bin 
--enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libtheora 
--enable-libvorbis --enable-libmp3lame --enable-nonfree --enable-gpl
  libavutil  56. 36.101 / 56. 36.101
  libavcodec 58. 64.101 / 58. 64.101
  libavformat58. 35.100 / 58. 35.100
  libavdevice58.  9.101 / 58.  9.101
  libavfilter 7. 67.100 /  7. 67.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'Bera_Jaal.wav':
  Duration: 00:02:44.04, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, 
s16, 1411 kb/s
File 'output.m4a' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libfdk_aac @ 0x356eb40] Note, the VBR setting is unsupported and only works 
with some parameter combinations
Output #0, ipod, to 'output.m4a':
  Metadata:
encoder : Lavf58.35.100
Stream #0:0: Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 44100 Hz, stereo, 
s16
Metadata:
  encoder : Lavc58.64.101 libfdk_aac
size=2169kB time=00:02:44.04 bitrate= 108.3kbits/s speed=37.6x
video:0kB audio:2141kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: 1.327570%


From: ffmpeg-user  on behalf of Ted Park 

Sent: Thursday, December 26, 2019 2:32 PM
To: FFmpeg user questions 
Subject: Re: [FFmpeg-user] VBR setting is unsupported in libfdk_aac

> [libfdk_aac @ 0x29c5c00] Note, the VBR setting is unsupported and only works 
> with some parameter combinations" and its encoding into CBR.
>
> How can I encode into vbr for HE-AAC. I am using the below mentioned command.

According to the man page:

Currently only the aac_low profile supports VBR encoding.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] VBR setting is unsupported in libfdk_aac

2019-12-26 Thread Gyan

On 26-12-2019 03:11 pm, Ashish Jha wrote:

for aac_low profile as well, I am getting the same error. PFB error


It's a warning, not an error. It is *always* printed when ffmpeg detects 
the use of -vbr or -qscale:a / -q:a with libfdk-aac.


fdk-aac is an external encoder, so it, not ffmpeg, makes the decision on 
which rate control mode to ultimately use. Unfortunately, ffmpeg can't 
detect whether VBR mode was chosen, hence the warning is always printed.


However, in your 2nd command, the output does look to be VBR.

FTR, these are the target bitrates and accepted profiles for VBR as per 
its value:


1:        32 kbps mono   AAC-LC + SBR + PS
2:        64 kbps stereo AAC-LC + SBR
3:        80 - 96 kbps stereo AAC-LC
4:        128 kbps stereo AAC-LC
5:        192 kbps stereo AAC-LC

VBR looks to be unsupported with HE-AAC.

Gyan

(Avoid top-posting; see https://trac.ffmpeg.org/wiki/MailingListEtiquette)
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] VBR setting is unsupported in libfdk_aac

2019-12-26 Thread Ashish Jha
Hi,

I am trying to encode audio file .wav into HE-AAC. I am able to encode, 
However, when trying to encode in VBR, I am getting an error stating 
"[libfdk_aac @ 0x29c5c00] Note, the VBR setting is unsupported and only works 
with some parameter combinations" and its encoding into CBR.

How can I encode into vbr for HE-AAC. I am using the below mentioned command.

ffmpeg -i input.wav -c:a libfdk_aac -profile:a aac_he -vbr 3 -ar 48000 
output.m4a

Error I am getting is: ffmpeg -i Bera_Jaal.wav -c:a libfdk_aac -profile:a 
aac_he -vbr 2 Bera_vbr.m4a
ffmpeg version N-95890-gdf62505 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
  configuration: --prefix=/home/ashish/ffmpeg_build --pkg-config-flags=--static 
--extra-cflags=-I/home/ashish/ffmpeg_build/include 
--extra-ldflags=-L/home/ashish/ffmpeg_build/lib --bindir=/home/ashish/bin 
--enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libtheora 
--enable-libvorbis --enable-libmp3lame --enable-nonfree --enable-gpl
  libavutil  56. 36.101 / 56. 36.101
  libavcodec 58. 64.101 / 58. 64.101
  libavformat58. 35.100 / 58. 35.100
  libavdevice58.  9.101 / 58.  9.101
  libavfilter 7. 67.100 /  7. 67.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'Bera_Jaal.wav':
  Duration: 00:02:44.04, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, 
s16, 1411 kb/s
File 'Bera_vbr.m4a' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libfdk_aac @ 0x2345c00] Note, the VBR setting is unsupported and only works 
with some parameter combinations
Output #0, ipod, to 'Bera_vbr.m4a':
  Metadata:
encoder : Lavf58.35.100
Stream #0:0: Audio: aac (libfdk_aac) (HE-AAC) (mp4a / 0x6134706D), 44100 
Hz, stereo, s16
Metadata:
  encoder : Lavc58.64.101 libfdk_aac
size=1415kB time=00:02:44.05 bitrate=  70.7kbits/s speed=  27x
video:0kB audio:1401kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: 1.043005%

Please help me on this.

--
Ashish
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] VBR setting is unsupported in libfdk_aac

2019-12-26 Thread Ted Park
> [libfdk_aac @ 0x29c5c00] Note, the VBR setting is unsupported and only works 
> with some parameter combinations" and its encoding into CBR.
> 
> How can I encode into vbr for HE-AAC. I am using the below mentioned command.

According to the man page:

Currently only the aac_low profile supports VBR encoding.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Lossless encoding to ffv1 changes frames md5

2019-12-26 Thread Moritz Barsnick
On Tue, Dec 17, 2019 at 16:04:02 +0100, Alberto Mattea wrote:
> As a side note, I tried using the mpdecimate filter to remove the
> duplicate frames (the videos are 16 -> 25fps conversions) but it
> changes the md5 (of corresponding frames) again, checking the source
> it seems it supports 8-bit only?

That's correct, mpdecimate currently only supports (taken from the
source code):

AV_PIX_FMT_YUV444P
AV_PIX_FMT_YUV422P,
AV_PIX_FMT_YUV420P,
AV_PIX_FMT_YUV411P,
AV_PIX_FMT_YUV410P,
AV_PIX_FMT_YUV440P,
AV_PIX_FMT_YUVJ444P,
AV_PIX_FMT_YUVJ422P,
AV_PIX_FMT_YUVJ420P
AV_PIX_FMT_YUVJ440P,
AV_PIX_FMT_YUVA420P,
AV_PIX_FMT_GBRP,
AV_PIX_FMT_YUVA444P,
AV_PIX_FMT_YUVA422P

Cheers,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] A question on multiple audio variants support on HLS' var_stream_map parameters.

2019-12-26 Thread Dennis Mungai
Hello there,

With the var_stream_map option, can more than one audio stream variant
exist in a group?
From the documentation, all examples point to the creation of multiple
audio groups, one per audio  stream variant.

Lifted straight from the wiki:

https://ffmpeg.org/ffmpeg-formats.html#hls-2

This example creates the variant streams in subdirectories. Here, the
first media playlist is created at
http://example.com/live/vs_0/out.m3u8 and the second one at
http://example.com/live/vs_1/out.m3u8.

ffmpeg -re -i in.ts -b:a:0 32k -b:a:1 64k -b:v:0 1000k -b:v:1 3000k  \
  -map 0:a -map 0:a -map 0:v -map 0:v -f hls \
  -var_stream_map "a:0,agroup:aud_low a:1,agroup:aud_high
v:0,agroup:aud_low v:1,agroup:aud_high" \
  -master_pl_name master.m3u8 \
  http://example.com/live/out_%v.m3u8

Rather than separate the different audio variants into separate groups
as shown above, can they be merged in one audio group, eg:

ffmpeg -re -i in.ts -b:a:0 32k -b:a:1 64k -b:v:0 1000k -b:v:1 3000k  \
  -map 0:a -map 0:a -map 0:v -map 0:v -f hls \
  -var_stream_map "a:,agroup:audio v:0,agroup:audio v:1,agroup:audio" \
  -master_pl_name master.m3u8 \
  http://example.com/live/out_%v.m3u8

Is such a configuration supported?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Unable to enable libaom-av1 encoder

2019-12-26 Thread Ashish Jha
I want to try av1 codec so I tried to enable libaom encoder. However, I am not 
able to do so.
I tried various commands from google, but whenever I tried to encode, it says: 
Codec 'libaom-av1' is not recognized by FFmpeg.

Please let me know, how can I enable this encoder.

Regards,
Ashish
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".