audio data rate when transcoding

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ski

audio data rate when transcoding

Postby ski » 24 Feb 2006 21:03

I am transcoding some video files with audio using the command line on windows. VLC version 0.84a. I always get the same audio bit rate (about 80kbps) no matter what bit rate I specify with the ab setting. Here are my settings:

"C:\Program Files\VideoLAN\VLC\vlc.exe" ".\synthetic1 qvga 30fps.avi" --sout=#transcode{vcodec=h264,vb=300,acodec=mp4a,ab=48,channels=2}:duplicate{dst=std{access=file,mux=mp4,url="..\h264 mp4 compressed files\synthetic1 300-48 test.mp4"}} vlc:quit

Any ideas? Thanks.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 25 Feb 2006 20:39

It is possible that the developer for this module put caps on the limits knowing that the format could not handle the bit rate.

What are you using to judge this?

ski

audio data rate when transcoding

Postby ski » 27 Feb 2006 15:52

I use quicktime to identify the audio rate and simple math using the file size, duration, and video content data to double-check. It looks like I'm getting a default rate when transcoding to AAC audio using VLC. I'm hoping that I have a setting wrong somewhere.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 27 Feb 2006 20:53

acodec=mp4a,ab=48,channels=2

You are asking for 48k bitrate this is not samplerate as such would be considered extremely low for this format.

:lol:

ski

audio transcoding

Postby ski » 28 Feb 2006 19:29

I don't know why you think 48kbps is low for AAC. It is the rate typically used for video on mobile phones (Sprint TV, VCast) and for DVB-H. But that is not the question. The question is, does VLC support this rate or not? The minimum I see it producing is about 80kbps. Is this a built-in limit to VLC? What other limits are there to its encoding since I have not seen this documented?

Jerome2

Postby Jerome2 » 07 Mar 2006 20:40

I've got the same problem... can't get audio bitrates lower than 128 kbps...

abuze
New Cone
New Cone
Posts: 7
Joined: 20 Feb 2006 21:16
Location: Sweden

Postby abuze » 07 Mar 2006 22:51

try samplerate=48000 instead of ab=48 and see if that is doing what you think of.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 08 Mar 2006 00:17

try samplerate=48000 instead of ab=48 and see if that is doing what you think of.
Sample Rate is a new command for VLC 0.8.5 and governs the Sampling Frequency NOT the Bit Rate. Although lower Sampling Frequencies do generally produce smaller files at lower Bit Rates. I believe the lowest command supported is samplerate=22050 The standard ranges are: 22050, 44100 and 48000

:lol:

abuze
New Cone
New Cone
Posts: 7
Joined: 20 Feb 2006 21:16
Location: Sweden

Postby abuze » 08 Mar 2006 08:22

Ahh but thats strange.. I use it in 0.8.4.a and I have 16000 as value and that works... hmmm

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 08 Mar 2006 20:18

Ahh but thats strange.. I use it in 0.8.4.a and I have 16000 as value and that works... hmmm
Many times things are supported in the core and shut off as they don't work properly. In 0.8.4 the command was not supported and therefore not recognized (ignored).

abuze
New Cone
New Cone
Posts: 7
Joined: 20 Feb 2006 21:16
Location: Sweden

Postby abuze » 08 Mar 2006 20:29

Ahh then I know. Thanks.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 36 guests