Jump to content

Understanding transcoding


TrackZ

Recommended Posts

TrackZ

Hello,

 

I'm continuing to experiment with the Xbox One, DLNA, and the profile. I could be misunderstanding something, so I wanted to clarify. The Xbox One is capable of h.264 video and AC3 audio on direct play, but I think I am seeing transcoding in both situations.

 

See the following log. This is a DVD rip with 2 channel AC3 audio, yet it looks like the audio is being reencoded to AC3 again versus just the video being transcoded and the audio being copied. I see the same thing with most h.264. Despite the video characteristics being that such it should direct play, I get transcoding. Am I seeing this correctly?

 

I'm looking at where it shows the following:

Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))

 

If it were directplay, then that should say "copy".

 

C:\Users\Jaremy\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140612\ffmpeg.exe -fflags +genpts -i file:"D:\MB3\MB3\The Great Outdoors (1988)\Movie [DVD].mkv" -map 0:0 -map 0:1 -map -0:s -vcodec libx264 -force_key_frames expr:gte(t,n_forced*5) -vf "scale=trunc(min(iw\,1920)/2)*2:trunc(min((iw/dar)\,1080)/2)*2" -preset superfast -crf 18 -maxrate 5982682 -bufsize 11965364 -r 23.97602 -vsync vfr -map_metadata -1 -threads 0 -acodec ac3 -ac 2 -ab 128000 -af "aresample=async=1" -y "C:\Users\Jaremy\AppData\Roaming\MediaBrowser-Server\transcoding-temp\ed7c89f6fdb3b690721049563ae4f62c.ts"ffmpeg version N-63911-g3a1c895 Copyright (c) 2000-2014 the FFmpeg developers  built on Jun 11 2014 22:01:49 with gcc 4.8.2 (GCC)  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib  libavutil      52. 89.100 / 52. 89.100  libavcodec     55. 66.100 / 55. 66.100  libavformat    55. 43.100 / 55. 43.100  libavdevice    55. 13.101 / 55. 13.101  libavfilter     4.  8.100 /  4.  8.100  libswscale      2.  6.100 /  2.  6.100  libswresample   0. 19.100 /  0. 19.100  libpostproc    52.  3.100 / 52.  3.100Input #0, matroska,webm, from 'file:D:\MB3\MB3\The Great Outdoors (1988)\Movie [DVD].mkv':  Metadata:    encoder         : libmakemkv v1.8.11 (1.3.0/1.4.1) win(x64-release)    creation_time   : 2014-07-19 23:21:52  Duration: 01:30:31.56, start: 0.010000, bitrate: 5982 kb/s    Chapter #0.0: start 0.083417, end 172.539033    Metadata:      title           : Chapter 01    Chapter #0.1: start 172.539033, end 511.711200    Metadata:      title           : Chapter 02    Chapter #0.2: start 511.711200, end 839.288450    Metadata:      title           : Chapter 03    Chapter #0.3: start 839.288450, end 1348.714033    Metadata:      title           : Chapter 04    Chapter #0.4: start 1348.714033, end 1896.928367    Metadata:      title           : Chapter 05    Chapter #0.5: start 1896.928367, end 2366.814450    Metadata:      title           : Chapter 06    Chapter #0.6: start 2366.814450, end 2762.993567    Metadata:      title           : Chapter 07    Chapter #0.7: start 2762.993567, end 3013.610600    Metadata:      title           : Chapter 08    Chapter #0.8: start 3013.610600, end 3301.648350    Metadata:      title           : Chapter 09    Chapter #0.9: start 3301.648350, end 3572.769200    Metadata:      title           : Chapter 10    Chapter #0.10: start 3572.769200, end 3910.006100    Metadata:      title           : Chapter 11    Chapter #0.11: start 3910.006100, end 4139.235100    Metadata:      title           : Chapter 12    Chapter #0.12: start 4139.235100, end 4311.240267    Metadata:      title           : Chapter 13    Chapter #0.13: start 4311.240267, end 4684.896883    Metadata:      title           : Chapter 14    Chapter #0.14: start 4684.896883, end 5052.397350    Metadata:      title           : Chapter 15    Chapter #0.15: start 5052.397350, end 5431.559467    Metadata:      title           : Chapter 16    Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv), 720x480 [SAR 8:9 DAR 4:3], max. 7500 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc    Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)    Metadata:      title           : Dolby Digital 2.0[libx264 @ 027e05e0] using SAR=1/1[libx264 @ 027e05e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2[libx264 @ 027e05e0] profile High, level 3.0Output #0, mpegts, to 'C:\Users\Jaremy\AppData\Roaming\MediaBrowser-Server\transcoding-temp\ed7c89f6fdb3b690721049563ae4f62c.ts':  Metadata:    encoder         : Lavf55.43.100    Chapter #0.0: start 0.073417, end 172.529033    Chapter #0.1: start 172.529033, end 511.701200    Chapter #0.2: start 511.701200, end 839.278450    Chapter #0.3: start 839.278450, end 1348.704033    Chapter #0.4: start 1348.704033, end 1896.918367    Chapter #0.5: start 1896.918367, end 2366.804450    Chapter #0.6: start 2366.804450, end 2762.983567    Chapter #0.7: start 2762.983567, end 3013.600600    Chapter #0.8: start 3013.600600, end 3301.638350    Chapter #0.9: start 3301.638350, end 3572.759200    Chapter #0.10: start 3572.759200, end 3909.996100    Chapter #0.11: start 3909.996100, end 4139.225100    Chapter #0.12: start 4139.225100, end 4311.230267    Chapter #0.13: start 4311.230267, end 4684.886883    Chapter #0.14: start 4684.886883, end 5052.387350    Chapter #0.15: start 5052.387350, end 5431.549467    Stream #0:0: Video: h264 (libx264), yuv420p, 720x540 [SAR 1:1 DAR 4:3], q=-1--1, max. 5982 kb/s, 23.98 fps, 90k tbn, 23.98 tbc    Metadata:      encoder         : Lavc55.66.100 libx264    Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 128 kb/s (default)    Metadata:      encoder         : Lavc55.66.100 ac3Stream mapping:  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))  Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))Press [q] to stop, [?] for helpframe=  262 fps=0.0 q=17.0 size=    5155kB time=00:00:10.90 bitrate=3872.2kbits/s    frame=  539 fps=539 q=14.0 size=   11966kB time=00:00:22.52 bitrate=4352.1kbits/s    frame=  814 fps=543 q=17.0 size=   18354kB time=00:00:33.94 bitrate=4429.3kbits/s    frame= 1091 fps=545 q=20.0 size=   23543kB time=00:00:45.53 bitrate=4235.8kbits/s    frame= 1382 fps=553 q=18.0 size=   28611kB time=00:00:57.62 bitrate=4067.2kbits/s    frame= 1673 fps=558 q=18.0 size=   33545kB time=00:01:09.78 bitrate=3937.7kbits/s    frame= 1942 fps=555 q=20.0 size=   38781kB time=00:01:21.05 bitrate=3919.7kbits/s    frame= 2201 fps=550 q=19.0 size=   43973kB time=00:01:31.80 bitrate=3923.9kbits/s    frame= 2470 fps=549 q=18.0 size=   49153kB time=00:01:43.00 bitrate=3909.2kbits/s    frame= 2729 fps=546 q=22.0 size=   54730kB time=00:01:53.78 bitrate=3940.3kbits/s    frame= 2993 fps=544 q=21.0 size=   60086kB time=00:02:04.79 bitrate=3944.3kbits/s    frame= 3245 fps=541 q=19.0 size=   65745kB time=00:02:15.32 bitrate=3980.0kbits/s    frame= 3518 fps=541 q=20.0 size=   70027kB time=00:02:26.71 bitrate=3910.1kbits/s    frame= 3797 fps=542 q=20.0 size=   74254kB time=00:02:38.36 bitrate=3841.1kbits/s    frame= 4070 fps=543 q=21.0 size=   78534kB time=00:02:49.78 bitrate=3789.2kbits/s    frame= 4300 fps=537 q=19.0 size=   84198kB time=00:02:59.41 bitrate=3844.4kbits/s    frame= 4536 fps=534 q=21.0 size=   89281kB time=00:03:09.14 bitrate=3866.8kbits/s    frame= 4806 fps=534 q=19.0 size=   94939kB time=00:03:20.44 bitrate=3880.1kbits/s    frame= 5070 fps=534 q=18.0 size=   99774kB time=00:03:31.45 bitrate=3865.4kbits/s    frame= 5355 fps=535 q=21.0 size=  104440kB time=00:03:43.29 bitrate=3831.6kbits/s    frame= 5629 fps=536 q=21.0 size=  109249kB time=00:03:54.68 bitrate=3813.5kbits/s    frame= 5902 fps=537 q=20.0 size=  114739kB time=00:04:06.10 bitrate=3819.2kbits/s    frame= 6195 fps=539 q=18.0 size=  119148kB time=00:04:18.33 bitrate=3778.4kbits/s    frame= 6451 fps=538 q=21.0 size=  124808kB time=00:04:29.05 bitrate=3800.1kbits/s    frame= 6715 fps=537 q=19.0 size=  130247kB time=00:04:40.05 bitrate=3809.9kbits/s    frame= 6979 fps=537 q=18.0 size=  135203kB time=00:04:51.03 bitrate=3805.7kbits/s    frame= 7258 fps=538 q=19.0 size=  139181kB time=00:05:02.71 bitrate=3766.5kbits/s    frame= 7522 fps=537 q=21.0 size=  143408kB time=00:05:13.72 bitrate=3744.7kbits/s    

 

Link to comment
Share on other sites

TrackZ

Here is the MediaInfo for that file:

 

 

General
Unique ID                                : 245156186231242461634326226783256009949 (0xB86F5D2FDAC344C21C0263F869F95CDD)
Complete name                            : D:\MB3\MB3\The Great Outdoors (1988)\Movie [DVD].mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 3.78 GiB
Duration                                 : 1h 30mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 5 983 Kbps
Encoded date                             : UTC 2014-07-19 23:21:52
Writing application                      : MakeMKV v1.8.11 win(x64-release)
Writing library                          : libmakemkv v1.8.11 (1.3.0/1.4.1) win(x64-release)

Video
ID                                       : 1
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings, BVOP                    : No
Format settings, Matrix                  : Default
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Bit rate mode                            : Variable
Bit rate                                 : 5 672 Kbps
Maximum bit rate                         : 7 500 Kbps
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Original frame rate                      : 29.970 fps
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Time code of first frame                 : 00:59:58;19
Time code source                         : Group of pictures header
Language                                 : English
Default                                  : No
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Format profile                           : Dolby Digital
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 1h 30mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -73ms
Stream size                              : 124 MiB (3%)
Title                                    : Dolby Digital 2.0
Language                                 : English
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.083                             : en:Chapter 01
00:02:52.539                             : en:Chapter 02
00:08:31.711                             : en:Chapter 03
00:13:59.288                             : en:Chapter 04
00:22:28.714                             : en:Chapter 05
00:31:36.928                             : en:Chapter 06
00:39:26.814                             : en:Chapter 07
00:46:02.993                             : en:Chapter 08
00:50:13.610                             : en:Chapter 09
00:55:01.648                             : en:Chapter 10
00:59:32.769                             : en:Chapter 11
01:05:10.006                             : en:Chapter 12
01:08:59.235                             : en:Chapter 13
01:11:51.240                             : en:Chapter 14
01:18:04.896                             : en:Chapter 15
01:24:12.397                             : en:Chapter 16

 

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