Log in

View Full Version : H264_cutter causing sync problems for me


Pages : 1 [2]

tvconfuse
21st October 2008, 23:10
okay gotcha, so the issue isn't so much the audio but more with the video stream itself..

rica
21st October 2008, 23:16
Correct; i gave it a go with eac3to converting aac to ac3 ,nothing changed:
i saw only 1: audio.ac3 (without video)

tvconfuse
22nd October 2008, 02:13
2.69 of eac3to is out, that's the new version i believe. If it's a video file issue how would i fix it without having to re-encode the original file?

tvconfuse
22nd October 2008, 04:21
TVConfuse, I have had the exact same problems, and what I found best to do is just de-tick "Recalc PTS" in the h264TSCutter options. If you haven't already tried that, then give it a go. If you then find the timings are wrong, then use TSREMUX (see bottom of post for link) to just remux the same stream without changing anything.

So.....

1 : De-tick Recalc PTS in the settings of H264_TSCutter
2 : If you find timings wrong, remux using the software called TS-Remux (I found TSMuxer would still cause audio problems, but for some reason TS-Remux didn't).

http://download.videohelp.com/download/TsRemux0212.exe

If I have misunderstood your problem then my apologies.

I just tried it and i think I don't think this will help me. I don't have a sync issue with the cut's itself, they are fine. The issue is when I'm joining 2 cut files together to form 1 file. That's when the sync issues happen.


unless I'm missing it Ts-remuxer doesn't seem to let me append files (ex. 2 video files together) it just lets me mux a single file into another .ts or m2ts

rica
22nd October 2008, 12:03
2.69 of eac3to is out, that's the new version i believe. If it's a video file issue how would i fix it without having to re-encode the original file?

2.69 is not the version madshi mentioned.
You should wait for 2.70 (i suppose /on Sunday.)

tvconfuse
23rd October 2008, 20:44
2.69 is not the version madshi mentioned.
You should wait for 2.70 (i suppose /on Sunday.)

gotcha

rica
27th October 2008, 00:25
tvconfuse,
it is time to give it a go with eac3to.
2.70 has been just released.
Edit: I've just tried but i'm afraid the issue hasn't been solved on this SVN.

madshi
27th October 2008, 09:15
eac3to v2.70 (or newer) should now list both the h264 and AC3 tracks. At least it does on the sample that was uploaded earlier in this thread.

rica
27th October 2008, 18:41
eac3to v2.70 (or newer) should now list both the h264 and AC3 tracks. At least it does on the sample that was uploaded earlier in this thread.

This is correct; i made a new trial just now.
With 2.72, individual cut files works very well before merging.

Method:
1)Playing file to determine the cut points.

2)Demux hdtv ts file with eac3to:

eac3to v2.72
command line: eac3to\eac3to C:\preview.ts 1: C:\trial_out\video.h264 2: C:\trial_out\audio.aac
------------------------------------------------------------------------------
TS, 1 video track, 1 audio track, 0:00:29
1: h264/AVC, 1080i60 /1.001 (16:9)
2: AAC, 2.0 channels, 127kbps, 48khz, -100ms
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[v01] Creating file "C:\trial_out\video.h264"...
[a02] Applying AAC delay...
[a02] Creating file "C:\trial_out\audio.aac"...
Video track 1 contains 1766 frames.
eac3to processing took 2 seconds.
Done.

3)Cut/remux (at the same time) with TSMuxer. (cut-file)

At that point eac3to list the tracks and remuxed cut ts files play individually without any synch. issues.

Here are remuxed cut-ts files:

http://www.mediafire.com/?sharekey=610f03b89c15442eab1eab3e9fa335cab7081583fbd7276c

Problem starts in merging with TSMuxer:

Method:

1)Merging those cut files and demuxing into main streams:

eac3to v2.72
command line: eac3to\eac3to C:\trial_out\video_cut_01.ts+C:\trial_out\video_cut_02.ts 1: C:\trial_out\video_cut_out.h264 C:\trial_out\audio_cut_out.aac
------------------------------------------------------------------------------
TS, 1 video track, 1 audio track, 0:00:11
1: h264/AVC, 1080i60 /1.001 (16:9)
2: AAC, 2.0 channels, 131kbps, 48khz, -154ms
Track 2 is used for destination file "audio_cut_out.aac".
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[v01] Creating file "C:\trial_out\video_cut_out.h264"...
[a02] Applying AAC delay...
[a02] Creating file "C:\trial_out\audio_cut_out.aac"...
Video track 1 contains 656 frames.
eac3to processing took 1 second.
Done.

2)Remuxing those video and audio back to ts with TSMuxer.
Here; you will get the synch. issues on this file.


But what is interesting is creating a merged mkv file using the same raw media gives no any kind of issues.

Here is problematic TS and unproblematic mkv:

http://www.mediafire.com/?sharekey=610f03b89c15442eab1eab3e9fa335ca597d786b02107b76

The difference, i specified '--aac-is-sbr/HE-AAC/AAC+' option manually on MKVMergeGui.

Thanks madshi btw.:thanks:

_ _ _ _ _