h265ize icon indicating copy to clipboard operation
h265ize copied to clipboard

ffmpeg exits with error

Open akyag opened this issue 8 years ago • 3 comments
trafficstars

I am converting some videos and here is the log of the errors I am getting for some of the files - https://paste.fedoraproject.org/paste/syRrH~b0f7gx4IO4MvZRrg/

I am using ffmpeg 3.1.8 on fedora

akyag avatar Jun 20 '17 12:06 akyag

Try running ffmpeg -n 10 /usr/bin/ffmpeg -i 20050328-Who is Dinky.mp4 -y -acodec copy -vcodec libx265 -filter:v crop=1412:1020:254:56,scale=-1:720 -c:s copy -c:d copy -pix_fmt yuv420p -map 0:0 -map 0:1 -metadata:s:a:1 title="Unknown AAC LC (Stereo)" -metadata:s:0:1 DISPOSITION:default=1 -crf 19 -preset fast /home/akya/Videos/h265/20050328-Who is Dinky.mkv. That should give you a more accurate description of the error.

---- On Tue, 20 Jun 2017 05:10:49 -0700 [email protected] wrote ----

I am converting some videos and here is the log of the errors I am getting for some of the files - https://paste.fedoraproject.org/paste/syRrH~b0f7gx4IO4MvZRrg/

I am using ffmpeg 3.1.8 on fedora

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

FallingSnow avatar Jun 20 '17 13:06 FallingSnow

This has something to do with cropping because I got this error -

x265 [error]: Picture width must be an integer multiple of the specified chroma subsampling [libx265 @ 0x5596c7d648a0] Cannot open libx265 encoder.

So I removed the cropping part from the command and the encoding started. I am on the latest version of h265ize btw.. the one from

npm install FallingSnow/h265ize --global

akyag avatar Jun 20 '17 14:06 akyag

x265 [error]: Picture width must be an integer multiple of the specified chroma subsampling

I never even knew this was a requirement, thank you for bringing it to my attention.

The next iteration of h265ize is almost ready btw. I will be uploading a precompiled version to npm for people to test in the coming days. Anyway here's the repo if you're interested.

FallingSnow avatar Jun 21 '17 15:06 FallingSnow