VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Hello,

    I'd like to ask a couple of questions about .ts files.

    I want to save a local copy of a radio programme on the www. The first step is to download all the .ts files. The site uses JWPlayer to stream audio contents, with each .ts containing 10 seconds of contents.
    I notice that the sizes of the downloaded .ts are not uniform. The "normal" size is 87420B each, but the size of every 5th one is only 87232B. For example, a sequence of files named from "file_3.ts" to "file_15.ts", the sizes of "file_4.ts", "file_9.ts" and "file_14.ts" are 87232B but the rest are 87420B large.
    Is this a normal phenomenon ?

    Next I concatenate the .ts files to a single .mp3 file using FFmpeg. The resultant .mp3 is then played with FFplay.
    I notice that when a "jump" or noise is heard in the playback, some error lines appear :
    Code:
    >   Duration: 00:06:40.32, start: 0.016531, bitrate: 64 kb/s
    >     Stream #0:0: Audio: mp3, 32000 Hz, stereo, s16p, 64 kb/s
    >     Metadata:
    >       encoder         : Lavf
    > [mp3 @ 02fc7ac0] overread, skip -5 enddists: -3 -3
    > [mp3 @ 02fc7ac0] overread, skip -5 enddists: -4 -4
    >   12.37 M-A:  0.000 fd=   0 aq=    2KB vq=    0KB sq=    0B f=0/0
    In my understanding, this should indicate some imperfection in the file. It would be ideal to check the entire .mp3 with FFplay, but obviously not an efficient way.
    I wonder if there is a tool for such integrity check without real-time playback ?
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Originally Posted by anctop View Post
    I wonder if there is a tool for such integrity check without real-time playback ?
    Nope.
    Quote Quote  
  3. The site probably uses an m3u8 index. If so, you can download via that index with ffmpeg and it should automatically append the files.

    Code:
    ffmpeg -i http://path/to/filename.m3u8 -vcodec copy -acodec copy output.ts
    Quote Quote  
  4. Originally Posted by jagabo View Post
    The site probably uses an m3u8 index. If so, you can download via that index with ffmpeg and it should automatically append the files.

    Code:
    ffmpeg -i http://path/to/filename.m3u8 -vcodec copy -acodec copy output.ts
    Thanks for the suggestion. Yes, the site does use .m3u8 playlists.
    However, my internet connection is not stable such that FFmpeg often dies prematurely.
    Indeed the downloaded .ts seem to be intact, but I'm curious about the pattern of file sizes.

    On the other hand, it's disappointing to hear that there is no fast tool for integrity checking.
    It means I have to listen the entire .mp3 and hope that nothing has gone wrong near the end.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!