Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted video file and audio merge error #98

Open
Newsandbuy opened this issue Aug 17, 2022 · 0 comments
Open

Corrupted video file and audio merge error #98

Newsandbuy opened this issue Aug 17, 2022 · 0 comments

Comments

@Newsandbuy
Copy link

Newsandbuy commented Aug 17, 2022

I have no idea what causes this, im allways getting a file with 0bytes size that actually contains no data at all. It does work if i force stop the conversion process, then im getting a readable file, but with no audio track.

current settings are:

Video output: mp4
ACNet
codec: avc1
GPU: Cuda

FFmpeg is added to PATH
ive tried it without ACNet, with other codecs, no GPU or OpenCL, same error every time

Edit: Exact same issue using the CLI version

----------------------------------------------
           Welcome to Anime4KCPP GUI          
----------------------------------------------
         Anime4KCPP GUI v1.12.0                 
         Anime4KCPP Core v2.5.0                
----------------------------------------------
----------------------------------------------
               FFmpeg check OK                
----------------------------------------------
FFmpeg path: ffmpeg
GPU initialize successfully!
Platform: NVIDIA CUDA
 Device: NVIDIA GeForce RTX 2080 Ti
GPU initialize successfully!
Device id: 0
 Type: NVIDIA GeForce RTX 2080 Ti
 Video Memory: 11263 mb
 Compute Capability: 7.5
2022-08-17T14:18:27.591  Video: D:/Newsandbuy/Videos/Test/Test.mp4, start processing...
2022-08-17T14:31:26.698  Merging audio with ffmpeg...
2022-08-17T14:31:26.806  Merge complete, ffmpeg information:
2022-08-17T14:31:26.806  ffmpeg version 5.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/Newsandbuy/Videos/Test/output_anime4kcpp_Test.mp4_tmp_out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.45.100
  Duration: 00:23:40.03, start: 0.000000, bitrate: 15164 kb/s
  Stream #0:0[0x1](und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 15163 kb/s, 23.81 fps, 23.81 tbr, 19048 tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/Newsandbuy/Videos/Test/Test.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: isomiso2avc1mp41mp423gp5
    encoder         : Lavf57.25.100
  Duration: 00:23:40.09, start: 0.000000, bitrate: 1220 kb/s
  Stream #1:0[0xc9](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 1087 kb/s, 23.81 fps, 23.81 tbr, 16k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #1:1[0x65](jpn): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #1:2[0x2](und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
    Metadata:
      creation_time   : 2017-01-06T15:59:00.000000Z
      handler_name    : GPAC MPEG-4 OD Handler
  Stream #1:3[0x1](und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
    Metadata:
      creation_time   : 2017-01-06T15:59:00.000000Z
      handler_name    : GPAC MPEG-4 Scene Description Handler
[mp4 @ 000002af61c05640] Tag mp4s incompatible with output codec id '0' ([0][0][0][0])
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
Error initializing output stream 0:3 -- 
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:1 -> #0:1 (copy)
  Stream #1:2 -> #0:2 (copy)
  Stream #1:3 -> #0:3 (copy)
    Last message repeated 1 times

2022-08-17T14:31:26.818  Finished Test.mp4, processing time: 779.003 s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant