Elecard
June 19, 2013, 01:46:39 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Elecard
>
PC Products
>
Professional Converters
>
Elecard XMuxer Pro
(Moderators:
Natalia Psakhie
,
Emil_ES
) >
Preview window problems in Mux
Pages: [
1
]
« previous
next »
Print
Author
Topic: Preview window problems in Mux (Read 6897 times)
gconnery
Newbie
Posts: 24
Preview window problems in Mux
«
on:
June 23, 2006, 01:49:26 pm »
I'm in the mux panel. I add an h.264 elementary stream. The preview panel will now allow me to watch the video if I want. However, if I hit play, the slider will run into the right hand side quite quickly, in about 14 seconds. The sample is 15:00 minutes long though. When it gets to the right side the video will continue playing (I think it stops in the remux window oddly enough). Although the slider is already at the right end, you can reposition it and it will correctly position the player in the stream, and allow you to play from there, however it will hit the right hand side again in about 14 more seconds.
Logged
lenn Connery
MPEG Architect
Arroyo Video Solutions
Vovs
Elecard Team
Posts: 154
Preview window problems in Mux
«
Reply #1 on:
June 25, 2006, 11:38:21 pm »
There is several methods for determination duration of AVC streams. Our demultiplexer uses BitRate[ SchedSelIdx ] value for that. The BitRate[ SchedSelIdx ] is calculated like ( bit_rate_value_minus1[ SchedSelIdx ] + 1 ) * 2(6 + bit_rate_scale) ((E-37) - t-rec-h.264-200503-p).
Streams that you sent us has bit_rate_value_minus1[0] = 712512 and bit_rate_scale = 1. Calculated average bitrate is 91 200 664 therefore demultiplexer is "mistaking" circa 50 times.
Perhaps more correct method of determination stream duration is present but I don't know what that is. May be anybody can give me hint about that?
Logged
gconnery
Newbie
Posts: 24
Preview window problems in Mux
«
Reply #2 on:
June 29, 2006, 12:53:51 pm »
The sample I gave you is a transport stream. Transport streams have PCRs. If the sample is CBR, then the PCRs will quickly converge on a rate if you just calculate bytes between PCRs / time between PCRs. If it is a CBR stream, then you can just look at how long it is in bytes and convert that to time. Easy. Of course this is transport time rather than play time, but these will generally not differ by much and should be sufficient for the slider.
If the sample isn't CBR, then you could use the PCR delta to figure out the length in most cases, though some samples might have PCR discontinuities in them. Here you could simply look at the first PCR in the sample, and the last PCR in the sample. The delta will be some number of 90kHz ticks. Since PCRs are 33 bits they will only roll over after 26 hours or so, so a simple delta should work fine. Again, this should work most of the time.
If however the sample is not CBR and has some PCR discontinuities, then...
Logged
lenn Connery
MPEG Architect
Arroyo Video Solutions
Vovs
Elecard Team
Posts: 154
Preview window problems in Mux
«
Reply #3 on:
June 29, 2006, 10:44:45 pm »
Unfortunately our demultiplexer not uses the PCR for navigation at all. Your idea looks attractive and we need to discuss it with demultiplexer developers.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
PC Products
-----------------------------
=> Consumer Players
===> Elecard MPEG Player
===> Elecard DVD Player
=> Consumer Converters
===> Elecard Converter Studio
===> Elecard Converter Studio AVC HD Edition
===> Elecard Converter Studio AVC HD Edition Mac
===> Elecard XMuxer Lite
=> Professional Converters
===> Elecard Converter Studio Pro
===> Elecard Converter Studio Pro HD
===> Elecard XMuxer Pro
=> Elecard PlugIns
===> Elecard AVC PlugIn
===> Elecard AVC PlugIn for ProgDVB
===> Elecard AVC Streaming PlugIn for WMP
===> Elecard MPEG2 Decoder and Streaming PlugIn for WMP
===> Adobe Premiere AVC HD Compiler Plugin
===> Adobe Premiere AVC HD Import & Player Plugin
=> Professional Analyzing tools
===> Elecard StreamEye Studio
=====> Elecard YUV Viewer
=====> Elecard Video QuEst
=====> Elecard Stream Analyzer
=====> Elecard Buffer Analizer
=====> Elecard StreamEye
===> Elecard Stream Inspector
-----------------------------
PC Development Kits
-----------------------------
=> Media Foundation SDK
=> PC SDK
===> Elecard SDK
=====> Elecard Codec SDK G4
=====> Elecard Codec .NET SDK G4
=====> Elecard Video Transform SDK
===> Elecard SRD
=====> Elecard IPTV Player SRD
=====> Elecard XMuxer SRD
=> Components
===> AVC/H.264 solutions
===> Elecard AAC coding technology
===> MPEG-4 Intermedia Format (MP4)
===> OneClick Compressor
===> Audio Decoders
===> Audio Encoders
===> Networking components
===> Muxers-Demuxers
===> Transform components
===> Various components
===> Video Decoders
=====> Elecard Decoder Pack
===> Video Encoders
=====> Elecard MPEG-2 Encoder Pack
-----------------------------
DVB/IPTV Products
-----------------------------
=> DVB/IPTV Servers
===> CodecWorks
===> V-Cinema TimeShift Server
===> V-Cinema VoD Server
===> XWorks IP-DVB Encapsulator
===> XWorks DVB IP Gateway, XWorks RD
===> IPTV solutions
=> DVB/IPTV STB's
===> STB 820
===> STB 83x/84x
===> STB 610
===> Upcoming HD STB
===> Поддержка пользователей
=====> Прошивки
=====> Подключение
=====> Настройки(Settings)
=====> Интернет-вещание(IPTV)
=====> Vidimax(VoD)
=====> Видео по запросу(VoD)
=====> Интернет-услуги(Web Serviсes)
=====> Интернет-телефония(VoIP)
=====> USB
=====> Оплата товаров и уcлуг
=====> Пожелания и предложения
=====> Другое
-----------------------------
Embedded & Hardware Products
-----------------------------
=> PC Cards
===> HD SDI Capture and Playback boards (HD Access 2.0)
===> Deblock IP Core
===> DVB-ASI TX\RX
===> IP Cores under development
=> DSP Codec SDK
===> SC-1500
===> NXP Codecs
=====> PNX 1500/1700
=======> Audio Decoders
=======> Audio Encoders
=======> Muxer/Demuxer PS/TS
=======> Video Decoders
=======> Video Encoders
=====> PNX 8950
=======> AAC Decoder
=======> AVC Decoder
=======> MPEG Audio Decoder
=======> MPEG-2 Decoder
===> TI DaVinci Codecs
=====> DaVinci 6446
=======> AAC Decoder
=======> AVC Decoder
=======> AVC Encoder
=====> DaVinci 6467
=======> AVC HD Decoder
=======> AVC HD Encoder
-----------------------------
Solveig Multimedia
-----------------------------
=> Solveig Multimedia products
-----------------------------
Student developments
-----------------------------
=> Student developments
-----------------------------
Bug Reports
-----------------------------
=> Bugs Found / Bugs Fixed
-----------------------------
General
-----------------------------
=> General Discussions
=> Questions and Answers
=> Your Elecard Wishlist
-----------------------------
Website
-----------------------------
=> Site Comments and Feedback
Loading...