Re: [FFmpeg-trac] #5985(undetermined:new): error decoding h264 stream with h264_cuvid in udp mpegts

2016-12-01 Thread FFmpeg
#5985: error decoding h264 stream with h264_cuvid in udp mpegts
-+-
 Reporter:  doubleb  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by doubleb):

 I have found a workaround namely specifying exactly the stream to apply
 the decoding:

 instead of this: -vcodec h264_cuvid -f mpegts -i 
 using this:   -codec:#0x9c4 h264_cuvid  -f mpegts -i ...

 (see the originly enclosed log file for full command line)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5985(undetermined:new): error decoding h264 stream with h264_cuvid in udp mpegts

2016-12-01 Thread FFmpeg
#5985: error decoding h264 stream with h264_cuvid in udp mpegts
-+-
 Reporter:  doubleb  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by doubleb):

 I have made the capturing. I have checked, and the crash is reproducible
 with resulted ts file.

 ffmpeg -y -vcodec h264_cuvid -f mpegts -i /tmp/full.ts -map "0:#0x9c4"
 -map "0:#0x9c5" -vcodec libx264 -preset fast -s 640x360 -g 25 -vb 800k
 -bufsize 3000k -r 25 -maxrate 1200k -profile:v high -level 4.0 -pix_fmt
 yuv420p -acodec libfdk_aac -cutoff 2 -ac 2 -ar 44100 -ab 192k
 /tmp/bbout.mp4

 I gladly upload this file to you but your upload.ffmpeg.org ftp server
 seems down, currently.
 So, I have made the ts file available at http://download.songo.hu/full.ts

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5985(undetermined:new): error decoding h264 stream with h264_cuvid in udp mpegts

2016-12-01 Thread FFmpeg
#5985: error decoding h264 stream with h264_cuvid in udp mpegts
-+-
 Reporter:  doubleb  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Now please capture the incoming udp stream without FFmpeg to allow us to
 reproduce the crash you see.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5985(undetermined:new): error decoding h264 stream with h264_cuvid in udp mpegts

2016-12-01 Thread FFmpeg
#5985: error decoding h264 stream with h264_cuvid in udp mpegts
-+-
 Reporter:  doubleb  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by doubleb):

 I have tested with current git head. Same result. Report output enclosed.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5985(undetermined:new): error decoding h264 stream with h264_cuvid in udp mpegts

2016-12-01 Thread FFmpeg
#5985: error decoding h264 stream with h264_cuvid in udp mpegts
-+-
 Reporter:  doubleb  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by doubleb):

 capture: I mean without transcodng:

 ./ffmpeg_g -report -v 9 -loglevel 99 -y -f mpegts -i
 
"udp://239.100.1.101:1001?buffer_size=200&fifo_size=200&overrun_nonfatal=0"
 -map "0:#0x9c4" -map "0:#0x9c5" -vcodec copy -acodec copy /tmp/bbcopy.mp4

 and after it transcoding:

 ./ffmpeg_g -report -v 9 -loglevel 99 -y -vcodec h264_cuvid -f mpegts -i
 /tmp/bbcopy.mp4 -vcodec libx264 -preset fast -s 640x360 -g 25 -vb 800k
 -bufsize 3000k -r 25 -maxrate 1200k -profile:v high -level 4.0 -pix_fmt
 yuv420p -acodec libfdk_aac -cutoff 2 -ac 2 -ar 44100 -ab 192k
 /tmp/bbout.mp4

 it works as expected.

 But I need on-the-fly transcoding.

 I will test with current git very soon.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5985(undetermined:new): error decoding h264 stream with h264_cuvid in udp mpegts

2016-12-01 Thread FFmpeg
#5985: error decoding h264 stream with h264_cuvid in udp mpegts
-+-
 Reporter:  doubleb  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Please test current FFmpeg git head.

 How did you capture the h264 stream into mp4? I would expect that when you
 capture the udp stream, the output would not be mp4, but mpegts. aviocat
 should be able to do this (as are probably many other simple tools).

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


[FFmpeg-trac] #5985(undetermined:new): error decoding h264 stream with h264_cuvid in udp mpegts

2016-12-01 Thread FFmpeg
#5985: error decoding h264 stream with h264_cuvid in udp mpegts
-+-
 Reporter:  doubleb  | Type:  defect
   Status:  new  | Priority:  normal
Component:   |  Version:
  undetermined   |  unspecified
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Summary of the bug:
 ffmpeg crashed, see the log-report, gdb and valgrind output below

 the incoming multi-program transport stream contains several programs.
 They have mpeg2 or h264 video streams.
 There is no any problem decoding mpeg2 videostream with mpeg2_cuvid.
 If I capture the h264 stream into mp4 files and then decoding the video
 stream in mp4 container by h264_cuvid works well without error. So I think
 the error not relates to video content but to udp protocol.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac