Author Topic: DivX movies dont play AC3 Passthru  (Read 2294 times)

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
DivX movies dont play AC3 Passthru
« on: February 24, 2008, 07:29:38 am »
I'm playing DVD movies in AC3/DTS Passthru with no problem what so ever. But for some reason DivX movies play only in analog stereo altough on Vista they play in AC3/DTS Passthru just fine.
Any idea what might be causing it and how to fix it ?

Thnx
Itsik

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #1 on: February 25, 2008, 06:48:14 am »
anyone  ???

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #2 on: February 25, 2008, 12:58:50 pm »
Do you have a small sample so I can take a look into? I would suggest you to use Konsole and KDE Desktop to track the log of xine player in this case, can you do this? Basically you need to go to KDE desktop, stop linuxmce, then:

1) edit file /home/linuxmce/.xine/config
and find there parameter "audio.output.speaker_arrangement" and set it to "Pass Through"

2) run your sample in console with
$ xine --verbose=255 /path/to/sample

Then check if it uses the PassThrough now and provide log here for start.

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #3 on: February 26, 2008, 07:19:31 pm »
anyone  ???

Can you please do the following on any of your DivXs that doesn't work with SPDIF? Run the command:

#/opt/pluto-ffmpeg/bin/ffmpeg -i /path/to/my.divx

and post here the output.

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #4 on: February 26, 2008, 07:22:10 pm »
I'll do it once I get back home in a couple of hours ...

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #5 on: February 26, 2008, 09:16:08 pm »
I'm a total noob to linux so please bare with me ...

it gives me "unrecognized option '-i/home/public/data/other/internal' "

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #6 on: February 26, 2008, 09:19:57 pm »
I'm a total noob to linux so please bare with me ...

it gives me "unrecognized option '-i/home/public/data/other/internal' "

np. first, you should put space between "-i" and file name. second - if your path to video contains spaces, enclose the full name into quotes like "/tmp/my file has spaces in it"

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #7 on: February 26, 2008, 09:59:03 pm »
It gives me info on the codec versions ... could you tell me what exactly do you need or how can I copy and paste the content of the terminal (I opened it with ctl+alt+F2 ... )

Thnx
Itsik

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #8 on: February 26, 2008, 10:14:30 pm »
It gives me info on the codec versions ... could you tell me what exactly do you need or how can I copy and paste the content of the terminal (I opened it with ctl+alt+F2 ... )

Thnx
Itsik

Yes, I am interested in the codecs versions - codec, sampling rate, etc. so just copy output here. There is possibility that properties of AC3 stream in DVDs and in DivXs are different and you are getting the problems because of this.

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #9 on: February 26, 2008, 10:26:10 pm »
ok ... here goes ..:

FFmpeg version SVN-r19403, Copyright (c) 2000-2007 Fabrice Bellard, et al,
Configuration: --prefix=/opt/pluto-ffmpeg
libavutil version: 49.5.0
libavcodec version: 51.42.0
libavformat version: 51.12.2
built on Jan 15 2008 04:32:06, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2
16ubuntu2)

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #10 on: February 26, 2008, 10:30:33 pm »
Hmm.. it seems there is no info about tracks at all. Can you wrap it into "code" blocks? And be sure you include the last block. It should be like:

Code: [Select]
$ ffmpeg -i SURROUNDTEST_011212.wav
FFmpeg version SVN-r12187, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-nonfree --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-libfaac --enable-libfaad --enable-libtheora --enable-libvorbis --enable-libx264
  libavutil version: 49.6.0
  libavcodec version: 51.50.1
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Feb 24 2008 12:59:33, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Input #0, wav, from 'SURROUNDTEST_011212.wav':
  Duration: 00:02:06.6, bitrate: 1411 kb/s
    Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Must supply at least one output file

I am interested in "Stream .." info too.

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #11 on: February 26, 2008, 10:44:41 pm »
that's the only thing I'm getting

I'm trying to reboot now ... maybe it'll help ...
Are you on the chat by any chance ?

« Last Edit: February 26, 2008, 10:49:40 pm by Itsik »

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #12 on: February 26, 2008, 10:55:46 pm »
that's the only thing I'm getting

I'm trying to reboot now ... maybe it'll help ...
Are you on the chat by any chance ?



No, I am offline already - will be back in ~10 hours :)  I guess you are not passing correctly the name of DivX file. Try to change current directory to that one where DivX file is and then run from there:

$ /opt/pluto-ffmpeg/bin/ffmpeg -i filename.avi

You can also ask someone in IRC to help you with getting this info.

Itsik

  • Guru
  • ****
  • Posts: 185
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #13 on: February 27, 2008, 07:27:01 am »
Finally  ... There you go:

Code: [Select]
FFmpeg version SVN-r19403, Copyright (c) 2000-2007 Fabrice Bellard, et al,
Configuration: --prefix=/opt/pluto-ffmpeg
libavutil version: 49.5.0
libavcodec version: 51.42.0
libavformat version: 51.12.2
built on Jan 15 2008 04:32:06, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2
16ubuntu2)
Input #0, avi, from '/home/public/data/other/Internal HDD-CORE (sdb1) [35]/Itsik/Videos/Action/NEXT/NEXT.avi':
Duration: 01:31:57.9, start:0.000000, bitrate 1063 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 616x254, 25.00 fps(r)
Stream #0.1: Audio: 0x2000, 48000Hz, stereo, 192kb/s
Must supply at least one output file

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: DivX movies dont play AC3 Passthru
« Reply #14 on: February 27, 2008, 10:16:23 am »
Code: [Select]
Stream #0.1: Audio: 0x2000, 48000Hz, stereo, 192kb/s

Looks like this sample AVI has "stereo" audio track. Don't know, maybe Windows does some upmixing, pretending you have 5.1 track.