PDA

View Full Version : 1080i .ts to 720p AVC x264?


dssgorila
22nd January 2007, 18:52
I'm trying to archive some of my 1080i .ts caps to 720p AVC so i can burn the mp4 on a dual layer and watch on the PS3. I encoded a clip everything is fine except for the audio its out of sync. Here is what i did

Source
Complete name : D:\HDTV\movie.1080i.dd51.ts
Format : MPEG-2 Transport
Format/Family : MPEG-2
File size : 100.0 MiB
PlayTime : 1mn 32ms
Bit rate : 14 Mbps

Video #0
Codec : MPEG-2 Video
Codec profile : Main@High
Codec settings/Matri : Custom
PlayTime : 59s 834ms
Bit rate : 25 Mbps
Bit rate mode : CBR
Width : 1920 pixels
Height : 1080 pixels
Aspect ratio : 16/9
Frame rate : 29.970 fps
Standard : NTSC
Chroma : 4:2:0
Interlacement : Top Field First
Bits/(Pixel*Frame) : 0.402

Audio #0
Codec : AC3
PlayTime : 1mn 32ms
Bit rate : 384 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
Video0 delay : 1193h
ChannelPositions : Front: L C R, Rear: L R, Subwoofer

Output After Encoding
Complete name : D:\HDTV\movie.720p-PS3.mp4
Format : MPEG-4
Format/Info : ISO 14496-1 Base Media
Format/Family : MPEG-4
File size : 57.9 MiB
PlayTime : 1mn 10ms
Bit rate : 8089 Kbps
StreamSize : 20.4 KiB
Encoded date : UTC 2007-01-21 08:41:45
Tagged date : UTC 2007-01-21 05:41:45

Video #0
Codec : H.264
Codec/Info : H.264 (3GPP)
PlayTime : 59s 893ms
Bit rate : 8005 Kbps
Width : 1280 pixels
Height : 720 pixels
Aspect ratio : 16/9
Frame rate : 23.976 fps
Bits/(Pixel*Frame) : 0.354
StreamSize : 57.2 MiB
Encoded date : UTC 2007-01-21 05:41:45
Tagged date : UTC 2007-01-21 05:41:46

Audio #0
Codec : AAC LC
Codec/Info : AAC Low Complexity
PlayTime : 1mn 10ms
Bit rate : 97 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 709 KiB
Encoded date : UTC 2007-01-21 05:41:46
Tagged date : UTC 2007-01-21 05:41:46

I used Megui
First I ran D2V Creator. Then Create the AVS

DGDecode_mpeg2source("D:\HDTV\movie.1080i.dd51.0037.d2v")
tfm(order=1).tdecimate()
#crop
LanczosResize(1280,720) # Lanczos (Sharp)
#denoise
Sharpen(.3)
#Tweak(sat=1.3, cont=1.3)
converttoyv12()


What am I missing?

Pookie
22nd January 2007, 20:12
Different lengths between your source video and audio. Either there's an error in the source, or there's something getting messed up during the demuxing.

Are there commercials in the source files ?

Are there any recording glitches in the source files ?

Do you lose sync if you directly transcode with an app like MpegStreamClip ?

http://www.squared5.com/svideo/mpeg-streamclip-win.html

Try demuxing the source Transport Stream with MpegStreamClip and see if the lengths differ.

dssgorila
23rd January 2007, 01:16
No commercials in the source in fact its only a clip. Well one thing I did notice is the change in framerates.
I'm going to test the App you suggested I will post back with results.

thanks

dssgorila
23rd January 2007, 06:11
Try demuxing the source Transport Stream with MpegStreamClip and see if the lengths differ.

I know how to demux but how do i check if the lengths differ.

BTW I tried export to mp4 and selected 1280x720 and it worked fine no sync issues. Wish i could control the quality more.

Pookie
23rd January 2007, 06:50
Yeah, I know what you mean. I don't like how the codec choices are mostly limited to Snapple codecs, but it is pretty good for a few things.

I guess the easiest app to see file information would be Mediainfo.

Gui Version with no installer: http://downloads.sourceforge.net/mediainfo/MediaInfo_0.7.4.3_GUI_Win32_WithoutInstaller.7z?modtime=1166777512&big_mirror=0

dssgorila
23rd January 2007, 16:48
I have media info. Thats how i listed the info above :) . I will check the m2v tonight.