[FFmpeg-trac] #8232(undetermined:new): decklink -> nvenc -> mpegts crush

FFmpeg trac at avcodec.org
Sun Oct 13 13:08:55 EEST 2019


#8232: decklink -> nvenc -> mpegts crush
-------------------------------------+-------------------------------------
             Reporter:  karcun       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  nvenc        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by karcun):

 hmm... it`s a driver bug.
 when i do pipeline:
 {{{
 decklink > libx246(q=1-3) -> rtmp (150Mbit/s) -> h264_nvenc(mpegts udp)
 }}}
 , it`s working fine!

 most likely this is a bug of the proprietary nvidia driver.

 i include complete ggmpeg output.
 command is:

 {{{
 ffmpeg \
     -use_wallclock_as_timestamps 1 \
     -loglevel debug \
     -hwaccel nvdec \
     -threads 8 -thread_type frame \
     -f decklink \
     -video_pts wallclock \
     -audio_pts wallclock \
     -draw_bars true \
     -raw_format yuv422p10 \
     -channels 2 \
     -i 'DeckLink Mini Recorder 4K' \
 \
     -c:v h264_nvenc \
     -vsync 0 \
     -preset:v slow \
     -profile:v high \
     -level:v 4.2 \
     -rc cbr_hq \
     -rc-lookahead 32 \
     -surfaces 64 \
     -weighted_pred 1 \
     -pix_fmt yuv420p \
     -b:v 4.8M \
     -cq 17 \
     -qmin 1 \
     -qmax 18 \
     -g 12 \
     -refs 2 \
 \
     -c:a libfdk_aac \
     -profile:a aac_he_v2 \
     -ac 2 \
     -ar 48000 \
     -af 'aresample=async=1' \
 \
     -f mpegts
 'udp://@239.0.0.1:2266?pkt_size=1316&fifo_size=1000000&buffer_size=100000000&overrun_nonfatal=1'
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8232#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list