Please guide me so that I can move forward using NVidia encoder as I am stuck due to this issue. It seems “-codec:v h264_nvenc” encoder reorder frames as per need but do not handle (reorder) captions (sei data) provided as input with encode function. ffmpeg reports that the stream does contain closed captions (which is where the captured video file sample.mp4 got them): Stream 0:0: Video: h264 (High) (27000 / 0x001B), yuv420p(tv, bt709), 480x270 SAR 1:1 DAR 16:9, Closed Captions, 14.99 fps, 14.99 tbr, 90k tbn, 29. Like if I remove “-bf 2” from above command it shows proper captions.Īlso as mentioned above, If I use software encoder “-codec:v libx264” it works perfect with “-bf 2”. This is working perfect if I do not use B frames in output encoded NVidia frames. you can usually let ffmpeg copy it, using the following value for. Intel QSV encode has the capability to support subtitles, but developers using it need to write the code to add that support. Refer below URL to download original input file: Closed captions can be displayed anywhere in a grid of 15 rows by 32 columns. With hardware DEcoding, closed captions are never detected again, no matter the input. Please note the ffprobe output after each test: with software DEcoding, even when using hardware ENcoding, the stream deails say 'Closed Captions'. YouTube provides its own embed code, an easy copy and paste system that allows. Those steps should be reproducible on a machine with nvidia card by just copying and pasting the commands. Refer below URL to download this output file: Most importantly, closed captions and video transcripts make your YouTube. y ‘/home/test_files/output_bf2_nvidia.ts’ Output output_bf2_nvidia.ts TS file which has problem in caption order. f mpegts -mpegts_flags +resend_headers+pat_pmt_at_frames -muxrate 7250000 -pcr_period 20 c:a copy -flush_packets 0 -metadata service_provider=M圜ompany -metadata service_name=TestChannel ffmpeg -analyzeduration 5M -probesize 5M -loglevel 40 -c:v h264_cuvid -i ‘/home/test_files/cuc_ieschool-withscc.ts’ I have incorporate following 2 patches from GIT to copy/pass a53 caption from CUVID decoder to NVidia encoder in ffmpeg. Hello of all, Thank you very much for your reply.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |