Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th June 2018, 09:27   #1  |  Link
rockydon
Registered User
 
Join Date: Oct 2016
Posts: 76
Cant find Audio details

I am using ffmpeg and i used following syntax

Quote:
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







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
rockydon is offline   Reply With Quote
Old 27th June 2018, 10:03   #2  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,144
Those warnings about subtitle streams are somewhat "normal". I don't see anything particularly wrong about the final output.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 27th June 2018, 11:04   #3  |  Link
rockydon
Registered User
 
Join Date: Oct 2016
Posts: 76
Quote:
Originally Posted by nevcairiel View Post
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.
rockydon is offline   Reply With Quote
Old 27th June 2018, 13:22   #4  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,264
Some m2ts, maybe from BD's, don't have language trakcs info.

When there are ffmpeg show that info, for instance:

Quote:
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'.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 27th June 2018, 14:25   #5  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,144
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.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 27th June 2018, 15:11   #6  |  Link
rockydon
Registered User
 
Join Date: Oct 2016
Posts: 76
Quote:
Originally Posted by nevcairiel View Post
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.
rockydon is offline   Reply With Quote
Old 28th June 2018, 12:51   #7  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,264
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 to obtain a full description of the tracks. Something like:

Quote:
...
{
"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.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 28th June 2018 at 12:58.
tebasuna51 is offline   Reply With Quote
Old 30th June 2018, 05:25   #8  |  Link
rockydon
Registered User
 
Join Date: Oct 2016
Posts: 76
Quote:
Originally Posted by tebasuna51 View Post
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 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.

Last edited by rockydon; 30th June 2018 at 05:45.
rockydon is offline   Reply With Quote
Reply

Tags
ffmpeg audio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.