Skip to main content
Known Participant
July 13, 2011
Answered

Get Encoding of a media

  • July 13, 2011
  • 1 reply
  • 727 views

Hi:

Anybody knows how to get the encoding of a media (PAL, NTSC)?  (I´m using Adobe flash media server)

Thanks

    This topic has been closed for replies.
    Correct answer SE_0208

    Would be possible getting frame rate of the video? I need to know if a video has framerate 24 or 29,97 (or know if it´s PAL or NTSC)

    Thanks


    I dont know whether you can know whether particular stream uses NTSC or PAL -  i suppose its responbility of encoder to embed that data into metadata of stream. However i know most encoder would embed framerate in metadata of stream - i know FMLE does that. You just need to get hold of metadata object of stream file in onMetadata and extract value for this "videoframerate" property.

    1 reply

    Participating Frequently
    July 14, 2011

    You want to know it runtime or something - something like via code or metadata or any offline tool would do for you?

    alferto82Author
    Known Participant
    July 14, 2011

    I will explain my question. I´m doing a web player using flex. It´s a simple player and I´m showing the timecode of the media. I get this timecode using the method nsPlay.timetedial (var nsPlay:NetStream). This method give me the timecode in seconds but I have another method to tranform (HH:MM:SS:FF). In this transformation I need the encoding to calculate the frames for using it (24, 30, ...).

    Thanks

    Sorry for my english.

    Participating Frequently
    July 14, 2011