Embedded VobSUB + CoreAVC decoding without AviSynth

If you have a suggestion for a feature, post it here

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby oceanm » Mon Mar 01, 2010 3:43 pm

BarntryRed:
Actually i'm not an expert for A/V Syncing options, but i think you are having problems like mine as i stated in Known Issues.

With AviSynth playback, many codecs like AC3 and DTS you can't copy audio streams to another, thats why this audio streams must be reencoded, not remuxed.

Reencoding with AviSynth creates more reliable A/V Sync.

You could try to remove -mc option from parameters, removing check/checks from Remuxing Audio Settings in Transcoding Window and Alternative A/V Sync method option, try different combinations.

For your Avisynth/mencoder problems, a clean log would be useful.
oceanm
 
Posts: 5
Joined: Fri Feb 26, 2010 3:15 am

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby oceanm » Mon Mar 01, 2010 4:23 pm

Code: Select all
vcodec == h264 || vcodec == H264 || vcodec == X264 || vcodec == x264 || vcodec == avc1 || vcodec == AVC1 || vcodec == VSSH :: -noass -mc 0.005 -vc coreavc -mt


By this parameters mplayer will use coreavc for more files.
oceanm
 
Posts: 5
Joined: Fri Feb 26, 2010 3:15 am

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby BantryRed » Mon Mar 01, 2010 5:08 pm

Oceanm, This is debug log for avisynth/mencoder for this movie. Thanks


[code][win32/mencoder.exe] INFO 15:55:05.030 Reading pipe: \\.\pipe\mencoder1267458904364
[win32/mencoder.exe] INFO 15:55:05.031 Attaching thread: win32/mencoder.exe
[Timer-0] DEBUG 15:55:06.567 Buffered Space: 0 bytes / inputs: 0
[Thread-22] DEBUG 15:55:08.045 MEncoder Sherpya-SVN-r30521 (C) 2000-2010 MPlayer Team
[Thread-22] DEBUG 15:55:08.053 success: format: 0 data: 0x0 - 0x2ba
[Timer-0] DEBUG 15:55:08.567 Buffered Space: 0 bytes / inputs: 0
[Timer-0] DEBUG 15:55:10.568 Buffered Space: 0 bytes / inputs: 0
[New I/O server worker #1-3] DEBUG 15:55:10.722 Ready to Stop: true
[New I/O server worker #1-3] DEBUG 15:55:10.726 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-3] DEBUG 15:55:10.726 Sent to socket: Connection: keep-alive
[New I/O server worker #1-3] DEBUG 15:55:10.726 Sent to socket: Content-Type: video/mpeg
[New I/O server worker #1-3] DEBUG 15:55:10.726 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.20.401
[New I/O server worker #1-3] DEBUG 15:55:10.727 Opened handler on socket /192.168.1.5:63007 // Playstation 3
[New I/O server worker #1-3] DEBUG 15:55:10.727 Handler infos: HTTP/1.1 : POST : upnp/control/content_directory
[New I/O server worker #1-3] DEBUG 15:55:10.727 Received on socket: Content-Length: 907
[New I/O server worker #1-3] DEBUG 15:55:10.727 Received on socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-3] DEBUG 15:55:10.727 Received on socket: Host: 192.168.1.3:5001
[New I/O server worker #1-3] DEBUG 15:55:10.727 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[New I/O server worker #1-3] DEBUG 15:55:10.727 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[New I/O server worker #1-3] DEBUG 15:55:10.727 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[New I/O server worker #1-3] INFO 15:55:10.727 HTTP: upnp/control/content_directory / 0-0
[New I/O server worker #1-3] DEBUG 15:55:10.727 Searching for objectId: 0$0$0$0 with children option: false
[New I/O server worker #1-4] DEBUG 15:55:10.742 Opened handler on socket /192.168.1.5:63006 // Playstation 3
[New I/O server worker #1-4] DEBUG 15:55:10.742 Handler infos: HTTP/1.0 : GET : get/0$0$0$0$1$10$3/Casino+Royale.mkv
[New I/O server worker #1-4] DEBUG 15:55:10.742 Received on socket: Accept-Encoding: identity
[New I/O server worker #1-4] DEBUG 15:55:10.742 Received on socket: Cache-Control: no-cache
[New I/O server worker #1-4] DEBUG 15:55:10.742 Received on socket: Connection: close
[New I/O server worker #1-4] DEBUG 15:55:10.742 Received on socket: Host: 192.168.1.3:5001
[New I/O server worker #1-4] DEBUG 15:55:10.742 Received on socket: User-Agent: PLAYSTATION 3
[New I/O server worker #1-4] INFO 15:55:10.742 HTTP: get/0$0$0$0$1$10$3/Casino+Royale.mkv / 0-0
[New I/O server worker #1-4] DEBUG 15:55:10.754 Searching for objectId: 0$0$0$0$1$10$3 with children option: false
[New I/O server worker #1-4] DEBUG 15:55:10.755 Asked stream chunk [0-0] timeseek: 0.0 of Casino Royale.mkv and player Avisynth/MEncoder
[New I/O server worker #1-4] DEBUG 15:55:10.755 Ready to Stop: false
[New I/O server worker #1-3] DEBUG 15:55:10.756 Sent to socket: Content-Length: 990
[New I/O server worker #1-3] DEBUG 15:55:10.756 Sent to socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-3] DEBUG 15:55:10.756 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.20.401
[New I/O server worker #1-4] DEBUG 15:55:10.756 Suspend Read: readCount=0 / writeCount=0
[New I/O server worker #1-2] DEBUG 15:55:10.788 Opened handler on socket /192.168.1.5:63004 // Playstation 3
[New I/O server worker #1-2] DEBUG 15:55:10.788 Handler infos: HTTP/1.1 : GET : get/0$0$0$0$1$10$3/Casino+Royale.mkv
[New I/O server worker #1-2] DEBUG 15:55:10.788 Received on socket: Accept-Encoding: identity
[New I/O server worker #1-2] DEBUG 15:55:10.788 Received on socket: Connection: Keep-Alive
[New I/O server worker #1-2] DEBUG 15:55:10.788 Received on socket: Host: 192.168.1.3:5001
[New I/O server worker #1-2] DEBUG 15:55:10.788 Received on socket: TimeSeekRange.dlna.org: npt=0.000-
[New I/O server worker #1-2] DEBUG 15:55:10.788 Received on socket: transferMode.dlna.org: Streaming
[New I/O server worker #1-2] DEBUG 15:55:10.788 Received on socket: User-Agent: PLAYSTATION 3
[New I/O server worker #1-2] INFO 15:55:10.789 HTTP: get/0$0$0$0$1$10$3/Casino+Royale.mkv / 0-0
[New I/O server worker #1-2] DEBUG 15:55:10.789 Searching for objectId: 0$0$0$0$1$10$3 with children option: false
[New I/O server worker #1-2] DEBUG 15:55:10.789 Asked stream chunk [0-0] timeseek: 0.0 of Casino Royale.mkv and player Avisynth/MEncoder
[New I/O server worker #1-2] DEBUG 15:55:10.790 Suspend Read: readCount=0 / writeCount=0
[New I/O server worker #1-1] DEBUG 15:55:10.969 Opened handler on socket /192.168.1.5:63005 // Playstation 3
[New I/O server worker #1-1] DEBUG 15:55:10.969 Handler infos: HTTP/1.1 : POST : upnp/control/content_directory
[New I/O server worker #1-1] DEBUG 15:55:10.969 Received on socket: Content-Length: 914
[New I/O server worker #1-1] DEBUG 15:55:10.969 Received on socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-1] DEBUG 15:55:10.969 Received on socket: Host: 192.168.1.3:5001
[New I/O server worker #1-1] DEBUG 15:55:10.969 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[New I/O server worker #1-1] DEBUG 15:55:10.969 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[New I/O server worker #1-1] DEBUG 15:55:10.969 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[New I/O server worker #1-1] INFO 15:55:10.969 HTTP: upnp/control/content_directory / 0-0
[New I/O server worker #1-1] DEBUG 15:55:10.969 Searching for objectId: 0$0$0$0 with children option: true
[New I/O server worker #1-1] DEBUG 15:55:10.970 End of analysis
[New I/O server worker #1-1] DEBUG 15:55:10.974 Sent to socket: Content-Length: 6525
[New I/O server worker #1-1] DEBUG 15:55:10.974 Sent to socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-1] DEBUG 15:55:10.974 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.20.401
[New I/O server worker #1-3] DEBUG 15:55:11.111 Opened handler on socket /192.168.1.5:63003 // Playstation 3
[New I/O server worker #1-3] DEBUG 15:55:11.111 Handler infos: HTTP/1.1 : GET : get/0$0$0$0$0/thumbnail000012rounds.mkv
[New I/O server worker #1-3] DEBUG 15:55:11.111 Received on socket: Accept-Encoding: identity
[New I/O server worker #1-3] DEBUG 15:55:11.111 Received on socket: Connection: Keep-Alive
[New I/O server worker #1-3] DEBUG 15:55:11.111 Received on socket: Host: 192.168.1.3:5001
[New I/O server worker #1-3] DEBUG 15:55:11.111 Received on socket: transferMode.dlna.org: Interactive
[New I/O server worker #1-3] DEBUG 15:55:11.111 Received on socket: User-Agent: PLAYSTATION 3
[New I/O server worker #1-3] INFO 15:55:11.111 HTTP: get/0$0$0$0$0/thumbnail000012rounds.mkv / 0-0
[New I/O server worker #1-3] DEBUG 15:55:11.111 Searching for objectId: 0$0$0$0$0 with children option: false
[New I/O server worker #1-3] DEBUG 15:55:11.112 Available Content-Length: 14772
[New I/O server worker #1-3] DEBUG 15:55:11.115 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-3] DEBUG 15:55:11.115 Sent to socket: Connection: keep-alive
[New I/O server worker #1-3] DEBUG 15:55:11.115 Sent to socket: Content-Length: 14772
[New I/O server worker #1-3] DEBUG 15:55:11.115 Sent to socket: Content-Type: image/jpeg
[New I/O server worker #1-3] DEBUG 15:55:11.115 Sent to socket: Expires: Fri, 25 Jun 2010 09:41:51 GMT
[New I/O server worker #1-3] DEBUG 15:55:11.115 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.20.401
[New I/O server worker #1-3] DEBUG 15:55:11.115 Sent to socket: TransferMode.DLNA.ORG: Interactive
[New I/O server worker #1-1] DEBUG 15:55:11.306 Opened handler on socket /192.168.1.5:63001 // Playstation 3
[New I/O server worker #1-1] DEBUG 15:55:11.307 Handler infos: HTTP/1.1 : GET : get/0$0$0$0$3/thumbnail000028+WEEKS+LATER.avi
[New I/O server worker #1-1] DEBUG 15:55:11.307 Received on socket: Accept-Encoding: identity
[New I/O server worker #1-1] DEBUG 15:55:11.307 Received on socket: Connection: Keep-Alive
[New I/O server worker #1-1] DEBUG 15:55:11.307 Received on socket: Host: 192.168.1.3:5001
[New I/O server worker #1-1] DEBUG 15:55:11.307 Received on socket: transferMode.dlna.org: Interactive
[New I/O server worker #1-1] DEBUG 15:55:11.307 Received on socket: User-Agent: PLAYSTATION 3
[New I/O server worker #1-1] INFO 15:55:11.307 HTTP: get/0$0$0$0$3/thumbnail000028+WEEKS+LATER.avi / 0-0
[New I/O server worker #1-1] DEBUG 15:55:11.307 Searching for objectId: 0$0$0$0$3 with children option: false
[New I/O server worker #1-1] DEBUG 15:55:11.307 Available Content-Length: 20861
[New I/O server worker #1-1] DEBUG 15:55:11.309 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-1] DEBUG 15:55:11.309 Sent to socket: Connection: keep-alive
[New I/O server worker #1-1] DEBUG 15:55:11.309 Sent to socket: Content-Length: 20861
[New I/O server worker #1-1] DEBUG 15:55:11.309 Sent to socket: Content-Type: image/jpeg
[New I/O server worker #1-1] DEBUG 15:55:11.309 Sent to socket: Expires: Fri, 25 Jun 2010 09:41:51 GMT
[New I/O server worker #1-1] DEBUG 15:55:11.309 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.20.401
[New I/O server worker #1-1] DEBUG 15:55:11.309 Sent to socket: TransferMode.DLNA.ORG: Interactive
[Thread-22] DEBUG 15:55:11.367 AVS file format detected.
[Thread-22] DEBUG 15:55:11.368 VIDEO: [YV12] 1280x544 12bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[Thread-22] DEBUG 15:55:11.368 [V] filefmt:38 fourcc:0x32315659 size:1280x544 fps:23.976 ftime:=0.0417
[Thread-22] DEBUG 15:55:11.368 Input fps will be interpreted as 23.976 instead.
[Thread-22] DEBUG 15:55:11.368 ==========================================================================
[Thread-22] DEBUG 15:55:11.369 Opening audio decoder: [pcm] Uncompressed PCM audio decoder
[Thread-22] DEBUG 15:55:11.369 AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000)
[Thread-22] DEBUG 15:55:11.369 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
[Thread-22] DEBUG 15:55:11.369 ==========================================================================
[Thread-19] INFO 15:55:11.369 Result of \\.\pipe\mencoder1267458904364 : true
[Thread-22] DEBUG 15:55:11.369 PACKET SIZE: 2048 bytes, deltascr: 884
[Thread-22] DEBUG 15:55:11.370 Opening video filter: [expand osd=1]
[Thread-22] DEBUG 15:55:11.370 Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
[Thread-22] DEBUG 15:55:11.370 ==========================================================================
[Thread-22] DEBUG 15:55:11.371 Forced video codec: coreavc
[Thread-22] DEBUG 15:55:11.372 ==========================================================================
[Thread-21] DEBUG 15:55:11.372 Cannot find codec matching selected -vo and video format 0x32315659.
[Thread-22] DEBUG 15:55:11.372 Exiting...
[Thread-19] DEBUG 15:55:11.443 EOF
[win32/mencoder.exe] DEBUG 15:55:11.459 EOF
[win32/mencoder.exe] TRACE 15:55:11.459 Process C:\Program Files\PS3 Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occured... check the log file/code]

My pc is Q6600, wired network ver .401, any other info you need, just let me know. Thanks
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby ExSport » Mon Mar 01, 2010 5:19 pm

Code: Select all
 Forced video codec: coreavc
[Thread-22] DEBUG 15:55:11.372 ==========================================================================
[Thread-21] DEBUG 15:55:11.372 Cannot find codec matching selected -vo and video format 0x32315659.

1. You are using mencoder.exe instead of mencoder_mt.exe
2. MEncoder Sherpya-SVN-r30521 should support dsnative.dll already so maybe it is missing?
I am not sure now from what version MEncoder supports dsnative.dll so you can use CoreAVC but definitely CoreAVC wasn't loaded ;)
About audio not synced...hard to say...it depends on many things...but for me in 99% disabling Alternate A/V Sync option plus adding -mc 0.005 fixed my problem and I never re-encoded audio stream(mux only is ticked)
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby BantryRed » Mon Mar 01, 2010 5:27 pm

ExSport,
Ive MEncoder Sherpya-SVN-r30521, also Ive the dsnative.dll file, but the -mt version, is there a difference with the normall mencoder??
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby BantryRed » Mon Mar 01, 2010 5:45 pm

Ive just tried newer version, MEncoder Sherpya-SVN-r30725-4.2.5 and the dll file that came with it (version 0.0.0.2), but still got error. Can normall mencoder use coreavc? I think that this is the problem.

[Thread-25] DEBUG 16:31:11.071 MEncoder Sherpya-SVN-r30725-4.2.5 (C) 2000-2010 MPlayer Team
[Thread-25] DEBUG 16:31:11.078 success: format: 0 data: 0x0 - 0x2ba
[Timer-0] DEBUG 16:31:11.618 Buffered Space: 0 bytes / inputs: 0
[Thread-25] DEBUG 16:31:13.211 AVS file format detected.
[Thread-25] DEBUG 16:31:13.211 VIDEO: [YV12] 1280x544 12bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[Thread-25] DEBUG 16:31:13.211 [V] filefmt:38 fourcc:0x32315659 size:1280x544 fps:23.976 ftime:=0.0417
[Thread-25] DEBUG 16:31:13.211 Input fps will be interpreted as 23.976 instead.
[Thread-25] DEBUG 16:31:13.211 ==========================================================================
[Thread-25] DEBUG 16:31:13.212 Opening audio decoder: [pcm] Uncompressed PCM audio decoder
[Thread-25] DEBUG 16:31:13.212 AUDIO: 48000 Hz, 6 ch, floatle, 9216.0 kbit/100.00% (ratio: 1152000->1152000)
[Thread-25] DEBUG 16:31:13.212 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
[Thread-25] DEBUG 16:31:13.213 ==========================================================================
[Thread-25] DEBUG 16:31:13.213 PACKET SIZE: 2048 bytes, deltascr: 884
[Thread-22] INFO 16:31:13.213 Result of \\.\pipe\mencoder1267461069475 : true
[Thread-25] DEBUG 16:31:13.214 Opening video filter: [expand osd=1]
[Thread-25] DEBUG 16:31:13.214 Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
[Thread-25] DEBUG 16:31:13.214 ==========================================================================
[Thread-25] DEBUG 16:31:13.214 Forced video codec: coreavc
[Thread-25] DEBUG 16:31:13.215 ==========================================================================
[Thread-24] DEBUG 16:31:13.215 Cannot find codec matching selected -vo and video format 0x32315659.
[Thread-25] DEBUG 16:31:13.215 Exiting...
[Thread-22] DEBUG 16:31:13.288 EOF
[win32/mencoder.exe] DEBUG 16:31:13.300 EOF
[win32/mencoder.exe] TRACE 16:31:13.301 Process C:\Program Files\PS3 Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occured... check the log file

This is when using mencoder/avisynth.
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby ExSport » Mon Mar 01, 2010 5:49 pm

Avisynth loads CoreAVC automatically so it is not necessary to load it via -vc parameter.
-vc coreavc is used when Avisynth engine is not used ;) Check topic name 8-)
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby BantryRed » Mon Mar 01, 2010 5:59 pm

Sorry, so for me the couple of odd movies that wont remux with tsmuxer, I'm better of to use mencoder/avisynth because the av sync is better, P.S. on a side note over the last couple of days Ive set up a psp lite in the play room and synced it with remote play. Handy feature all the movies seem to stream fine to second tv. Thanks for all the help above.
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby BantryRed » Mon Mar 01, 2010 9:23 pm

Ok,did some further testing, didn't realise that your settings ExSport would make coreavc work with normal mencoder, thought it was -mt only... So your settings seem to be good for me. Thanks Lads
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: Embedded VobSUB + CoreAVC decoding without AviSynth

Postby fedez76 » Tue Apr 20, 2010 12:27 pm

oceanm wrote:A guide to make decode with coreavc for mencoder, works for me very nicely:

1- Grab the latest copy mencoder_mt package from http://oss.netfarm.it/mplayer-win32.php
2- Extract archive, rename mencoder.exe to mencoder_mt.exe, copy this file and dsnative.dll to C:\program files\ps3 media server\win32
4- Install coreavc. ($10 to buy)
3- Copy C:\Program Files\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax to C:\program files\ps3 media server\win32\codecs
4- Open Transcoding Settings tab on the PS3 Media Server
5- Video Files Engines->Mencoder->Expert Settings: ....
6- Write to custom parameters textedit area "vcodec == h264 :: -noass -mc 0.005 -vc coreavc -mt" without quotes.

Should work with non-mt builds.
Have fun!

Edit: Oh, BTW, it really helps to make faster transcodes.
Anyone knows quality performance of coreavc? I've heard it's a little bit lower than the ffmpeg's decoder. Is that true?

Hi to everyone... This thread is very usefull and maybe will fix my problem...

Actually the only way to see .mkv with external .idx .sub for me is enter in transcode and play .mkv with avisynth/mencoder but i have block every few minutes...
Will I fix that if I follow your istruction?
fedez76
 
Posts: 9
Joined: Wed Feb 17, 2010 9:35 am

PreviousNext

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest