Advertisement
Guest User

dankobum_ffmpeg problem windows

a guest
Jan 4th, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. I converted my HD .ts with HandbrakeCLI to .mp4 . This .mp4 my Samsung TV UE32D6500 did not play with "Videocodec not supported".
  2.  
  3. So I tried ffmpeg and this was successful with Linux and the command:
  4.  
  5. ffmpeg -i $fname -vcodec libx264 -pix_fmt yuv420p -b:v $vbitrate -acodec libvo_aacenc -ar 48000 -b:a 160k -f mp4 ${base}.mp4
  6.  
  7. This .mp4 the Samsung TV plays without problems.
  8.  
  9. But with Windows 7 64 Bit, under which my strongest PC is running, which should do this work, I always get an error message:
  10.  
  11. This is the command:
  12.  
  13. "ffmpeg.exe" -i "E
  14. :\Videos\Filme_ts_zu_mp4\Eine_moerderische_Entscheidung_in_HD.ts" -vcodec libx26
  15. 4 -pix_fmt yuv420p -b:v 300k -acodec libvo_aacenc -ar 48000 -b:a 160k -f mp4 "E:
  16. \Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs\20140104_1117_Eine_m
  17. oerderische_Entscheidung_in_HD.mp4"
  18.  
  19. ...
  20.  
  21. And this is the final error message:
  22.  
  23.  
  24. Stream mapping:
  25. Stream #0:0 -> #0:0 (h264 -> libx264)
  26. Stream #0:5 -> #0:1 (ac3 -> libvo_aacenc)
  27. Error while opening encoder for output stream #0:1 - maybe incorrect parameters
  28. such as bit_rate, rate, width or height
  29.  
  30.  
  31. 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?
  32.  
  33.  
  34. Here is the complete log:
  35.  
  36.  
  37. E:\Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs>"ffmpeg.exe" -i "E
  38. :\Videos\Filme_ts_zu_mp4\Eine_moerderische_Entscheidung_in_HD.ts" -vcodec libx26
  39. 4 -pix_fmt yuv420p -b:v 300k -acodec libvo_aacenc -ar 48000 -b:a 160k -f mp4 "E:
  40. \Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs\20140104_1117_Eine_m
  41. oerderische_Entscheidung_in_HD.mp4"
  42. ffmpeg version N-59532-gadc09a3 Copyright (c) 2000-2014 the FFmpeg developers
  43. built on Jan 3 2014 22:09:52 with gcc 4.8.2 (GCC)
  44. configuration: --disable-static --enable-shared --enable-gpl --enable-version3
  45. --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena
  46. ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e
  47. nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-lib
  48. modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
  49. b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
  50. r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
  51. able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
  52. --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-
  53. libxvid --enable-zlib
  54. libavutil 52. 59.100 / 52. 59.100
  55. libavcodec 55. 47.100 / 55. 47.100
  56. libavformat 55. 22.102 / 55. 22.102
  57. libavdevice 55. 5.102 / 55. 5.102
  58. libavfilter 4. 0.103 / 4. 0.103
  59. libswscale 2. 5.101 / 2. 5.101
  60. libswresample 0. 17.104 / 0. 17.104
  61. libpostproc 52. 3.100 / 52. 3.100
  62. [NULL @ 000000000034fdc0] start time is not set in estimate_timings_from_pts
  63. [NULL @ 00000000003507e0] start time is not set in estimate_timings_from_pts
  64. [NULL @ 0000000000310ba0] start time is not set in estimate_timings_from_pts
  65. Input #0, mpegts, from 'E:\Videos\Filme_ts_zu_mp4\Eine_moerderische_Entscheidung
  66. _in_HD.ts':
  67. Duration: 01:30:39.76, start: 6393.611911, bitrate: 11329 kb/s
  68. Program 10302
  69. Stream #0:0[0x13f7]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1
  70. 280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
  71. Stream #0:1[0x13f8](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
  72. eo, s16p, 192 kb/s
  73. Stream #0:2[0x13f9](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
  74. eo, s16p, 192 kb/s
  75. Stream #0:3[0x13fa](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
  76. Stream #0:4[0x13fb](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (he
  77. aring impaired)
  78. Stream #0:5[0x13fc](mul): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(
  79. side), fltp, 448 kb/s
  80. Stream #0:6[0x13fe](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (he
  81. aring impaired)
  82. File 'E:\Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_libs\20140104_111
  83. 7_Eine_moerderische_Entscheidung_in_HD.mp4' already exists. Overwrite ? [y/N] y
  84. [libx264 @ 00000000036100a0] using SAR=1/1
  85. [libx264 @ 00000000036100a0] using cpu capabilities: MMX2 SSE2Fast LZCNT
  86. [libx264 @ 00000000036100a0] profile High, level 3.2
  87. [libx264 @ 00000000036100a0] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC cod
  88. ec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 r
  89. ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
  90. _ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
  91. p=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 deci
  92. mate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_
  93. adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=2
  94. 5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=300 rateto
  95. l=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
  96. [libvo_aacenc @ 0000000002e0c840] Unable to set encoding parameters
  97. Output #0, mp4, to 'E:\Videos\Filme_ts_zu_mp4\winff_tests\ffmpeg_with_shared_lib
  98. s\20140104_1117_Eine_moerderische_Entscheidung_in_HD.mp4':
  99. Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=
  100. -1--1, 300 kb/s, 90k tbn, 50 tbc
  101. Stream #0:1(mul): Audio: aac, 48000 Hz, 5.1(side), s16, 160 kb/s
  102. Stream mapping:
  103. Stream #0:0 -> #0:0 (h264 -> libx264)
  104. Stream #0:5 -> #0:1 (ac3 -> libvo_aacenc)
  105. Error while opening encoder for output stream #0:1 - maybe incorrect parameters
  106. such as bit_rate, rate, width or height
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement