[FFmpeg-trac] #4419(undetermined:new): ffmpeg nvenc -> h264 profile problem
FFmpeg
trac at avcodec.org
Wed Apr 1 23:10:49 CEST 2015
#4419: ffmpeg nvenc -> h264 profile problem
-------------------------------------+-------------------------------------
Reporter: michbott | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Hi,
have problem to set profile :
this is the script to build latest ffmpeg git whit necessary library :
http://www.mediafire.com/view/oc79wc94dvr6xf9/ffmpeg_nvenc.sh
when try to set profile i give this error :
ffmpeg -i "udp://@:1234?fifo_size=5000000&overrun_nonfatal=1" -map
0:p:7140:0 -map 0:p:7140:1 -acodec libfdk_aac -ac 2 -ar 44100 -ab 96k
-vcodec nvenc -aspect 16:9 -s 1280x720 -b:v 1500k -minrate 1500k -maxrate
1500k -bufsize:v 3000k -r 25 -g 150 -keyint_min 50 '''-profile:v Main'''
-preset hq -f flv "rtmp://1.1.1.1.:1935/live/testa"
.....
[nvenc @ 0x3db1800] [Eval @ 0x7fffaff8aec0] Undefined constant or missing
'(' in 'Main'
[nvenc @ 0x3db1800] Unable to parse option value "Main"
[nvenc @ 0x3db1800] Error setting option profile to value Main.
Output #0, flv, to 'rtmp://37.187.140.144:22544/live/testa':
Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25
fps
Metadata:
encoder : Lavc56.32.100 nvenc
Stream #0:1(ita): Audio: aac, 0 channels, 128 kb/s
Metadata:
encoder : Lavc56.32.100 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (nvenc))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
if not set the profile work :
ffmpeg -i "udp://@:1234?fifo_size=5000000&overrun_nonfatal=1" -map
0:p:7140:0 -map 0:p:7140:1 -acodec libfdk_aac -ac 2 -ar 44100 -ab 96k
-vcodec nvenc -aspect 16:9 -s 1280x720 -b:v 1500k -minrate 1500k -maxrate
1500k -bufsize:v 3000k -r 25 -g 150 -keyint_min 50 -preset hq -f flv
"rtmp://1.1.1.1:1935/live/test"
frame= 222 fps= 39 q=0.0 size= 1648kB time=00:00:10.08
bitrate=1339.6kbits/s
Any kind of help can be graded !
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4419>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list