I have Sorenson Squeeze and TMPEGEnc 4.0 Express, but I can't seem to find a way to encode a video in h.264 within a mpeg2-ts container. I would love to do it in mp4, but the client requires the file in mpeg2-transport stream
Is there a software solution? Please help
+ Reply to Thread
Results 1 to 15 of 15
-
-
You could encode it into .mp4 container then rewrap it with tsmuxer into a transport stream
Most software will have blu-ray or avchd presets, they will usually be encoded and wrapped with transport stream as well
I would check with your client to see if there are any other specific restrictions -
I tried tsmuxer. I exported a video only mp4 and aac only. When I join them and export I get an error
MP4/MOV error: Invalid H.264/AVC frame at position 1636278
MP4/MOV error: Invalid H.264/AVC frame at position 1636278 -
you probably have errors in your stream. I would use a better encoder anyway . Export a lossless avi, and use multiavchd to encode
-
I am getting more errors through multiavchd. I can't export in lossless AVI again as the media is already offline on my timelines. So I have avid quicktimes that i need to transcode.
Any other options? -
Well if your input stream has errors or is corrupted, you should fix them . If both programs indictate errors, it's likely with your material . If that's not an option , you're probably screwed.
What kind of media do you have right now ? use mediainfo (view=>text) .
And there is no way to going back to the original project ? -
General
Complete name : HDFINALVERS.mov
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt
File size : 741 MiB
Duration : 40s 40ms
Overall bit rate : 155 Mbps
Encoded date : UTC 2010-07-12 16:32:37
Tagged date : UTC 2010-07-12 16:33:45
Writing library : Apple QuickTime
Video
ID : 1
Format : VC-3
Codec ID : AVdn
Codec ID/Info : Avid
Codec ID/Hint : DNxHD
Duration : 40s 40ms
Bit rate mode : Variable
Bit rate : 154 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:2
Bits/(Pixel*Frame) : 2.473
Stream size : 734 MiB (99%)
Language : English
Encoded date : UTC 2010-07-12 16:32:38
Tagged date : UTC 2010-07-12 16:33:45
Audio
ID : 2
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Signed
Codec ID : twos
Duration : 40s 40ms
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 7.33 MiB (1%)
Language : English
Encoded date : UTC 2010-07-12 16:32:38
Tagged date : UTC 2010-07-12 16:33:45
Menu
ID : 3
Duration : 40s 40ms
Language : English
Encoded date : UTC 2010-07-12 16:33:44
Tagged date : UTC 2010-07-12 16:33:45
Stream size : 4 -
you need quicktime installed and dnxhd installed , and you could convert it though avisynth & multiavchd , assuming the stream is error free. I've worked with dnxhd without any problems
an alternative is to convert it to h.264 using quicktime then tsmuxer to re-wrap into transport stream
you can't re-wrap dnxhd into transport stream , because it's not compatible (if that was what you tried before - you weren't very clear).
newer builds of ffmpeg should be able to handle it as well , what do you mean ffmpeg stops working ?
this really suggests you have stream errors -
If the client requires an MPEG-2 TS file, I've got a feeling that they probably want MPEG-2 video in it as well and not this bastardized H.264 in an MPEG-2 TS wrapper. Maybe I'm wrong, but I'm really getting the feeling that vid2me is trying to give them NOT what they want, but what is convenient for him. If I am right, you do understand that not giving the customer what they really need may be a great way to ensure that you lose their business forever, right? I work in IT and sometimes I have to deal with customers when certain issues between us and them need debugging and I know that customers often do a terrible job of describing what they really want, but man, I've got a bad feeling here that what vid2me is trying to do is not at all what they are looking for. If you could lose your job if you get this wrong, I urge you to clarify just exactly what the customer expects to receive rather than just assuming that what you propose will be OK.
-
They have explicitly stated that they want h.264 inside an mpeg2-ts file. I would have loved to provide them h.262 within m2ts or h.264 within mp4, but what they want might only be realistically possible through a dedicated hardware solution.
I was quite perplexed when they asked for mpeg2-ts with an h264 compression.... -
h.264 in transport stream is very common format. Most blu-ray titles use this compression ( a few use MPEG2 or VC1). Broadcast in Europe, BBC, Italy all use h.264 transport streams. Just because America still uses depreciated MPEG2 , doesn't mean the rest of the world has to
I was quite perplexed when they asked for mpeg2-ts with an h264 compression....
Don't get hung up on the term "MPEG2 transport stream" . It's just a transport stream. It' s just a container to hold things. .m2ts IS a MPEG2 transport stream , just as .ts, .mts are as well.Last edited by poisondeathray; 26th Aug 2010 at 13:46.
-
So that's 3 different programs that suggest the stream is corrupted. Let me guess it aborted near the same location as the other programs spit out errors ?
Can you play/scrub though that stream over that point ?
You could try to convert to h.264 in quicktime pro, then re-wrap in tsmuxer - this is hoping QT doesn't "barf" on the same error at the same spot
I suspect you have to go back to the original project and re-export an error free stream
I hope that any confusion over "mpeg2 transport stream" is cleared up ? -
woooohoooo, it finally worked. I tried another file and it worked like a charm. First mpeg4 avc/h264 encoding through TMPGEnc and then tsmuxer to output m2ts.
Checked the specs through media info of the outputted file and everything is just dandy. Thanks a bunch
Similar Threads
-
Resistant H.264 container
By urymf in forum Video Streaming DownloadingReplies: 7Last Post: 2nd Oct 2011, 12:12 -
H.264 in AVI or MMKV container!
By aliitp in forum Video ConversionReplies: 24Last Post: 9th Mar 2011, 10:20 -
Which container for H.264 video and LPCM (or lossless) audio?
By fellowweb in forum Video ConversionReplies: 17Last Post: 3rd Sep 2009, 04:58 -
need a tool to cap individual frames from H.264 in a ts container
By mlaviolette in forum EditingReplies: 17Last Post: 13th Sep 2008, 13:43 -
h.264 in mp4 container?
By savvyguy in forum Newbie / General discussionsReplies: 4Last Post: 14th Apr 2008, 11:25