Ripping a DVD to mp4 h264 errors

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
PeterInToronto
New Cone
New Cone
Posts: 2
Joined: 22 Aug 2012 22:01

Ripping a DVD to mp4 h264 errors

Postby PeterInToronto » 22 Aug 2012 22:09

I am trying to rip a DVD to an MP4 file with an H264 codec in Windows 7, using VLC 2.02 Twoflower.

The command that I am running is:

vlc dvdsimple:///D:\ --sout=#transcode{vcodec=h264,acodec=mp4a}:standard{access=file,mux=mp4,dst=C:\\bogus\\HatFieldsAndMcCoys.mp4}

At the beginning and end of the rip, I get the following:
Streaming / Transcoding failed:
VLC could not open the encoder.
Streaming / Transcoding failed:
VLC could not open the encoder.

The file does get created, but there is no audio.

I hope this is a simple issue that has a similar workaround.

Thanks in advance!

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: Ripping a DVD to mp4 h264 errors

Postby Jean-Baptiste Kempf » 23 Aug 2012 00:08

try acodec=mp3
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.

PeterInToronto
New Cone
New Cone
Posts: 2
Joined: 22 Aug 2012 22:01

Re: Ripping a DVD to mp4 h264 errors

Postby PeterInToronto » 23 Aug 2012 16:44

Thanks, changing the Audio codec to mp3 resolved the error dialog, and the transcode succeeded without any indicated exceptions. But...when playing back in VLC, the audio is skippy/garbled. It audio and video plays in Windows Media Player. When streaming from a web page, there is no audio at all.

Here is the audio codec information from the transcoded MP4 from VLC (where the audio is garbled):

Codec: MPEG Audio layer 1/2/3 (mpga)

I do have another h264 encoded file, which wasn't transcoded from VLC, and it plays both audio and video perfectly in VLC, Media Player, and when streaming from a web page (via HTML5's "<VIDEO>" tag.).

Here is the audio coded information from the non-VLC transcoded file (where the audio is perfect in all players)

Codec: MPEG AAC Audio (mp4a)

Is there a reason why the mp4a audio codec cannot be used?

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: Ripping a DVD to mp4 h264 errors

Postby Jean-Baptiste Kempf » 23 Aug 2012 21:54

Seems like a bug in 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 “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests