Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: MPEG-TS encoder > transcoder

  1. #1

    Default MPEG-TS encoder > transcoder

    Hi,

    I am trying to configure transcoder with MPEG-2 video over udp multicast.

    I configured Application.xml as per these instructions http://www.wowza.com/forums/content.php?304

    1. I tried a MPEG-4 video udp with
    <Templates>${SourceStreamName}.xml,transrate.xml</Templates>
    Set udp ip in content/mpegts.stream, started stream manager and I can view
    rtmp://localhost/testTranscoder | mpegts.stream
    in /examples/SimpleVideoStreaming/client/simplevideostreaming.html

    However if I try e.g mpegts.stream_360p I get
    Failed to play mpegts.stream_360p; stream not found.
    2. I tried to transcode MPEG-2 video instead of transrate a mpeg4 but _360p etc streams don't work.

    I am running on Windows 64-bit with jdk 1.7 64-bit.

    Pleased to hear your comments.
    Last edited by georgeas; 10-12-2011 at 11:58 PM.

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Take a look at the access log, find the publish event for mpegts.stream. What happens after that? Does transcoding kick-off? Are there are any ERROR or WARN lines?

    Richard

  3. #3

    Default

    Ok this is weird.... I spent an hour testing, restarting wowza/streams etc before posting....

    I just restarted it to get the debug info and works perfectly...

    Yeah sounds like I missed something but trust, nothing changed... consider this resolved

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Works for me. Glad it's working. Thanks for the update.

    Richard

  5. #5
    Join Date
    Jul 2011
    Posts
    9

    Default

    Hello,

    I also have MPEG-2 video over udp multicast. But I cant see the stream in the flash player

    INFO server comment - LiveStreamTranscoder.init[live/_definst_/wt_euro_tv.stream]: Load transcoder template: file:///usr/local/WowzaMediaServer/transcoder/templates/transcode.xml
    INFO server comment - JNI:TranscoderSession.isCUDAAvailable[live/_definst_/wt_euro_tv.stream]: NVidia CUDA hardware acceleration is NOT available on Linux
    INFO server comment - JNI:TranscoderSession.isQuickSyncAvailable[live/_definst_/wt_euro_tv.stream]: Intel Quick Sync hardware acceleration is NOT available on Linux
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream]: chunkDurationTarget: 10000
    INFO stream create - -
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream]: chunkDurationTolerance: 500
    INFO stream publish wt_euro_tv.stream_360p -
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream]: playlistChunkCount:4
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:wt_euro_tv.stream
    INFO stream create - -
    INFO server comment - SanJosePacketHandler.startStream[live/_definst_/wt_euro_tv.stream]
    INFO stream publish wt_euro_tv.stream_160p -
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream]: chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream]: chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/wt_euro_tv.stream]: Video codec: MPEG2
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream]: audioGroupCount: 3
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/wt_euro_tv.stream]: Audio codec: MP3
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream]: playlistChunkCount:3
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:wt_euro_tv.stream
    INFO server comment - JNI:TranscoderSession.audioDecoderCreate[live/_definst_/wt_euro_tv.stream]: Create audio decoder: MPEG1 Part 1/2: default
    INFO server comment - CupertinoPacketHandler.startStream[live/_definst_/wt_euro_tv.stream]
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:wt_euro_tv.stream
    INFO transcoder decoder-audio-start wt_euro_tv.stream {codec:MP3, objectType:33, sampleRate:48000, channels:2}
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/wt_euro_tv.stream]: Video codec:MPEG2 isCompatible:false
    WARN server comment - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/wt_euro_tv.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Flash player.
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_definst_/wt_euro_tv.stream]
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/wt_euro_tv.stream]: Audio codec:MP3 isCompatible:true
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[live/_definst_/wt_euro_tv.stream:360p]: Create audio encoder: AAC: default
    WARN server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/wt_euro_tv.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Silverlight player.
    WARN server comment - CupertinoPacketHandler.handleHolder[live/_definst_/wt_euro_tv.stream]: Invalid video codec for iPhone/iPod: MPEG2
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[live/_definst_/wt_euro_tv.stream:160p]: Create audio encoder: AAC: default
    INFO server comment - JNI:AudioDecoderMP2.decodeFirstFrame[live/_definst_/wt_euro_tv.stream]: sampleRate:48000 channels:2
    WARN server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/wt_euro_tv.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable on iOS devices.
    INFO server comment - JNI:AudioEncoderAAC.initialize[live/_definst_/wt_euro_tv.stream:360p]: channels:2 sampleRate:48000 bitRate:96000
    INFO server comment - JNI:AudioEncoderAAC.initialize[live/_definst_/wt_euro_tv.stream:160p]: channels:2 sampleRate:48000 bitRate:96000
    INFO transcoder encoder-audio-start wt_euro_tv.stream {name:"160p", bitrate:96000, codec:AAC, objectType:0, sampleRate:48000, channels:2}
    INFO transcoder encoder-audio-start wt_euro_tv.stream {name:"360p", bitrate:96000, codec:AAC, objectType:0, sampleRate:48000, channels:2}
    INFO server comment - JNI:TranscoderSession.videoDecoderCreate[live/_definst_/wt_euro_tv.stream]: Create video decoder: MPEG2: default
    INFO transcoder decoder-video-start wt_euro_tv.stream {codec:MPEG2, profile:4, level:8, frameSize:720x576, displaySize:768x576, frameRate:25.0}
    INFO server comment - JNI:VideoDecoderMP2.updateDecodeInfo[live/_definst_/wt_euro_tv.stream]: aspect:4x3 frame:720x576 display:768x576 frameRate:25
    INFO server comment - JNI:TranscoderSession.videoEncoderAdd[live/_definst_/wt_euro_tv.stream:360p]: Create video encoder: H.264: default
    INFO server comment - JNI:TranscoderSession.videoEncoderAdd[live/_definst_/wt_euro_tv.stream:160p]: Create video encoder: H.264: default
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream_360p]: chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream_360p]: chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream_160p]: chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream_360p]: playlistChunkCount:4
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream_160p]: chunkDurationTolerance: 500
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:wt_euro_tv.stream_360p
    INFO server comment - LiveStreamPacketizerSanJose.init[live/_definst_/wt_euro_tv.stream_160p]: playlistChunkCount:4
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream_360p]: chunkDurationTarget: 10000
    INFO server comment - SanJosePacketHandler.startStream[live/_definst_/wt_euro_tv.stream_360p]
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream_360p]: chunkDurationTolerance: 500
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:wt_euro_tv.stream_160p
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/wt_euro_tv.stream_360p]: Audio codec: AAC
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream_360p]: audioGroupCount: 3
    INFO server comment - SanJosePacketHandler.startStream[live/_definst_/wt_euro_tv.stream_160p]
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream_360p]: playlistChunkCount:3
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/wt_euro_tv.stream_160p]: Audio codec: AAC
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/wt_euro_tv.stream_160p]: chunkDurationTarget: 10000
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:wt_euro_tv.stre
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:video id:1 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/wt_euro_tv.stream]: Add chunk: id:2 a/v/k:400/240/21 duration:9600
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream]: Add chunk: type:audio id:3 count:84 duration:2016
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:audio id:3 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:audio id:3 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:video id:2 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:video id:2 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: id:2 a/v/k:451/241/4 duration:9600
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: id:2 a/v/k:150/240/4 duration:9600
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: id:2 a/v/k:150/240/4 duration:9600
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: id:2 a/v/k:451/241/4 duration:9600
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream]: Add chunk: type:audio id:4 count:84 duration:2016
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:audio id:4 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:audio id:4 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:video id:3 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:video id:3 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream]: Add chunk: type:audio id:5 count:84 duration:2016
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:audio id:5 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:audio id:5 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:video id:4 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:video id:4 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream]: Add chunk: type:audio id:6 count:84 duration:2016
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:audio id:6 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:audio id:6 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream]: Add chunk: type:audio id:7 count:84 duration:2016
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/wt_euro_tv.stream]: Add chunk: id:2 a/v/k:140/0/0 duration:10080
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:video id:5 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:video id:5 count:60 duration:2400
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:audio id:7 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:audio id:7 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/wt_euro_tv.stream]: Add chunk: id:3 a/v/k:420/252/21 duration:10080
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream]: Add chunk: type:audio id:8 count:84 duration:2016
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_160p]: Add chunk: type:audio id:8 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/wt_euro_tv.stream_360p]: Add chunk: type:audio id:8 count:94 duration:2006

  6. #6
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Multicast from Wowza does not work in Flash client. You need VLC.

    Richard

  7. #7
    Join Date
    Jul 2011
    Posts
    9

    Default

    hi Richard,

    My business needs require a flash player to be installed at the client side. In the past I used vlc for transcoding, but now I want to use the transcoder addon from wowza. I don't need multicast at the client side, I have multicast only at the device which give me the streams, is there a way to transform from multicast to unicast ?

    Thank you

  8. #8
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    You can re-stream multicast source in Wowza, and unless you go out of your way (RTPPusher or Multicast Addons) the output will be unicast.

    Richard

  9. #9

    Default Unable to transcode stream

    I've some problems with transcoding.
    I'm streaming video using rtsp to my machine. Video is in mpeg 2. Created in content folder main.sdp (which contains) URL to my stream(rtsp://127.0.0.1:5544/main.sdp)

    VLC opens that stream perfectly.

    I've configured everything like http://www.wowza.com/forums/showthre...eam-transcoder

    Created in win scheduler special rule for wowza. Now it's being started on system starting.


    But it doesn't work. It's third day I'm trying to start video transcoding. Could you publish a video tutorial??

    I would really appreciate If you publish step by step instructions of mpeg 2 to h 264 transcoding. It's really difficult to make transcoder work... =(

  10. #10
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Use a .stream file instead in this case.

    /content/main.stream

    (make sure your text editor doesn't add .txt extension)

    Make the contents rtsp://127.0.0.1:5544/main.sdp

    Then start main.stream in StreamManager on the application with Transcoder enabled, using MediaCaster Type "rtp"

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. MPEG TS and Teradek 255 Encoder
    By cupertino in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 07-08-2013, 11:51 PM
  2. Transcode from MPEG-TS Encoder
    By AaronAtOptimal in forum AddOn: Transcoder
    Replies: 8
    Last Post: 10-02-2012, 07:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •