1

Creating an MPEG-2 program stream with 5:1 AC3 audio



Need some help! I need to encode a compatible MPEG-2 (720p60) with Dolby 5:1 audio for the HD2000. How can I do this with the compressor from FCP. Thanks for any help.

7 comments

  • 0
    Avatar
    RokuLyndon


    The appendix of the user's guide has directions for encoding HD video using final cut pro and compressor. Have you tried those directions? If you have, what problems are you having?
  • 0
    Avatar
    Tombo


    my problem is the audio. Maybe I'm missing something but I can't find a way to define 5:1 audio instead of stereo in the MPEG-2 program stream.
  • 0
    Avatar
    Tombo


    I have another idea. Is it possible to simultaneously run a video file and it's corresponding ac3 audio file on the HD2000 with a script. If so, could you prepare such a script for me to download. This is for a museum exhibit and we're running out of time. Thanks.
  • 0
    Avatar
    RokuLyndon


    Yes, you can do this but it would be easier if both files were one. Do you have the separate mpeg video and the ac3 audio file?



    If you do, you can use some external program to mux them together, like the free streamclip software.



    For the playback script, is this supposed to be interactive? Or does the unit just startup and play both files, and when the video is done, it restarts? What videomode is in use?



    This is a very basic script that plays a video and audio file, and restarts both when the video stops. This doesn't set any video modes, so it uses whatever the current setting is.



    REM Start of script



    a = CreateObject("roAudioPlayer")

    v = CreateObject("roVideoPlayer")

    p = CreateObject("roMessagePort")

    a.SetPort(p)

    v.SetPort(p)



    REM Audio mode

    REM Set audio output to SPDIF

    a.SetAudioOutput(2)





    start:

    v.PlayFile("video.mpg")

    a.PlayFile("audio.mp3")



    listen:

    msg = wait(0,p)

    if type(msg) = "roVideoEvent" then

        if msg.GetInt() = 8 then

             v.StopClear()

             a.Stop()

             goto start

        endif

    endif



    goto listen



    REM End of script
  • 0
    Avatar
    Tombo


    Thanks Lyndon. This will work just fine for now. It's just a simple startup and loop of both files and is not interactive. The video is 720p60. Another question, can the script for the HD410 to sync multiple players also be used to sync multiple Hd210's? Again thanks for the speedy reply.
  • 0
    Avatar
    RokuLyndon


    You can sync HD210s over ethernet.  It wouldn't be the exact same script since the HD410 has gpio or serial which you can use for sync, and the 210 has ethernet for sync.
  • 0
    Avatar
    raycathode


    Tombo,



    Try getting the mpeg video and separate ac3 audio into DVD studio pro and building a DVD. Then take the .VOB file, rename it .mpg and that should play fine.
Please sign in to leave a comment.