Discussion:
can't demux with ogminfo / need to re-pac OGV to MKV
Jiri Navratil
2012-07-01 18:30:58 UTC
Permalink
Hello,

I need to demux video files created with ffmpeg2theora 0.28+svn18147

I have ogminfo v1.5

and getting this error
(ogminfo.c) OGG stream 1 is of an unknown type (bad header?)
(ogminfo.c) OGG stream 2 is of an unknown type (bad header?)
(ogminfo.c) (a1/serial 1092562206) Vorbis audio (channels 2 rate 48000)

Is possible, that ogminfo is older then ffmpeg2theora ? Or what can be the reason?

oggz-info.macosx movie.ogv
Content-Duration: 01:55:03.400

Skeleton: serialno 1092562209
6 packets in 5 pages, 1.2 packets/page, 0.777% Ogg overhead
Presentation-Time: 0.000
Basetime: 0.000

Theora: serialno 1092562207
172588 packets in 42501 pages, 4.1 packets/page, 0.526% Ogg overhead
Theora-Version: 3.2.1
Video-Framerate: 25.000 fps
Video-Width: 716
Video-Height: 572

Vorbis: serialno 1092562206
435481 packets in 18312 pages, 23.8 packets/page, 1.443% Ogg overhead
Audio-Samplerate: 48000 Hz
Audio-Channels: 2


mkvmerge -o movie.mkv movie.ogv
mkvmerge v5.6.0 ('Kenya Kane') built on Jul 1 2012 17:12:28
'movie.ogv': Using the demultiplexer for the format 'Ogg/OGM'.
'movie.ogv' track 1: Using the output module for the format 'Theora'.
'movie.ogv' track 2: Using the output module for the format 'Vorbis'.
mkvmerge(36391) malloc: *** error for object 0x7fff78ea1860: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

I need to re-pack my Vorbis + Theora from OGG to MKV. How I can do that, please? (I'm on Mac OS X and have Linuxes and OpenBSDs too)

Thank you,
Jiri

--
Jiri Navratil, http://www.navratil.cz
Gregory Maxwell
2012-07-01 18:52:24 UTC
Permalink
Post by Jiri Navratil
Hello,
I need to demux video files created with ffmpeg2theora 0.28+svn18147
I have ogminfo v1.5
and getting this error
(ogminfo.c) OGG stream 1 is of an unknown type (bad header?)
You almost certainly shouldn't be using 'ogminfo' for anything.

The tools from liboggz are what you should use on Ogg/Theora+Vorbis files.
Post by Jiri Navratil
mkvmerge(36391) malloc: *** error for object 0x7fff78ea1860: pointer being
freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
I need to re-pack my Vorbis + Theora from OGG to MKV. How I can do that,
please? (I'm on Mac OS X and have Linuxes and OpenBSDs too)
This is a pretty clear bug in mkvmerge. Potentially its fixed in a
later version than what you're running.

If not, at a minimum you should report it:
http://www.bunkus.org/videotools/mkvtoolnix/bugreports.html

You might want to try remuxing with ffmpeg, something like ffmpeg -i
input.ogv -acodec copy -vcodec copy output.mkv. But I make no
promises about the quality/validity of the files that come out.
Jiří Navrátil
2012-07-02 04:45:32 UTC
Permalink
Hello Gregory,

Thank you for you reply.

oggz-rip is demuxing fine

mkvmerge can't merge demuxed files, I will file a bug report

command
ffmpeg -i input.ogv -acodec copy -vcodec copy output.mkv
is working fine, so I have the solution. thank you!

Best regards,
Jiri

--
Jiri Navratil, http://www.navratil.cz
Post by Gregory Maxwell
Post by Jiri Navratil
Hello,
I need to demux video files created with ffmpeg2theora 0.28+svn18147
I have ogminfo v1.5
and getting this error
(ogminfo.c) OGG stream 1 is of an unknown type (bad header?)
You almost certainly shouldn't be using 'ogminfo' for anything.
The tools from liboggz are what you should use on Ogg/Theora+Vorbis files.
Post by Jiri Navratil
mkvmerge(36391) malloc: *** error for object 0x7fff78ea1860: pointer being
freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
I need to re-pack my Vorbis + Theora from OGG to MKV. How I can do that,
please? (I'm on Mac OS X and have Linuxes and OpenBSDs too)
This is a pretty clear bug in mkvmerge. Potentially its fixed in a
later version than what you're running.
http://www.bunkus.org/videotools/mkvtoolnix/bugreports.html
You might want to try remuxing with ffmpeg, something like ffmpeg -i
input.ogv -acodec copy -vcodec copy output.mkv. But I make no
promises about the quality/validity of the files that come out.
Jiri Navratil
2012-07-01 19:24:57 UTC
Permalink
I'm using ogmdemux v1.5
ogminfo v1.5 was used for outputs for this question

--
Jiri Navratil, http://www.navratil.cz, +420 777 224 245
Post by Jiri Navratil
Hello,
I need to demux video files created with ffmpeg2theora 0.28+svn18147
I have ogminfo v1.5
and getting this error
(ogminfo.c) OGG stream 1 is of an unknown type (bad header?)
(ogminfo.c) OGG stream 2 is of an unknown type (bad header?)
(ogminfo.c) (a1/serial 1092562206) Vorbis audio (channels 2 rate 48000)
Is possible, that ogminfo is older then ffmpeg2theora ? Or what can be the reason?
oggz-info.macosx movie.ogv
Content-Duration: 01:55:03.400
Skeleton: serialno 1092562209
6 packets in 5 pages, 1.2 packets/page, 0.777% Ogg overhead
Presentation-Time: 0.000
Basetime: 0.000
Theora: serialno 1092562207
172588 packets in 42501 pages, 4.1 packets/page, 0.526% Ogg overhead
Theora-Version: 3.2.1
Video-Framerate: 25.000 fps
Video-Width: 716
Video-Height: 572
Vorbis: serialno 1092562206
435481 packets in 18312 pages, 23.8 packets/page, 1.443% Ogg overhead
Audio-Samplerate: 48000 Hz
Audio-Channels: 2
mkvmerge -o movie.mkv movie.ogv
mkvmerge v5.6.0 ('Kenya Kane') built on Jul 1 2012 17:12:28
'movie.ogv': Using the demultiplexer for the format 'Ogg/OGM'.
'movie.ogv' track 1: Using the output module for the format 'Theora'.
'movie.ogv' track 2: Using the output module for the format 'Vorbis'.
mkvmerge(36391) malloc: *** error for object 0x7fff78ea1860: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
I need to re-pack my Vorbis + Theora from OGG to MKV. How I can do that, please? (I'm on Mac OS X and have Linuxes and OpenBSDs too)
Thank you,
Jiri
--
Jiri Navratil, http://www.navratil.cz
Gregory Maxwell
2012-07-01 20:33:06 UTC
Permalink
Post by Jiri Navratil
I'm using ogmdemux v1.5
ogminfo v1.5 was used for outputs for this question
Again, you should not be using any "ogm" tools with Ogg/Theora files.

If you want to demultiplex an ogg file one tool which should work for
you is "oggz-rip".
Loading...