View Full Version : Nero Recode for .TS Files?
arcticool
6th October 2006, 15:55
I am trying to encode my HDTV .TS files with Nero Recode and have hit a few stubling blocks. First, when I try to open the .TS file it seems that Recode does not recognize this extension and it does not show in the open file dialog. And when I use VLC to put an .AVI wrapper around the file, it plays fine in TheaterTek, and will open in Recode, but will not compress properly. Recode just 'spins' forever and the output file never gets over a few hundered kb.
What am I doing wrong here? I read posts of people saying they used Recode for .TS files but clearly there's something I'm missing. BTW, I would like to keep my 5.1 sound, and use the easiest method possible (why I got Nero in the first place).
Thanks in advance,
AC
morph166955
12th October 2006, 18:28
the reason your having a problem is because of the nature of the .TS (aka MPEG Transport Stream). The transport stream is designed specificially to send high bitrate data (HD TV for example) over the air or cable or some other medium in real time. Its designed to prevent issues from loss of data in the stream. The way that I handle this (which is one of many) is by using mencoder to convert it to some crazy high bitrate avi file (either using xvid or something else...i have it set to what ever the bitrate max is to ensure that there is 0 data loss as well as no croping or scaling), id also recommend re-encoding the audio with it instead of just copying to ensure that there arent any weirdness's in the event you have lost data. From that I am then given an avi file that i can then throw into an encoder with the crop/scale/bitrate options that I want. It involves ALOT of free space to use for temporary files like the interim file, but for me it works well. I haven't seen any noticeable degredation or blockyness this way but im sure its far from a perfect solution. For a personal note in there, ive been using x264/mencoder for the final version using a crf of 20 and some other options along with a width of 720x(what ever maintains aspect after croping or w/e has to get done) and MP3 audio since i dont really care about having 5.1 in my files, you can use what ever you want obviously thats just what i do.
hope that helps...feel free to ask questions/comment/tell me im completely wrong...
bond
12th October 2006, 18:37
moved
nm
12th October 2006, 18:46
http://forum.doom9.org/showthread.php?t=86758
@morph166955:
Since you're encoding with MEncoder/x264, why do you need to encode to a large AVI first instead of encoding directly to the final format? Anyway, a lossless codec (huffyuv, for example) would be a good option for that kind of preprocessing, but might require even more space.
Fulcanelli123
5th November 2006, 19:08
The way that I handle this (which is one of many) is by using mencoder to convert it to some crazy high bitrate avi file (either using xvid or something else...i have it set to what ever the bitrate max is to ensure that there is 0 data loss as well as no croping or scaling), id also recommend re-encoding the audio with it instead of just copying to ensure that there arent any weirdness's in the event you have lost data. From that I am then given an avi file that i can then throw into an encoder with the crop/scale/bitrate options that I want.
To butt in here.....
Do you mind telling me exactly how you achieve all this.
I've got a .TS Stream (H264 AVC) with AC3 audio, from BBC HD and I'm having a terrible time converting it.
First I used DirectShowSource via AviSynth and frame served it to Procoder. Not only was it out of sync but AviSynth had inserted about 10 grey frames in the middle (actually from reading another thread DirectShow might be the culprit).
So next I decide to put it in an avi container via avc2avi. VDub couldn't open it. Procoder will take the TS directly and the encode is synced, but won't let me use any filters. The encode doesn't look so good tho, especially on fast motion. I'd prefer to use AviSynth to frame serve.
I tried saving out as an avi in VDub (using avisynth of course) but some of the frames were screwed up - and of course audio sync issues. Adding an audio delay wouldn't solve it because the first half might get synced but the second half goes out again. VDub/AviSynth is messing with the frames.
So I want to reencode to a proper lossless avi, then get it into VDub/Avisynth>Procoder. Mencoder seems the way to go but I can't get it doing anything.
Nero Recode would open the file and then do nothing. Couldn't even click the 'next' button. I also tried Yamm but the resultant file wouldn't play in any player, nor open in VDub.
What would be the exact syntax to reencode to a lossless avi via mencoder?
Thanks for any help on this, I've been trying to solve it all week and I'm close to giving up.
morph166955
7th November 2006, 00:58
nm:
my reasoning is two fold.
first off is encoding time. secondly is the size of the final file.
creating a large mpeg2 or mpeg4 movie to use to manipulate with a high bitrate is a noticably shorter time then creating an x264 (obviously). generally I encode the large file with a crazy high amount of I frames so that I can snip out the commercials exactly where I want and not get a remnant of them for that brief instant between scenes (1 per second or more depending on what im doing...1 per second is normally plenty though). ive found (and this is all personal experience be it right or wrong this is what I have found from trial and error) that this way is a quicker way to do things then to do it via x264 from the start. once we snip up the large file we can then merge all the files and create our x264 final product with a "proper" amount of I frames as opposed to the crazy amount we used in the first run. This keeps down the final size of the end file and allows us to create the exact commercial-less movie we were looking to create.
fulcanelli:
you can do this a few ways and in the end it comes down to personal preference. mencoder allows you to use several different codecs and each of those have dozens of options to allow you to tweak the final output. to see what you have availible to you, use "mencoder -ovc help" and it will list out whats availible. To give you an example, this is what i have:
Available codecs:
copy - frame copy, without re-encoding. Doesn't work with filters.
frameno - special audio-only file for 3-pass encoding, see DOCS.
raw - uncompressed video. Use fourcc option to set format explicitly.
nuv - nuppel video
lavc - libavcodec codecs - best quality!
vfw - VfW DLLs, read DOCS/HTML/en/encoding-guide.html.
qtvideo - QuickTime DLLs, currently only SVQ1/3 are supported.
xvid - XviD encoding
x264 - H.264 encoding
it is your choice as to what to use for the final options and I suggest that you do some research on here as to what people generally use. my definition of lossless is somewhat different then the litteral definition. In my book you reach a point where no matter what you do the quality is indistinguishable to the human eye. that could mean that the final output at 2000kbps or 4000kbps are indistinguishable, it may not...you need to decide whats good to you and go with that. trial and error based on research is really what your lookin for here.
Fulcanelli123
7th November 2006, 01:31
morph166955
Thanks!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.