Discussion Forums > Technology
Hardsubbing video using Avisynth
Bob2004:
Well, I've clearly found the root of the problem now - eac3to just tells me that "The format of the source file could not be detected", and when I try Clementine's transcoder it tells me "Could not initialise supporting library" (in fact, it turns out Clementine can't play the audio file at all).
So there's definitely something wrong with the audio track - MPC plays it absolutely fine, with no problems whatsoever, but it refuses to play nice with everything else. I guess I ought to try a few more encoders and see if any of them work. Since eac3to seems capable of demuxing MKV files, I'm giving that a go as well to see if it's a problem with mkvextract breaking the file (wouldn't be the first time, though it usually just truncates them at random when it does so, so I think it's unlikely).
Thanks for your help so far guys, I originally assumed it was a problem with Avisynth, but obviously not.
EDIT: After demuxing it again, eac3to now gives me this error: "The AC3 encoder received a non-supported data format (pcm, 5, 24, -)". So I guess it definitely is something to do with the way THORA encoded it.
Temuthril:
--- Quote from: Bob2004 on August 16, 2012, 03:54:29 PM ---EDIT: After demuxing it again, eac3to now gives me this error: "The AC3 encoder received a non-supported data format (pcm, 5, 24, -)". So I guess it definitely is something to do with the way THORA encoded it.
--- End quote ---
eac3to has command line options to change bit depth, channel numbers, etc.
revo:
if you don't like CLI you can use Useac3to GUI (it's very good)
Bob2004:
--- Quote from: Temuthril on August 16, 2012, 06:27:23 PM ---
--- Quote from: Bob2004 on August 16, 2012, 03:54:29 PM ---EDIT: After demuxing it again, eac3to now gives me this error: "The AC3 encoder received a non-supported data format (pcm, 5, 24, -)". So I guess it definitely is something to do with the way THORA encoded it.
--- End quote ---
eac3to has command line options to change bit depth, channel numbers, etc.
--- End quote ---
That's the thing - it understood the file type, number of channels, etc correctly. I guess I should have posted the entire output:
--- Quote ---E:\Util\eac3to>eac3to "From_Up_On_Poppy_Hi ll_(2011)_[1080p,BluRay,flac,x264]_-_THORA - 2 - FLAC, Japanese, 5.0 channels, 13051, 24 bits, 48kHz.flac" audio.ac3 -320 -down2 -mixlfe
FLAC, 5.0 channels, 1:30:51, 24 bits, 3163kbps, 48kHz
Decoding FLAC...
The AC3 encoder received a non-supported data format (pcm, 5, 24, -).
Aborted at file position 262144.
--- End quote ---
I've bolded the key bit - that line is absolutely correct, and matches the output from mediainfo I posted in the OP. So even though it can tell what kind of file it is, it just can't decode it properly. Trying to encode it into MP3 or ogg instead just gives a "This audio conversion is not supported." error.
Temuthril:
Try -down2 -down16 just in case.
Also try making the following AviSynth script:
--- Code: ---
DirectShowSource("video.mkv")
--- End code ---
Then open it in VirtualDub for example and save the audio track as wav.
If you're using CCCP, by default ffdshow should output the audio as 16 bit stereo.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version