Jump to content

Conversion failure


Recommended Posts

Posted

Hi I have converted most of my library to HEVC with AAC in mp4. I have some files that are failing so I tried them manually.

I have attached the logs as well.

Not sure if the audio channel warning is an issue but I can hear it but there is no video when I play it. Below is my conversion command and my probe command. What am I doing wrong?

 

ffmpeg -i "Almost Human S01E01 Pilot.mkv" -c copy -map 0:v:0 -map 0:a:0 out.mp4
ffmpeg version 6.0-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, 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-libaribb24 --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-libjxl --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-libvpl --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      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[aac @ 0000029a0d3a9e00] This stream seems to incorrectly report its last channel as LFE[5], mapping to LFE[0]
Input #0, matroska,webm, from 'Almost Human S01E01 Pilot.mkv':
  Metadata:
    encoder         : libDivXMediaFormat 4.0.0.0578
  Duration: 00:45:37.32, start: 0.000000, bitrate: 1687 kb/s
  Stream #0:0(eng): Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
  Stream #0:1(un): Audio: aac (LC), 44100 Hz, 5.1, fltp (default)
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0(eng): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 16k tbn (default)
  Stream #0:1(un): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, 5.1, fltp (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=65630 fps=33590 q=-1.0 Lsize=  562395kB time=00:45:37.23 bitrate=1683.1kbits/s speed=1.4e+03x
video:496752kB audio:63385kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.403130%
 

 

ffprobe out.mp4
ffprobe version 6.0-full_build-www.gyan.dev Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, 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-libaribb24 --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-libjxl --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-libvpl --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      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[extract_extradata @ 00000183f8ed8140] No start code is found.
out.mp4: Invalid data found when processing input
 

 

 

ffmpeg-directstream-7b838ee2-f835-4d18-94b2-bccce879fceb_1.txt embyserver (1).txt

  • 2 weeks later...
Posted

Were you able to figure this out?

Posted

So this is only an issue when running from the command line?

Posted

No these fail the Emby conversion process. I was manually trying to figure out why. It's still waiting for a solution. There is something with the file encoding that FFmpeg cannot handle.

Neminem
Posted (edited)

This seams to be you problem.

[aac @ 0000029a0d3a9e00] This stream seems to incorrectly report its last channel as LFE[5], mapping to LFE[0]]

Stream #0:1(un): Audio: aac (LC), 44100 Hz, 5.1, fltp (default)

It stops at Stream #0:1

  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=65630 fps=33590 q=-1.0 Lsize=  562395kB time=00:45:37.23 bitrate=1683.1kbits/s speed=1.4e+03x
video:496752kB audio:63385kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.403130%

 

You could try running the command again but with output *.mkv

 

Edited by jaycedk
Posted

Can you provide a copy of this video for testing? It sounds like a bad or messy file, but maybe we can figure out a way to handle it.

  • 1 month later...
Posted

What's the best place to upload it too?

I've also noticed an annoying oversite to conversion. I wish there was more customizability available. I have some HEVC HDR10 bit files that my player can't play without transcoding. I was hoping that conversion would fix that but it does not switch to 8-bit.

Posted
14 hours ago, hawk223 said:

What's the best place to upload it too?

I've also noticed an annoying oversite to conversion. I wish there was more customizability available. I have some HEVC HDR10 bit files that my player can't play without transcoding. I was hoping that conversion would fix that but it does not switch to 8-bit.

HI, dropbox or google drive would be great. Thanks.

  • 2 months later...
Posted

@hawk223are you still seeing this with Emby Server 4.7.13?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...