View Full Version : tsMuxer has wrong gcc version
ggking7
6th December 2008, 19:41
Whenever I try to run the Linux version of tsMuxer, I get an error which I've come to know means it was compiled with a different version of gcc than the one I run. Can I get a binary compiled for gcc-4.1.2 or is the source code available?
HymnToLife
6th December 2008, 19:46
It is very weird, you should not get such issues unless you're working in kernel-space... Could you please paste the exact error message?
EDIT: Seems to work fine here on Ubuntu Intrepid.
sl1pkn07
6th December 2008, 20:12
tsmuxer not contains sources
tsmuxer "runs" (not probed exausted for me)
sl1pkn07@SpinFlo:~/aplicaciones/tsmuxer-1.7.3b$ ./tsMuxeR
SmartLabs tsMuxeR. Version 1.7.3(b) http://www.smlabs.net
Usage:
For start muxing: tsMuxeR <meta file name> <out file/dir name>
For detect stream params: tsMuxeR <media file name>
For more information about meta file see readme.txt
sl1pkn07@SpinFlo:~/aplicaciones/tsmuxer-1.7.3b$
ggking7
6th December 2008, 20:44
I must have been wrong about this error's meaning. Here is what I get:
$ ./tsMuxeR
/tmp/tmp.UObdGrc5Iz/tsMuxeR: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /tmp/tmp.UObdGrc5Iz/tsMuxeR)
I'm on Gentoo Linux.
HymnToLife
6th December 2008, 20:52
You're using a 64 bit system, right? You can't run 32 bit binaries straight away in it.
You can, however, setup 32 bit emulation (http://www.gentoo.ro/doc/en/gentoo-amd64-faq.xml#emul32) or, if that fails, a 32 bit chroot (http://www.gentoo.ro/doc/en/gentoo-amd64-faq.xml#chroot32).
ggking7
6th December 2008, 21:21
I actually have emul-linux-x86-baselibs and emul-linux-x86-compat installed and I have IA32 Emulation enabled in my kernel. Does this mean I definitely need to set up a chroot?
HymnToLife
6th December 2008, 22:31
Apparently, those packages do not provide libstdc++.so.6, and a quick Google search has given no results. First, make sure the library is indeed not there :
ls /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/libstdc++.so.6
It should give you "no such file or directory". Then try using that one (copied from my Ubuntu, it most likely will work fine):
cd
wget http://itsuki.fkraiem.org/stuff/libstdc++.so.6.0.10
sudo cp libstdc++.so.6.0.10 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/
cd /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/
sudo ln -s libstdc++.so.6.0.10 libstdc++.so.6
ggking7
6th December 2008, 23:01
I get:
ls /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/libstdc++.so.6
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/libstdc++.so.6
HymnToLife
6th December 2008, 23:18
Okay, so the file is there. I guess there's some kind of incompatibility, and not much you can do around it (which is exactly why closed source stuff is bad)... Maybe try asking on the Gentoo forums, or don't use tsMuxer altogether.
ggking7
6th December 2008, 23:27
Do you know of anything else that can convert TrueHD audio from within Linux? I can use tsremux (via 'mono tsremux.exe') to convert the audio but it can't put all of the m2ts files in the right order. Using eac3to via wine, I get an error about an unsupported audio format when dealing with TrueHD.
HymnToLife
7th December 2008, 02:14
eac3to (http://en.wikibooks.org/wiki/Eac3to) can, and according to the Wiki, it runs in Linux. I have never tested it myself in Linux, though.
EDIT: is there any reason why you'd want to use the Windows version of EAC3to in WINE?
ggking7
7th December 2008, 02:30
Are you saying there's a Linux version of eac3to available? I'm having some trouble with eac3to via wine, but I'm hoping to get it working.
HymnToLife
7th December 2008, 02:32
Are you saying there's a Linux version of eac3to available?
Actually no, there isn't. :p It's pretty dumb of them to say it runs in Linux when there is no native version... Anyway, I'm currently dumping a disc on a Linux machine, I'll see what I come up with.
HymnToLife
7th December 2008, 03:15
Seems to be working fine here:
firas@ana eac3to % wine eac3to.exe tokikake.m2ts
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fixme:reg:GetNativeSystemInfo (0x32f668) using GetSystemInfo()
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running Hooking GetModuleFileNameA failed (Success).
err:ole:apartment_createwindowifneededM21: TrueHD/AC3, Japanese, 5.1 channels, 48khz, dialnorm: -27dB (embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB) -
firas@ana eac3to %
firas@ana eac3to %
firas@ana eac3to % wine eac3to.exe tokikake.m2ts 1: tokikake.ac3
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fixme:reg:GetNativeSystemInfo (0x32f668) using GetSystemInfo()
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running Hooking GetModuleFileNameA failed (Success).
err:ole:apartment_createwindowifneeded CreateWindow failed with error 2 eac3to crashed... i:
fiM2TS, 1 audio track, 1:38:24 1: TrueHD/AC3, Japanese, 5.1 channels, 48khz, dialnorm: -27dB [a01] Extracting audio track number 1..eaDone.
firas@ana eac3to %
firas@ana eac3to % # Then the file can be loaded fine in e.g. ffmpeg:
firas@ana eac3to % ffmpeg -i tokikake.ac3
FFmpeg version SVN-r15985, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-libfaad --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-swscale --enable-postproc
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 6. 0 / 52. 6. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Dec 2 2008 21:39:31, gcc: 4.3.2
Input #0, ac3, from 'tokikake.ac3':
Duration: 01:38:24.41, bitrate: 640 kb/s
Stream #0.0: Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
At least one output file must be specified
Once again, in Ubuntu Intrepid (32 bit). I don't have a 64 bit system nearby to try it on, and uploading the M2TS to my 64 bit Debian server would take forever...
ggking7
7th December 2008, 04:53
I now can get eac3to+wine to -demux into separate stream files and then I can mux the files to mkv with mkvmerge. This solves the TrueHD audio problem and the "which .m2ts files in which order?" problem. Thank you very much for your help.
This only leaves the MKBv9 and BD+ problems. It sounds like dumphd will handle BD+ very soon, but as far as I know AnyDVD is the only software that handles MKBv9 and it doesn't work in wine. VirtualBox doesn't work for me and neither does vmware-workstation-5.5, but I'm working on getting 6.5 going.
What does a command like 'eac3to.exe tokikake.m2ts' do?
HymnToLife
7th December 2008, 05:06
What does a command like 'eac3to.exe tokikake.m2ts' do?
eac3to.exe inputfile will just output a list of all streams in the input. Here's the output with the full disc:
C:\>\software\eac3to\eac3to.exe D:\tokikake\BDMV\STREAM\00000.m2ts
M2TS, 1 video track, 4 audio tracks, 1 subtitle track, 1:38:19
1: Chapters, 21 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, Japanese, 5.1 channels, 48khz, dialnorm: -27dB
(embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB)
4: DTS Master Audio, Japanese, 5.1 channels, 16 bits, 48khz
(core: DTS, 5.1 channels, 16 bits, 1509kbps, 48khz)
5: RAW/PCM, Japanese, 2.0 channels, 16 bits, 48khz
6: AC3, Japanese, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
7: Subtitle (PGS), Japanese
(In my example in the message above, I had created an M2TS with only the TrueHD audio stream in it, which is why the output was shorter.)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.