Page 1 of 1

No timeline (elapsed time and duration) on .TS files

Posted: 03 Jan 2014 15:49
by sharbatgula
Hi,

I'm transcoding a DVB-T mpeg TS, to low resolution h264/AAC and muxing to mpeg-2 transport stream. Then I'm recording the output with any of vlc, ffmpeg, multicat without any processing on the content, i.e. the recording is a .ts file. Unfortunately, VLC and Windows media player don't show the timeline, i.e. duration and elapsed time.
- If I record the original transport stream, the timeline is perfect.
- If I remux the transcoded recording to .mp4, the timeline is recreated.
- I tried to explicitly define mux=ts{pcr=80,pid-video=68,dts-delay=400}, with no effect.

This is indicating me that the ts mux is not providing enough information to create the timeline.

I'm using typically an encoding string based around:
:sout=#transcode{vcodec=h264,venc=x264{aud,profile=main,keyint=50,ref=1},vb=320,vfilter=deinterlace,fps=25,scale=Auto,width=354,height=288}:udp{mux=ts,dst=224.10.2.1:1234} :sout-keep

Can someone help, please?

Sharbat

Re: No timeline (elapsed time and duration) on .TS files

Posted: 03 Jan 2014 17:45
by Jean-Baptiste Kempf
I think the code needs to be fixed for that.

Re: No timeline (elapsed time and duration) on .TS files

Posted: 03 Jan 2014 18:01
by sharbatgula
Hi Jean-Baptiste,

Thanks for responding.
To add to my previous post:
- When only remuxing/saving with VLC, the timeline is there. If the elementary streams are touched, the timeline problem appears. It's interesting that ffprobe shows proper duration though.

Regarding the fix, is it likely that it will done soon? I'd like to help but serious programming is well beyond my league.

Regards,

Sharbat

Re: No timeline (elapsed time and duration) on .TS files

Posted: 06 Jan 2014 12:16
by Jean-Baptiste Kempf
Soon? I doubt it. You would need to file a proper bugreport and share the files.