This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Freezes during "extracting time codes
#1
Freezes during "extracting time codes using FFMPEG for track with id1"
File is the *.mov extension. Checked :Always extract timecodes from input" and "Only extract time codes for some containers:
mp4/mkv/flv input files will be extracted."
Reply
#2
I know FFmpeg timecode extraction takes it's time and there is nothing I can do about it, but it shouldn't take that long.
What happen if you call
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -ignore_editlist true -i "H:\!_Video\Video_Mus\Lindsey Stirling\Beyond The Veil.mov" -map 0:1 -f mkvtimestamp_v2 "C:\Windows\Temp\Beyond The Veil.txt"
in a Windows Command Prompt?
(can't test atm. myself since I'm in the middle of getting Hybrid to Qt6 compatible, which will take some time)

Cu Selur
Reply
#3
(27.12.2020, 21:28)Selur Wrote: I know FFmpeg timecode extraction takes it's time and there is nothing I can do about it, but it shouldn't take that long.
What happen if you call
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -ignore_editlist true -i "H:\!_Video\Video_Mus\Lindsey Stirling\Beyond The Veil.mov" -map 0:1 -f mkvtimestamp_v2 "C:\Windows\Temp\Beyond The Veil.txt"
in a Windows Command Prompt?
(can't test atm. myself since I'm in the middle of getting Hybrid to Qt6 compatible, which will take some time)

Cu Selur

C:\Users\Orion>"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -ignore_editlist true -i "H:\!_Video\Video_Mus\Lindsey Stirling\Beyond The Veil.mov" -map 0:1 -f mkvtimestamp_v2 "C:\Windows\Temp\Beyond The Veil.txt"
ffmpeg version N-100400-g5f7dc836ce-gd76469378d+4 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-libopenmpt --enable-version3 --enable-libsvthevc --enable-libsvtav1 --enable-libkvazaar --enable-libzmq --enable-libvmaf --enable-vapoursynth --disable-libdavs2 --enable-librav1e --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB
  libavutil      56. 62.100 / 56. 62.100
  libavcodec     58.115.102 / 58.115.102
  libavformat    58. 65.100 / 58. 65.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 93.100 /  7. 93.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'H:\!_Video\Video_Mus\Lindsey Stirling\Beyond The Veil.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2014-03-25T22:18:52.000000Z
  Duration: 00:04:13.21, start: 0.000000, bitrate: 40810 kb/s
    Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, stereo, s16, 1411 kb/s (default)
    Metadata:
      creation_time   : 2014-03-25T22:18:52.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
    Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 39396 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47952 tbc (default)
    Metadata:
      creation_time   : 2014-03-25T22:18:52.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : H.264
Stream mapping:
  Stream #0:1 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, mkvtimestamp_v2, to 'C:\Windows\Temp\Beyond The Veil.txt':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf58.65.100
    Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p(tv, bt709, progressive), 1920x1080, q=2-31, 596599 kb/s, 23.98 fps, 1k tbn (default)
    Metadata:
      creation_time   : 2014-03-25T22:18:52.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : Lavc58.115.102 rawvideo
frame= 6071 fps=294 q=-0.0 Lsize=      39kB time=00:04:13.17 bitrate=   1.3kbits/s speed=12.3x
video:18440662kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Reply
#4
Does it finish properly ?
Reply
#5
(27.12.2020, 21:40)Selur Wrote: Does it finish properly ?

Wrong values: "fps=294" - right= 23.976
"-------------" "bitrate= 1.3kbits/s" - right=39.4 Mb/s
"-------------" video:18440662kB - right=1246927,468 kB
Reply
#6
To me the values seem correct.

You are misinterpreting those values.
Quote:"fps=294" - right= 23.976
that is the processing speed not the video playback speed
Quote:"-------------" "bitrate= 1.3kbits/s" - right=39.4 Mb/s
that is the data rate at which the time codes are written, not the video speed
Quote:"-------------" video:18440662kB - right=1246927,468 kB
that is the raw video size not the file size,..

Cu Selur
Reply
#7
(27.12.2020, 22:15)Selur Wrote: To me the values seem correct.

You are misinterpreting those values.
Quote:"fps=294" - right= 23.976
that is the processing speed not the video playback speed
Quote:"-------------" "bitrate= 1.3kbits/s" - right=39.4 Mb/s
that is the data rate at which the time codes are written, not the video speed
Quote:"-------------" video:18440662kB - right=1246927,468 kB
that is the raw video size not the file size,..

Cu Selur

Based on the Mediainfo
Video:
Stream size : 1246927468
Stream size : 1.16 GiB (97%)
that is the raw video size?
Reply
#8
Quote:that is the raw video size?
iirc. FFmpeg shows the raw 'uncompressed' video size it processed during the processing, MediaInfo reports a guessed 'compressed' stream size.
-> if you want to know in details check the ffmpeg source code (iirc. ffmpeg.c is the file where it's output).
(or in whatever documentation they hid it,..)

Cu Selur
Reply
#9
I'll add a progress indication to the ffmpeg time code extraction this way it shouldn't look like the gui is frozen.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)