shagrath wrote:are you using latest version? ffmpeg is used to extract some AVC informations
you can also post a more large debug.log :p
lol absolutely (and thanks again shagrath)
Here's the log from start to finish when I try to use tsmuxer as well as my version of ffmpeg
ffmpeg version:
- Code: Select all
ffmpeg -version
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Jul 29 2008 18:21:25, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
ffmpeg SVN-rUNKNOWN
libavutil 3212032
libavcodec 3352064
libavformat 3344896
Yeah ok not so nice on the version as it's an svn version lol .. I do know it's the version that comes with Kubuntu (lenny/sid). Here's a full log and trace right from starting PMS to having it erorr out on me trying to use tsmuxer:
PMS Trace
- Code: Select all
$ ./PMS.sh
GUI environment no available
Switching to console mode
[main] TRACE 12:24:54.989 Starting Java PS3 Media Server v1.10.5
[main] TRACE 12:24:54.991 by shagrath / 2008-2009
[main] TRACE 12:24:54.992 http://ps3mediaserver.blogspot.com
[main] TRACE 12:24:54.992 http://code.google.com/p/ps3mediaserver
[main] TRACE 12:24:54.993
[main] TRACE 12:24:54.993 Java 1.6.0_07-Sun Microsystems Inc.
[main] TRACE 12:24:54.994 OS Linux i386 2.6.24-19-generic
[main] TRACE 12:24:54.994 Encoding: UTF-8
[main] TRACE 12:24:55.007 Temp folder: /tmp/javaps3media
[main] TRACE 12:24:55.042 Registering transcoding engine FFmpeg Audio
[main] TRACE 12:24:55.061 Registering transcoding engine MEncoder
[main] TRACE 12:24:55.062 Registering transcoding engine MPlayer Audio
[main] TRACE 12:24:55.063 Registering transcoding engine MEncoder Web
[main] TRACE 12:24:55.064 Registering transcoding engine MPlayer Video Dump
[main] TRACE 12:24:55.065 Registering transcoding engine MPlayer Web
[main] TRACE 12:24:55.071 Registering transcoding engine TsMuxer
[main] TRACE 12:24:55.072 Registering transcoding engine Audio High Fidelity
[main] TRACE 12:24:55.073 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 12:24:55.074 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 12:24:55.076 Registering transcoding engine Raws Thumbnailer
[main] TRACE 12:24:55.203 Scanning network interface eth0 / eth0
[main] TRACE 12:24:55.206 Using address /192.168.69.169 found on network interface: name:eth0 (eth0) index: 2 addresses: /192.168.69.169;
[main] TRACE 12:24:55.207 Created socket: /192.168.69.169:5001
[Thread-1] TRACE 12:24:55.219 Starting DLNA Server on host 192.168.69.169 and port 5001...
[main] TRACE 12:24:55.224 Sending ALIVE...
[main] TRACE 12:24:55.237 Using following UUID: 7171dca7-b449-3a4c-aa15-9c477b9ab4eb
[Thread-1] TRACE 12:24:58.983 Receiving a request from: 192.168.69.7
[main] TRACE 12:24:59.246 It's ready! You should see the server appears on XMB
[Thread-9] TRACE 12:25:09.244 Sending ALIVE...
[Thread-100] TRACE 12:25:32.276 Starting transcode/remux of Max.Payne.UNRATED.720p.BluRay.x264.mkv
[Thread-100] TRACE 12:25:32.359 Process ffmpeg has a return code of 1! Maybe an error occured... check the log file
[Thread-9] TRACE 12:25:32.910 Sending ALIVE...
[linux/tsMuxeR] TRACE 12:25:33.813 Process /home/lonny/pms-linux-1.10.5/linux/tsMuxeR has a return code of 134! Maybe an error occured... check the log file
[Thread-3] TRACE 12:25:52.393 Sending BYEBYE...
Debug Log
- Code: Select all
[Thread-9] DEBUG 12:25:32.912 Multicast socket is on interface: /192.168.69.169
[Thread-9] DEBUG 12:25:32.912 Socket Timeout: 0
[Thread-9] DEBUG 12:25:32.912 Socket TTL: 32
[Thread-10] DEBUG 12:25:32.912 Receiving a NOTIFY from [192.168.69.169:58963]
[Thread-107] DEBUG 12:25:32.996 Opening file /tmp/javaps3media/1236882332362ffmpegaudio01 for reading...
[mencoder] INFO 12:25:33.047 Starting mencoder -ss 0 /mt/Videos/Max.Payne.UNRATED.720p.BluRay.x264-SEPTiC/Max.Payne.UNRATED.720p.BluRay.x264.mkv -quiet -quiet -really-quiet -msglev
el statusline=-1:mencoder=-1 -channels 2 -ovc copy -of rawaudio -mc 0 -noskip -oac copy -af volume=0 -quiet -quiet -srate 48000 -o /tmp/javaps3media/1236882332362ffmpegaudio01
[Thread-107] DEBUG 12:25:33.172 Opening file /tmp/javaps3media/1236882332362audioout for writing...
[Thread-10] DEBUG 12:25:33.173 Receiving a NOTIFY from [192.168.69.169:58963]
[linux/tsMuxeR] INFO 12:25:33.180 Starting /home/lonny/pms-linux-1.10.5/linux/tsMuxeR /tmp/javaps3media/pms-tsmuxer.meta /tmp/javaps3media/1236882332366tsmuxerout.ts
[Thread-107] DEBUG 12:25:33.209 DTS bits per sample: 24
[Thread-107] DEBUG 12:25:33.210 DTS framesize: 2012
[mencoder] INFO 12:25:33.212 Attaching thread: mencoder
[linux/tsMuxeR] INFO 12:25:33.222 Reading pipe: /tmp/javaps3media/1236882332366tsmuxerout.ts
[linux/tsMuxeR] DEBUG 12:25:33.222 Opening file /tmp/javaps3media/1236882332366tsmuxerout.ts for reading...
[Thread-123] DEBUG 12:25:33.222 Stream with high frequencies VQ coding
[linux/tsMuxeR] INFO 12:25:33.788 Attaching thread: linux/tsMuxeR
[Timer-4] DEBUG 12:25:33.789 Buffered Space: 0 bytes / inputs: 0
[Thread-129] DEBUG 12:25:33.789 SmartLabs tsMuxeR. Version 1.7.3(b) http://www.smlabs.net
[Thread-129] DEBUG 12:25:33.789 ^[M100.0% complete
[Thread-129] DEBUG 12:25:33.789 Decoding H264 stream (track 1): Profile: Baseline@3.2 Resolution: 14:128i Frame rate: not found
[Thread-129] DEBUG 12:25:33.789 Change H264 level from 3.2 to 4
[Thread-129] DEBUG 12:25:33.789 This H.264 stream don't containt fps value. Muxing fps is absent too. Set muxing FPS to default 25.0 value.
[Thread-129] DEBUG 12:25:33.789 Decoding H264 stream (track 1): Profile: Baseline@3.7 Resolution: 14:128i Frame rate: not found
[Thread-129] DEBUG 12:25:33.789 Change H264 level from 3.7 to 4
[Thread-126] DEBUG 12:25:33.789 tsMuxeR: ../vodTransport/src/nalUnits.cpp:203: virtual int NALUnit::deserialize(uint8_t*, uint8_t*): Assertion `(*buffer & 0x80) == 0' failed.
[Thread-126] DEBUG 12:25:33.790 Aborted
[Thread-10] DEBUG 12:25:33.812 Receiving a NOTIFY from [192.168.69.169:58963]
[linux/tsMuxeR] DEBUG 12:25:33.813 EOF
[linux/tsMuxeR] TRACE 12:25:33.813 Process /home/lonny/pms-linux-1.10.5/linux/tsMuxeR has a return code of 134! Maybe an error occured... check the log file
So it looks like it can't find the frame rate

although tsmuxer finds a frame rate:
- Code: Select all
Stream info: Profile: High@4.1 Resolution: 1280:536p Frame rate: 23.976
I've tried with and without the option to "force using the frame rate found form ffmpeg" and the outcome is the same, on the PS3 al I see is "the file is corrupt" ... if I use the default for PMS (mencoder) it plays the file fine. I just wanted to see if using tsmuxer would solve some of my audio sync issues with some other files
