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 > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th October 2009, 12:35   #561  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 830
Hi Zenitram,

could you please add to supported file extensions (which get associated with MediaInfo upon installation) also .264 besides .h264?
I ask for this because 264 is the default extension used by x264 encoder when desired output should be raw H264 stream.

Thank you very much.
kypec is offline   Reply With Quote
Old 28th October 2009, 12:41   #562  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Quote:
Originally Posted by kypec View Post
could you please add to supported file extensions (which get associated with MediaInfo upon installation) also .264 besides .h264?.
Done. For next version (Friday)
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 28th October 2009, 12:49   #563  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 830
Wow Feature implemented 6 minutes after request was made, that's what I call a support!
kypec is offline   Reply With Quote
Old 28th October 2009, 18:33   #564  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
hi, can you add support for apple subtitles (sbtl) in .mp4, .m4v and .mov? here is a sample:

http://www.megaupload.com/?d=3Y3T1YQH


Code:
General
Complete name                    : sample.mov
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt  
File size                        : 13.2 MiB
Duration                         : 3mn 40s
Overall bit rate                 : 502 Kbps
Encoded date                     : UTC 2009-09-01 19:02:14
Tagged date                      : UTC 2009-09-01 19:02:16
com.apple.quicktime.player.movie : (Binary)

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L3.0
Format settings, CABAC           : No
Format settings, ReFrames        : 5 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 300 Kbps
Maximum bit rate                 : 751 Kbps
Width                            : 480 pixels
Height                           : 368 pixels
Display aspect ratio             : 4:3
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.068
Stream size                      : 7.87 MiB (60%)
Writing library                  : x264 core 58 svn-735
Encoding settings                : cabac=0 / ref=5 / deblock=1:-2:-1 / analyse=0x1:0x111 / me=umh / subme=7 / brdo=0 / mixed_ref=1 / me_range=12 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=300 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=16 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40
Encoded date                     : UTC 2009-08-31 17:58:23
Tagged date                      : UTC 2009-09-01 19:02:16

Audio #1
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 96.0 Kbps
Maximum bit rate                 : 103 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 2.56 MiB (19%)
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Audio #2
ID                               : 3
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 98.1 Kbps
Maximum bit rate                 : 102 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 2.57 MiB (20%)
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #1
ID                               : 8
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #2
ID                               : 9
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #3
ID                               : 10
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #4
ID                               : 11
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #5
ID                               : 12
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Encoded date                     : UTC 2009-09-01 19:00:46
Tagged date                      : UTC 2009-09-01 19:02:16

Text #6
ID                               : 13
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Encoded date                     : UTC 2009-09-01 19:01:03
Tagged date                      : UTC 2009-09-01 19:02:16
notice that track ID 4 to 7 are missing...the difference between a "tx3g" subtitle track and an "apple" subtitle track is "text" in first one and "sbtl" in second one in "moov\trak\mdia\hdls\componet subtype" atom...
_
b66pak is offline   Reply With Quote
Old 28th October 2009, 21:54   #565  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Quote:
Originally Posted by b66pak View Post
hi, can you add support for apple subtitles (sbtl) in .mp4, .m4v and .mov?

(...)

notice that track ID 4 to 7 are missing...the difference between a "tx3g" subtitle track and an "apple" subtitle track is "text" in first one and "sbtl" in second one in "moov\trak\mdia\hdls\componet subtype" atom...
I added detection of "sbtl" subtype.
Note: subtype is for defining the kind of stream (Video, Audio, Text...), but what I saw is "tx3g" format in both cases ("text" or "sbtl" subtype). What I understood is that "text" in stsd is for "Apple Text" (the last 2 text tracks). In the case of "sbtl" subtype, I fill the "Muxing Mode" field with "sbtl", so you can detect if this is tx3g with "text" subtype (no Muxing mode info, this is the "default" muxing mode), tx3g with "sbtl" subtype (Muxing Mode info, this is not the "default" muxing mode), and text (Apple Text?) in "text" subtype.
Too much identifiers in MPEG-4!!!

Note about languages: I added language support for this kind of index ("old" Apple method, was implemented but deactivated because I had no file for it, now I have a file )

Note about text streams: VLC displays only 9 text streams, 1 less than me; Text #9 (Track #12) is not handled, this is the same format definition as Text #10 (Track #13), if you have an idea of the reason...

Below the output from the next version of MediaInfo:

Code:
General
Complete name                    : D:\Download\sample.mov
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt  
File size                        : 13.2 MiB
Duration                         : 3mn 40s
Overall bit rate                 : 502 Kbps
Encoded date                     : UTC 2009-09-01 19:02:14
Tagged date                      : UTC 2009-09-01 19:02:16
com.apple.quicktime.player.movie : (Binary)

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L3.0
Format settings, CABAC           : No
Format settings, ReFrames        : 5 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 300 Kbps
Maximum bit rate                 : 751 Kbps
Width                            : 480 pixels
Height                           : 368 pixels
Display aspect ratio             : 4:3
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.068
Stream size                      : 7.87 MiB (60%)
Writing library                  : x264 core 58 svn-735
Encoding settings                : (...)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:23
Tagged date                      : UTC 2009-09-01 19:02:16

Audio #1
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 96.0 Kbps
Maximum bit rate                 : 103 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 2.56 MiB (19%)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Audio #2
ID                               : 3
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 98.1 Kbps
Maximum bit rate                 : 102 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 2.57 MiB (20%)
Language                         : Spanish
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #1
ID                               : 4
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #2
ID                               : 5
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : Spanish
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #3
ID                               : 6
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : French
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #4
ID                               : 7
Format                           : Timed text
Muxing mode                      : sbtl
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : German
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #5
ID                               : 8
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : English
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #6
ID                               : 9
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 71 bps
Stream size                      : 1.05 KiB (0%)
Language                         : Spanish
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #7
ID                               : 10
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : French
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #8
ID                               : 11
Format                           : Timed text
Codec ID                         : tx3g
Duration                         : 2mn 0s
Bit rate mode                    : Variable
Bit rate                         : 63 bps
Stream size                      : 944 Bytes (0%)
Language                         : German
Encoded date                     : UTC 2009-08-31 17:58:24
Tagged date                      : UTC 2009-09-01 19:02:16

Text #9
ID                               : 12
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Language                         : English
Encoded date                     : UTC 2009-09-01 19:00:46
Tagged date                      : UTC 2009-09-01 19:02:16

Text #10
ID                               : 13
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Language                         : Spanish
Encoded date                     : UTC 2009-09-01 19:01:03
Tagged date                      : UTC 2009-09-01 19:02:16
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 29th October 2009, 09:04   #566  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Brazil2,

Quote:
Originally Posted by Brazil2 View Post
I'm getting strange results with a MTS file recorded with a Panasonic TZ7:

(...)

And also MPC-HC, TsMuxer and MP4Box are all saying that the file is 50 FPS.
Example from MPC-HC:
Code:
Video: MPEG4 Video (H264) 1280x720 50.00fps [Video]
Audio: Dolby AC3 48000Hz stereo 192Kbps [Audio]
Theses tools are actually wrong.
After the release of the version with the patch for your file, I had feedback with fps problem.
I investigated a bit more, and I see my error now: raw stream (AVC) indication and timestamp are at 50 fps, container (PES level) timestamp is at 25 fps (crazy, but real)

Someone else sent me Panasonic SZ3 and HMC150 (like the TZ7, but from USA) records with the same problem (and the NTSC flag is present too, but this normal for them, so I iamgine Panasonic didn't remove the flag for Europe)

So I display both values:
Code:
Frame rate                       : 25.000 fps
Original frame rate              : 50.000 fps
(yes, SeeMoreDigital will not like it, I still use "original" word, I know :-D )

You can test the latest development snapshot (at least version 200910229):
http://sourceforge.net/projects/medi...t%20snapshots/
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 29th October 2009, 18:22   #567  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,436
Quote:
Originally Posted by Zenitram View Post
So I display both values:
Code:
Frame rate                       : 25.000 fps
Original frame rate              : 50.000 fps
(yes, SeeMoreDigital will not like it, I still use "original" word, I know :-D )
LOL.... You're right I don't.

Given that these "AVC-Lite" compatible cameras are generating AVC video streams with "repeat frames", I'd much prefer something like: -
Code:
Encoded Frame Rate        : 25.000 fps
Flagged Frame Rate        : 50.000 fps
Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 29th October 2009, 19:38   #568  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
Quote:
Originally Posted by Zenitram View Post
Note about text streams: VLC displays only 9 text streams, 1 less than me; Text #9 (Track #12) is not handled, this is the same format definition as Text #10 (Track #13), if you have an idea of the reason...
the last two text tracks are chapter tracks...the english one (text #9) contains chapters in english and is assigned to the english audio track...the spanish one (text #10) contains chapters in spanish and is assigned to the spanish audio track...play the file with Apple QuickTime and when you change the audio track the chapter language is changed accordingly...

Code:
Text #9
ID                               : 12
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Language                         : English
Encoded date                     : UTC 2009-09-01 19:00:46
Tagged date                      : UTC 2009-09-01 19:02:16

Text #10
ID                               : 13
Format                           : Apple text
Codec ID                         : text
Duration                         : 3mn 40s
Bit rate mode                    : Variable
Bit rate                         : 10 bps
Stream size                      : 262 Bytes (0%)
Language                         : Spanish
Encoded date                     : UTC 2009-09-01 19:01:03
Tagged date                      : UTC 2009-09-01 19:02:16
_
b66pak is offline   Reply With Quote
Old 1st November 2009, 11:07   #569  |  Link
Toddler Naruto
Playful Explorer
 
Toddler Naruto's Avatar
 
Join Date: Oct 2009
Location: Fair Oaks, California
Posts: 29
Thanks alot for releasing & maintaining MediaInfo, I think it's a very awesome tool !

Last edited by Toddler Naruto; 15th April 2011 at 05:18.
Toddler Naruto is offline   Reply With Quote
Old 1st November 2009, 11:13   #570  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Quote:
Originally Posted by Baby Naruto View Post
Thanks alot for releasing & maintaining MediaInfo, I think it's a very awesome tool !
Spread the word ;-)
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 9th November 2009, 16:28   #571  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Hi. Mediainfo shows that wavpack stream has 2 channels when actually its 5.1
Sample
Keiyakusha is offline   Reply With Quote
Old 9th November 2009, 20:03   #572  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Hi,

I have a problem with ffmpeg and I'm wondering if MediaInfo can help me. I always thought that for ffmpeg the first stream is video and next streams are audio. Now I have a MP4 file, which according to ffmpeg has stream #0 audio and stream #1 video. Can MediaInfo help me to detect such video files? How is the order of streams that ffmpeg uses defined?
vlada is offline   Reply With Quote
Old 9th November 2009, 20:14   #573  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Quote:
Originally Posted by vlada View Post
I always thought that for ffmpeg the first stream is video and next streams are audio.
First stream can be video, audio, text, timecode... There are no order policy in specifications, in MP4 or AVI or any format I know.

Quote:
Originally Posted by vlada View Post
Now I have a MP4 file, which according to ffmpeg has stream #0 audio and stream #1 video. Can MediaInfo help me to detect such video files? How is the order of streams that ffmpeg uses defined?
MediaInfo does not provide the order (why would it useful?), but provides the ID of a stream (in all views except "Easy View").
And usualy, first stream has ID 1, second stream has ID 2 and so on... I have many samples with Video ID = 2 and Audio ID = 1...
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 9th November 2009, 20:46   #574  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Thank you for the quick reply. I checked the ID of audio stream and it was "1". So I thought the video stream will be 0 and didn't check it. Now I double checked and the IDs are exactly as you said. So I can use ID-1 as stream number for ffmpeg, that's perfect! Sorry for such a stupid question, I should have checked the IDs better.
vlada is offline   Reply With Quote
Old 10th November 2009, 10:49   #575  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Quote:
Originally Posted by Keiyakusha View Post
Mediainfo shows that wavpack stream has 2 channels when actually its 5.1
Thanks for the sample, corrected, will be available in the next official release.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 13th November 2009, 02:16   #576  |  Link
martinfrombern
Registered User
 
Join Date: Mar 2009
Posts: 57
how to get writing library information (e.g. encoder and version of it) in CLI version?
Tried things like --Inform=Video;%Writing_Library% and similar, but no success
martinfrombern is offline   Reply With Quote
Old 13th November 2009, 08:01   #577  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Quote:
Originally Posted by martinfrombern View Post
how to get writing library information (e.g. encoder and version of it) in CLI version?
Tried things like --Inform=Video;%Writing_Library% and similar, but no success
MediaInfo --Help for some help.
MediaInfo --Info-Parameters for the list of parameters

-->
Encoded_Application : Software. Identifies the name of the software package used to create the file, such as Microsoft WaveEdit.
Encoded_Application/Url : Software. Identifies the name of the software package used to create the file, such as Microsoft WaveEdit.
Encoded_Library : Software used to create the file
Encoded_Library/String : Software used to create the file
Encoded_Library/Name : Info from the software
Encoded_Library/Version : Version of software
Encoded_Library/Date : Release date of software
Encoded_Library_Settings : Parameters used by the software

MediaInfo --Inform=Video;%Encoded_Library% or others depends of what is the precise field you want.

For having the "Inform" fields directly displayed, so you can see which field is interessant:
MediaInfo --Language=raw -f
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 14th November 2009, 21:54   #578  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Quote:
Originally Posted by vlada View Post
Thank you for the quick reply. I checked the ID of audio stream and it was "1". So I thought the video stream will be 0 and didn't check it. Now I double checked and the IDs are exactly as you said. So I can use ID-1 as stream number for ffmpeg, that's perfect! Sorry for such a stupid question, I should have checked the IDs better.
I thought it can't be that easy. Now I have a sample video with IDs 101 and 102 and ffmpeg refers the streams as 0 and 1. Another example is a DVD-Video I have. This is what MediaInfo tells me about the file:

Code:
Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2

Audio #1
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3

Audio #2
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3

Audio #3
ID                               : 130 (0x82)
Format                           : AC-3
Format/Info                      : Audio Coding 3

Audio #4
ID                               : 131 (0x83)
Format                           : AC-3
Format/Info                      : Audio Coding 3

Text #1
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding

Text #2
ID                               : 33 (0x21)
Format                           : RLE
Format/Info                      : Run-length encoding
And now how ffmpeg sees the file:


I know this is more an ffmpeg issue, but maybe you know how to get the stream numbers that ffmpeg uses....

Last edited by vlada; 15th November 2009 at 11:52.
vlada is offline   Reply With Quote
Old 14th November 2009, 22:49   #579  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 671
Quote:
Originally Posted by vlada View Post
I thought it can't be that easy. Now I have a sample video with IDs 101 and 102 and ffmpeg refers the streams as 0 and 1.
Your image is not available.
So I don't understand the problem.
MediaInfo provides the ID of each stream, in the order of theses IDs, I have no idea about how FFMpeg works.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo

Last edited by Zenitram; 14th November 2009 at 22:50. Reason: understand --> don't understand
Zenitram is offline   Reply With Quote
Old 15th November 2009, 09:47   #580  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,183
I think that vlada is confused by tracks numbers and tracks IDs...Here is a typical FFmpeg output from VOB file :

Quote:
Duration: 00:06:37.28, start: 0.208056, bitrate: 7435 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9]
, 9800 kb/s, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x85]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.2[0x84]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.3[0x83]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream #0.4[0x82]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.5[0x81]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream #0.6[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream #0.7[0x2f]: Subtitle: dvdsub
Stream #0.8[0x31]: Subtitle: dvdsub
Stream #0.9[0x30]: Subtitle: dvdsub
Stream #0.10[0x2e]: Subtitle: dvdsub
Stream #0.11[0x2d]: Subtitle: dvdsub
Stream #0.12[0x2c]: Subtitle: dvdsub
Stream #0.13[0x2a]: Subtitle: dvdsub
Stream #0.14[0x29]: Subtitle: dvdsub
Stream #0.15[0x28]: Subtitle: dvdsub
Stream #0.16[0x25]: Subtitle: dvdsub
Stream #0.17[0x27]: Subtitle: dvdsub
Stream #0.18[0x26]: Subtitle: dvdsub
Stream #0.19[0x24]: Subtitle: dvdsub
In blue you have tracks IDs and in red tracks numbers...check out the FFmpeg documentation why you have 0.xx

About default's MediaInfo output : you have the track ID [ex: 0x80 (hexa) = 129 (integer)] & the track number corresponding [#1], etc...
Kurtnoise is offline   Reply With Quote
Reply

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 11:13.


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