VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Jun 2017
    Location
    JAPAN/TOKYO
    Search Comp PM
    How to fix to Mpeg2-TS bitrate.

    I want to create the MPEG2-TS(Static Bitrate) & specify PID.
    I can specify PID by FFMPEG , but it cannot create MPEG2-TS(Static Bitrate).

    Therefore,
    Step 1: I used Adobe Media Encoder to create CBR file.(This file is really static bitrate).
    Step 2: I used FFMPEG to the CBR file into specify PID(command: -vcodec copy -acodec copy).

    But It cannot static!!

    Anyone know how to fix the bitrate by FFMPEG??


    //Except [-b:v 2500k -minrate 2500k -maxrate 2500k] it is only way to x264.
    Quote Quote  
  2. How are you measuring the bitrate? or determining if it's static (or not) over time ?

    Did you try specifying -muxrate ? Or else try tsmuxer CBR (I think it inserts padding)
    Quote Quote  
  3. Member
    Join Date
    Jun 2017
    Location
    JAPAN/TOKYO
    Search Comp PM
    Originally Posted by poisondeathray View Post
    How are you measuring the bitrate? or determining if it's static (or not) over time ?

    Did you try specifying -muxrate ? Or else try tsmuxer CBR (I think it inserts padding)
    Thanks a lot!! -muxrate can static messuring bitrate.

    But When I use -muxrate code, The error of below came out.

    [mpegts @ 00000000005827a0] dts < pcr, TS is invalid



    Do you know happen to know this one?


    My all code is below.

    ffmpeg -i input.ts ^
    -vcodec copy -acodec copy ^
    -muxrate 14500k ^
    -c:v copy -c:a copy ^
    -mpegts_transport_stream_id 0xBC ^
    -mpegts_service_id 0x10 ^
    -mpegts_pmt_start_pid 0x0050 ^
    -streamid 0:0x00ff ^
    -streamid 1:0x0100 ^
    output.ts
    Quote Quote  



Similar Threads

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