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 > General > Audio encoding
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 10th March 2008, 15:11   #3761  |  Link
BlackJack1
Registered User
 
Join Date: Jan 2008
Posts: 71
One simple question:
how you put long filenames and strings in CMD window? what is the smartest way to do it?
BlackJack1 is offline  
Old 10th March 2008, 15:19   #3762  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by madshi View Post
The problem with this is that the movie is encoded in "interlaced mode" in the beginning of the TS file, but then suddenly switches to "progressive mode" after a few milliseconds. eac3to currently cannot handle this. Maybe I'll add support for that in a future version if it's really needed. For now you can use either mkvmerge or you could try removing the first few milliseconds of the TS file. That should make it work with eac3to, too.
can anyone recommend a good and reliable mpeg2 .ts cutter for this? I only know h264ts_cutter which doesnt work for mpeg2 files.
Thunderbolt8 is offline  
Old 10th March 2008, 15:19   #3763  |  Link
Jaja1
Registered User
 
Join Date: Aug 2007
Posts: 59
Quote:
Originally Posted by madshi View Post
Make sure you delete the "gaps" file!
Duh ..... okay now it reports gaps. But after the second pass there still is a lot of judder.

Quote:
No, it means 24/1.001 = 23,976023976023976023976023976024.
LOL. Are you sure about the number of decimals?
Jaja1 is offline  
Old 10th March 2008, 15:20   #3764  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
go to 'calc' and type 24 / 1.001 and see whats the result
Thunderbolt8 is offline  
Old 10th March 2008, 15:20   #3765  |  Link
Jaja1
Registered User
 
Join Date: Aug 2007
Posts: 59
Quote:
Originally Posted by BlackJack1 View Post
One simple question:
how you put long filenames and strings in CMD window? what is the smartest way to do it?
Just drag them from the folder to the cmd line.
Jaja1 is offline  
Old 10th March 2008, 15:30   #3766  |  Link
BlackJack1
Registered User
 
Join Date: Jan 2008
Posts: 71
Quote:
Originally Posted by Jaja1 View Post
Just drag them from the folder to the cmd line.
Thank you
It works...
BlackJack1 is offline  
Old 10th March 2008, 15:36   #3767  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
I am speechless!!
MKVtoolnix with DTS-HD support!
nautilus7 is offline  
Old 10th March 2008, 15:43   #3768  |  Link
Jaja1
Registered User
 
Join Date: Aug 2007
Posts: 59
Quote:
Originally Posted by Thunderbolt8 View Post
go to 'calc' and type 24 / 1.001 and see whats the result
Aha, that result is wrong. In fact 24/1.001 is a recurring fraction with a period of 6 digits. To be precise the digits 023976. So to implement 24/1.001 in eac3to is not the trivial task it appears to be at first sight .
Jaja1 is offline  
Old 10th March 2008, 15:44   #3769  |  Link
BlackJack1
Registered User
 
Join Date: Jan 2008
Posts: 71
Yeah... it works..... but:

eac3to v2.20
"C:\Program Files\eac3to\eac3to.exe" S:\HD\Letters.from.Iwo.Jima.2006.flac N:\HD\Letters.from.Iwo.Jima.2006.dts -1536
FLAC, 5.1 channels, 2:20:37, 16 bits, 48khz
Decoding FLAC...
Writing WAVs...
Creating/writing file "N:\HD\Letters.from.Iwo.Jima.2006.SL.wav"...
Creating/writing file "N:\HD\Letters.from.Iwo.Jima.2006.LFE.wav"...
Creating/writing file "N:\HD\Letters.from.Iwo.Jima.2006.R.wav"...
Creating/writing file "N:\HD\Letters.from.Iwo.Jima.2006.L.wav"...
Creating/writing file "N:\HD\Letters.from.Iwo.Jima.2006.SR.wav"...
Creating/writing file "N:\HD\Letters.from.Iwo.Jima.2006.C.wav"...
Found Surcode DTS Encoder version 1.0.23.0.
Surcode sais/asks: "At least one valid source file must be specified to encode.".
Closing Surcode...
Pressing the Surcode "Encode" button didn't seem to work...


Please advice.
BlackJack1 is offline  
Old 10th March 2008, 15:51   #3770  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Surcode doesn't like long filenames/paths. Change them and you 'll be ok (assuming -test is working).
nautilus7 is offline  
Old 10th March 2008, 15:51   #3771  |  Link
rickardk
Registered User
 
Join Date: Jul 2007
Posts: 259
madshi

are you sure that Enron is 24p?
The raw avc stream played pack with libav or coreavc is reported as 29.97fps
Also the mkv created with eac3to (with -24p switch) is reported as 29.97fps
rickardk is offline  
Old 10th March 2008, 15:54   #3772  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
can anyone recommend a good and reliable mpeg2 .ts cutter for this? I only know h264ts_cutter which doesnt work for mpeg2 files.
I'm using TsSplitter. It's a fairly simple tool with no preview. It can just split a TS file into multiple parts. I'm usually cutting a big TS file into 128MB pieces. Then I'm cutting the first piece into 8MB pieces. You can go as low as you want. Finally you can simply delete the first few pieces. In order to put everything back up together you can select all files in the Explorer and drag them to the TsSplitter screen. Press "sort", then "join" and you'll have your one big TS file back.

Another alternative would be to use a hexeditor to cut some bytes from the beginning of the stream. For TS files use a multiply of 188 bytes. E.g. try removing ca. 1MB. Maybe that fixes the problem.

I believe VideoRedo can also do the cutting directly.

Quote:
Originally Posted by Jaja1 View Post
Duh ..... okay now it reports gaps. But after the second pass there still is a lot of judder.
Delete the gaps file and the mkv and do it again - but this time using the "-24p" switch.

Quote:
Originally Posted by BlackJack1 View Post
Yeah... it works..... but:
Surcode doesn't like too long filenames. Make them shorter, then it will probably work.
madshi is offline  
Old 10th March 2008, 15:58   #3773  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by rickardk View Post
are you sure that Enron is 24p?
No, I think it's rather 48i...

Quote:
Originally Posted by rickardk View Post
The raw avc stream played pack with libav or coreavc is reported as 29.97fps
See? The Sonic HD Demuxer (which was probably used by your raw stream playing graph) is confused in the same way as eac3to is. Both see this movie as being 29.97fps. But actually the movie is playing too fast when muxed this way.

Just compare the runtime of the demuxed audio streams to the muxed MKV runtime. You'll see that with 29.97fps muxing the video runtime is much shorter than the audio runtime. With 23.976fps video and audio runtime match.

Quote:
Originally Posted by rickardk View Post
Also the mkv created with eac3to (with -24p switch) is reported as 29.97fps
This might be a bug. What does mkvinfo say? It should say 23.976. If it doesn't then it is a bug.
madshi is offline  
Old 10th March 2008, 16:00   #3774  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
I also thought of tssplitter first, but since it apparently can only split in even parts ill have to split the first part multiple times again, like you said, which I actually would like to avoid because somehow I dont trust all that splitting and rejoining not that much. but I guess it works flawlessly, there isnt anything like funny timestamps which could occur at the split or join points or other problems like with .m2ts files (e.g. sync problems etc)?
Thunderbolt8 is offline  
Old 10th March 2008, 16:06   #3775  |  Link
rickardk
Registered User
 
Join Date: Jul 2007
Posts: 259
Quote:
Originally Posted by madshi View Post
This might be a bug. What does mkvinfo say? It should say 23.976. If it doesn't then it is a bug.
mkvinfo:
"default duration: 33.367ms (29.970 fps for a video track) at 4457"


But you are correct. It does play at the correct speed (23.976fps).

Last edited by rickardk; 10th March 2008 at 16:08.
rickardk is offline  
Old 10th March 2008, 16:11   #3776  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
I also thought of tssplitter first, but since it apparently can only split in even parts ill have to split the first part multiple times again, like you said, which I actually would like to avoid because somehow I dont trust all that splitting and rejoining not that much. but I guess it works flawlessly, there isnt anything like funny timestamps which could occur at the split or join points or other problems like with .m2ts files (e.g. sync problems etc)?
TsSplitter is really "stupid" in a good way. It cuts and joins without the slightest changes to the data. You can even join e.g. PCM audio tracks with TsSplitter...

Don't worry about timestamps. There's nothing that can brake. Of course you should make a copy of the original file, just in case something goes (unexpectedly) wrong. E.g. you can mess things up if you forget to press the "sort" button!
madshi is offline  
Old 10th March 2008, 16:12   #3777  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by rickardk View Post
mkvinfo:
"default duration: 33.367ms (29.970 fps for a video track) at 4457"
Ok, that's an eac3to bug.
madshi is offline  
Old 10th March 2008, 16:49   #3778  |  Link
Jaja1
Registered User
 
Join Date: Aug 2007
Posts: 59
Enron works fine now with -24p. Great.

Just tried Jimi Hendrix at Monterey. Evodemux reports 24/1.001, whereas the mkv made with eac3to is 29,970 fps according to mkvinfo.
Jaja1 is offline  
Old 10th March 2008, 16:53   #3779  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Live concerts are usually natively interlaced (29.97) so I think eac3to is behaving correctly. FWIW, I believe EvoDemux always shows 24/1.001, no matter whether video is really 24/1.001 or 30/1.001. I don't think EvoDemux' framerate detection is working correctly.
madshi is offline  
Old 10th March 2008, 17:00   #3780  |  Link
Jaja1
Registered User
 
Join Date: Aug 2007
Posts: 59
Hendrix is shot at film, why use anything else but 24fps for the conversion to video
Jaja1 is offline  
Closed Thread

Tags
eac3to


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 11:03.


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