Video transcoding quality/ratio messed up since version 4.6?

Need help? Post your questions here.

Moderator: moderators

Video transcoding quality/ratio messed up since version 4.6?

Postby SparkyRih » Tue Feb 21, 2012 1:12 pm

I'm on Ubuntu 11.10, and I've upgraded from version 4.4 to 4.6...
But now a lot of my video's, which played fine before, are now playing in low quality (video and audio), and some also use the wrong ratio (4:3 instead of 16:9)...

I haven't changed any transcoding settings...
Could some-one please help me?

Edit: My CPU load is also not normal anymore, even after a reboot, if I play a couple videós, and after that no-one is playing any video's... the server keeps using all its CPU resources.... I hope this issue can be fixed soon? :S
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Video transcoding quality/ratio messed up since version

Postby BKKKPewsey » Tue Feb 21, 2012 3:26 pm

I cannot help because I do not use your OS :(
But if you post your SS log output while a "dodgy" video is playing it might help others to see the problem.
Can you determine what task/service is "hogging" your cpu resources?
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Video transcoding quality/ratio messed up since version

Postby SparkyRih » Tue Feb 21, 2012 3:59 pm

Here i's my log... the last video is one of the vids that played perfectly on ver4.4, but is in low quality and wrong ratio now...
The CPU issue might be something different... let's see if we can fix the main issue first...

Log:

[2/21/12 4:52:57 PM CET]

INFO

PlaylistInputStream

Marc listening to "Examen Jennifer/Jennifer van Riet 1e Dan Compilatie.mp4"



[2/21/12 4:52:57 PM CET]

DEBUG

TranscodeInputStream

Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/disk2/judo/Examen Jennifer/Jennifer van Riet 1e Dan Compilatie.mp4] [-async] [1] [-b] [1000k] [-s] [540x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg)



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Seems stream 1 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001)



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/disk2/judo/Examen Jennifer/Jennifer van Riet 1e Dan Compilatie.mp4':



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Metadata:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) major_brand : MSNV



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) minor_version : 19529811



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) compatible_brands: MSNVmp42isom



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) creation_time : 2011-12-13 23:06:39



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Duration: 00:04:37.81, start: 0.000000, bitrate: 3135 kb/s



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Metadata:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) creation_time : 2011-12-13 23:06:39



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Stream #0.1(eng): Video: h264 (Main), yuv420p, 720x480 [SAR 40:33 DAR 20:11], 3003 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 59.94 tbc



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Metadata:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) creation_time : 2011-12-13 23:06:39



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) [buffer @ 0xa6262e0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:40/33 sws_param:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) [scale @ 0xa61cd60] w:720 h:480 fmt:yuv420p -> w:540 h:360 fmt:yuv420p flags:0x4



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) [libx264 @ 0xa63c940] using SAR=40/33



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) [libx264 @ 0xa63c940] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) [libx264 @ 0xa63c940] profile High, level 3.1



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) [libx264 @ 0xa63c940] 264 - core 116 r2044 392e762 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=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=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=abr mbtree=0 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Output #0, flv, to 'pipe:':



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Metadata:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) major_brand : MSNV



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) minor_version : 19529811



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) compatible_brands: MSNVmp42isom



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) creation_time : 2011-12-13 23:06:39



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) encoder : Lavf53.6.0



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Stream #0.0(eng): Video: libx264, yuv420p, 540x360 [SAR 40:33 DAR 20:11], q=2-31, 1000 kb/s, 1k tbn, 59.94 tbc



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Metadata:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) creation_time : 2011-12-13 23:06:39



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Stream #0.1(eng): Audio: libmp3lame, 44100 Hz, 2 channels, s16, 64 kb/s



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Metadata:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) creation_time : 2011-12-13 23:06:39



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Stream mapping:



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Stream #0.1 -> #0.0



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.1



[2/21/12 4:52:57 PM CET]

DEBUG

InputStreamReaderThread

(/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Video transcoding quality/ratio messed up since version

Postby GJ51 » Thu Feb 23, 2012 2:29 am

I've been doing a lot of testing recently and have a few conclusions that might help you out.

Video seems to run best when you download the latest build of ffmpeg for your OS and replace the ffmpeg.exe in the transcode subdirectory. The newer releases of ffmpeg seem to do a much better job of utilizing multi-core CPU's.

Audio, on the other hand is a different story if you use mp3 >ogg for mobile. I haven't been able to get that working properly since version 4.4. Taking the ffmpeg.exe from the 4.4 build and dropping it into one of my SS sites running ver. 4.5 enabled me to do the mp3 > ogg thing again.

But if you are only concerned with improving video performance and don't need to transcode to ogg, then go to the ffmpeg site and grab the latest version for your OS and do the update.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Video transcoding quality/ratio messed up since version

Postby SparkyRih » Thu Feb 23, 2012 12:31 pm

All my ubuntu packages are up-to-date, so that inocludes ffmpeg...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Video transcoding quality/ratio messed up since version

Postby SparkyRih » Tue Feb 28, 2012 7:08 pm

Anyone any other suggestions?
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Video transcoding quality/ratio messed up since version

Postby SparkyRih » Mon Mar 12, 2012 5:31 pm

No-one?
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Video transcoding quality/ratio messed up since version

Postby GJ51 » Mon Mar 12, 2012 7:11 pm

Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Video transcoding quality/ratio messed up since version

Postby SparkyRih » Wed Mar 14, 2012 12:49 pm

My ffmpeg is up-to-date...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Video transcoding quality/ratio messed up since version

Postby GJ51 » Wed Mar 14, 2012 5:01 pm

Then try rolling back the ffmpeg version to either the original SS distribution or the version that came with the SS version that worked previously.

Different versions of ffmpeg have very different capabilities.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Help

Who is online

Users browsing this forum: No registered users and 33 guests