Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I converted my HD .ts with HandbrakeCLI to .mp4 . This .mp4 my Samsung TV UE32D6500 did not play with "Videocodec not supported".
- So I tried ffmpeg and this was successful with Linux and the command:
- ffmpeg -i $fname -vcodec libx264 -pix_fmt yuv420p -b:v $vbitrate -acodec libvo_aacenc -ar 48000 -b:a 160k -f mp4 ${base}.mp4
- This .mp4 the Samsung TV plays without problems.
- But with Windows 7 64 Bit, under which my strongest PC is running, which should do this work, I always get an error message:
- This is the command:
- "ffmpeg.exe" -i "E
- :\Videos\Filme_ts_zu_mp4\Eine_moerderische_Entscheidung_in_HD.ts" -vcodec libx26
- 4 -pix_fmt yuv420p -b:v 300k -acodec libvo_aacenc -ar 48000 -b:a 160k -f mp4 "E:
- \Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs\20140104_1117_Eine_m
- oerderische_Entscheidung_in_HD.mp4"
- ...
- And this is the final error message:
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 -> libx264)
- Stream #0:5 -> #0:1 (ac3 -> libvo_aacenc)
- Error while opening encoder for output stream #0:1 - maybe incorrect parameters
- such as bit_rate, rate, width or height
- I think, that it should be possible to run ffmpeg also on Windows with this HD movie. But I do not know the correct settings. Can anyone help?
- Here is the complete log:
- E:\Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs>"ffmpeg.exe" -i "E
- :\Videos\Filme_ts_zu_mp4\Eine_moerderische_Entscheidung_in_HD.ts" -vcodec libx26
- 4 -pix_fmt yuv420p -b:v 300k -acodec libvo_aacenc -ar 48000 -b:a 160k -f mp4 "E:
- \Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs\20140104_1117_Eine_m
- oerderische_Entscheidung_in_HD.mp4"
- ffmpeg version N-59532-gadc09a3 Copyright (c) 2000-2014 the FFmpeg developers
- built on Jan 3 2014 22:09:52 with gcc 4.8.2 (GCC)
- configuration: --disable-static --enable-shared --enable-gpl --enable-version3
- --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena
- ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e
- nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-lib
- modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
- b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
- r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
- able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
- --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-
- libxvid --enable-zlib
- libavutil 52. 59.100 / 52. 59.100
- libavcodec 55. 47.100 / 55. 47.100
- libavformat 55. 22.102 / 55. 22.102
- libavdevice 55. 5.102 / 55. 5.102
- libavfilter 4. 0.103 / 4. 0.103
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 17.104 / 0. 17.104
- libpostproc 52. 3.100 / 52. 3.100
- [NULL @ 000000000034fdc0] start time is not set in estimate_timings_from_pts
- [NULL @ 00000000003507e0] start time is not set in estimate_timings_from_pts
- [NULL @ 0000000000310ba0] start time is not set in estimate_timings_from_pts
- Input #0, mpegts, from 'E:\Videos\Filme_ts_zu_mp4\Eine_moerderische_Entscheidung
- _in_HD.ts':
- Duration: 01:30:39.76, start: 6393.611911, bitrate: 11329 kb/s
- Program 10302
- Stream #0:0[0x13f7]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1
- 280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
- Stream #0:1[0x13f8](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
- eo, s16p, 192 kb/s
- Stream #0:2[0x13f9](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
- eo, s16p, 192 kb/s
- Stream #0:3[0x13fa](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
- Stream #0:4[0x13fb](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (he
- aring impaired)
- Stream #0:5[0x13fc](mul): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(
- side), fltp, 448 kb/s
- Stream #0:6[0x13fe](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (he
- aring impaired)
- File 'E:\Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs\20140104_111
- 7_Eine_moerderische_Entscheidung_in_HD.mp4' already exists. Overwrite ? [y/N] y
- [libx264 @ 00000000036100a0] using SAR=1/1
- [libx264 @ 00000000036100a0] using cpu capabilities: MMX2 SSE2Fast LZCNT
- [libx264 @ 00000000036100a0] profile High, level 3.2
- [libx264 @ 00000000036100a0] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC cod
- ec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 r
- ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
- _ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
- p=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 deci
- mate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_
- adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=2
- 5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=300 rateto
- l=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
- [libvo_aacenc @ 0000000002e0c840] Unable to set encoding parameters
- Output #0, mp4, to 'E:\Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_lib
- s\20140104_1117_Eine_moerderische_Entscheidung_in_HD.mp4':
- Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=
- -1--1, 300 kb/s, 90k tbn, 50 tbc
- Stream #0:1(mul): Audio: aac, 48000 Hz, 5.1(side), s16, 160 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 -> libx264)
- Stream #0:5 -> #0:1 (ac3 -> libvo_aacenc)
- Error while opening encoder for output stream #0:1 - maybe incorrect parameters
- such as bit_rate, rate, width or height
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement