VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date
    Mar 2023
    Location
    turkey
    Search Comp PM
    I am using wowza.

    My question: output file "m3u8", "ts" extensions.

    How to change output "mtv.m3u8" file to "mtv.json" "mtv-123122313.ts" file to "mtv-123122313.js" ?

    For example:

    mtv.json

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:1797
    #EXT-X-TARGETDURATION:5
    #EXTINF:5.000,
    mtv-1610887534362.js
    #EXTINF:5.000,
    mtv-1610887539364.js
    #EXTINF:5.000,
    mtv-1610887544374.js
    i want to show my output ts file like mtv-1610887544374.js

    in some site i saw same extensions but i cant do same. i think its possible. but how? anyone know about this something?
    Quote Quote  
  2. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by wowza View Post
    I am using wowza.

    My question: output file "m3u8", "ts" extensions.

    How to change output "mtv.m3u8" file to "mtv.json" "mtv-123122313.ts" file to "mtv-123122313.js" ?

    For example:

    mtv.json

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:1797
    #EXT-X-TARGETDURATION:5
    #EXTINF:5.000,
    mtv-1610887534362.js
    #EXTINF:5.000,
    mtv-1610887539364.js
    #EXTINF:5.000,
    mtv-1610887544374.js
    i want to show my output ts file like mtv-1610887544374.js

    in some site i saw same extensions but i cant do same. i think its possible. but how? anyone know about this something?
    try ffmpeg - https://groups.google.com/g/nginx-rtmp/c/dmwKTfDWCcQ
    Quote Quote  
  3. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Unless I am missing something, you have a couple of issues:

    1. M3u8 is a metadata format, and so can be json, but m3u8 uses explicit tags which may not natively translate to json attributes, or if they can translate, may not be understood by a player
    2. TS is an mpeg transport stream (multiplexed audio+video), while js is JavaScript code. They are not even close to the same thing. That is like saying I want to convert my layer cake to a motorcycle.

    Scott
    Quote Quote  
  4. Originally Posted by Cornucopia View Post
    Unless I am missing something, you have a couple of issues:

    1. M3u8 is a metadata format, and so can be json, but m3u8 uses explicit tags which may not natively translate to json attributes, or if they can translate, may not be understood by a player
    2. TS is an mpeg transport stream (multiplexed audio+video), while js is JavaScript code. They are not even close to the same thing. That is like saying I want to convert my layer cake to a motorcycle.

    Scott
    +1
    Quote Quote  
  5. It is my opinion that the OP wishes obfuscation and not functionality. The user, in my opinion, wishes to change the words, ala copy/replace

    change the word m3u8 to json
    change the word ts to js


    This is a vain attemp to prevent copying.
    Quote Quote  
  6. Member
    Join Date
    Mar 2023
    Location
    turkey
    Search Comp PM
    The problem persists, thanks everyone.
    Quote Quote  
  7. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Just change the extensions manually such as renaming the file but only renaming the extension.
    I think,therefore i am a hamster.
    Quote Quote  



Similar Threads

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