View Full Version : Cant find Audio details
rockydon
27th June 2018, 09:27
I am using ffmpeg and i used following syntax
ffmpeg -i input.m2ts
i am using HEADLESS UBUNTU SERVER which only can be accessed using SSH (i prefer putty).
My output is -
I have created image of it
https://i.imgur.com/eA5lb1Z.png
https://i.imgur.com/ns8y9eG.png
https://i.imgur.com/wduU5X8.png
I do not get proper tracks name,i am using ffmpeg only.
PS: i want specific tracks so i am unable to grab proper ones
nevcairiel
27th June 2018, 10:03
Those warnings about subtitle streams are somewhat "normal". I don't see anything particularly wrong about the final output.
rockydon
27th June 2018, 11:04
Those warnings about subtitle streams are somewhat "normal". I don't see anything particularly wrong about the final output.
I was asking if I can know what language subtitles are listed where and also audio tracks language I can pick up which I need,so I wanted to know what shall I do,before audio processing I need audio to be extracted.
tebasuna51
27th June 2018, 13:22
Some m2ts, maybe from BD's, don't have language trakcs info.
When there are ffmpeg show that info, for instance:
Input #0, mpegts, from 'interla.m2ts':
Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s32p (24 bit)
The language info of m2ts in BD's are in the mpls.
In windows, eac3to, or tsMuxeR, when the m2ts are in a BD structure the language info is show correctly, copied out of a BD structure the language is show like 'und'.
nevcairiel
27th June 2018, 14:25
Indeed, Blu-ray m2ts files don't have language info. You would have to parse the Blu-ray metadata files for that info, and thats not something FFmpeg does.
rockydon
27th June 2018, 15:11
Indeed, Blu-ray m2ts files don't have language info. You would have to parse the Blu-ray metadata files for that info, and thats not something FFmpeg does.
Ok what can be an alternative apart from using wine for eac3to,because that I have tried and got no success,you need some display driver and blah blah,my server doesn't have any desktop attach or anything.
tebasuna51
28th June 2018, 12:51
Sorry I don't know Ubuntu tools to read mpls files.
A workaround can be download the mpls from your server (only a few KB) and use MPLS2JSON.exe (https://forum.doom9.org/showthread.php?t=174563) to obtain a full description of the tracks. Something like:
...
{
"type": 1,
"pid": 4355,
"stream_coding_type": "AC-3",
"audio_presentation_type": "Stereo",
"sampling_frequency": "48 kHz",
"language_code": "eng"
},
{
"type": 1,
"pid": 4608,
"stream_coding_type": "PGS",
"language_code": "spa",
"reserved01": 0
},
...
EDIT: MkvToolNix must work in Ubuntu.
Load the mpls in MkvToolNix.
rockydon
30th June 2018, 05:25
Sorry I don't know Ubuntu tools to read mpls files.
A workaround can be download the mpls from your server (only a few KB) and use MPLS2JSON.exe (https://forum.doom9.org/showthread.php?t=174563) to obtain a full description of the tracks. Something like:
EDIT: MkvToolNix must work in Ubuntu.
Load the mpls in MkvToolNix.
Thanks for the reply but I could managed eac3to through VNC,and that completely displays me output,i was trying to look for output using ssh but I should have tunnel ssh or should have use VNC to view my eac3to output.
--------------------------------------------------------------------------------------
MkvToolNix will give me mka format and i needed untouched ac3 audio to be extracted.I will have to do conversion from mka to ac3.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.