2014-04-22, 08:25 AM
whurlston Wrote:I just tested it and the ffmpeg bundled with NPVR won't work. Download a newer ffmpeg from http://ffmpeg.zeranoe.com/builds/ (any build 2013 or newer should work).
You will not need the "-ss XX" at all, the empty section at the beginning is automatically cut.
Failure again I'm afraid. Have to go hospital visiting now, I'll have a better read of the docs and errors when I return.
Code:
Z:\video\output>"c:\Program Files (x86)\NPVR\Other\ffmpeg.exe" -i "Z:\video\output\Formula One_20140419_06000845.bak" -f mpegts -vcodec copy -acodec copy "Z:\video\output\Formula O
ne_20140419_06000845.ts"
ffmpeg version N-62569-gf57ac37 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 19 2014 22:03:22 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidst
ab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-decklink --enable-zlib
libavutil 52. 77.100 / 52. 77.100
libavcodec 55. 58.105 / 55. 58.105
libavformat 55. 37.101 / 55. 37.101
libavdevice 55. 13.100 / 55. 13.100
libavfilter 4. 4.100 / 4. 4.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[NULL @ 045252c0] start time for stream 0 is not set in estimate_timings_from_pts
[NULL @ 04525b40] start time for stream 1 is not set in estimate_timings_from_pts
[NULL @ 0451db20] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 04524000] PES packet size mismatch
Last message repeated 1 times
[mpegts @ 04524000] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 04524000] Could not find codec parameters for stream 1 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 04524000] Could not find codec parameters for stream 2 (Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 04524000] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 04524000] Could not find codec parameters for stream 5 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'Z:\video\output\Formula One_20140419_06000845.bak':
Duration: 02:47:55.82, start: 3068.259522, bitrate: 11720 kb/s
Program 3836
Stream #0:0[0x200]: Video: h264 ([27][0][0][0] / 0x001B), 90k tbr, 90k tbn, 180k tbc
Stream #0:1[0x280](NAR): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p
Stream #0:2[0x294](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels, fltp
Stream #0:3[0x240](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x905]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:5[0x40b]: Unknown: none ([5][0][0][0] / 0x0005)
Output #0, mpegts, to 'Z:\video\output\Formula One_20140419_06000845.ts':
Output file #0 does not contain any stream
Z:\video\output>pause