Has mp4a (aac) audio support been dropped in 2.0.7?

About encoding, codec settings, muxers and filter usage
gepebril
Blank Cone
Blank Cone
Posts: 76
Joined: 22 Oct 2007 23:31

Has mp4a (aac) audio support been dropped in 2.0.7?

Postby gepebril » 22 Jun 2013 21:28

Hi there,

First I see that cli transcoding works again in VLC under Windows, makes me very happy :)
But than I found out that mp4a doesn't work, it says VLC can't open encoder. It produces a file, but no audio. When you use 'mp3' I get video+audio (mp3).
Used command:

Code: Select all

"C:\Users\jaap\software\VideoLAN\VLC-2.0.7\vlc.exe" -vvv "E:\test10-sec.mpg" --sout=#transcode{vcodec=h264,venc=x264{interlaced},vb=1500,fps="29.97",acodec=mp4a,ab=128,channels=2,samplerate=48000}:standard{access=file,mux=ts,dst="E:\test-interlaced2.ts"}
I used Windows 7 home edition and official vlc-2.0.7-win32.zip

Is this the way it should be, or is it a bug?

Yours sincerely,

Albert

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby Jean-Baptiste Kempf » 23 Jun 2013 13:13

Add the --avcodec-strict option to -2 (I don't remember the exact name).
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gepebril
Blank Cone
Blank Cone
Posts: 76
Joined: 22 Oct 2007 23:31

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby gepebril » 23 Jun 2013 17:51

@Jean-Baptiste Kemp,

Thx, do you mean I have to place this in the command line, and if so could you tell me where to place this in the command line. No matter where I place it, I get errors.

Yours sincerely,

Albert

mahal
New Cone
New Cone
Posts: 8
Joined: 15 Jun 2013 22:11

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby mahal » 25 Jun 2013 21:46

It works! Thank you! I forced strictness to -2 in FFMpeg options in advanced VLC options. It's under Tools>Preferences, then I click All under Show settings, click on Video codecs under Input / Codecs, then FFmpeg . So it's: Tools>Preferences>Video codecs>FFmpeg . Under FFmpeg I scroll down to under Encoding and I go to Strict standard compliance and I set it to -2 .

Partial log:

main debug: using sout chain=`transcode{vcodec=none,acodec=mp4a,ab=128,channels=2,samplerate=48000}:std{access=file,mux=mp4,dst='C:\Users\jonnydmxy\Desktop\tig.mp4'}'
main debug: stream=`std'

gepebril
Blank Cone
Blank Cone
Posts: 76
Joined: 22 Oct 2007 23:31

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby gepebril » 27 Jun 2013 15:54

@Mahal,

Thanks for the effort.
Thanks to your help and Google you can do it in the command line, adding --sout-ffmpeg-strict=-2
So it will be:

Code: Select all

"C:\Users\test\software\VideoLAN\VLC-2.0.7\vlc.exe" -vvv "E:\test10-sec.mpg" --sout-ffmpeg-strict=-2 --sout=#transcode{vcodec=h264,venc=x264{interlaced},vb=1500,fps="29.97",acodec=mp4a,ab=128,channels=2,samplerate=48000}:standard{access=file,mux=ts,dst="E:\test-interlaced.ts"}

dieten
New Cone
New Cone
Posts: 3
Joined: 15 Aug 2013 20:39

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby dieten » 15 Aug 2013 20:47

Who translate this debug instructions for simple users . I can put the value of strictness to "2" but what else schould I do . It does not work anyway (returning to 2.0.5 doesn't solve anything either (is the installer on the FTP server another one than thew original because of license problems about the AAC encoder ????

dieten
New Cone
New Cone
Posts: 3
Joined: 15 Aug 2013 20:39

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby dieten » 15 Aug 2013 21:18

Add the --avcodec-strict option to -2 (I don't remember the exact name).
the ffmpeg stictness can be put to 2 under precerences (all) encoders, videocodec under ffmpeg, but it does not change anything to the results: no AAC encoder !!

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby vel_tins » 26 Aug 2013 08:22

the ffmpeg stictness can be put to 2 under precerences (all) encoders, videocodec under ffmpeg,..... !!
Read exactly!
You have to set strictness to -2
It works!

pdbpdb
New Cone
New Cone
Posts: 8
Joined: 12 May 2011 01:51

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby pdbpdb » 29 Aug 2013 22:40

the option

--sout-ffmpeg-strict=-2

worked until 2.0.8, but it is not working in VLC 2.1.0-rc1 anymore

Is this a bug or there's another way to transcode audio into mp4a since 2.1.0?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby Jean-Baptiste Kempf » 02 Sep 2013 18:02

We'll try to do something different.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

foxkeys
New Cone
New Cone
Posts: 1
Joined: 07 Dec 2013 21:12

Re: Has mp4a (aac) audio support been dropped in 2.0.7?

Postby foxkeys » 07 Dec 2013 21:18

Have same problem in 2.1.1 version.
Solution is: --sout-avcodec-strict=-2 command line parameter.
Usage sample: "C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv "I:\movie.mp4" --sout-avcodec-strict=-2 --sout=#transcode{vcodec=h264,acodec=mp4a}:standard{access=file,mux=mp4,dst="I:\converted\movie.mp4"}

Probable, this applicable to any VLC 2.1.x
For older versions (VLC 2.0.x) - use --sout-ffmpeg-strict=-2


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests