GB Utah 4 Posted February 12, 2016 Share Posted February 12, 2016 Please see the attached transcode logs. The error appears to be: Stream map '0:v' matches no streams. From the ffmpeg command line: ffmpeg.exe -fflags +genpts -i file:"E:\Media\Home Movies\PICT0003.AVI" -map -0:v -map 0:1 -map -0:s -codec:v:0 h264_qsv -force_key_frames expr:gte(t,n_forced*5) -pix_fmt yuv420p -preset 7 -look_ahead 0 -b:v 301048470 -vsync vfr -profile:v high -level 4.1 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ac 1 -ab 128000 -af "aresample=async=1" -y "C:\Users\admin\AppData\Roaming\MediaBrowser-Server\transcoding-temp\f08a2e8ac4440329b67ae150670e5461.mkv" I entered the command manually removing the 'extra' dashes '-' from in front of the zeros '0' following the map(s). I also needed to add a question mark '?' after the subtitle map. At least I think I NEEDED to. I'm not certain, but it did work after that. The below command resulted in a file that played: ffmpeg.exe -fflags +genpts -i file:"E:\Media\Home Movies\PICT0003.AVI" -map 0:v -map 0:1 -map 0:s? -codec:v:0 h264 -force_key_frames expr:gte(t,n_forced*5) -pix_fmt yuv420p -preset 7 -look_ahead 0 -b:v 301048470 -vsync vfr -profile:v high -level 4.1 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ac 1 -ab 128000 -af "aresample=async=1" -y "C:\Users\admin\AppData\Roaming\MediaBrowser-Server\transcoding-temp\f08a2e8ac4440329b67ae150670e5461.mkv" I removed the 'qsv' portion to eliminate that being a possible source of the problem. See attached transcode...noqsv. transcode-5a75ae54-7180-40c0-82ca-215a6089948e.txt trancode-noqsv.txt Link to comment Share on other sites More sharing options...
Luke 37118 Posted February 12, 2016 Share Posted February 12, 2016 that's not the root issue though. there is a reason for the minus, which is to not include the stream in the output, and the reason why that's happening is because the server thinks the avi file does not have a video stream. and the reason why that is happening is because that is the output we are getting from ffprobe. someone else provided a sample file related to this recently, i have not yet determined the resolution. Link to comment Share on other sites More sharing options...
GB Utah 4 Posted February 12, 2016 Author Share Posted February 12, 2016 (edited) Glad you're on it. C:\Users\admin>C:\Users\admin\AppData\Roaming\MediaBrowser-Server\ffmpeg\2015111 1\ffprobe -i file:"E:\Media\Home Movies\PICT0003.AVI" ffprobe version N-76539-g480bad7 Copyright © 2007-2015 the FFmpeg developers built with gcc 5.2.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -- enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg -- enable-lzma --enable-decklink --enable-zlib libavutil 55. 5.100 / 55. 5.100 libavcodec 57. 15.100 / 57. 15.100 libavformat 57. 14.100 / 57. 14.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 15.100 / 6. 15.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 [mjpeg @ 0000003672aff740] Changeing bps to 8 Input #0, avi, from 'file:E:\Media\Home Movies\PICT0003.AVI': Duration: 00:00:50.67, start: 0.000000, bitrate: 2549 kb/s Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/ unknown), 640x480, 2451 kb/s, 18 fps, 18 tbr, 18 tbn, 18 tbc Stream #0:1: Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 24000 Hz, 1 chan nels, s16p, 96 kb/s FYI looks like ffprobe sees a video stream here. At least from the command line. Hmmmm, did something change recently WRT transcoding/ffprobe? Edited February 12, 2016 by GB Utah Link to comment Share on other sites More sharing options...
Luke 37118 Posted February 12, 2016 Share Posted February 12, 2016 it sees mjpeg which is typically an embedded image so we drop that. even in my tests in which i removed that to retain it, the transcoding still fails for a different reason. So ultimately I think it still comes back to the probe data. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now