Write & read transport stream?

I have an HDTV card for my video server that reads & writes mpeg-2 transport stream files. The file format is from 'over the air' HDTV signals, and is uncompressed.
The files are playable by VLC and other players.
I understand that HDV is also mpeg-2 transport stream.
Is there a way for me to create TS files with Final Cut Pro that could be read by my HTDV card (thus giving me a very nice display)?
I'm also interested in reading the HDTV files into FCP.
Message was edited by: Les Caudle

Here is a tool that might help you:
http://www.squared5.com/

Similar Messages

  • How to set HttpURLConnection timeout while reading a stream?

    I want it got time out if the connection if lose while i read a stream from URL
    try {
         int timeout = 700;
         HttpURLConnection connection = (HttpURLConnection) downloadURl.openConnection();
         connection.setConnectTimeout(timeout);
         connection.setRequestProperty("Range","bytes=" + downloaded + "-");
         connection.connect();
         if (connection.getResponseCode() / 100 != 2) {
              error();
         int contentLength = connection.getContentLength();
         if (contentLength < 1) {
              error();
         if (status == DOWNLOADING){
              if (size == -1) {
                   size = contentLength;
              file = new RandomAccessFile(saveTmpName+".tmp", "rw");
              file.seek(downloaded);
         byte buffer[];
         stream = connection.getInputStream();
    connection.setReadTimeout(timeout);
         while (status == DOWNLOADING) { 
              if (size - downloaded > MAX_BUFFER_SIZE) {
                   buffer = new byte[MAX_BUFFER_SIZE];
              } else {
                   buffer = new byte[(int)(size - downloaded)];
              int read = stream.read(buffer); // how to set timeout while it is reading stream
              if (read <= 0)
                   break;
              file.write(buffer, 0, read);
              downloaded += read;
         if (status == DOWNLOADING) {
              status = COMPLETE;
    } catch (SocketTimeoutException  e) {
         error();
    } catch (IllegalArgumentException e) {
         error();
    } catch (Exception e) {
         error();
    } finally {
         if (file != null) {
              try {
                   file.close();
              } catch (Exception e) {}
         if (stream != null) {
              try {
                   stream.close();
              } catch (Exception e) {}
    }I try to set "setReadTimeout()" but is still not through timeout Exception

    ejp wrote:
    Because, there's no FTP client command that allows to do such thing.Socket.setSoTimeout().I agree with you on this one but the OP is talking about the FTPClient API from Apache.
    To the OP,
    BTW, I have reread the Javadoc about the [*API*|http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html] : indeed, there's no setTimeout method, but there is a setDataTimeout method : +Sets the timeout in milliseconds to use when reading from the data connection+ .

  • ABAP Program to Read Transports and Get Descriptions

    Hello,
    Does anyone out there have an abap program or know of one that will read transports with the technical names and give you the description of the objects, in order to make it easier to verify things in a transport?

    Hi,
    there is a good weblog here about transport request program that write about usefull FMs.
    Try this link
    /people/uwe.schieferstein/blog/2009/01/07/multi-purpose-alv-list-programming
    Bye
    Andrea

  • MPEG-2 Video, .m2v, Transport-Streams

    I have searched through all of the Forum but still no solution.
    Like many people here I have QT PRO (on Leopard) and the MPEG-2 Playback Codec (Version 6.4.1) installed. When I record from TV via Cable or DVB-T I always get a MPEG-2 Transport Stream. I know how to handle these and I know how to convert them. My question is regarding the Finder Preview Issue.
    When you have selected in Finder to show the Preview of a file it will go for a long cup of coffee when it comes to selecting a .m2v or MPEG Transport Stream file, i.e. the Finder crashes. This is a phenomina since QT 7. Apple promised a better handling of .m2v for the 10.3.9 Update but I cannot see any changes.
    I don't need to preview those files if it is not supported. This would be nice to have but I don't really need to. Is there anyone out there who can tell me how to
    1) prevent Finder Preview from crashing or
    2) get this to work
    I tried some hints from here like re-associating .m2v with the Quicktime Player but it didn't resolve my Issue. Is there maybe someone from Apple reading this and being able to help out?
    Many thanks in advance.

    Like many people here I have QT PRO (on Leopard) and the MPEG-2 Playback Codec (Version 6.4.1) installed. When I record from TV via Cable or DVB-T I always get a MPEG-2 Transport Stream.
    I may be wrong, but I don't believe "true" transport streams have ever been supported by the QT MPEG-2 Playback component and, by extension, would not be supported by either the Finder Preview or QuickLooK.
    When you have selected in Finder to show the Preview of a file it will go for a long cup of coffee when it comes to selecting a .m2v or MPEG Transport Stream file, i.e. the Finder crashes.
    M2V/AIFF elementary stream files, "muxed" MPEG (MPEG2/MP2 or MPEG2/MP1), and MOV (MPEG2/any compatible audio) all play fine for me in both the Finder Preview and QuickLook. The only problem are VOBs whose video content play fine in the QT Player but have to have their extension changed to MPEG to play in either the Finder Preview or QuickLook. Frankly, I am unable to duplicate your problem except for "true" MPEG-2 Transport Streams, which, as I previously said I don't believe have ever been QT compatible.

  • CS5.5 will not export MPEG2 Transport stream with mpg extension?

    I am creating video for the local cable access channel. I have been using the MPEG2 NTSC DV High Quality preset. That preset outputs MPEG layer 2 audio. The cable access coordinator says that those files will not play audio from the Soloist media server, even though the specs for that server calls for MPEG layer 2 audio. Those files play ok in Windows Media Player. When analyzed with AVIcodec, GSpot, and VideoInspector, they all show there is MPEG layer 2 audio. The server shows no audio at all in one of it's reports.
    I had previously been using an older version of Final Cut Pro and Compressor. I no longer have access to that computer but I believe I had been exporting a Program Stream. The access channel's documentation calls for Transport Stream. When exporting Transport Stream MuliplexingMPEG2 video in CS5.5 Media Encoder, the output file has the .m2t extension. These 3 codec analyzers aren't recognizing this as MPEG2. I assume that the video server will not recognize this m2t file extension at all. Final Cut's compressor did output the Program Stream MPEG2 with the mpg extension.
    Is there a way to export Transport Stream MPEG2 video with MPEG layer 1 audio and have an .mpg file extension on the resulting file?
    Also, anyone familiar enough with PID values to know if that could have any bearing on why the MPEG layer 2 audio is not being detected in that video server when I use the MPEG2 NTSC High Quality presets?
    Thanks for any help.

    Jeff,
    I am still waiting to here back from the access channel coordinator to see if the test file encoded this way would be recognized and play correctly. The files can only be tested when the server is off-line so it takes awhile for a response. Thanks for your help. I'll post when I get word of that file status.

  • How to Import a MPEG-3-ts (Transport Stream) into Final Cut Pro ?

    Hello All;
    I just bought Final Cut Studio and I am trying to figure out how to import some video footage that I captured using ArcSoft's totalMedia software via a HD HomeRun High Definition TV decoder. I have verified that the video is being saved in MPEG-2 Transport Stream format but I've tried everything but still can't import it into Final Cut Pro. I've purchased the MPEG 2 Quicktime component but then realized that it doesn't work with Transport Streams. Then I downloaded MPEG StreamClip for Mac which does play the clips on a Mac but I need to obtain the codec so I can import them into Final Cut Pro. Any ideas would be hugely appreciated. Thanks. Tim

    I do:
    "You need to use MPEG Streamclip to convert the files to an editable format, such as those found in Final Cut Pro's Easy Setup menu.
    For HD, your best choice is ProRes, DVCPro HD or Apple Intermediate Codec."
    And so does Nick.

  • No audio when compressing .mov to Mpeg transport stream (m2t)

    Since reinstalling OSX and FCS2 I don't get audio when I compress a quicktime movie to mpeg transport stream, used to be able to do it. I'm playinh the m2t in mpeg streamclip and assume it will handle audio, settings in compressor look ok, (48K 16 bit) although the button for multiplexed mpeg i/layer 2 audio is greyed out and unticked !?

    Answering my own query here, but in case it helps someone else ... there appears to have been sound all along, at least since I ticked the mpeg audio box on the extra tab. When the file is playing in mpegstreamclip you have to work the volume fader down and up again at which point the sound comes on (yes it was faded up initially)
    Wierd one, its almost as though there was a faulty physical fader rather than a virtual one.

  • Can't render muxed MPEG2 with transport stream selected

    I'm trying to render an MPEG2 that has the audio integrated with the video (muxed). I was told to select the transport stream option, but when I do, Compressor shows the error icon-that little yellow triangle with the exclamation point. I don't know what it's trying to tell me is the problem. I tried rendering it anyway and of course the render failed.
    I'm coming up on a deadline and stand to lose $2000. HELP!

    Thanks for the link but it doesn't really address my issue. It's very strange because I don't see any reason why Compressor ought to be failing in the render just because I've selected the transport stream option in the extras tab. I tried a render without that option selected just to see if Compressor was failing on all fronts, but an unmuxed version rendered successfully. I even tried copying my FCP sequence into a new timeline, nesting it and trying to render a .m2t file that way. But that didn't help either. Eventually I downloaded free software called MPEG Streamclip which allowed me to convert a DVD copy of my sequence into a muxed mpg.

  • MPEG-2 with audio but no transport stream?

    We have a Leightronix Nexus, which is a new whizbang digital video playback device for cable studios. It supports transfer of MPEG-2 files, but thus far I haven't been able to make a compatible MPEG-2 file with Compressor. Leightronix only does Windows so they've been of no help.
    Here are the requirements as listed in the Nexus manual:
    -MPEG-2 Program Stream, consisting of a single elementary video stream with an optional single elementary audio stream. In big letters it says "Transport stream is not possible."
    The other specs seem fine; I think it's the lack of a transport stream that fouls it up. Compressor, in the audio checkbox, says "Select this to create an MPEG-2 Transport stream with multiplexed audio."
    Is there a way to get audio into an MPEG-2 file without using a transport stream? If Compressor can't do this, are there any other (hopefully inexpensive) tools that can?
    One interesting thing is if I copy one of the mpeg-2 files created on the Nexus itself (by having it digitize video), it plays quite fine in Quicktime Player.
    Any help is appreciated. Thanks.

    Or, you can just use a freeware tool like MPEG Streamclip to combine Compressor's elementary .m2v output with its .AIFF audio and produce a multiplexed program stream. The $10 MPEG2 Works shareware app will also do the same (along with several other operations).

  • ASI Transport Stream to Flash

    Doing a proof of concept for a small prototype activity, and
    would like to know if there's a way to go from an ASI stream (h.264
    over an MPEG-2 TS) into the Live Encoder Server.
    The documentation speaks to an MPEG2 TS as a valid container
    supported by FMLE. Is there any information on how to do this
    interface? All I read about are video/audio capture cards.
    Thanks!

    Hi here's an example of specifying si
    <program
    number = "0x6588">
    <pmt
    pid = "0x200"
    pcrpid = "0x210">
    <elementary-stream
    id = "video_stream_2"
    assoctag = "0x5"
    pid = "0x210"
    type = "0x02">
    <!--
    ! data stream alignment descriptor
    ! alignment_type = 2
    !-->
    <generic-descriptor
    tag = "0x6">
    <bytes
    hexdigits = "02"/>
    </generic-descriptor>
    <stream-identifier-descriptor/>
    </elementary-stream>
    <elementary-stream
    id = "audio_stream_2"
    assoctag = "0x85"
    pid = "0x220"
    type = "0x04">
    <!--
    ! ISO 639 language descriptor
    ! ISO_639_language_code = "eng"
    ! audio_type = 0
    !-->
    <generic-descriptor
    tag = "0xa">
    <bytes
    hexdigits = "656e6700"/>
    </generic-descriptor>
    <stream-identifier-descriptor/>
    </elementary-stream>
    <elementary-stream
    id = "audio_stream_3"
    assoctag = "0x86"
    pid = "0x221"
    type = "0x04">
    <!--
    ! ISO 639 language descriptor
    ! ISO_639_language_code = "fre"
    ! audio_type = 0
    !-->
    <generic-descriptor
    tag = "0xa">
    <bytes
    hexdigits = "66726500"/>
    </generic-descriptor>
    <stream-identifier-descriptor/>
    </elementary-stream>
    </pmt>
    </program>
    </transport-stream>

  • Compress ac3 into mpg transport stream

    I have a surround mix from Protools and I need to make an Mpeg Transport stream with dummy video.
    I mixed the surround as L,R,C,LFE,Ls,Rs
    I brought the mixdown into Compressor manually as instructed in the manual.
    The digital Dolby settings don't have the surround setting I used. The closest is L,C,R,Ls,Rs with a checkbox for LFE.
    There is a big whole in the program. In Final Cut Pro I was able to set the Surround Audio settings to my prefered setting
    Anybody know what I am dealing with? Anybody find a way to the finished end of this job?

    Is there any way to do it in FCS2? We're playing around...from what I've read today, Compressor 3 will make either or, but not both. One guy is swearing he saw it done at NAB.

  • Transport Stream Problems

    My compressor keep locking up when I set it to export in "MPEG-2/Transport Stream" setting. I would like to export in this setting because I believe that this is how Toast encodes to BluRay.
    Any ideas/thoughts/solutions?
    Go Hornets!

    I'm not sure about your transport stream problem, but Toast doesn't need it; it will use its AVCHD encoder on a regular QT movie; I exported a self contained QT movie from an FCP timeline, dragged it into the Toast window, and let it encode; it worked well.
    If you send Toast a previously compressed file, it will encode it again in the AVCHD format, probably at a loss of quality.
    Toast can burn the Blu Ray format to a standard DVD, giving you about 30 minutes of HD footage, and using your standard DVD burner.

  • Write/read image to avi file, VI works incorrectl​y from the second run

    Hi everybody, in my labview I write image from IMAQ USB to avi file and read image from avi file, the VI runs correctly at the first run then after that it goes wrong, I can write/read only one frame and it terminates automatically. Does anybody know why and how to solve this?
    Thanks a lot,
    Hannah

    Without seeing your code I can't comment specifically, but if it runs correctly the first time and then stops be looking for something that is not getting reinitialized correctly. Also what exactly do you have to do to get it to work again? Close and reopen the VI? Restart LV? Restart the computer?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • I2C Write/Read Error

    Error -301742 occurred at NI-845x I2C Write Read.vi
    "Possible reason(s):NI-845x:  The slave did not acknowledge an address+direction byte transmitted by the I2C master. Reasons include the incorrect address set in the I2C configuration or the incorrect use of the 7-bit address. When entering an address to access a 7-bit device, do not include the direction bit. The NI-845x Basic I2C API internally sets the direction bit to the correct value, depending on the function (write or read). If your datasheet specfies the 7-bit device address as a byte, discard the direction bit (bit 0) and right-shift the byte value by one to create the 7-bit address."
    We have connected the pull up resistors on the SDA and SCL line.
    The error seems to be strange in our case,
    We have two setup
    1. Using a push button to power the device and wires through the pull up resistor.
    2. We are trying to communicate using a NI 2569 for the SDA and SLC and the Power supply to the device.
    We do not observe the error in case 1,however, in case 2 we do observe,attached are the waveform pics for the same.
    Noted that we have the clock signal rise delay in case 2, is this because of the relay 2569?
    Any help will be highly appreciated.
    Regards,
    Naru 
    Attachments:
    Case 1.jpg ‏302 KB
    Case 2.jpg ‏302 KB

    I don't quite understand your setup, and I'm not sure what I'm looking at with the figures you posted. What does the 2569 have to do with the 8451? You also said
    1. Using a push button to power the device and wires through the pull up resistor.
    I have no idea what this means.
    It's hard to tell from the pictures, but for the Case 1 figure, it appears that you are generating a correct start condition. It's also indicating that are sending a read transaction. You didn't indicate what device you're talking to, so we can't say for sure if this is correct. 
    In the second case it also appears that you generating a correct start condition. The slow rise times that you are seeing in the clock is probably due to extra capacitance on the bus, or weak pullups, or both. This transaction appears to be a write transaction, but with no data.
    At this point, without knowing what device you're talking to, a better explanation of your setup, and the code itself, I'm not sure how much help we can be. 

  • User to write/read in file folder

    Hi Gurus,
    We are testing File receiver with NFS protocol and the server is running on UNIX system.
    So Which user will write/read these files in the foder.We could not able to write files even though we have given right access.
    Kum

    So Which user will write/read these files in the foder.We could not able to write files even though we have given right
    access.
    Ask the target-folder admins to provide full access to a user and then use this user in your channel.....user should have 777 access.... in UNIX it is done through chmod 777 ..... for exact notation/ format just make a search on google (the folder-admins would be knowing the format)
    Regards,
    Abhishek.

Maybe you are looking for

  • New RTF Template for Quote Print

    Hi, Oracle has provided only XSL Template for Quote Printing. Since Client needs his own format of Quote Printing, Can we create a new Customized RTF template for Quote Printing? or Is there any easy way to do customize the XSL Template? Pls advise..

  • Difference between SQL SERVER 2008 & SQL SERVER 2012 & SQL SERVER 2014

    Difference between SQL SERVER 2008 & SQL SERVER 2012 & SQL SERVER 2014 ?

  • Help with Web Services - AddGroup

    I've been toiling with this for days and can't work out why this document doesn't create a new Group with ExternalFeed. <PRE> <?xml version="1.0" encoding="UTF-8"?> <ITunesUDocument> <Version>1.1.3</Version> <AddGroup> <ParentHandle>2500954087</Paren

  • Email download request

    Using Outlook, when i double click my email, i get a request to download a Firefox document 6.6kb titled C9C0D463-9F23-4F30-86B0-FCA6.html. Is this a valid, virus-free file from Firefox? What does it do? I am reluctant to load fearing a virus is atta

  • ConnectException after a few times of start/stop

    I've made a serverUI where I want to start/stop my server. It works to start it, stop it and start it again. But when I then want to stop it I get a ConnectionException. Any ideas? Here's some code.. (I'm using 1.1.8) I do this once at startup: try