Jump to content

[FIXED in version 3.4.0.1] Problems with transcoding offline music


evil_beast666

Recommended Posts

evil_beast666
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.

transcode-test1.txt

transcode-test2.txt

transcode-test3.txt

transcode-test4.txt

Edited by evil_beast666
Link to comment
Share on other sites

  • 1 month later...
evil_beast666

Hi again! Some news about this topic?

 

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

 

Thx in advance.

Link to comment
Share on other sites

evil_beast666

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...