Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: FFMPEG 100% when transcoding DTS

  1. #11
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Quote Originally Posted by Diesel View Post
    Hi Dennis

    Purely on the strength of this support, you got my 30 bucks this evening (before you put the price up ;-) )
    Hi Andy,

    Thanks - appreciated

    Am I right in making the following assessment on subtitles:
    BD .sup files, no support. Support for .srt when labelled correctly and put in the same folder. Looking to support embedded subtitles in future release.
    Yes, burned-in or embedded subtitles are coming in Mezzmo v3.

    Request for Nvidia CUDA and latest Intel CPU support for VC1 to H264 conversion.
    Need to wait for FFmpeg developers to advance in this area. Mezzmo v2.4.5 includes support for DXVA.

    What is the LG LE TV xml profile in the latest build? I have an LE8900 but it seems to be using the regular LGTV . Could the LE profile be a child of the LGTV parent??
    That profile has been there since Mezzmo v2.3.0 actually It supports a bit less than the "LG TV" one, but works better for some particular firmware versions. I wouldn't rely on auto-detection, as hardware manufacturers are known not to make their firmware ids unique. Try the "LE" profile if you are having issues with the other one.

    I’ve selected nice internet album art for video titles. Shows in the Mezzmo interface, but doesn’t in the LG TV interface. Am I doing something dumb or is it just a constraint of the TV.
    Our TV here doesn't display video artwork - it's not supported by the firmware. Perhaps it's the same for you as well. Unfortunately nothing we can do here, unless LG fix this up.

    When fast forwarding too far ahead, the movie often bombs out and goes back to the beginning or the next film. Is that to be expected with only a partially transcoded file?
    That can happen if you are trying to FF past the currently transcoding point. Let's say a video is playing at 25 fps and your transcoding speed is 100 fps. This means if you FF quicker than 4x, you'll hit the end of transcoding sooner or later.

    I want to see if the LG can handle any kind of chapter meta data. Shall I follow the Samsung sticky – i.e. could the same process be theoretically followed.
    If you mean the chaptering files, then these are specific to Samsung. The LG may (or may not) support chaptering in video files (such as MKVs).

    Anything interesting in the FFMPEG build released yesterday?
    libavutil 51. 24. 0 / 51. 24. 0
    libavcodec 53. 28. 0 / 53. 28. 0
    libavformat 53. 19. 0 / 53. 19. 0
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 47. 0 / 2. 47. 0
    libswscale 2. 1. 0 / 2. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Not really. We already built one even later than that (always testing new stuff here).

    Request for Tapatalk or similar for forum on IOS
    I think vBulletin has a mobile theme somewhere - is that what you mean?

    Always happy to beta test any new developments. Set-up is as follows.
    Thanks!

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  2. #12

    Default

    Morning Dennis

    Can you give me a few pointers on diagnostic logging.

    Most films play really well, but occasionally they break (they stop, loading icon appears and bounce back to the beginning or next film). Mezzmo's playing H264 directly or doing a gentle remux on the audio, NIC looks fine, in fact everything looks fine.

    So 2 scenarios.
    1. Film breaks at a random point - replaying again through that point is fine.
    2. Film breaks at a specific point and will keep breaking at this point.

    Just wondering if the device will send any meaningful data back to Mezzmo. What do you use in the Lab? I can't even see the LG LE TV 2010 using Device spy or uPnP Inspector.

    Thx

    Andy

  3. #13
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Morning Andy,

    Unfortunately the TV, or any other device for that matter, does not tell us what's wrong. All we can get from the logs is the moment where it breaks and look around for any unusual activity. We've got a bunch of TVs, BDP players, media players and XBox/PS3 here that we use for testing (as well as some tablets and phones).

    The first scenario is probably the worst and hardest to catch/fix - it could be anything, even things like your antivirus, search indexer or disk defrag kicking off or it could be hardware-related, such as USB controllers starting to fail.

    The second scenario usually means one of two things: either the file is being transcoded and transcoding fails at that point, or the file is being served natively, but at that point it's encoded in a way that breaks the firmware player on your TV. The second will be solvable once the pre-transcoding feature is released, as you could try and force-transcode that file. The first is harder, as we need to wait for FFmpeg developers to fix bugs.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  4. #14

    Default

    Thanks for the detailed response.

    I'm totally beat on the one below.

    The first file wants to do a full transcode (100% CPU), where as the 2nd file just transcodes the audio (10% CPU) as expected. They're both H264 and the video properties look identical.

    What do you reckon?

    Andy

    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0
    [NULL @ 012E0900] start time is not set in estimate_timings_from_pts
    Input #0, mpegts, from 'H:\M2TS\BLITZ.m2ts':
    Duration: 01:37:29.01, start: 599.958311, bitrate: 31022 kb/s
    Program 1
    Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16, 768 kb/s
    Stream #0:2[0x1200](eng): Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    At least one output file must be specified


    ---> DB Level Info: 41, 100
    ---> Frame rate: 23.98
    ---> Aspect ratio: 16:9


    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0
    [NULL @ 030A0920] start time is not set in estimate_timings_from_pts
    Input #0, mpegts, from 'H:\M2TS\THE_FIGHTER.m2ts':
    Duration: 01:55:38.54, start: 599.958300, bitrate: 35560 kb/s
    Program 1
    Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16, 1536 kb/s
    Stream #0:2[0x1200](eng): Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    At least one output file must be specified


    ---> DB Level Info: 41, 100
    ---> Frame rate: 23.98
    ---> Aspect ratio: 16:9

  5. #15
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Without seeing the logs, my guess would be that we try to remux both files, but the first fails remuxing and thus Mezzmo starts to do a full transcode on it (this happens automatically).

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  6. #16

    Default

    Morning down under!

    Forgive me for jumping around with different subjects - kick me off to another thread if you want.

    I can't get a video to play at all on an iPhone with 8player. Sometimes I get an initialisation error other times it just jumps back to the first screen after trying to load the movie. I'm using the 8player profile in Mezzmo and a native format albeit very high quality (plays fine when copied to iphone or ipad).

    I've also observed what I think could be strange behaviour.

    Go to open movie on iPhone. Mezzmo opens 1 ffmpeg process and 2 secs later opens a 2nd one. Both running at 45% CPU (90% in total - not completely max'd)
    File fails, one ffmpeg process closes. The 2nd ffmpeg continues runing even after closing mezmo.exe and mezmoserver.exe. I also don't have 'continue transcoding for partially completed..." checked. Stopping and restarting the server makes no difference either.

    Here's the ffmpeg output of the file I'm trying to stream.

    ffmpeg version N-33781-g35674a2, Copyright (c) 2000-2011 the FFmpeg developers
    built on Oct 19 2011 10:31:16 with gcc 4.6.1
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config
    libavutil 51. 22. 0 / 51. 22. 0
    libavcodec 53. 21. 0 / 53. 21. 0
    libavformat 53. 16. 1 / 53. 16. 1
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 44. 0 / 2. 44. 0
    libswscale 2. 1. 0 / 2. 1. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\iPhone_iPAD\GET_HIM_TO_THE_GREEK.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    date : 08 November 2011 12:10:29
    encoder : Lavf52.32.0
    Duration: 01:53:51.46, start: 0.000000, bitrate: 4155 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 3991 kb/s, 30 fps, 30 tbr, 30030 tbn, 60 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 159 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    At least one output file must be specified


    ---> DB Level Info: 31, 578
    ---> Frame rate: 30.00
    ---> Aspect ratio: 16:9

    thx

    Andy

    BTW. What's cooking? 2.4.5's been out there for 5 weeks? ;-)

  7. #17
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    The maximum bitrate specified by that profile is 2000 kb/s, but the file is 4155 kb/s, thus it needs to be transcoded. If you have background transcoding turned off, then the file will stop transcoding once the player stops requesting it (after a short delay in reality), however, MP4 files cannot be transcoded/played in real time because they have a MOOV ATOM that needs to be placed at the beginning of the file, which can only be done after the whole file finishes transcoding, however, it won't finish because background transcoding is turned off

    We're finishing testing 2.5 - the major feature of that being pre-transcoding as well as a bunch of other goodies. Not too far away now.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  8. #18

    Default

    Ok, so in summary, if not under 2000kb it will transcode. - normal. Kick start the movie with background transcoding on. Regardless whether the movie plays or not let ffmpeg run in the background. When background transcoding finished replay movie and it should work?
    Just to confirm - is it normal behaviour that 2 instances of ffmpeg are invoked?

  9. #19
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Yes, basically sounds right. Once pre-transcoding is released, this will be much simpler of course, as you'd prepare those files in advance.

    Two FFmpegs shouldn't be running, but I need to see logs to understand why. Perhaps it's because background transcoding is turned off, or the phone moved on to the next file.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  10. #20
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Just an update - Mezzmo v2.5 has been released and it includes the 'pre-transcoding' features that have been discussed in this thread.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

Similar Threads

  1. Really want to like it BUT ! ffmpeg.exe 90-100% CPU
    By cad12 in forum Mezzmo Questions and Support
    Replies: 8
    Last Post: 10-19-2011, 06:10 PM
  2. Transcoding/FFMPEG.exe Questions
    By FlyingVguitarist in forum Mezzmo Questions and Support
    Replies: 11
    Last Post: 05-02-2011, 11:06 AM
  3. FFMpeg Crash
    By Tony in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 11-08-2010, 09:10 AM
  4. FFMPEG not working?
    By carlitoboss in forum Mezzmo Questions and Support
    Replies: 0
    Last Post: 10-22-2010, 10:16 PM
  5. Why would ffmpeg kick in
    By Heimir in forum Mezzmo Questions and Support
    Replies: 9
    Last Post: 07-28-2010, 09:59 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •