Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th March 2009, 20:01   #1441  |  Link
kenguru2005
FinalCut´ter
 
kenguru2005's Avatar
 
Join Date: Jan 2009
Location: Tübingen, Germany
Posts: 152
Same with HDV mov files. mplayer seems to prefer mkv files. :-)
kenguru2005 is offline   Reply With Quote
Old 10th March 2009, 22:10   #1442  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
Quote:
Originally Posted by deank View Post
If anyone can understand what MPLAYER does - please let me know. Here is an example:

D:\multiAVCHD\tools>mplayer -ss 1 D:\multiAVCHD\AVCHD_2\BDMV\STREAM\00000.MTS
...
mplayer outputs:

A: 605.6 V: 605.6 A-V: 0.034 ct: -0.002 62/ 62 43% 4% 27.0% 22 0

... as playing second 605.
I was taking a shower and thinking... And I guess mplayer uses PTS time-stamp from m2ts for base. M2TS intro PTS timestamp usually holds value of 10-11 seconds, thus 600+ value in mplayer's output.

I'll check if -ss parameter is not about seconds but packets when it comes to m2ts files. Let me do some tests and I'll get back with more info.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 11th March 2009, 04:32   #1443  |  Link
WhatHappend
Registered User
 
Join Date: Mar 2009
Posts: 31
Quote:
Originally Posted by deank View Post
I'll check if -ss parameter is not about seconds but packets when it comes to m2ts files. Let me do some tests and I'll get back with more info.
Here is my take on mplayer -ss with m2ts files that contain VBR movies.

Looking at the source for Mplayer and doing testing with mplayer, I think it is not detecting frame rate (bytes/sec), so just doing a byte seek based on this source code demux_ts.c:
Quote:
newpos = (flags & SEEK_ABSOLUTE) ? demuxer->movi_start : demuxer->filepos;
if(flags & SEEK_FACTOR) // float seek 0..1
newpos+=(demuxer->movi_end-demuxer->movi_start)*rel_seek_secs;
else
{
// time seek (secs)
if(! video_stats) // unspecified or VBR
newpos += 2324*75*rel_seek_secs; // 174.3 kbyte/sec
else
newpos += video_stats*rel_seek_secs;
}
It looks like a -ss 300 is the same as -sb 300*2324*75 for VBR videos in a m2ts file.

For a work around (with VBR you will never be precise), you can take ( size of clip in bytes / duration of the clip in sec) * seconds to seek as the parameter to -sb instead of using -ss.

If you really wanted to be exact, you could do positions before and after approximate chapter mark and look at the V parameter coming out of mplayer to help narrow down the exact chapter location. (I would never bother). It is cool the V keep incrementing with each M2TS file in a series for one title.
WhatHappend is offline   Reply With Quote
Old 11th March 2009, 09:35   #1444  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
Thanks - I'll try these settings.

p.s. My server was down since 22:00GMT yesterday - that's why you couldn't reach it with traceroute.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 11th March 2009, 10:53   #1445  |  Link
fsnavi
Registered User
 
Join Date: Jan 2009
Posts: 26
Build 451:

Quite often the process is stopped with the following Windows message:

"CFileIO: (RT) Error opening .....\STREAM\1403.m2ts, Error Code = 32, XXXX. - line 280."

.....= destination folder
XXXX= no access to this file; used by another process (translation from German)

The Log is stopping with "Setting menu for 2 titles..."


FSNAVI
fsnavi is offline   Reply With Quote
Old 11th March 2009, 11:00   #1446  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
Quite often or everytime and with what kind of menu? It is possible that Windows reaches its maximum for simultaneously opened files.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 11th March 2009 at 11:03.
deank is offline   Reply With Quote
Old 11th March 2009, 11:17   #1447  |  Link
fsnavi
Registered User
 
Join Date: Jan 2009
Posts: 26
Quote:
Originally Posted by deank View Post
Quite often or everytime and with what kind of menu? It is possible that Windows reaches its maximum for simultaneously opened files.
1. Not every time, maybe every 2nd time
2. Custom menu checked, Create Thumbnails checked
3. It is only 1 MPEG-file loaded


FSNAVI
fsnavi is offline   Reply With Quote
Old 11th March 2009, 13:01   #1448  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
Build 452:

Changed the way thumbnails for chapters are generated (as suggested by WhatHappend). They appear a lot closer to the real chapter jump now

FSNAVI: please let me know if the error continues to show. I did change something.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 11th March 2009, 14:16   #1449  |  Link
Butterfly666
Registered User
 
Butterfly666's Avatar
 
Join Date: May 2008
Posts: 54
Yesterday I have tested your great program and I noticed that the info of the subtitles witch language it is isnt showing om the ps3. Its undetirmined.
When I put the mkv in mediainfo it says its english etc. same as in Tsmuxer. Am I doing something wrong?
Butterfly666 is offline   Reply With Quote
Old 11th March 2009, 15:46   #1450  |  Link
jdeiro
Brazilian PS3 Fanboy
 
Join Date: Jan 2009
Location: Rio de Janeiro/RJ/Brazil
Posts: 20
Had a little problem yesterday, Dean.

I created a AVCHD with 17 titles, with XMB style menu and custom background. All other settings were default, I didn't even edit the titles names.

The 15 first titles appeared correctly on the XMB, but the last two were not on XMB format, it was like a custom menu, without any info on the titles (it was blank, all I got were the arrows).

Did I do something wrong?

Cheers!
jdeiro is offline   Reply With Quote
Old 11th March 2009, 15:48   #1451  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
If it was in previous builds - it was fixed.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 11th March 2009, 15:49   #1452  |  Link
WhatHappend
Registered User
 
Join Date: Mar 2009
Posts: 31
Quote:
Originally Posted by deank View Post
p.s. My server was down since 22:00GMT yesterday - that's why you couldn't reach it with traceroute.
?? How did you know I couldn't reach your server via tracert? (you must have googled your host name "multiavchd.deanbg.com")

Last edited by WhatHappend; 11th March 2009 at 15:53.
WhatHappend is offline   Reply With Quote
Old 11th March 2009, 15:52   #1453  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
Google.

About the thumbnails - I used -sb ( (m2ts_file_size*0.9) / (mts_duration_in_seconds) ) * chapter_jump_in_seconds.

It's not ideal, but is better than before.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 11th March 2009 at 16:00.
deank is offline   Reply With Quote
Old 11th March 2009, 16:30   #1454  |  Link
WhatHappend
Registered User
 
Join Date: Mar 2009
Posts: 31
Quote:
Originally Posted by deank View Post

About the thumbnails - I used -sb ( (m2ts_file_size*0.9) / (mts_duration_in_seconds) ) * chapter_jump_in_seconds.

It's not ideal, but is better than before.
I will try it out tonight.

Did you test 4gig m2ts files with the 0.9 ? That seems a little arbitrary.

Thanks....

Last edited by WhatHappend; 11th March 2009 at 16:32.
WhatHappend is offline   Reply With Quote
Old 11th March 2009, 17:17   #1455  |  Link
Mandecs
Registered User
 
Join Date: Mar 2009
Posts: 2
Hey Deank

Nice program...
the XMB menu works perfect on my ps3. I was wondering if it is possible to add a feature that allows you to add a picture(blu-ray cover) to the title i the XMB menu?
Mandecs is offline   Reply With Quote
Old 11th March 2009, 17:37   #1456  |  Link
kenguru2005
FinalCut´ter
 
kenguru2005's Avatar
 
Join Date: Jan 2009
Location: Tübingen, Germany
Posts: 152
Hi Dean,

do you have still problems with your server? When starting the programm, I see "checking for new version" for about 1 min., then this:



I could update to newest version via multiupdate.exe. But still no update within multiAVCHD.

EDIT: all is good, did a complete download, then it updated correctly.

Last edited by kenguru2005; 11th March 2009 at 17:42.
kenguru2005 is offline   Reply With Quote
Old 11th March 2009, 17:42   #1457  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
My cheap router locked

There is a problem with mplayer... keeps crashing Please update to 453.

Code:
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen. ( deank: :) :) )
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 11th March 2009 at 18:22.
deank is offline   Reply With Quote
Old 11th March 2009, 18:12   #1458  |  Link
kenguru2005
FinalCut´ter
 
kenguru2005's Avatar
 
Join Date: Jan 2009
Location: Tübingen, Germany
Posts: 152
Quote:
Originally Posted by deank View Post
My cheap router locked

Please update to 453.
There is no 453 yet.
kenguru2005 is offline   Reply With Quote
Old 11th March 2009, 18:16   #1459  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 4,247
There is now

If someone knows of other program (not mplayer) that can extract frames from m2ts files - let me know.

I'll do some tests with ffmpeg, but suggestions are welcome.


In 453 mplayer sometimes crashes but second attempt is made and usually does not give errors... if 2nd attempt fails - THIRD attempt is made and it ALWAYS succeeds (but the thumnail is not really corresponding to the jump point)...

The problem is that if error occurs - compilation stops until you confirm 'mplayer exeption'.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 11th March 2009 at 18:21.
deank is offline   Reply With Quote
Old 11th March 2009, 19:03   #1460  |  Link
WhatHappend
Registered User
 
Join Date: Mar 2009
Posts: 31
The new version 453, goofed up my XMB menu. The chapters thumbs were much better (I think the .9 should be remove because the icons are minutes early), but listed with the wrong movie title. Every other title didn't show up on the main XMB menu and the chapters showed up and played with different movie's icon (The first title was ok). If you would try to wrap around the XMB menu up or down, the PS3 would lockup.

playing titlie 1 plays title 1 and show correct chapters
playing title 2 plays nothing (3 second blank video) show duration 0m 00s
playing title 3 plays title 2 and shows title 2 chapter thumbs
playing title 4 plays nothing (3 second blank video) show duration 0m 00s
playing title 5 plays title 3 and shows title 3 chapter thumbs

No access to title 4 and 5.

The log error were like the following:
[12:26:05] Populating menu structure...
[12:26:13] Creating menu backgrounds for 9 titles (XMB)...
[12:27:07] Error creating background image for title #2 (XMB)!

Full log is attached.
Attached Files
File Type: txt 20090311-123646-multiAVCHD.txt (10.1 KB, 6 views)

Last edited by WhatHappend; 12th March 2009 at 07:14.
WhatHappend is offline   Reply With Quote
Reply

Tags
avchd, blu-ray hd-dvd, mkv, multiavchd, re-author

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.