Jump to content

No transcoding ????


jimsaye

Recommended Posts

jimsaye

Hello,

 

my server with mediabrowser is hosting in oneprovier

my friends and me are 15 connected to this server

i would like to know if it's ppossible to have no transcoding because for some movies transcoding slowed the sever.

we watch movie on french internet box "freebox révolution" with subsonic and bubbleupnp to send movie to subsonic to freebox

with subsonic we don't have transcoding and the freebox play all my movies

i tested with vlc player and android and it's same >> transcoding for somes movies with mediabrowser but not with subsonic

the form of the link with subsonic is http://xxxx.xxxx.xxxx.xxxx.fr:4040/rest/stream.view=user&p=enc:XXXXXXXXXXXXXXXXv=1.2.0&c=DSUSB&id=idofmyfilm&format=raw

 

dsub is my app android for subsonic

 

i really like mediabrowser look and fonctionality

 

do you think it's possible to have an option to disable transcoding?

 

thank's for all

and excuse me for my bad english

Link to comment
Share on other sites

Deathsquirrel

Transcoding happens when your clients don't support your chosen file format.  If you want minimal transcoding you either need simple media or powerful clients.  Simply media is x264 video in an MP4 container with AAC sound.  Pretty much anything under the sun can play that.  Powerful client means one of the PC-based clients, MBC, MBT, or the win 8 app.

 

Lastly you'll need a very fast internet connection or very low bitrate videos.

Link to comment
Share on other sites

jimsaye

thank's

 

but my freebox or my phone android with vlc play very well this movies in streaming with no transcoding but not with mediabrowser.

there no way for this?

no possibility in future to disable transcoding?

Link to comment
Share on other sites

thank's

 

but my freebox or my phone android with vlc play very well this movies in streaming with no transcoding but not with mediabrowser.

there no way for this?

no possibility in future to disable transcoding?

Maybe. It's possible the profile for you device is not correct and it's making it transcode something that doesn't need to be transcoded.

 

Can you give us mediainfo output on a file that plays natively correct but transcodes via Media Browser?  This will give us far more info.

 

sourceforge.net/projects/mediainfo/

Link to comment
Share on other sites

Happy2Play

A log you playing something that is transcoded that shouldn't be on each of these devices would help also.

Link to comment
Share on other sites

jimsaye
 fo 22_Jump_Street.mkv

General

Complete name                            : 22_Jump_Street.mkv

Format                                   : Matroska

Format version                           : Version 2

File size                                : 4.37 GiB

Duration                                 : 1h 51mn

Overall bit rate                         : 5 587 Kbps

Writing application                      : mkvmerge v6.6.0 ('The Edge Of The In                                                           Between') built on Dec 1 2013 17:55:00

Writing library                          : libebml v1.3.0 + libmatroska v1.4.1

 

Video

ID                                       : 1

Format                                   : AVC

Format/Info                              : Advanced Video Codec

Format profile                           : High@L4.1

Format settings, CABAC                   : Yes

Format settings, ReFrames                : 5 frames

Codec ID                                 : V_MPEG4/ISO/AVC

Duration                                 : 1h 51mn

Bit rate                                 : 4 076 Kbps

Width                                    : 1 280 pixels

Height                                   : 536 pixels

Display aspect ratio                     : 2.40:1

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

Stream size                              : 3.10 GiB (71%)

Writing library                          : x264 core 142 r2479 dd79a61

Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / ana                                                          lyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_                                                          range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_ps                                                          kip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=                                                          0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / b                                                          frames=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=                                                          0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_                                                          lookahead=50 / rc=2pass / mbtree=1 / bitrate=4076 / ratetol=1.0 / qcomp=0.60 / q                                                          pmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / 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 51mn

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                              : 1.18 GiB (27%)

Title                                    : French

Language                                 : French

Default                                  : Yes

Forced                                   : No

 

Text

ID                                       : 3

Format                                   : UTF-8

Codec ID                                 : S_TEXT/UTF8

Codec ID/Info                            : UTF-8 Plain Text

Title                                    : French Forced

Language                                 : French

Default                                  : Yes

Forced                                   : Yes

 

Menu

00:00:00.000                             : en:00:00:00.000

00:06:21.798                             : en:00:06:21.798

00:13:09.372                             : en:00:13:09.372

00:19:57.363                             : en:00:19:57.363

00:26:32.174                             : en:00:26:32.174

00:31:30.097                             : en:00:31:30.097

00:36:47.247                             : en:00:36:47.247

00:43:49.252                             : en:00:43:49.252

00:51:46.395                             : en:00:51:46.395

00:58:58.410                             : en:00:58:58.410

01:07:30.588                             : en:01:07:30.588

01:16:28.250                             : en:01:16:28.250

01:23:02.603                             : en:01:23:02.603

01:29:51.678                             : en:01:29:51.678

01:35:25.470                             : en:01:35:25.470

01:41:57.194                             : en:01:41:57.194
Link to comment
Share on other sites

jimsaye

/var/lib/mediabrowser/ffmpeg/20150124/ffmpeg -loglevel debug -fflags +genpts -i file:"/var/www/webdav/videos/films/22_Jump_Street_(2014)/22_Jump_Street.mp4" -sn -codec:v:0 libvpx -force_key_frames expr:gte(t,n_forced*5) -vf "scale=min(iw\,1920):trunc(ow/dar/2)*2" -pix_fmt yuv420p -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -qmin 0 -qmax 50 -maxrate:v 9808000 -bufsize:v (9808000*2) -b:v 9808000 -vsync vfr -map_metadata -1 -threads 7 -codec:a:0 libvorbis -ac 2 -ab 192000 -af "aresample=async=1" -y "/var/lib/mediabrowser/transcoding-temp/52d53b5da7a262219200af282e63ea95.webm"


ffmpeg version 2.5.3- http://johnvansickle.com/ffmpeg/ Copyright © 2000-2015 the FFmpeg developers
built on Jan 10 2015 09:24:27 with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-fflags' ... matched as AVOption 'fflags' with argument '+genpts'.
Reading option '-i' ... matched as input file with argument 'file:/var/www/webdav/videos/films/22_Jump_Street_(2014)/22_Jump_Street.mp4'.
Reading option '-sn' ... matched as option 'sn' (disable subtitle) with argument '1'.
Reading option '-codec:v:0' ... matched as option 'codec' (codec name) with argument 'libvpx'.
Reading option '-force_key_frames' ... matched as option 'force_key_frames' (force key frames at specified timestamps) with argument 'expr:gte(t,n_forced*5)'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=min(iw\,1920):trunc(ow/dar/2)*2'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-speed' ... matched as AVOption 'speed' with argument '16'.
Reading option '-quality' ... matched as AVOption 'quality' with argument 'good'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument '0'.
Reading option '-slices' ... matched as AVOption 'slices' with argument '8'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '10'.
Reading option '-qmin' ... matched as AVOption 'qmin' with argument '0'.
Reading option '-qmax' ... matched as AVOption 'qmax' with argument '50'.
Reading option '-maxrate:v' ... matched as AVOption 'maxrate:v' with argument '9808000'.
Reading option '-bufsize:v' ... matched as AVOption 'bufsize:v' with argument '(9808000*2)'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '9808000'.
Reading option '-vsync' ... matched as option 'vsync' (video sync method) with argument 'vfr'.
Reading option '-map_metadata' ... matched as option 'map_metadata' (set metadata information of outfile from infile) with argument '-1'.
Reading option '-threads' ... matched as AVOption 'threads' with argument '7'.
Reading option '-codec:a:0' ... matched as option 'codec' (codec name) with argument 'libvorbis'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '192000'.
Reading option '-af' ... matched as option 'af' (set audio filters) with argument 'aresample=async=1'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '/var/lib/mediabrowser/transcoding-temp/52d53b5da7a262219200af282e63ea95.webm' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option vsync (video sync method) with argument vfr.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file file:/var/www/webdav/videos/films/22_Jump_Street_(2014)/22_Jump_Street.mp4.
Successfully parsed a group of options.
Opening an input file: file:/var/www/webdav/videos/films/22_Jump_Street_(2014)/22_Jump_Street.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x44b51e0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x44b51e0] ISO: File Type Major Brand: isom
rfps: 23.916667 0.008410
rfps: 23.916667 0.013578
rfps: 24.000000 0.002925
rfps: 24.083333 0.016789
rfps: 48.000000 0.003952
rfps: 23.976024 0.002520
rfps: 47.952048 0.000334
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x44b51e0] Before avformat_find_stream_info() pos: 4699123717 bytes read:10298530 seeks:1
[h264 @ 0x44b5c40] no picture
[dca @ 0x44b6b00] Stream with high frequencies VQ coding
[dca @ 0x44b6b00] Number of channels changed in DCA decoder (2 -> 6)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x44b51e0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x44b51e0] After avformat_find_stream_info() pos: 16441 bytes read:10331298 seeks:2 frames:4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/var/www/webdav/videos/films/22_Jump_Street_(2014)/22_Jump_Street.mp4':

Link to comment
Share on other sites

jimsaye
this is not transcoding to compare

 

 

 

 

 

 

mediainfo Bande_de_filles.mkv

General

Unique ID                                : 234335282805949677868848827967351652404 (0xB04B55751CC46DA9BD40311F26998034)

Complete name                            : Bande_de_filles.mkv

Format                                   : Matroska

Format version                           : Version 4 / Version 2

File size                                : 4.37 GiB

Duration                                 : 1h 52mn

Overall bit rate                         : 5 539 Kbps

Encoded date                             : UTC 2015-03-03 22:01:36

Writing application                      : mkvmerge v7.2.0 ('On Every Street') 64bit built on Sep 13 2014 15:52:10

Writing library                          : libebml v1.3.0 + libmatroska v1.4.1

DURATION                                 : 01:52:53.856000000

NUMBER_OF_FRAMES                         : 635049

NUMBER_OF_BYTES                          : 1277718588

_STATISTICS_WRITING_APP                  : mkvmerge v7.2.0 ('On Every Street') 64bit built on Sep 13 2014 15:52:10

_STATISTICS_WRITING_DATE_UTC             : 2015-03-03 22:01:36

_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

 

Video

ID                                       : 1

Format                                   : AVC

Format/Info                              : Advanced Video Codec

Format profile                           : High@L4.1

Format settings, CABAC                   : Yes

Format settings, ReFrames                : 5 frames

Codec ID                                 : V_MPEG4/ISO/AVC

Duration                                 : 1h 52mn

Bit rate                                 : 4 030 Kbps

Width                                    : 1 280 pixels

Height                                   : 536 pixels

Display aspect ratio                     : 2.40:1

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

Stream size                              : 3.09 GiB (71%)

Title                                    : ZEST - Bande De Filles - 720p

Writing library                          : x264 core 144 r2525 40bb568

Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=8 / lookahead_threads=1 / 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=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4030 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / 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 52mn

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                              : 1.19 GiB (27%)

Title                                    : FR-DTS

Language                                 : French

Default                                  : Yes

Forced                                   : No

 

Menu

00:00:00.000                             : en:00:00:00.000

00:23:59.563                             : en:00:23:59.563

00:46:35.960                             : en:00:46:35.960

01:06:37.160                             : en:01:06:37.160

01:25:49.644                             : en:01:25:49.644
Link to comment
Share on other sites

Deathsquirrel

No idea what the media support on the freebox is like, but android doesnt natively support dts audio and not all devices support 720p or higher video, hence transcoding.  See http://developer.android.com/guide/appendix/media-formats.html for supported media formats on android.  Other players may implement their own support for specific codecs, but that should be all the os supports natively.

 

Again, either use media your players can handle or a player that can handle your media, or allow transcoding.  Not all devices support all media types which is why transcoding servers like plex and mb3 are popular.

Link to comment
Share on other sites

jimsaye

this media is support by freebox and by vlc on android i tried.

i play with no transcoding with external player when i launch on subsonic

 

I like media browser but this is very disturbing for some movies

i'dont see difference between the movie with transcodin and the movie no transcoding which might explain why there transcodin.

 

GRRRR....

 

thank's a lot.

Link to comment
Share on other sites

Happy2Play

Do you have two versions of 22_Jump_Street?

22_Jump_Street.mkv   post #7

22_Jump_Street.mp4  Post #8 transcoded to webm

Link to comment
Share on other sites

What you posted is saying differently.  One of you posts shows MKV and the next shows MP4.

Link to comment
Share on other sites

jimsaye

yes i see 

 

I made a mistake

 

i converted to mp4 for tested but it's same

 

can i posted 5 mediainfo videos who transcoding and 5 mediainfo no transcoding? to compare if a éléménts explain why it's transcoding.

I converted to test to mp4
 
I converted to test to mp4
 
I converted to test to mp4
 
Link to comment
Share on other sites

Deathsquirrel

 

yes i see 

 

I made a mistake

 

i converted to mp4 for tested but it's same

 

can i posted 5 mediainfo videos who transcoding and 5 mediainfo no transcoding? to compare if a éléménts explain why it's transcoding.

I converted to test to mp4
 
I converted to test to mp4
 
I converted to test to mp4
 

 

 

No need, I already gave you a link to what android natively supports.  If you find that you are playing things that should be supported by your os and they transcode then it is worth reporting an issue.

 

The media you posted already includes elements android cant play out of the box.  Some third party players may have support for your format, but not all will.  This one doesn't or it wouldn't be transcoding.

Link to comment
Share on other sites

jimsaye

i says that because i don't see difference with media are transcoding and media arend the  not transcoding.

a the same media are not transcoding with subsonic 

 

it challenges me.

Link to comment
Share on other sites

More specific.  Can you find us a video that subsonic plays directly but MB3 needs to transcode?

Link to comment
Share on other sites

alangregory

I'll help with an example.

Player = Chrome 40.0.2214.115 on Ubuntu 14 x64

The sample media  bellow plays on Plex using max bandwidth config 20Mbps, since video max bitrate is 9977, it copys video stream and encodes audio to aac.

On Media Server with same browser and same bandwidth settings  , it encodes video and audio with libvpx.

 

Media Info
Video
CodecH264
ProfileHigh
Level41
Resolution1920x800
Aspect ratio2.40:1
AnamorphicNo
InterlacedNo
Framerate23.97599
Bitrate9977 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames5
CABACYes
Audio
Languagepor
CodecAC3
Layout5.1
Bitrate437 kbps
Sample rate48000 khz
DefaultYes
Audio
Languageeng
CodecAC3
Layout5.1
Bitrate437 kbps
Sample rate48000 khz
DefaultNo
Subtitle
Languageptb
CodecSRT
DefaultNo
ForcedNo
ExternalYes
Containermkv
PathF:\MB-FILMES\O Hobbit A Batalha dos Cinco Exércitos (2014)\O Hobbit A Batalha dos Cinco Exércitos.mkv
Size10559 MB
Link to comment
Share on other sites

Deathsquirrel

 

I'll help with an example.

Player = Chrome 40.0.2214.115 on Ubuntu 14 x64

The sample media  bellow plays on Plex using max bandwidth config 20Mbps, since video max bitrate is 9977, it copys video stream and encodes audio to aac.

On Media Server with same browser and same bandwidth settings  , it encodes video and audio with libvpx.

 

That's not comparable and that's still transcoding the audio.

 

The OP is concerned that his media played to an adroid device, (phone?) gets transcoded.  He doesn't want it to be transcoded.  All the media he's posted data for so far includes video or audio formats that don't play natively on Android so they get transcoded.  This is by design.

 

You're playing to a web browser on Ubuntu and getting transcoding of your audio which is pretty common when playing back in browsers since they have pretty limited format support.

 

Again, and it isn't directed at anyone in particular, if you don't want transcoding to happen you have two immediate choices:

 

1) Store your media in formats that are more or less universal.   Your best bet for video is MP4 with h264 video and AAC audio.  For audio it's MP3.

2) Use a more advanced playback device with a client that supports more format options.  Right now this means a PC with MBT or MBC followed by the win 8.1 app.  I expect the xbox one and android tv clients to also be pretty solid for format support but they aren't out yet.

 

Finally you can raise feature requests for more format support in your preferred clients.  Obviously that might bear fruit but could take some time.

Link to comment
Share on other sites

alangregory

That's not comparable and that's still transcoding the audio.

 

The OP is concerned that his media played to an adroid device, (phone?) gets transcoded.  He doesn't want it to be transcoded.  All the media he's posted data for so far includes video or audio formats that don't play natively on Android so they get transcoded.  This is by design.

 

You're playing to a web browser on Ubuntu and getting transcoding of your audio which is pretty common when playing back in browsers since they have pretty limited format support.

 

Again, and it isn't directed at anyone in particular, if you don't want transcoding to happen you have two immediate choices:

 

1) Store your media in formats that are more or less universal.   Your best bet for video is MP4 with h264 video and AAC audio.  For audio it's MP3.

2) Use a more advanced playback device with a client that supports more format options.  Right now this means a PC with MBT or MBC followed by the win 8.1 app.  I expect the xbox one and android tv clients to also be pretty solid for format support but they aren't out yet.

 

Finally you can raise feature requests for more format support in your preferred clients.  Obviously that might bear fruit but could take some time.

 

I understand, my point is about transcoding all streams . Actually, a file with h264 video and aac audio can be directly played.

But if only the audio isn't suported, like ac3 or dts, both audio and video streams get transcoded.

For example: 

h264 + aac = direct play

h264 + ac3 = both video and audio transcoded (my device supports h264 and i have bandwidth to handle the bit rate, so why transcode vídeo? , just  -c:v copy -c:a libfdk_aac -ac 2 -ab 128k

xvid + dts = both vídeo and audio transcoded ( device dosn't support any of them, so it's ok)

 

Sure i could convert all my files to aac audio, but it takes time, when the encoder could just copy the video stream to output.

 

I'll dig further into all clientes to check and open and feature request if needed.

Thanks for the info.

Link to comment
Share on other sites

Happy2Play

I understand, my point is about transcoding all streams . Actually, a file with h264 video and aac audio can be directly played.

But if only the audio isn't suported, like ac3 or dts, both audio and video streams get transcoded.

For example: 

h264 + aac = direct play

h264 + ac3 = both video and audio transcoded (my device supports h264 and i have bandwidth to handle the bit rate, so why transcode vídeo? , just  -c:v copy -c:a libfdk_aac -ac 2 -ab 128k

xvid + dts = both vídeo and audio transcoded ( device dosn't support any of them, so it's ok)

 

Sure i could convert all my files to aac audio, but it takes time, when the encoder could just copy the video stream to output.

 

I'll dig further into all clientes to check and open and feature request if needed.

Thanks for the info.

This already happens, but may be device prevalent.

 

Roku doesn't support AAC 5.1 so only audio gets transcoded.

 

-codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -flags -global_header -codec:a:0 aac -strict experimental -ac 2 -ab 128000

 

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:1 -> #0:1 (aac (native) -> aac (native))

Link to comment
Share on other sites

alangregory

This already happens, but may be device prevalent.

 

Roku doesn't support AAC 5.1 so only audio gets transcoded.

 

-codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -flags -global_header -codec:a:0 aac -strict experimental -ac 2 -ab 128000

 

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:1 -> #0:1 (aac (native) -> aac (native))

 

Nice to know, i found the reason in all.js

// Chrome, Firefox or IE with plugin installed
            // For some reason in chrome pausing mp4 is causing the video to fail. 
            // So for now it will have to prioritize webm
            if (self.canPlayWebm()) {

                if ($.browser.msie) {
                    return '.webm';
                }
                if ($.browser.chrome) {
                    return '.webm';
                }
                
                // Firefox suddenly having trouble with our webm
                return '.webm';
            }

            return '.mp4';
        };

I'll try to help on this fix, this option is realy useful to me.

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