VLC 2.0 mp2a codec missing?

About encoding, codec settings, muxers and filter usage
bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

VLC 2.0 mp2a codec missing?

Postby bzbit » 23 Feb 2012 01:15

For a while I've been using VLC 1.1.11 to transcode videos to MPEG2. After updating to VLC 2.0 I get the following error:

[0161d420] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:mp2a). Take a look few lines earlier to see possible reason.
[0161d420] stream_out_transcode stream out error: cannot create audio chain
[020c8b80] main decoder error: cannot create packetizer output (mpga)

The command line to transcode I am using is the following:

"C:\Program Files\VideoLAN\VLC\vlc.exe" --sout "#transcode{vcodec=mp2v,fps=30,vb=7000,acodec=mp2a,ab=224,samplerate=48000,channels=2,deinterlace}:std{access=file,mux=ps,dst="output.mpg"}" --sout-transcode-width 720 --sout-transcode-height 480 "C:\Movies\big_buck_bunny_1080p_stereo.avi" "vlc://quit"

Is there a new codec for MPEG2 audio? Has the option changed? i tried changing the transcode to use 'mpga' instead of 'mp2a' but that only encodes to MPEG1 audio and I need MPEG2.
Thanks for any help on this.

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: VLC 2.0 mp2a codec missing?

Postby Jean-Baptiste Kempf » 23 Feb 2012 19:28

Do you have the twolame plugin in your plugins window?
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0 mp2a codec missing?

Postby bzbit » 24 Feb 2012 00:05

Thanks for the prompt response.

A search of the Plugin Window shows the following plugin:

Libtwolame audio encoder

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: VLC 2.0 mp2a codec missing?

Postby Jean-Baptiste Kempf » 24 Feb 2012 01:22

mpeg 1 audio and mpeg2 audio are the same

mpga gives layer 3 while mp2a gives layer 2.
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0 mp2a codec missing?

Postby bzbit » 24 Feb 2012 02:30

Thank you for the clarification. I need layer 2, mp2a...however I get the error I described above whenever I attempt to transcode to mp2a. It doesn't matter what type of source file I use.

should I not be using 'acodec=mp2a' in the transcode command line? The 'acodec=mp2a' worked fine in version 1.1.11 of VLC.

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: VLC 2.0 mp2a codec missing?

Postby Jean-Baptiste Kempf » 24 Feb 2012 08:00

mp2a in 1.1.11 created layer3, you know ? :D
Anyway, file a bugreport and I will fix.
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0 mp2a codec missing?

Postby bzbit » 25 Feb 2012 00:31

Wow, that's confusing. :D

I will file a report. Thanks for the help!

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0 mp2a codec missing?

Postby bzbit » 25 Feb 2012 00:43

Report filed.

Ticket #6227 (for those who might want to check up on it and/or add more information)

I only have the capability to test on the windows platform. If anyone else can try this on other platforms and update the ticket that would be appreciated.

Thanks.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0 mp2a codec missing?

Postby bzbit » 25 Feb 2012 23:27

After some research and much hair pulling in version 1.1.11 :lol: I have found that mp2a created mpeg audio version 1 layer 2 and mpga creates mpeg audio version 1 layer 3.

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: VLC 2.0 mp2a codec missing?

Postby Jean-Baptiste Kempf » 26 Feb 2012 00:56

pff... ok :)
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0 mp2a codec missing?

Postby bzbit » 23 Mar 2012 23:46

I wanted to let you know that I recently made a rather large (for me anyway) donation to the project in the hope of increasing the priority on the resolution of this issue. Since the product is free you programmers deserve some reward.

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: VLC 2.0 mp2a codec missing?

Postby Jean-Baptiste Kempf » 26 Mar 2012 00:36

Yes, I saw it and I am working on it.
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0 mp2a codec missing?

Postby bzbit » 27 Mar 2012 02:22

Awesome. Thank you very much.

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: VLC 2.0 mp2a codec missing?

Postby Jean-Baptiste Kempf » 06 Apr 2012 02:55

Fixed for 2.0.2
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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests