-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.3.1
-
Fix Version/s: 5.6.0-HF24, 5.7.3
-
Component/s: Convert
-
Backlog priority:500
Issue raised by NXP-12230 while it was hidden before.
The command ffmpeg -i /some/file (used to get info from ffmpeg) requires an output parameter.
Stacktrace:
org.nuxeo.ecm.core.api.ClientRuntimeException: org.nuxeo.ecm.core.api.ClientException: Error code 1 return by command: /bin/sh -c ffmpeg -i "/tmp/ffmpegInfo1042949441151279524.webm" ffmpeg version 0.8.14, Copyright (c) 2000-2013 the FFmpeg developers built on Jul 12 2013 16:43:03 with gcc 4.7.2 configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvpx --enable-libfaac --enable-nonfree --enable-version3 --enable-x11grab libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 8. 0 / 53. 8. 0 libavformat 53. 5. 0 / 53. 5. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska,webm @ 0x1900440] Estimating duration from bitrate, this may be inaccurate Input #0, matroska,webm, from '/tmp/ffmpegInfo1042949441151279524.webm': Duration: 00:00:08.38, start: 0.000000, bitrate: N/A Stream #0.0: Video: vp8, yuv420p, 768x480, PAR 1:1 DAR 8:5, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) At least one output file must be specified at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:163) at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:138) at org.nuxeo.ecm.platform.video.service.TestVideoService.testVideoConversion(TestVideoService.java:97) (...) Caused by: org.nuxeo.ecm.core.api.ClientException: Error code 1 return by command: /bin/sh -c ffmpeg -i "/tmp/ffmpegInfo1042949441151279524.webm" ffmpeg version 0.8.14, Copyright (c) 2000-2013 the FFmpeg developers built on Jul 12 2013 16:43:03 with gcc 4.7.2 configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvpx --enable-libfaac --enable-nonfree --enable-version3 --enable-x11grab libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 8. 0 / 53. 8. 0 libavformat 53. 5. 0 / 53. 5. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska,webm @ 0x1900440] Estimating duration from bitrate, this may be inaccurate Input #0, matroska,webm, from '/tmp/ffmpegInfo1042949441151279524.webm': Duration: 00:00:08.38, start: 0.000000, bitrate: N/A Stream #0.0: Video: vp8, yuv420p, 768x480, PAR 1:1 DAR 8:5, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) At least one output file must be specified at org.nuxeo.ecm.core.api.ClientException.wrap(ClientException.java:59) at org.nuxeo.ecm.platform.video.VideoHelper.getVideoInfo(VideoHelper.java:248) at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:159) ... 25 more Caused by: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: /bin/sh -c ffmpeg -i "/tmp/ffmpegInfo1042949441151279524.webm" ffmpeg version 0.8.14, Copyright (c) 2000-2013 the FFmpeg developers built on Jul 12 2013 16:43:03 with gcc 4.7.2 configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvpx --enable-libfaac --enable-nonfree --enable-version3 --enable-x11grab libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 8. 0 / 53. 8. 0 libavformat 53. 5. 0 / 53. 5. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska,webm @ 0x1900440] Estimating duration from bitrate, this may be inaccurate Input #0, matroska,webm, from '/tmp/ffmpegInfo1042949441151279524.webm': Duration: 00:00:08.38, start: 0.000000, bitrate: N/A Stream #0.0: Video: vp8, yuv420p, 768x480, PAR 1:1 DAR 8:5, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) At least one output file must be specified at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:61) at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:98) at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:159) at org.nuxeo.ecm.platform.video.VideoHelper.getVideoInfo(VideoHelper.java:241) ... 26 more