Giter VIP home page Giter VIP logo

h264-roi's People

Contributors

chaoticenigma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

h264-roi's Issues

Is this program give ROI.txt file from video?

Hello Sir,

Thank you for sharing the useful comments on the last issue.

Is this program give ROI.txt file from the video?

Can you tell me please how to get the RoI.txt file from the video? or any standard algorithm?

Kindly answer the question?

h264-roi Usage-Error

I have tried to run h264-roi Usage', but it's giving the error...

[15:35:31] 0 N Starting H264-ROI
[15:35:31] 0 N video.h264
[15:35:31] 0 N out.h264
[15:35:31] 0 N Decoder Opened: video.h264
[15:35:31] 0 N Reading frames...
[15:35:31] 0 N FPS: 0.0208333
[15:35:31] 0 N Input Setup: false
[15:35:31] 0 N Output Setup: false
[15:35:31] 0 N Setting 0 regions:
[15:35:31] 0 E [|:] Encoder settings are invalid
[15:35:31] 0 E [|:] Exception caught: Failed to open encoder

[15:35:31] 0 N Finished H264-ROI
Segmentation fault (core dumped)

h264_roi: command not found

Hello,

Hello,

Firstable, thank you for your very interesting encoder. After, I have a problem with h264-roi Usage.

In command line the command is not recognized !!! Do you have a solution for this.

#h264_roi: command not found

Thank you in advance.

roi.sh Usage- Extract audio error, ROI video

I have encountered the error like below while extraction audio and ROI vide.
Giving the error

roi.sh Usage- Extract audio error

.sh: 6: roi.sh: args[i]=../videos/tears_of_steel.avi: not found
roi.sh: 7: roi.sh: ++i: not found
../videos/tears_of_steel.mp4
roi.sh: 6: roi.sh: args[i]=../videos/tears_of_steel.mp4: not found
roi.sh: 7: roi.sh: ++i: not found
5
roi.sh: 6: roi.sh: args[i]=5: not found
roi.sh: 7: roi.sh: ++i: not found
roi.sh: 13: roi.sh: args[0]="../videos/tears_of_steel.avi.h264": not found
roi.sh: 14: roi.sh: args[1]="../videos/tears_of_steel.avi.roi.h264": not found

### Extract Video ##############################################################

ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, avi, from '../videos/tears_of_steel.avi':
  Metadata:
    encoder         : Lavf58.27.103
  Duration: 00:00:05.08, start: 0.000000, bitrate: 2598 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (xvid / 0x64697678), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 2462 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s
File '../videos/tears_of_steel.avi.h264' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -    #0:0 (mpeg4 (native) -    h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x55e46ed58620] using SAR=1/1
[libx264 @ 0x55e46ed58620] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55e46ed58620] profile High, level 4.0
Output #0, h264, to '../videos/tears_of_steel.avi.h264':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], q=-1--1, 24 fps, 24 tbn, 24 tbc
    Metadata:
      encoder         : Lavc57.107.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=  122 fps= 21 q=-1.0 Lsize=    6712kB time=00:00:05.00 bitrate=10997.6kbits/s dup=1 drop=0 speed=0.847x    
video:6712kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
[libx264 @ 0x55e46ed58620] frame I:1     Avg QP: 7.00  size:211997
[libx264 @ 0x55e46ed58620] frame P:110   Avg QP:10.00  size: 57498
[libx264 @ 0x55e46ed58620] frame B:11    Avg QP:11.82  size: 30615
[libx264 @ 0x55e46ed58620] consecutive B-frames: 83.6% 11.5%  4.9%  0.0%
[libx264 @ 0x55e46ed58620] mb I  I16..4: 12.7% 67.6% 19.7%
[libx264 @ 0x55e46ed58620] mb P  I16..4:  0.4%  3.1%  1.5%  P16..4: 26.1% 10.4% 11.8%  0.0%  0.0%    skip:46.7%
[libx264 @ 0x55e46ed58620] mb B  I16..4:  0.0%  0.5%  0.3%  B16..8: 35.4%  7.8%  5.6%  direct: 3.1%  skip:47.3%  L0:79.6% L1:12.6% BI: 7.8%
[libx264 @ 0x55e46ed58620] 8x8 transform intra:63.0% inter:50.5%
[libx264 @ 0x55e46ed58620] direct mvs  spatial:81.8% temporal:18.2%
[libx264 @ 0x55e46ed58620] coded y,uvDC,uvAC intra: 80.9% 76.4% 24.4% inter: 27.6% 17.0% 10.5%
[libx264 @ 0x55e46ed58620] i16 v,h,dc,p: 41% 27% 29%  2%
[libx264 @ 0x55e46ed58620] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 26% 35%  2%  1%  1%  1%  2%  3%
[libx264 @ 0x55e46ed58620] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 38%  9%  2%  1%  2%  1%  2%  2%
[libx264 @ 0x55e46ed58620] i8c dc,h,v,p: 22% 40% 35%  3%
[libx264 @ 0x55e46ed58620] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x55e46ed58620] ref P L0: 82.7%  8.4%  4.7%  1.5%  1.4%  1.4%
[libx264 @ 0x55e46ed58620] ref B L0: 95.7%  3.2%  1.0%  0.1%
[libx264 @ 0x55e46ed58620] kb/s:10817.30

### Extract Audio ##############################################################

ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, avi, from '../videos/tears_of_steel.avi':
  Metadata:
    encoder         : Lavf58.27.103
  Duration: 00:00:05.08, start: 0.000000, bitrate: 2598 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (xvid / 0x64697678), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 2462 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s
File '../videos/tears_of_steel.avi.mp3' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:1 -    #0:0 (mp3 (native) -    mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '../videos/tears_of_steel.avi.mp3':
  Metadata:
    TSSE            : Lavf57.83.100
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p
    Metadata:
      encoder         : Lavc57.107.100 libmp3lame
size=      80kB time=00:00:05.06 bitrate= 129.0kbits/s speed=44.6x    
video:0kB audio:80kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.310422%

### ROI Video ##################################################################
roi.sh: 31: roi.sh: Bad substitution

Errors in extracting audio

Extract Audio

ffmpeg version N-98621-gb48397e Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
configuration: --enable-gpl --enable-libx264 --enable-libmp3lame
libavutil 56. 57.100 / 56. 57.100
libavcodec 58. 99.100 / 58. 99.100
libavformat 58. 49.100 / 58. 49.100
libavdevice 58. 11.101 / 58. 11.101
libavfilter 7. 87.100 / 7. 87.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 'car_chase_02.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp41mp42isom
creation_time : 2018-11-02T13:30:09.000000Z
Duration: 00:00:19.43, start: 0.000000, bitrate: 7751 kb/s
Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 1280x720 [SAR 1:1 DAR 16:9], 7749 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Metadata:
creation_time : 2018-11-02T13:30:09.000000Z
handler_name : Core Media Video
[NULL @ 0x3d42a00] Unable to find a suitable output format for 'car_chase_02.mp4.audio'
car_chase_02.mp4.audio: Invalid argument

ROI Video

./h264_roi "car_chase_02.mp4.h264" "car_chase_02.mp4.roi.h264" -q 5

[15:58:53] 0 N Starting H264-ROI
[15:58:53] 0 N "car_chase_02.mp4.h264"
[15:58:53] 0 N "car_chase_02.mp4.roi.h264"
[15:58:53] 0 E [|:] Error: could not open file
[15:58:53] 0 E [|:] Failed to open decoder

call ffmpeg for roi setting, instead of the encoder

Hi,

Nice project!

Just wonder if we could call ffmpeg APIs for the ROI setting to make the whole project simple. I took a quick look and did not find the corresponding ffmpeg API, and so plan to add it. So, I hope to get your inputs if any before I start designing/coding, just to make the new API more friendly for end user. I think this API should be general for different encoders.

Thanks.

h264-roi

From where to get clone of h264? Which url?

h264-roi Building:
$ git clone h264-roi

h264-roi make error

Hello,
Thank you for this repo.
In h264-roi make, I get the following error:
2

could you please help me?

Unknown CMake command "LibChaos_Configure_Target"

hello,I am compiling your code in linux, and I meet a cmake error shows in title.
I use cmake ../h264-roi and it shows that:
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- LibChaos: Other (Static) - Core,Crypto,PNG,JPEG,WebP,SQlite3 - heads/master-0-gaa80e86
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen missing components: dot
-- Could NOT find LATEX (missing: LATEX_COMPILER)
CMake Error at CMakeLists.txt:37 (LibChaos_Configure_Target):
Unknown CMake command "LibChaos_Configure_Target".

-- Configuring incomplete, errors occurred!
See also "/home/jaychen/GitCode/ROI_H264/h264-roi-build/CMakeFiles/CMakeOutput.log"

how can I solve the problem? thank you!

Error in make, please help! #1

Hello,
First of all thanks for setting up this repo. I want to use this in a particular project. But I facing some problems setting it up. Could you please help?

I follow all the instruction written down : here.

When I enter h264-roi directory and do make. I get the following error.

image

Error in make, please help!

Hello,
First of all thanks for setting up this repo. I want to use this in a particular project. But I facing some problems setting it up. Could you please help?

I follow all the instruction written down : here.
When I enter h264-roi directory and do make. I get the following error.

Scanning dependencies of target chaos
[  2%] Building CXX object libchaos/chaos/CMakeFiles/chaos.dir/base/zclock.cpp.o
cc1plus: error: -Werror=delete-incomplete: no option -Wdelete-incomplete
make[2]: *** [libchaos/chaos/CMakeFiles/chaos.dir/base/zclock.cpp.o] Error 1
make[1]: *** [libchaos/chaos/CMakeFiles/chaos.dir/all] Error 2

build failed

h264-ROI build failed

/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp: In constructor ‘LibChaos::ZH264Decoder::ZH264Decoder()’:
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:9:26: warning: ‘void avcodec_register_all()’ is deprecated [-Wdeprecated-declarations]
avcodec_register_all();
^
In file included from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.h:8:0,
from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:1:
/usr/local/include/libavcodec/avcodec.h:4170:6: note: declared here
void avcodec_register_all(void);
^~~~~~~~~~~~~~~~~~~~
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp: In member function ‘bool LibChaos::ZH264Decoder::open(LibChaos::ZPath, LibChaos::ZH264Decoder::decoderCallback, void*)’:
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:54:30: error: ‘CODEC_CAP_TRUNCATED’ was not declared in this scope
if(codec->capabilities & CODEC_CAP_TRUNCATED){
^~~~~~~~~~~~~~~~~~~
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:54:30: note: suggested alternative: ‘AV_CODEC_CAP_TRUNCATED’
if(codec->capabilities & CODEC_CAP_TRUNCATED){
^~~~~~~~~~~~~~~~~~~
AV_CODEC_CAP_TRUNCATED
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:55:27: error: ‘CODEC_FLAG_TRUNCATED’ was not declared in this scope
context->flags |= CODEC_FLAG_TRUNCATED;
^~~~~~~~~~~~~~~~~~~~
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:55:27: note: suggested alternative: ‘AV_CODEC_FLAG_TRUNCATED’
context->flags |= CODEC_FLAG_TRUNCATED;
^~~~~~~~~~~~~~~~~~~~
AV_CODEC_FLAG_TRUNCATED
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp: In member function ‘void LibChaos::ZH264Decoder::decodeFrame(LibChaos::zbyte*, LibChaos::zu64)’:
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:149:74: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2(context, frame, &got_picture, &packet);
^
In file included from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.h:8:0,
from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:1:
/usr/local/include/libavcodec/avcodec.h:4839:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,

@
CMakeFiles/h264_roi.dir/build.make:86: recipe for target 'CMakeFiles/h264_roi.dir/zh264decoder.cpp.o' failed
make[2]: *** [CMakeFiles/h264_roi.dir/zh264decoder.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/h264_roi.dir/all' failed
make[1]: *** [CMakeFiles/h264_roi.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Make error

Hello,

I have met an error as follows
Screenshot from 2021-08-12 12-10-20

I couldn't find where you defined this function, any suggestions would be appreciated.

h264_roi Core dumped error

I have used full command ./h264_roi "input/tears_of_steel_1080p_5-sec.mp4" "output.mp4" -q 20 100,100,500,400:5 100,100,500,400:5 100,100,500,400:5 100,100,500,400:5

error occurred ' segmentation fault core dumped'

[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] non-existing SPS 29 referenced in buffering period
[h264 @ 0x55f7cf661f20] non-existing SPS 2 referenced in buffering period
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] non-existing SPS 0 referenced in buffering period
[h264 @ 0x55f7cf661f20] SEI type 49 size 1672 truncated at 976
[h264 @ 0x55f7cf661f20] non-existing SPS 4 referenced in buffering period
[h264 @ 0x55f7cf661f20] non-existing SPS 2 referenced in buffering period
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] non-existing SPS 29 referenced in buffering period
[h264 @ 0x55f7cf661f20] non-existing SPS 2 referenced in buffering period
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] non-existing SPS 0 referenced in buffering period
[h264 @ 0x55f7cf661f20] SEI type 49 size 1672 truncated at 976
[h264 @ 0x55f7cf661f20] non-existing SPS 4 referenced in buffering period
[h264 @ 0x55f7cf661f20] non-existing SPS 2 referenced in buffering period
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] non-existing SPS 29 referenced in buffering period
[h264 @ 0x55f7cf661f20] non-existing SPS 2 referenced in buffering period
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] SPS unavailable in decode_picture_timing
[h264 @ 0x55f7cf661f20] non-existing SPS 0 referenced in buffering period
[h264 @ 0x55f7cf661f20] SEI type 49 size 1672 truncated at 976
Invalid UE golomb code
[h264 @ 0x55f7cf661f20] pps_id 3199971767 out of range
Segmentation fault (core dumped)

Error ROI aborted with core dumped message

ROI Video

./h264_roi "input/tears_of_steel_1080p_5-sec.mp4.h264" "input/tears_of_steel_1080p_5-sec.mp4.roi.h264" -qp 23 100,100,500,400:0

[11:38:53] 0 N Starting H264-ROI
[11:38:53] 0 N "input/tears_of_steel_1080p_5-sec.mp4.h264"
[11:38:53] 0 N "input/tears_of_steel_1080p_5-sec.mp4.roi.h264"
[11:38:53] 0 N 23
[11:38:53] 0 N 100,100,500,400:0
terminate called after throwing an instance of 'std::invalid_argument'
what(): stof
roi.sh: line 36: 28116 Aborted (core dumped) ./h264_roi ${args[@]}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.