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

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sharbatgula
Blank Cone
Blank Cone
Posts: 15
Joined: 24 Jul 2012 11:57

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

Postby sharbatgula » 03 Jan 2014 15:49

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 03 Jan 2014 17:45

I think the code needs to be fixed for that.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sharbatgula
Blank Cone
Blank Cone
Posts: 15
Joined: 24 Jul 2012 11:57

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

Postby sharbatgula » 03 Jan 2014 18:01

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 06 Jan 2014 12:16

Soon? I doubt it. You would need to file a proper bugreport and share the files.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: chriska416 and 20 guests