PMS 1.80 FFMPEG errors on XBOX360 Transcode

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby barnito » Tue Apr 09, 2013 6:39 am

I was running PMS 1.72 streaming to several 360s throughout my house using ffmepg (less cpu usage), and I had no problems streaming any content I threw at it (even mkv hd). I updated to 1.80 and now FFMPEG will not work no matter what I try. FFMPEG errors out on anything I try to play that requires transcoding. I have a cut from my debug log, any help would be greatly appreciated!!!

Code: Select all
INFO  2013-04-09 01:26:15.421 [New I/O server worker #1-6] Starting transcode/remux of Adventure Time.S01E01.Slumber Party Panic.mkv
DEBUG 2013-04-09 01:26:15.423 [ffmpeg.exe-32] Starting "C:\Program Files (x86)\PS3 Media Server2\win32\ffmpeg.exe" -loglevel warning -threads 4 -i "F:\Webshare\Shows and Clips\Adventure Time\Season 1\Adventure Time.S01E01.Slumber Party Panic.mkv" -threads 4 -b:v 30000000 -q:a 3 -c:v wmv2 -c:a wmav2 -f asf pipe:
DEBUG 2013-04-09 01:26:15.529 [Thread-135] [wmav2 @ 0000000000287580] too many channels: got 6, need 2 or fewer
DEBUG 2013-04-09 01:26:15.530 [Thread-135] Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
DEBUG 2013-04-09 01:26:15.546 [ffmpeg.exe-32] Attaching thread: ffmpeg.exe-32
INFO  2013-04-09 01:26:15.547 [ffmpeg.exe-32] Process C:\Program Files (x86)\PS3 Media Server2\win32\ffmpeg.exe has a return code of 1! Maybe an error occurred... check the log file
INFO  2013-04-09 01:26:21.424 [StartPlaying Event] renderer: 192.168.1.8, file: F:\Webshare\Shows and Clips\Adventure Time\Season 1\Adventure Time.S01E01.Slumber Party Panic.mkv
DEBUG 2013-04-09 01:26:23.926 [Buffered IO End Checker] Stopping process: ffmpeg.exe-32
Last edited by Raptor399 on Tue Apr 09, 2013 7:24 pm, edited 1 time in total.
Reason: Edited for code fragments
barnito
 
Posts: 7
Joined: Fri Apr 05, 2013 9:08 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby mazey » Tue Apr 09, 2013 10:08 am

im also experiencing this problem with 6 channel dts. setting it 2 channel is not possible with ffmpeg only mencoder.

error: too many channels: got 6, need 2 or fewer
PMS 1.90.2 SNAPSHOT - HP Proliant Microserver N54L 2.2Ghz - Windows Home Server 2011 (64bit) 8GB - Bravia KDL55HX750
mazey
 
Posts: 770
Joined: Sat Oct 24, 2009 9:07 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby barnito » Tue Apr 09, 2013 10:45 am

me no likey.... I much rather use FFMPEG because it uses 15% CPU on average per thread, while MENCODER uses about 30-45% per thread...
barnito
 
Posts: 7
Joined: Fri Apr 05, 2013 9:08 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby barnito » Tue Apr 09, 2013 11:57 am

here is a successful playing of the same file on 1.72 same 360...


Code: Select all
INFO  2013-04-09 06:51:55.739 [New I/O server worker #1-4] Starting transcode/remux of Adventure Time.S01E01.Slumber Party Panic.mkv
DEBUG 2013-04-09 06:51:55.754 [ffmpeg.exe-28] Starting "C:\Program Files (x86)\PS3 Media Server\win32\ffmpeg.exe" -sn -sn -sn -sn -i "F:\Webshare\Shows and Clips\Adventure Time\Season 1\Adventure Time.S01E01.Slumber Party Panic.mkv" -sn -sn -sn -sn -vcodec mpeg2video -f vob -acodec ac3 -threads 2 -g 1 -qscale 1 -qmin 2 -ab 640k -threads 4 -muxpreload 0 pipe:
DEBUG 2013-04-09 06:51:55.871 [Thread-122] ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg developers
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   built on Apr  1 2013 12:49:42 with gcc 4.8.0 (GCC)
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libavutil      52. 24.100 / 52. 24.100
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libavcodec     55.  2.100 / 55.  2.100
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libavformat    55.  1.100 / 55.  1.100
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libavdevice    55.  0.100 / 55.  0.100
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libavfilter     3. 48.105 /  3. 48.105
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libswscale      2.  2.100 /  2.  2.100
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libswresample   0. 17.102 /  0. 17.102
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   libpostproc    52.  2.100 / 52.  2.100
DEBUG 2013-04-09 06:51:55.871 [Thread-122] Input #0, matroska,webm, from 'F:\Webshare\Shows and Clips\Adventure Time\Season 1\Adventure Time.S01E01.Slumber Party Panic.mkv':
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   Metadata:
DEBUG 2013-04-09 06:51:55.871 [Thread-122]     creation_time   : 2012-02-27 00:20:02
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   Duration: 00:10:52.65, start: 0.000000, bitrate: 2116 kb/s
DEBUG 2013-04-09 06:51:55.871 [Thread-122]     Stream #0:0: Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
DEBUG 2013-04-09 06:51:55.871 [Thread-122]     Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
DEBUG 2013-04-09 06:51:55.871 [Thread-122] Please use -q:a or -q:v, -qscale is ambiguous
DEBUG 2013-04-09 06:51:55.871 [Thread-122] [vob @ 0000000004d47020] VBV buffer size not set, muxing may fail
DEBUG 2013-04-09 06:51:55.871 [Thread-122] Output #0, vob, to 'pipe:':
DEBUG 2013-04-09 06:51:55.871 [Thread-122]   Metadata:
DEBUG 2013-04-09 06:51:55.872 [Thread-122]     encoder         : Lavf55.1.100
DEBUG 2013-04-09 06:51:55.872 [Thread-122]     Stream #0:0: Video: mpeg2video, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc (default)
DEBUG 2013-04-09 06:51:55.872 [Thread-122]     Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
DEBUG 2013-04-09 06:51:55.872 [Thread-122] Stream mapping:
DEBUG 2013-04-09 06:51:55.872 [Thread-122]   Stream #0:0 -> #0:0 (h264 -> mpeg2video)
DEBUG 2013-04-09 06:51:55.872 [Thread-122]   Stream #0:1 -> #0:1 (ac3 -> ac3)
DEBUG 2013-04-09 06:51:55.872 [Thread-122] Press [q] to stop, [?] for help
DEBUG 2013-04-09 06:51:55.908 [ffmpeg.exe-28] Attaching thread: ffmpeg.exe-28
Last edited by Raptor399 on Tue Apr 09, 2013 7:23 pm, edited 1 time in total.
Reason: Edited for code fragments
barnito
 
Posts: 7
Joined: Fri Apr 05, 2013 9:08 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby barnito » Tue Apr 09, 2013 12:16 pm

funny thing is, this happens on the latest UMS too, same exact thing. Only PMS 1.72 works
barnito
 
Posts: 7
Joined: Fri Apr 05, 2013 9:08 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby chocolateboy » Wed Apr 10, 2013 12:33 pm

This error should be fixed: try a snapshot build. Note: if you want the old behaviour (and support for > 2 audio channels with FFmpeg), set:

Code: Select all
TranscodeVideo = MPEGPSAC3


in XBOX360.conf. WMA 2 (AKA WMA 8) doesn't support more than 2 channels. WMA 3 (AKA WMA 9) supports more, but FFmpeg doesn't have an encoder for it.
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby barnito » Wed Apr 10, 2013 2:04 pm

I tried that and it still refuses to play with or without the switch.

http://pastebin.com/AsxJKxcZ
barnito
 
Posts: 7
Joined: Fri Apr 05, 2013 9:08 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby chocolateboy » Wed Apr 10, 2013 7:18 pm

Make sure MediaInfo is enabled and reset the cache.
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby mazey » Thu Apr 11, 2013 5:18 am

just tried snapshot to a bravia hx 750 still wont play, i did a reset of library cache and rescan. i have it set to 2 channel sterio.

Code: Select all
DEBUG 2013-04-11 14:15:48.021 [Thread-24] [mpeg2video @ 044deda0] bitrate tolerance too small for bitrate
DEBUG 2013-04-11 14:15:48.021 [Thread-24] Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
INFO  2013-04-11 14:15:48.021 [ffmpeg.exe-4] Process C:\Program Files (x86)\PS3 Media Server\win32\ffmpeg.exe has a return code of 1! Maybe an error occurred... check the log file


Code: Select all
Format                                   : Matroska
Format version                           : Version 2
File size                                : 4.37 GiB
Duration                                 : 1h 28mn
Overall bit rate                         : 7 109 Kbps
Encoded date                             : UTC 2009-08-01 03:23:25
Writing application                      : mkvmerge v2.8.0 ('The Tree') built on May  9 2009 18:02:06
Writing library                          : libebml v0.7.7 + libmatroska v0.8.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 28mn
Bit rate                                 : 5 598 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.253
Stream size                              : 3.36 GiB (77%)
Writing library                          : x264 core 68 r1195 5d75a9b
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=12 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=5598 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 1h 28mn
Bit rate mode                            : Constant
Bit rate                                 : 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 950 MiB (21%)
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : English
Default                                  : No
Forced                                   : No
PMS 1.90.2 SNAPSHOT - HP Proliant Microserver N54L 2.2Ghz - Windows Home Server 2011 (64bit) 8GB - Bravia KDL55HX750
mazey
 
Posts: 770
Joined: Sat Oct 24, 2009 9:07 am

Re: PMS 1.80 FFMPEG errors on XBOX360 Transcode

Postby chocolateboy » Thu Apr 11, 2013 8:55 am

mazey wrote:just tried snapshot to a bravia hx 750 still wont play


Start a new topic (and post the full details). This is about transcoding videos with more than 2 audio channels to WMV with FFmpeg.
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Next

Return to General Help and Support

Who is online

Users browsing this forum: Le_Sage and 16 guests