VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Page 6 of 6
FirstFirst ... 4 5 6
Results 151 to 164 of 164
Thread
  1. Originally Posted by dellsam34 View Post
    I'm still interested in DTS testing, With all the tools available to me I haven't been able to demux and remux DTS successfully without sync problems, My next approach is to do DTS HD to DTS without demuxing from the video to avoid sync problems and then convert the video with FFMPEG. Can FFMPEG process videos with DTS soundtrack without altering the DTS soundtrack?
    You can copy audio track - instead '-c:a xxxxcodec' use '-c:a copy' then ffmpeg will copy present audio track unaltered .
    Quote Quote  
  2. Member dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Paris Ca, 92345 Mexico
    Search PM
    Oh, Okay. That was simple, I will give it a go, Thanks Pandy.
    I have "-acodec ac3" so it should be replaced by "-c:a copy" right?

    Update:
    I converted the .m2ts file's DTS-HD track to DTS using TSMuxerGUI then used the modified commend for DTS and it worked, According to media info I got a .ts file with a DTS soundtrack plays in the computer with no drop outs or sync problems. Now I will have to see if the deck records it and plays it back, Fingers crossed, will report back.
    Last edited by dellsam34; 12th Feb 2019 at 13:30.
    Quote Quote  
  3. Originally Posted by dellsam34 View Post
    Oh, Okay. That was simple, I will give it a go, Thanks Pandy.
    I have "-acodec ac3" so it should be replaced by "-c:a copy" right?
    Correct, also references to other audio encoding parameters IMHO should be removed (i mean channel configuration, bitrate etc).

    Originally Posted by dellsam34 View Post
    Update:
    I converted the .m2ts file's DTS-HD track to DTS using TSMuxerGUI then used the modified commend for DTS and it worked, According to media info I got a .ts file with a DTS soundtrack plays in the computer with no drop outs or sync problems. Now I will have to see if the deck records it and plays it back, Fingers crossed, will report back.
    Remember to adjust (reduce) video bitrate to match audio bitrate requirements.
    Quote Quote  
  4. Member dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Paris Ca, 92345 Mexico
    Search PM
    Yeah, The DTS sample as it is didn't record well, only shows frozen frames, I should probably reduce the video bitrate, So DTS is 1509 kb/s so I have to reduce the video bitrate by 1.5Mbps. Let me give it a try.

    No it didn't work, froze to death, I tried two combinations, This:

    HTML Code:
    ffmpeg -i Input.m2ts -c:v mpeg2video -r 30/1.001 -b:v 20500000 -bufsize 9781248 -maxrate 23000000 -bf 2 -sc_threshold -30000 -seq_disp_ext 1 -color_primaries 1 -color_trc 1 -colorspace 1 -dc 10 -me_range 960 -inter_matrix 16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33 -c:a copy -muxrate 25000000 Output.ts
    Then this:

    HTML Code:
    ffmpeg -i Input.m2ts -c:v mpeg2video -r 30/1.001 -b:v 20500000 -bufsize 9781248 -maxrate 21500000 -bf 2 -sc_threshold -30000 -seq_disp_ext 1 -color_primaries 1 -color_trc 1 -colorspace 1 -dc 10 -me_range 960 -inter_matrix 16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33 -c:a copy -muxrate 25000000 Output.ts
    None of them worked, This is beyond my scope, Any suggestions?
    Last edited by dellsam34; 14th Feb 2019 at 18:48.
    Quote Quote  
  5. Originally Posted by dellsam34 View Post
    Yeah, The DTS sample as it is didn't record well, only shows frozen frames, I should probably reduce the video bitrate, So DTS is 1509 kb/s so I have to reduce the video bitrate by 1.5Mbps. Let me give it a try.

    No it didn't work, froze to death, I tried two combinations, This:

    HTML Code:
    ffmpeg -i Input.m2ts -c:v mpeg2video -r 30/1.001 -b:v 20500000 -bufsize 9781248 -maxrate 23000000 -bf 2 -sc_threshold -30000 -seq_disp_ext 1 -color_primaries 1 -color_trc 1 -colorspace 1 -dc 10 -me_range 960 -inter_matrix 16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33 -c:a copy -muxrate 25000000 Output.ts
    Then this:

    HTML Code:
    ffmpeg -i Input.m2ts -c:v mpeg2video -r 30/1.001 -b:v 20500000 -bufsize 9781248 -maxrate 21500000 -bf 2 -sc_threshold -30000 -seq_disp_ext 1 -color_primaries 1 -color_trc 1 -colorspace 1 -dc 10 -me_range 960 -inter_matrix 16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33 -c:a copy -muxrate 25000000 Output.ts
    None of them worked, This is beyond my scope, Any suggestions?
    Can't help on this but it can be issue with DTS support... try to replace copy DTS by AC3 creation - if after all video will work then seem DTS is issue (older equipment may not support anything over plain old style DTS).
    Quote Quote  
  6. Member dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Paris Ca, 92345 Mexico
    Search PM
    My deck is capable of playing back DTS encoded tapes, However not sure about recording it.
    Quote Quote  
  7. SOrry for hijackng this thread again, but back to my previous problem, I think there is an easy solution. Can soneone who owns a D-VHS dech record anything from DV or analog source in STD, then transfer it to PC to a TS file and upload an extract of MediaInfo log about parameters? This could be easily used to make a specialized, or universal coding matrix for STD D-VHS master for both PAL and NTSC to encode MPEG-TS D-VHS compliant stream that can be fed into the software and recorded onto tape.
    Quote Quote  
  8. Member dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Paris Ca, 92345 Mexico
    Search PM
    These files are SD MPEG2 compliant files that can be recorded to the deck via firewire with no problem, You will need a XP machine.
    Quote Quote  
  9. Thank you, however those are NTSC clips and I have a PAL machine, this is why I asked if someone could just send MediaInfo output and I would use the information to perfect the encoding parameters for PAL output. I will download then and chech the info and then maybe I will be able to do what is required. Thank you for help. Those files are not recompressed in anyway? You simply used mpg extension instead of ts?

    OK. So the first and main problem is the ffmpeg exceeding the maxbitrate. the max bitrate is 14,1Mbps and yet the encoded file is 18,2Mbps. And it completely ommits the audio.

    Any tip on how to keep ffmpeg from exceeding set max bitrate?
    Last edited by SF01; 20th Apr 2019 at 16:21.
    Quote Quote  
  10. Member dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Paris Ca, 92345 Mexico
    Search PM
    That's all what I got, Those files can be recorded to a NTSC machine with no modification required, I tried them. Yours being PAL and probably SD only makes it very limited in terms of recording capabilities via firewire. It is better to open up a new thread since the title of this one doesn't apply to your case.
    Quote Quote  
  11. Originally Posted by SF01 View Post
    OK. So the first and main problem is the ffmpeg exceeding the maxbitrate. the max bitrate is 14,1Mbps and yet the encoded file is 18,2Mbps. And it completely ommits the audio.
    Any tip on how to keep ffmpeg from exceeding set max bitrate?
    It is not clear - bitrate of what ? Video or TS? If video then how you get information - warnings? (overflow for muxer?)
    Quote Quote  
  12. Originally Posted by pandy View Post
    Originally Posted by SF01 View Post
    OK. So the first and main problem is the ffmpeg exceeding the maxbitrate. the max bitrate is 14,1Mbps and yet the encoded file is 18,2Mbps. And it completely ommits the audio.
    Any tip on how to keep ffmpeg from exceeding set max bitrate?
    It is not clear - bitrate of what ? Video or TS? If video then how you get information - warnings? (overflow for muxer?)
    Video obviously. Audpio is not encoded at all. Overall bitrate is as requested at the end of command line as 19Mbps.
    Quote Quote  
  13. Are you getting warnings from muxer? You can switch to non linear quantizer in MPEG-2 to increase compression
    Quote Quote  
  14. No warnings.
    How do you suggest I achieve that?

    And why possibly is audio not encoded...

    EDIT: The audio is not recoded, because TS does not support PCM. MP2 worked fine. But the videobitrate is still over the tolerance.
    Last edited by SF01; 21st Apr 2019 at 14:34.
    Quote Quote  



Similar Threads