I have post renamed the file but i've did the re-encoding again on the original file like this:
log: $ ffmpeg -i perspective.mp4 -c:v h264_nvenc -profile:v high -preset:v fast perspective_out.mp4 ffmpeg version N-81960-g1bda0ee Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 32.100 / 55. 32.100 libavcodec 57. 61.100 / 57. 61.100 libavformat 57. 51.103 / 57. 51.103 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 63.100 / 6. 63.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 2.100 / 2. 2.100 libpostproc 54. 0.100 / 54. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'perspective.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.50.100 Duration: 00:07:27.87, start: 2.132000, bitrate: 10235 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 10233 kb/s, 24.94 fps, 29.97 tbr, 1000k tbn, 2000k tbc (default) Metadata: handler_name : VideoHandler File 'perspective_out.mp4' already exists. Overwrite ? [y/N] y Output #0, mp4, to 'perspective_out.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.51.103 Stream #0:0(eng): Video: h264 (h264_nvenc) (High) ([33][0][0][0] / 0x0021), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], q=-1--1, 2000 kb/s, 29.97 fps, 30k tbn, 29.97 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc57.61.100 h264_nvenc Side data: cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 4000000 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc)) Press [q] to stop, [?] for help Past duration 0.731316 too large 8815kB time=00:00:27.22 bitrate=2652.4kbits/s dup=206 drop=0 speed=3.95x .... On Fri, Oct 14, 2016 at 1:14 PM, Sven C. Dack <sven.c.d...@sky.com> wrote: > On 14/10/16 11:53, tyt xtreme wrote: > >> Thanks for the help and explanation! I can tell the encoding runs now, >> tried with the following command: >> $ ffmpeg -i perspective.mp4 -c:v h264_nvenc -profile:v high -preset:v fast >> perspective_out.mp4 >> >> but the output image/video coloring really weird. from a normal coloring >> it's going to be weird mixture of green,red "ghosty" image. >> The input file details are: >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'perspective.mp4': >> Metadata: >> major_brand : isom >> minor_version : 512 >> compatible_brands: isomiso2avc1mp41 >> encoder : Lavf57.50.100 >> Duration: 00:07:27.87, start: 2.132000, bitrate: 10235 kb/s >> Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / >> 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 10233 kb/s, >> 24.94 fps, 29.97 tbr, 1000k tbn, 2000k tbc (default) >> Metadata: >> handler_name : VideoHandler >> >> The output file details are: >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4': >> Metadata: >> major_brand : isom >> minor_version : 512 >> compatible_brands: isomiso2avc1mp41 >> encoder : Lavf57.51.103 >> Duration: 00:07:27.92, start: 0.000000, bitrate: 5301 kb/s >> Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, >> 3840x2160 [SAR 1:1 DAR 16:9], 5300 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, >> 59.94 tbc (default) >> Metadata: >> handler_name : VideoHandler >> >> Any idea? >> >> Something is not right here. In your example command line do you call the > output file "prespective_out.mp4" but in the details below is it called > "output.mp4". The original file also shows to have a frame rate of 24.94 > fps, but "output.mp4" is reported to have 29.97 fps, and you didn't perform > and frame rate conversion on the command line. > > Can you double check this, please? > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".