FORUMS: list search recent posts

Error while opening encoder. Audio 5.1(side) to stereo

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Arjan Tienkamp
Error while opening encoder. Audio 5.1(side) to stereo
on Dec 3, 2014 at 2:23:02 pm
Last Edited By Arjan Tienkamp on Dec 3, 2014 at 3:42:55 pm

Hi,

I've been busy with transformering some of my videos via ffmpeg and cant seem to get it to work for some videos.

My goal is to transform a MKV file to a MP4 file, leaving the video intact and transforming the audio to AAC (via libfaac). I assume the problem is the 5.1 audio, but i'm at a loss right now...

I have been looking on multiple sites and tried multiple flags but everytime i get the same result:
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height



Can someone tell me whats wrong with the following:

ffmpeg -loglevel debug -y -nostdin -i /volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mkv -acodec libfaac -b:a 128k -ar 48000 -ac 2 -strict experimental -vcodec copy /volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mp4
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 6 2014 15:46:31 with gcc 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN)
configuration: --prefix=/usr/syno --incdir='${prefix}/include/ffmpeg' --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnuea
bi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders -
-enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devi
ces --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca
--disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/arm-marvell-linux-gn
ueabi/bin/arm-marvell-linux-gnueabi-ccache-gcc
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0.
Reading option '-i' ... matched as input file with argument '/volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mkv'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libfaac'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '128k'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-strict' ... matched as AVOption 'strict' with argument 'experimental'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '/volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Applying option nostdin (enable or disable interaction on standard input) with argument 0.
Successfully parsed a group of options.
Parsing a group of options: input file /volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mkv.
Successfully parsed a group of options.
Opening an input file: /volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mkv.
[matroska,webm @ 0x1e95dd0] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
[matroska,webm @ 0x1e95dd0] File position before avformat_find_stream_info() is 5591
[h264 @ 0x1e97220] no picture
[matroska,webm @ 0x1e95dd0] All info found
[matroska,webm @ 0x1e95dd0] File position after avformat_find_stream_info() is 163748
Input #0, matroska,webm, from '/volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mkv':
Metadata:
creation_time : 2014-12-03 03:02:26
Duration: 00:42:20.19, start: 0.000000, bitrate: 3641 kb/s
Stream #0:0(eng), 4, 1/1000: Video: h264 (High), yuv420p, 1280x720, 1001/48000, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1, 8, 1/1000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Successfully opened the file.
Parsing a group of options: output file /volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mp4.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument libfaac.
Applying option b:a (video bitrate (please use -b:v)) with argument 128k.
Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
Applying option ac (set number of audio channels) with argument 2.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
Successfully parsed a group of options.
Opening an output file: /volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mp4.
Successfully opened the file.
detected 2 logical cores
[graph 0 input from stream 0:1 @ 0x1e98e30] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:1 @ 0x1e98e30] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:1 @ 0x1e98e30] Setting 'sample_fmt' to value 'fltp'
[graph 0 input from stream 0:1 @ 0x1e98e30] Setting 'channel_layout' to value '0x60f'
[graph 0 input from stream 0:1 @ 0x1e98e30] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
[audio format for output stream 0:1 @ 0x1e9b170] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:1 @ 0x1e9b170] Setting 'sample_rates' to value '48000'
[audio format for output stream 0:1 @ 0x1e9b170] Setting 'channel_layouts' to value '0x3'
[audio format for output stream 0:1 @ 0x1e9b170] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output strea
m 0:1'
[AVFilterGraph @ 0x1e95cd0] query_formats: 4 queried, 9 merged, 3 already done, 0 delayed
0.414214 0.000000 0.292893 0.000000 0.292893 0.000000
0.000000 0.414214 0.292893 0.000000 0.000000 0.292893
[auto-inserted resampler 0 @ 0x1e9bde0] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
Output #0, mp4, to '/volume1/video/TV show/Marvels Agents of S.H.I.E.L.D./Marvels.Agents.of.S.H.I.E.L.D.S02E09.720p.HDTV.x264-KILLERS.mp4':
Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1/1000, q=2-31, 23.98 fps, 90k tbn, 1k tbc (default)
Stream #0:1, 0, 1/90000: Audio: aac, 48000 Hz, stereo, s16, 128 kb/s (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (ac3 -> libfaac)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[AVIOContext @ 0x2096270] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x1e9e3d0] Statistics: 163840 bytes read, 0 seeks


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]