Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd December 2011, 17:03 | #566 | Link | |||
Registered User
Join Date: Jul 2010
Posts: 14
|
why h264enc didn't finish succesfully audio encoding ?
Quote:
Quote:
Quote:
Last edited by Goga777; 3rd December 2011 at 17:06. |
|||
3rd December 2011, 17:51 | #567 | Link | |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
Quote:
make sure you run h264enc -r after that |
|
3rd December 2011, 18:03 | #568 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
@Goga777
you have somehow introduced an illegal character. There's mentioning of an 'n' in the settings and the mkv global tags. I don't know how you introduced that character since I can't replicate here and I followed the exact steps you took |
14th December 2011, 10:56 | #570 | Link |
Registered User
Join Date: Dec 2011
Posts: 5
|
a/v sync problems
I used h264enc about a year ago and was really amazed. It just worked out of the box and produced great results. Since then I've updated from Fedora 14 to Fedora 16 and when I tried to use h264enc on my current system, it unfortunately didn't work at all.
First mencoder crashed all the time and I couldn't get anything encoded. Obviously the h264enc version and the mencoder version provided for Fedora 16 on http://rpmfusion.org/ are not compatible. I downloaded the 9.4.1 release of h264enc from sourceforge and manually compiled a current svn version of mencoder. This fixed most of the problems and h264enc almost works as expected now. The only remaining --- but unfortunately huge issue --- is a completely messed up a/v sync. I get lots of warnings about duplicate frames while encoding and the audio stream is several seconds off compared to the video stream in the resulting file. If I manually add "-mc 0 -noskip" to all mencoder calls in the created batchfile I don't see any of the duplicate frames warnings and a/v sync seems ok. Am I the only one seeing this kind of a/v sync problems with the default settings of h264enc, or is this a common problem (with a known fix)? By the way: I use the h264enc options "-crf -p ehq" to convert a PAL DVD and "COPY" for the audio stream which is an AC-3 stream. nevertheless: thanks for this great little helper tool! |
14th December 2011, 11:39 | #571 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
Unfortunately, this can happen at any time. MEncoder is unmaintained and each time it works, we're a bit lucky. I've also had my share of problems with it and am currently using a somewhat older version to bypass some issues in current ones. I don't think there's much I can do about your problem. My only two questions are: 1) does this also happen with other audio codecs? and 2) does this always happen, regardless of the DVD you use?
|
19th December 2011, 03:06 | #572 | Link |
Registered User
Join Date: Dec 2011
Posts: 5
|
sorry for the late response
I'm new to the forum and messed up my mail notification settings... I see the problem with lots of different DVDs I just checked one DVD with different audio codecs and the problem seems to be restricted to COPY. AAC, VORBIS and even reencoding to AC3 seems to work fine, but when selecting COPY for the AC3 input I get lots of duplicate frames and a/v sync issues in the output file. Adding "-mc 0 -noskip" to the mencoder calls fixes the a/v issues and I didn't find other artifacts in the output files, but I didn't run exhaustive tests and I'm definitely not an mencoder expert, so I'm not sure if it's a good idea to add it to the COPY preset. |
19th December 2011, 11:35 | #573 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
yeah, this definitely sounds like a mencoder issue. Unfortunately i can't add -mc 0 -noskip as default for copy as it couldn mess up things in other mencoder versions where this doesn't happen so i think you'll just need to keep adding these options
|
19th December 2011, 13:44 | #574 | Link | |
Registered User
Join Date: Dec 2011
Posts: 5
|
Thanks for the prompt reply!
Do you think I should report an mencoder bug for this issue? I know you have considered ffmpeg as alternative to mencoder Quote:
There might be less compatibility issues which might lead to less maintenance work on your side |
|
19th December 2011, 13:58 | #575 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
Even if you report it, I don't think anyone will fix the issue as no one works on mencoder anymore. The main dev of mplayer doesn't care much for mencoder and it's the same with the other handful devs. If you're up to it, report, but don't expect this to get fixed (anytime soon, if at all). I can add an option to the script so the user can pass "additional options" to mencoder... We'll see
No, I haven't considered VLC. It's not really a flexible encoding tool |
19th December 2011, 15:03 | #576 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
btw, I just tried using COPY on a few DVDs. It all works fine on my side. No duplicate or frame skipping issues. Though like I mentioned, I use a somewhat older SVN version of MEncoder - MEncoder SVN-r32792
|
19th December 2011, 15:44 | #579 | Link |
Registered User
Join Date: Dec 2011
Posts: 5
|
I found a related MEncoder bug and added a reference to this thread
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1958 |
Tags |
h264enc, ipod, mencoder, ps3, xbox360 |
Thread Tools | Search this Thread |
Display Modes | |
|
|