can't stream some MKV

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.

can't stream some MKV

Postby arabesc » Tue Mar 24, 2009 11:06 am

1. computer specs: AMD X2 4800, 2Gb, Vista x64, PS3 Media Server v1.10.51; stream receiver: PDP Pioneer KRP-600A
2. ethernet 100Mbits
3. muxing of some MKV files does not working
4. tsmuxer
5. debug.log:
Code: Select all
[Thread-162] DEBUG 12:44:35.463 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-162] DEBUG 12:44:35.463 Received on socket: HOST: 192.168.1.33:5001
[Thread-162] DEBUG 12:44:35.463 Received on socket: CONTENT-LENGTH: 994
[Thread-162] DEBUG 12:44:35.463 Received on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-162] DEBUG 12:44:35.463 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[Thread-162] DEBUG 12:44:35.463 Received on socket: USER-AGENT: POSIX UPnP/1.0 DLNADOC/1.50 UPnP SDK/1.6.0
[Thread-162] INFO  12:44:35.463 HTTP: upnp/control/content_directory / 0-0
[Thread-162] DEBUG 12:44:35.463 Wrote on socket: HTTP/1.1 200 OK
[Thread-162] DEBUG 12:44:35.463 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-162] DEBUG 12:44:35.463 Searching for objectId: 0$2 with children option: true
[Thread-162] DEBUG 12:44:35.463 End of analysis
[Thread-162] DEBUG 12:44:35.464 Wrote on socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.10.51
[Thread-162] DEBUG 12:44:35.464 Wrote on socket: Content-Length: 1413
[Thread-162] DEBUG 12:44:35.464 Wrote on socket:
[Thread-162] DEBUG 12:44:35.464 Close Connection
[Thread-158] DEBUG 12:44:35.478 FFmpeg version SVN-r16596-Sherpya, Copyright (c) 2000-2009 Fabrice Bellard, et al.
[Thread-158] DEBUG 12:44:35.478   libavutil     49.12. 0 / 49.12. 0
[Thread-158] DEBUG 12:44:35.478   libavcodec    52.10. 0 / 52.10. 0
[Thread-158] DEBUG 12:44:35.478   libavformat   52.23. 1 / 52.23. 1
[Thread-158] DEBUG 12:44:35.478   libavdevice   52. 1. 0 / 52. 1. 0
[Thread-158] DEBUG 12:44:35.478   libavfilter    0. 2. 0 /  0. 2. 0
[Thread-158] DEBUG 12:44:35.478   libswscale     0. 6. 1 /  0. 6. 1
[Thread-158] DEBUG 12:44:35.478   libpostproc   51. 2. 0 / 51. 2. 0
[Thread-158] DEBUG 12:44:35.478   built on Jan 14 2009 07:24:48, gcc: 4.2.5 20080919 (prerelease) [Sherpya]
[Thread-158] DEBUG 12:44:35.478 Input #0, matroska, from 'C:\Users\Public\Videos\movie.mkv':
[Thread-158] DEBUG 12:44:35.478   Duration: 01:26:15.80, start: 0.000000, bitrate: N/A
[Thread-158] DEBUG 12:44:35.479     Stream #0.0(eng): Video: h264, yuv420p, 1920x1040, 23.98 tb(r)
[Thread-158] DEBUG 12:44:35.479     Stream #0.1(rus): Audio: ac3, 48000 Hz, 5.1, s16
[Thread-158] DEBUG 12:44:35.479     Stream #0.2(ukr): Audio: ac3, 48000 Hz, 5.1, s16
[Thread-158] DEBUG 12:44:35.479     Stream #0.3(rus): Audio: ac3, 48000 Hz, 5.1, s16
[Thread-158] DEBUG 12:44:35.479     Stream #0.4(eng): Audio: ac3, 48000 Hz, 5.1, s16
[Thread-158] DEBUG 12:44:35.479 Output #0, h264, to 'pipe:':
[Thread-158] DEBUG 12:44:35.479     Stream #0.0(eng): Video: libx264, yuv420p, 1920x1040 [PAR 1:1 DAR 24:13], q=2-31, 23.98 tb(c)
[Thread-158] DEBUG 12:44:35.479 Stream mapping:
[Thread-158] DEBUG 12:44:35.479   Stream #0.0 -> #0.0
[Thread-158] DEBUG 12:44:35.479 Press [q] to stop encoding
[Thread-158] DEBUG 12:44:35.479 video:1kB audio:0kB global headers:0kB muxing overhead 12.500000%
[Thread-151] DEBUG 12:44:35.485 EOF
[Thread-151] DEBUG 12:44:35.485 Ready to Stop: true
[Thread-151] DEBUG 12:44:35.486 H264 file: C:\Users\Public\Videos\movie.mkv: Profile: 100 / level: 51 / ref frames: 8
[Thread-151] INFO  12:44:35.486 H264 file: C:\Users\Public\Videos\movie.mkv is not ps3 compatible !
[Thread-151] INFO  12:44:35.486 Creating pipe \\.\pipe\1237887875486ffmpegaudio01
[Thread-151] INFO  12:44:35.488 Creating pipe \\.\pipe\1237887875486audioout
[Thread-165] INFO  12:44:35.489 Waiting for pipe connection \\.\pipe\1237887875486ffmpegaudio01
[Thread-151] INFO  12:44:35.494 Creating pipe \\.\pipe\1237887875494tsmuxerout.ts
[Thread-166] INFO  12:44:35.498 Waiting for pipe connection \\.\pipe\1237887875486audioout
[Thread-168] INFO  12:44:35.499 Waiting for pipe connection \\.\pipe\1237887875494tsmuxerout.ts
[win32/mencoder.exe] INFO  12:44:35.600 Starting C:\Program Files (x86)\PS3 Media Server\win32\mencoder.exe -ss 0 C:\Users\Public\Videos\movie.mkv -quiet -quiet -really-quiet -msglevel statusline=-1:mencoder=-1 -ovc copy -nosound -mc 0 -noskip -of rawvideo -o \\.\pipe\1237887875395ffmpegvideo
[win32/mencoder.exe] INFO  12:44:35.606 Attaching thread: win32/mencoder.exe
[Thread-153] INFO  12:44:35.647 Result of \\.\pipe\1237887875395ffmpegvideo : true
[win32/mencoder.exe] INFO  12:44:35.707 Starting C:\Program Files (x86)\PS3 Media Server\win32\mencoder.exe -ss 0 C:\Users\Public\Videos\movie.mkv -quiet -quiet -really-quiet -msglevel statusline=-1:mencoder=-1 -channels 2 -ovc copy -of rawaudio -mc 0 -noskip -oac lavc -fafmttag 0x2000 -lavcopts acodec=ac3:abitrate=384 -af lavcresample=48000 -srate 48000 -aid 0 -o \\.\pipe\1237887875486ffmpegaudio01
[win32/mencoder.exe] INFO  12:44:35.713 Attaching thread: win32/mencoder.exe
[Thread-165] INFO  12:44:35.755 Result of \\.\pipe\1237887875486ffmpegaudio01 : true
[win32/tsMuxeR.exe] INFO  12:44:35.802 Starting C:\Program Files (x86)\PS3 Media Server\win32\tsMuxeR.exe C:\Users\Igor\AppData\Local\Temp\javaps3media\pms-tsmuxer.meta \\.\pipe\1237887875494tsmuxerout.ts
[win32/tsMuxeR.exe] INFO  12:44:35.805 Reading pipe: \\.\pipe\1237887875494tsmuxerout.ts
[win32/tsMuxeR.exe] INFO  12:44:35.954 Attaching thread: win32/tsMuxeR.exe
[Thread-179] DEBUG 12:44:35.957 SmartLabs tsMuxeR.  Version 1.8.35(b) http://www.smlabs.net
[Timer-16] DEBUG 12:44:35.959 Buffered Space: 0 bytes / inputs: 0
[Thread-154] INFO  12:44:36.146 Forced reconnection of \\.\pipe\1237887875395videoout with result : true
[Thread-154] INFO  12:44:36.146 Result of \\.\pipe\1237887875395videoout : true
[Thread-166] INFO  12:44:36.147 Forced reconnection of \\.\pipe\1237887875486audioout with result : true
[Thread-166] INFO  12:44:36.147 Result of \\.\pipe\1237887875486audioout : true
[Thread-168] INFO  12:44:36.603 Result of \\.\pipe\1237887875494tsmuxerout.ts : true
[Timer-16] DEBUG 12:44:37.959 Buffered Space: 0 bytes / inputs: 0
[Thread-163] INFO  12:44:37.985 Stopping process: win32/ffmpeg.exe
[Thread-163] INFO  12:44:37.985 Destroying buffer
[Thread-163] INFO  12:44:38.249 Destroying buffer
[Thread-156] INFO  12:44:38.465 Stopping process: win32/ffmpeg.exe
[Thread-156] INFO  12:44:38.465 Destroying buffer
[Thread-176] DEBUG 12:44:39.319 Pes packet len too large ( >100Mb). Bad stream or invalid codec speciffed.
[Thread-166] INFO  12:44:39.322 Disconnected pipe: \\.\pipe\1237887875486audioout
[win32/tsMuxeR.exe] DEBUG 12:44:39.326 EOF
[win32/tsMuxeR.exe] TRACE 12:44:39.326 Process C:\Program Files (x86)\PS3 Media Server\win32\tsMuxeR.exe has a return code of -2! Maybe an error occured... check the log file
[win32/tsMuxeR.exe] INFO  12:44:39.327 Stopping process: win32/mencoder.exe
[win32/tsMuxeR.exe] INFO  12:44:39.327 Destroying buffer
[Thread-152] INFO  12:44:39.416 Error :null
[Thread-154] INFO  12:44:39.538 Error: null
[win32/tsMuxeR.exe] INFO  12:44:39.538 Stopping process: win32/mencoder.exe
[Thread-154] INFO  12:44:39.538 Disconnected pipe: \\.\pipe\1237887875395videoout
[Thread-164] INFO  12:44:39.538 Error :null
[win32/tsMuxeR.exe] INFO  12:44:39.538 Destroying buffer
[Thread-165] INFO  12:44:39.771 Error: null
[win32/mencoder.exe] DEBUG 12:44:39.772 EOF
[Thread-153] INFO  12:44:39.772 Error: Pipe closed
[win32/mencoder.exe] DEBUG 12:44:39.774 EOF
[Timer-16] DEBUG 12:44:39.959 Buffered Space: 0 bytes / inputs: 0
[Thread-151] DEBUG 12:44:40.802 Wrote on socket: Content-Type: video/mpeg
[Thread-151] DEBUG 12:44:40.802 Wrote on socket: Connection: keep-alive
[Thread-151] DEBUG 12:44:40.802 Wrote on socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.10.51
[Thread-151] DEBUG 12:44:40.802 Wrote on socket:
[Thread-151] DEBUG 12:44:40.802 Ready to Stop: true
[Thread-151] DEBUG 12:44:40.803 Sending stream: 32768 bytes of get/0$2$9/movie.mkv
[Thread-151] DEBUG 12:44:40.803 Close Connection
[Timer-16] DEBUG 12:44:41.959 Buffered Space: 0 bytes / inputs: 0
[Thread-180] INFO  12:44:43.303 Stopping process: win32/tsMuxeR.exe
[Thread-180] INFO  12:44:43.303 Stopping process: win32/mencoder.exe
[Thread-180] INFO  12:44:43.303 Destroying buffer
[Thread-180] INFO  12:44:43.542 Stopping process: win32/mencoder.exe
[Thread-180] INFO  12:44:43.542 Destroying buffer
[Thread-180] INFO  12:44:43.771 Destroying buffer
[Thread-181] INFO  12:44:43.908 Destroying buffer
[Thread-180] INFO  12:44:43.984 Destroying buffer

what could be wrong with this?
arabesc
 
Posts: 7
Joined: Tue Mar 24, 2009 1:55 am

Re: can't stream some MKV

Postby shagrath » Tue Mar 24, 2009 6:42 pm

tsmuxer will... mux :)
so if the video track does not play, or is badly recognized, this is normal behavior
you have to use mencoder for this one
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: can't stream some MKV

Postby arabesc » Tue Mar 24, 2009 7:25 pm

shagrath wrote:tsmuxer will... mux :)
so if the video track does not play, or is badly recognized, this is normal behavior
you have to use mencoder for this one

As you can see in log file, error is on server side not on receiver.
File is playing normaly on computer by MPC-HC, VLC players and through ffdshow codec.
arabesc
 
Posts: 7
Joined: Tue Mar 24, 2009 1:55 am

Re: can't stream some MKV

Postby shagrath » Tue Mar 24, 2009 7:30 pm

the video wouldn't play on ps3 anyway, so it's not really important...
will make some changes, but you will see a black screen next time...
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: can't stream some MKV

Postby arabesc » Tue Mar 24, 2009 7:45 pm

shagrath wrote:the video wouldn't play on ps3 anyway, so it's not really important...
will make some changes, but you will see a black screen next time...

How can I check the video compatibility with the PS3 (or other device)?
I compared some videos through MediaInfo and found no significant differences.
arabesc
 
Posts: 7
Joined: Tue Mar 24, 2009 1:55 am

Re: can't stream some MKV

Postby shagrath » Tue Mar 24, 2009 7:50 pm

shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: can't stream some MKV

Postby arabesc » Tue Mar 24, 2009 7:57 pm

shagrath wrote:http://ps3mediaserver.org/forum/viewtopic.php?f=2&t=675&p=3917&hilit=12288#p3913

Thanks!
arabesc
 
Posts: 7
Joined: Tue Mar 24, 2009 1:55 am

Re: can't stream some MKV

Postby arabesc » Tue Mar 24, 2009 8:32 pm

shagrath wrote:http://ps3mediaserver.org/forum/viewtopic.php?f=2&t=675&p=3917&hilit=12288#p3913

I have two video files:

#1
Code: Select all
General
Complete name                    : C:\Users\Public\Videos\movie1.mkv
Format                           : Matroska
File size                        : 6.28 GiB
Duration                         : 1h 25mn
Overall bit rate                 : 10.5 Mbps
Encoded date                     : UTC 2008-10-09 22:22:35
Writing application              : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library                  : libebml v0.7.7 + libmatroska v0.8.1

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 25mn
Bit rate                         : 7 019 Kbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16/9
Frame rate                       : 23.976 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.141
Title                            : x264 - crf encode
Writing library                  : x264 core 65 r998M 6768543
Encoding settings                : cabac=1 / ref=4 / deblock=1:2:1 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=38000 / vbv_bufsize=30000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language                         : English

Audio #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 1h 25mn
Bit rate mode                    : Constant
Bit rate                         : 768 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Title                            : Русский DTS,  6ch   768 kbps (Дубляж)
Language                         : Russian

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 1h 25mn
Bit rate mode                    : Constant
Bit rate                         : 448 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Title                            : Русский AC3,  6ch   448 kbps (Гаврилов)
Language                         : Russian

Audio #3
ID                               : 4
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 1h 25mn
Bit rate mode                    : Constant
Bit rate                         : 256 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Title                            : Украинский AC3,  2ch   256 kbps (Многолосый закадровый)

Audio #4
ID                               : 5
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 1h 25mn
Bit rate mode                    : Constant
Bit rate                         : 1 536 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Title                            : DTS - 1536 kbit/sec (Оригинал)
Language                         : English

Text #1
ID                               : 6
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Русский
Language                         : Russian

Text #2
ID                               : 7
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Английский
Language                         : English

#2
Code: Select all
General
Complete name                    : C:\Users\Public\Videos\movie2.mkv
Format                           : Matroska
File size                        : 7.21 GiB
Duration                         : 1h 26mn
Overall bit rate                 : 12.0 Mbps
Encoded date                     : UTC 2007-10-12 11:54:49
Writing application              : mkvmerge v2.0.2 ('You're My Flame') built on Jun 25 2007 12:41:14
Writing library                  : libebml v0.7.7 + libmatroska v0.8.1

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L5.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames
Muxing mode                      : Container profile=Unknown@5.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 26mn
Bit rate                         : 9 744 Kbps
Nominal bit rate                 : 10.2 Mbps
Width                            : 1 920 pixels
Height                           : 1 040 pixels
Display aspect ratio             : 16/9
Frame rate                       : 23.976 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.204
Title                            : 1920x1040, x264
Writing library                  : x264 core 54 svn-628
Encoding settings                : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=hex / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=10230 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Language                         : English

Audio #1
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 1h 26mn
Bit rate mode                    : Constant
Bit rate                         : 448 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Title                            : AC3, 6ch 448kbps (Dubbed)
Language                         : Russian

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 1h 26mn
Bit rate mode                    : Constant
Bit rate                         : 448 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Title                            : AC3, 6ch 448kbps
Language                         : Ukrainian

Audio #3
ID                               : 4
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 1h 26mn
Bit rate mode                    : Constant
Bit rate                         : 448 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Title                            : AC3, 6ch 448kbps
Language                         : Russian

Audio #4
ID                               : 5
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 1h 26mn
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Title                            : AC3, 6ch 448kbps
Language                         : English


first is playable, but second is not
the differences are in format profile and reframes but they are in allowable range as I know...
arabesc
 
Posts: 7
Joined: Tue Mar 24, 2009 1:55 am

Re: can't stream some MKV

Postby ExSport » Tue Mar 24, 2009 9:27 pm

Difference is in REF frames(refference). For 1920x1080 movie max ref frames = 4 ;)
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: can't stream some MKV

Postby arabesc » Tue Mar 24, 2009 9:34 pm

ExSport wrote:Difference is in REF frames(refference). For 1920x1080 movie max ref frames = 4 ;)

Is it true not only for L4.1 profile, but even for L5.1 too?
arabesc
 
Posts: 7
Joined: Tue Mar 24, 2009 1:55 am

Next

Return to General Help and Support

Who is online

Users browsing this forum: No registered users and 15 guests