I do not use OGM movies and just created one using avi2mkv. It does not show such errors.
I'm sure there is something about the files I'm using that is the problem. They are many years old and I have no idea what the encode settings were when it was created.
avi2mkv uses ffmpeg only for media type detection (simple audio streams).
If ffmpeg is being used to detect audio streams and throws that error, might that not explain why it excludes it?
When writing MKV it uses mkvmerge, which can thanks to Moritz Bunkus read OGM
directly. ffmpeg would only be part of the process if you had external audio (a second
audio stream or replacement audio) to identify the audio format. For the rest of the
detection process it uses mplayer. If you wanted to convert the audio streams before
muxing the process would get a little bit more complex.
I didn't realize that mkvmerge could handle OGM directly. After reading this I tried to mux the offending files directly by dropping them into mkvmergeGUI without demuxing first and it worked fine. The only noticeable hitch was that it puts the audio as the first track instead of the video.
It also says here that ffmpeg is only used when there are external audio files. Am I missing something from that statement above where you say it's used for media detection?
What formats do video
and audio streams have (mediainfo can give a good list).
Code: Select all
General
Complete name : /Seikai no Monshou - 06.ogm
Format : OGG
File size : 211 MiB
Duration : 25mn 5s
Overall bit rate : 1 177 Kbps
Video
ID : 0 (0x0)
Format : MPEG-4 Visual
Format profile : Advanced Simple@L3
Format settings, BVOP : Yes
Format settings, QPel : Yes
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 25mn 5s
Bit rate : 1 010 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.137
Stream size : 181 MiB (86%)
Writing library : XviD 0.0.09 (UTC 2003-03-25)
Audio
ID : 1 (0x1)
Format : Vorbis
Format settings, Floor : 1
Duration : 25mn 5s
Bit rate mode : Constant
Bit rate : 112 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Stream size : 20.1 MiB (10%)
Writing library : libVorbis 1.0 (UTC 2002-07-17)
Do you use the default settings for avi2mkv (in /home/<username>/.fangorn/config)?
The only change I made was to the language section.
I really doubt that your script is the cause of the problem here. If anything I'd bet it's one of the tools being used. Maybe this isn't worth troubleshooting much further. The only real issue I see is not getting any feedback when a stream fails to mux properly. This obviously hasn't been a problem in the past, so this might an isolated case. Either way I wanted you to be aware that it can happen.
I appreciate the time you've taken to help me troubleshoot this but I certainly don't expect you to take it any further unless you want to out of curiosity. If so I would be happy to make the source file available to you on my file server. Otherwise, I'll just do my OGM files manually one at a time with mkvmergeGUI. If I run into any other snags with my AVI files I'll be sure to let you know.
Many Thanks,
Ako