Jump to content


Photo

[FIXED in version 3.4.0.1] Problems with transcoding offline music

offline sync music transcoding

  • Please log in to reply
5 replies to this topic

#1 evil_beast666 OFFLINE  

evil_beast666

    Member

  • Members
  • 21 posts
  • Local time: 07:08 AM

Posted 25 March 2018 - 12:36 PM

Good afternoon, first of all, congratulate yourself for your good work.
 
Quick context: My library has mp3, flac and some m4a. When I synchronize mp3 I do not use transcoding, but the flac files use a lot of space on my phone and I need to convert them to mp3. Up to here everything is correct.
 
I have the problem when I need to set the bitrate to 320Kbps. I have tried several different test and the maximum bitrate I get is 192Kbps.
 
These are the details of the flac that I used to test:
Input #0, flac, from '01 - Lone Digger.flac':
  Metadata:
    ALBUM           : <I°_°I>
    ARTIST          : Caravan Palace
    BPM             : 122.9
    DATE            : 2015
    GENRE           : Electro Swing
    RATING          : 5
    TITLE           : Lone Digger
    track           : 01
  Duration: 00:03:49.50, start: 0.000000, bitrate: 891 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 600x600 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)
Test 1 (Quality: Custom, Bitrate: 0.1):
2018-03-25 16:00:09.295 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 100000
2018-03-25 16:00:09.295 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 100000
2018-03-25 16:00:09.297 Info TaskManager: Queueing task SyncConvertScheduledTask
2018-03-25 16:00:09.297 Info TaskManager: Executing Convert media
2018-03-25 16:00:09.298 Info HttpServer: HTTP Response 200 to x.x.x.x. Time: 12ms. http://x.x.x.x:8096/emby/Sync/Jobs
2018-03-25 16:00:09.374 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 100000
2018-03-25 16:00:09.374 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 100000
2018-03-25 16:00:09.376 Info MediaEncoder: /bin/ffmpeg -i file:"/mnt/share1/Caravan Palace/[2015] I°_°I/01 - Lone Digger.flac" -threads 1 -vn -ab 100000 -ac 2 -ar 44100 -id3v2_version 3 -write_id3v1 1 -y "/config/sync/33ec7295814b4256a3aa37e96c66ba88/08304eea9c1a493d9a47da25e4ecb53b/7d3e9b2042154e9082ae7c4cfe757a0e.mp3"
2018-03-25 16:00:17.142 Info MediaEncoder: FFMpeg exited with code 0
2018-03-25 16:00:17.593 Info TaskManager: Convert media Completed after 0 minute(s) and 8 seconds
2018-03-25 16:00:17.593 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-03-25 16:00:17.593 Info TaskManager: ExecuteQueuedTasks
Test 2 (Quality: Custom, Bitrate: 0.2):
2018-03-25 16:03:40.545 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 200000
2018-03-25 16:03:40.545 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 200000
2018-03-25 16:03:40.547 Info TaskManager: Queueing task SyncConvertScheduledTask
2018-03-25 16:03:40.547 Info TaskManager: Executing Convert media
2018-03-25 16:03:40.547 Info HttpServer: HTTP Response 200 to x.x.x.x. Time: 12ms. http://x.x.x.x:8096/emby/Sync/Jobs
2018-03-25 16:03:40.627 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 200000
2018-03-25 16:03:40.627 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 200000
2018-03-25 16:03:40.629 Info MediaEncoder: /bin/ffmpeg -i file:"/mnt/share1/Caravan Palace/[2015] I°_°I/01 - Lone Digger.flac" -threads 1 -vn -ab 192000 -ac 2 -ar 44100 -id3v2_version 3 -write_id3v1 1 -y "/config/sync/e874a1108a364216bfd76a18e5fbfc8f/659cf58dec884d59b9ac5cf129e90580/9d249c370a02496483580034b732cf93.mp3"
2018-03-25 16:03:48.203 Info MediaEncoder: FFMpeg exited with code 0
2018-03-25 16:03:48.307 Info TaskManager: Convert media Completed after 0 minute(s) and 7 seconds
2018-03-25 16:03:48.307 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-03-25 16:03:48.307 Info TaskManager: ExecuteQueuedTasks
 
Test 3 (Quality: Custom, Bitrate: 0.3):
2018-03-25 16:05:26.190 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 300000
2018-03-25 16:05:26.190 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 300000
2018-03-25 16:05:26.192 Info TaskManager: Queueing task SyncConvertScheduledTask
2018-03-25 16:05:26.192 Info TaskManager: Executing Convert media
2018-03-25 16:05:26.193 Info HttpServer: HTTP Response 200 to x.x.x.x. Time: 12ms. http://x.x.x.x:8096/emby/Sync/Jobs
2018-03-25 16:05:26.277 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 300000
2018-03-25 16:05:26.277 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 300000
2018-03-25 16:05:26.280 Info MediaEncoder: /bin/ffmpeg -i file:"/mnt/share1/Caravan Palace/[2015] I°_°I/01 - Lone Digger.flac" -threads 1 -vn -ab 192000 -ac 2 -ar 44100 -id3v2_version 3 -write_id3v1 1 -y "/config/sync/113e8b6457a544428609c97c48d42a15/cbf27e49c06c4d0cb274f13ea7a47e15/1d9f8b3f0c184dd79d2d1c398bd117ee.mp3"
2018-03-25 16:05:34.047 Info MediaEncoder: FFMpeg exited with code 0
2018-03-25 16:05:34.142 Info TaskManager: Convert media Completed after 0 minute(s) and 7 seconds
2018-03-25 16:05:34.143 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-03-25 16:05:34.143 Info TaskManager: ExecuteQueuedTasks
 
Test 4 (Quality: Custom, Bitrate: 0.4):
2018-03-25 16:06:14.368 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 400000
2018-03-25 16:06:14.368 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 400000
2018-03-25 16:06:14.369 Info TaskManager: Queueing task SyncConvertScheduledTask
2018-03-25 16:06:14.369 Info TaskManager: Executing Convert media
2018-03-25 16:06:14.369 Info HttpServer: HTTP Response 200 to x.x.x.x. Time: 12ms. http://x.x.x.x:8096/emby/Sync/Jobs
2018-03-25 16:06:14.445 Info App: Bitrate exceeds DirectStream limit: media bitrate: 891336, max bitrate: 400000
2018-03-25 16:06:14.445 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 891336, max bitrate: 400000
2018-03-25 16:06:14.448 Info MediaEncoder: /bin/ffmpeg -i file:"/mnt/share1/Caravan Palace/[2015] I°_°I/01 - Lone Digger.flac" -threads 1 -vn -ab 192000 -ac 2 -ar 44100 -id3v2_version 3 -write_id3v1 1 -y "/config/sync/7a6bceb4a4e542ae9f9fa505fd25b996/ac9a6e03b2fd4320ac68bbe5630856bb/20646f2bdccc42d8a933029612c0fe10.mp3"
2018-03-25 16:06:22.120 Info MediaEncoder: FFMpeg exited with code 0
2018-03-25 16:06:22.220 Info TaskManager: Convert media Completed after 0 minute(s) and 7 seconds
2018-03-25 16:06:22.220 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-03-25 16:06:22.220 Info TaskManager: ExecuteQueuedTasks
 
Summary results:
 
In both test 3 and 4, the bitrate is set to 192Kbps. Maybe I'm wrong but my logic tells me that the correct behavior should follow the rules of the following table:
 
Max bitrate: 0.1 -> transconding 96Kbps
Max bitrate: 0.2 -> transconding 192Kbps
Max bitrate: 0.3 -> transconding 256Kbps
Max bitrate: 0.4 -> transconding 320Kbps
 
This is the screen where I configure the custom max bitrate:
 
5ab7cef8206fb_vivaldi_20180325_172641.pn
 
Is there any way to configure the details of the transconding? Is there any way to do transconding using a bitrate of 320Kbps? Is this the correct or recommended way to use offline flac? Is it possible to add advanced options for the music transcoding?
 
Any criticism, comment or help are welcome.
 
Thank you very much.

Attached Files


Edited by evil_beast666, 03 May 2018 - 07:34 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 140105 posts
  • Local time: 12:08 AM

Posted 25 March 2018 - 01:03 PM

Hi, thanks for the report. We'll be looking at resolving this soon. Thanks.

#3 evil_beast666 OFFLINE  

evil_beast666

    Member

  • Members
  • 21 posts
  • Local time: 07:08 AM

Posted 28 April 2018 - 10:45 PM

Hi again! Some news about this topic?

 

I'm using "3.3.1.27-beta" version and the bug still exist.

 

Thx in advance.



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 140105 posts
  • Local time: 12:08 AM

Posted 28 April 2018 - 11:00 PM

Hi, it will require an app update as well. We're still looking into it. Thanks.

#5 evil_beast666 OFFLINE  

evil_beast666

    Member

  • Members
  • 21 posts
  • Local time: 07:08 AM

Posted 03 May 2018 - 07:32 PM

I can confirm this bug has been fixed in the version "3.4.0.1 beta" (finally, it wasn't necessary app update :-\)

 

If I set 0.3 or 0.4 in my sync options, flac file will transcode properly to 320kbits MP3.

 

I'm very happy now! Thx! :D



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 140105 posts
  • Local time: 12:08 AM

Posted 03 May 2018 - 09:01 PM

Thanks for the feedback.







Also tagged with one or more of these keywords: offline, sync, music, transcoding

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users