tsMuxer error 134 [SOLVED]

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

tsMuxer error 134 [SOLVED]

Postby SpEnTBoY » Thu Mar 12, 2009 4:12 pm

Hey all, just wondering if anyone has seen this error before. I can't seem to find any references to it :)

Code: Select all
[Thread-149] TRACE 08:55:36.993 Starting transcode/remux of my_test_file.mkv
[Thread-149] TRACE 08:55:37.137 Process ffmpeg has a return code of 1! Maybe an error occured... check the log file
[linux/tsMuxeR] TRACE 08:55:38.611 Process /home/lonny/pms-linux-1.10.5/linux/tsMuxeR has a return code of 134! Maybe an error occured... check the log file


When I check the log I get this:

Code: Select all
[Thread-191] DEBUG 08:55:43.118 Sending stream: 32768 bytes of get/0$0$12$4$25$1$3$1/my_test_file.mkv
[Thread-191] DEBUG 08:55:43.120 Close Connection
[Timer-9] DEBUG 08:55:44.625 Buffered Space: 0 bytes / inputs: 0
[Thread-187] INFO  08:55:45.554 Stopping process: linux/tsMuxeR
[Thread-187] DEBUG 08:55:45.554 Killing the Unix process: 4283
[Thread-189] INFO  08:55:45.590 Destroying buffer
[Thread-190] INFO  08:55:45.591 Destroying buffer
[Thread-187] INFO  08:55:45.592 Stopping process: mkfifo
[Thread-187] DEBUG 08:55:45.593 Killing the Unix process: 4245
[Thread-192] INFO  08:55:45.826 Destroying buffer
[Thread-193] INFO  08:55:45.826 Destroying buffer
[Thread-187] INFO  08:55:46.359 Stopping process: mkfifo
[Thread-187] INFO  08:55:46.360 Stopping process: mkfifo
[Thread-187] INFO  08:55:46.360 Stopping process: mencoder
[Thread-187] DEBUG 08:55:46.360 Killing the Unix process: 4261
[Thread-187] INFO  08:55:47.087 Destroying buffer
[Thread-187] INFO  08:55:47.443 Stopping process: mkfifo
[Thread-187] INFO  08:55:47.443 Stopping process: mkfifo
[Thread-187] INFO  08:55:47.443 Stopping process: mencoder
[Thread-187] DEBUG 08:55:47.443 Killing the Unix process: 4278
[Thread-187] INFO  08:55:47.704 Destroying buffer
[Thread-187] INFO  08:55:47.941 Destroying buffer
[code]

I can run txMuxer against the file locally and get the file info:

[code]
SmartLabs tsMuxeR.  Version 1.7.3(b) http://www.smlabs.net
Track ID:    3
Stream type: H.264
Stream ID:   V_MPEG4/ISO/AVC
Stream info: Profile: High@5.1  Resolution: 1280:544p  Frame rate: 25
Stream lang: eng
Track ID:    2
Stream type: AC3
Stream ID:   A_AC3
Stream info: Bitrate: 384Kbps Sample Rate: 48KHz Channels: 6
Stream lang: eng


I just can't run it from my PS3. Any ideas? Or any ideas how I could troubleshoot this better? :)

thanks!!
Last edited by SpEnTBoY on Thu Mar 12, 2009 11:17 pm, edited 1 time in total.
SpEnTBoY
 
Posts: 16
Joined: Wed Mar 11, 2009 1:47 am

Re: tsMuxer error 134

Postby shagrath » Thu Mar 12, 2009 6:38 pm

Process ffmpeg has a return code of 1! Maybe an error occured... check the log file


means that ffmpeg is the error cause, not tsmuxer
shagrath
Project Lead
 
Posts: 2664
Joined: Wed Jan 14, 2009 1:39 pm

Re: tsMuxer error 134

Postby SpEnTBoY » Thu Mar 12, 2009 6:53 pm

shagrath wrote:means that ffmpeg is the error cause, not tsmuxer


Any ideas why ffmpeg would cause an error "1"? running ffmpeg from command line I get no errors. What was tsmuxer or pms using ffmpeg for that would cause it to error? If I knew what it was trying to do I might have a better chance troubleshooting :)
Thanks!!
SpEnTBoY
 
Posts: 16
Joined: Wed Mar 11, 2009 1:47 am

Re: tsMuxer error 134

Postby shagrath » Thu Mar 12, 2009 6:57 pm

are you using latest version? ffmpeg is used to extract some AVC informations
you can also post a more large debug.log :p
shagrath
Project Lead
 
Posts: 2664
Joined: Wed Jan 14, 2009 1:39 pm

Re: tsMuxer error 134

Postby SpEnTBoY » Thu Mar 12, 2009 7:37 pm

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 :)
SpEnTBoY
 
Posts: 16
Joined: Wed Mar 11, 2009 1:47 am

Re: tsMuxer error 134

Postby shagrath » Thu Mar 12, 2009 7:40 pm

just post the whole file... I need what's done before that (ffmpeg -i ... -f h264 etc.)
shagrath
Project Lead
 
Posts: 2664
Joined: Wed Jan 14, 2009 1:39 pm

Re: tsMuxer error 134

Postby SpEnTBoY » Thu Mar 12, 2009 8:06 pm

shagrath wrote:just post the whole file... I need what's done before that (ffmpeg -i ... -f h264 etc.)


ok sorry (was trying to spare you weeding through 2000+ lines ... guess I'm not much of a help if I cut out what you need lol)

I put it Up on one of my wiki's because it was too big to paste it all here :)
SpEnTBoY
 
Posts: 16
Joined: Wed Mar 11, 2009 1:47 am

Re: tsMuxer error 134

Postby shagrath » Thu Mar 12, 2009 8:13 pm

Unknown bitstream filter h264_mp4toannexb


your ffmpeg is too old :p
shagrath
Project Lead
 
Posts: 2664
Joined: Wed Jan 14, 2009 1:39 pm

Re: tsMuxer error 134

Postby SpEnTBoY » Thu Mar 12, 2009 8:16 pm

shagrath wrote:
Unknown bitstream filter h264_mp4toannexb


your ffmpeg is too old :p


I give you 2000 lines and you find the issue in 60 seconds .. damnit!! lol .. ok I'll grab a new version and compile from scratch ... wonder how much other crap I'm going to need to recompile. Is there something special I'll need to enabe in my config for ffmpeg to have h264_mp4toannexb be happy and enabled/found?

thanks again shagrath, I should have just listened when you originally said it was too old :oops:

Edit: Ahhhhh !!! I can't get to their site today :( .. I'm thinking people are saturating their servers seeing as how 0.5 was just released this Tuesday ... bugger :(
SpEnTBoY
 
Posts: 16
Joined: Wed Mar 11, 2009 1:47 am

Re: tsMuxer error 134 [SOLVED]

Postby SpEnTBoY » Thu Mar 12, 2009 11:20 pm

Ok last post for this tpoic from me. I upgraded my entire Kubuntu installation to 8.1x from 8.04 and with that, a more recent version of ffmpeg etc ... everything appears to be working awesome, even other issues that were not in this thread. I'm going to do more testing and then go update my other non "issues"

Again, thanks Shagrath!! (BTW sweet friggn app!!) lol
SpEnTBoY
 
Posts: 16
Joined: Wed Mar 11, 2009 1:47 am

Next

Return to General Help and Support

Who is online

Users browsing this forum: geb724 and 16 guests