Opened 14 years ago

Closed 14 years ago

#1773 closed defect (invalid)

Option "-nosub" is ignored when reading from standard input

Reported by: noman@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Directory contains:

some_video_file.avi
Chuck - 3x04 - Chuck vs Operation Awesome.HDTV.LOL.en.srt
Chuck.S03E01.HDTV.XviD-LOL.srt
Chuck.S03E02.HDTV.XviD-LOL.srt
Chuck.S03E03.HDTV.XviD-NoTV.V2.srt
Chuck.S03E04.HDTV.XviD-LOL.srt
Chuck.S03E05.HDTV.XviD-LOL.VO.srt
Chuck.S03E06.HDTV.XviD-LOL.srt
Chuck.S03E07.PROPER.HDTV.XviD-2HD.VO-SubCentral.srt
Chuck.S03E08.Chuck.vs.the.Fake.Name.HDTV.XviD-FQM.srt

Command-line:

D:\videos\> cat some_video_file.avi | mplayer -nosub -

Result:

I see the following in the output of mplayer:

SUB: Added subtitle file (1): ./Chuck - 3x04 - Chuck vs Operation Awesome.HDTV.LOL.en.srt
SUB: Added subtitle file (2): ./Chuck.S03E01.HDTV.XviD-LOL.srt
SUB: Added subtitle file (3): ./Chuck.S03E02.HDTV.XviD-LOL.srt
SUB: Added subtitle file (4): ./Chuck.S03E03.HDTV.XviD-NoTV.V2.srt
SUB: Added subtitle file (5): ./Chuck.S03E04.HDTV.XviD-LOL.srt
SUB: Added subtitle file (6): ./Chuck.S03E05.HDTV.XviD-LOL.VO.srt
SUB: Added subtitle file (7): ./Chuck.S03E06.HDTV.XviD-LOL.srt
SUB: Added subtitle file (8): ./Chuck.S03E07.PROPER.HDTV.XviD-2HD.VO-SubCentral.srt
SUB: Added subtitle file (9): ./Chuck.S03E08.Chuck.vs.the.Fake.Name.HDTV.XviD-FQM.srt

http://pastebin.com/i4ZiA5ah

Attachments (1)

i4ZiA5ah.txt (5.1 KB ) - added by noman@… 14 years ago.
verbose output

Download all attachments as: .zip

Change History (2)

by noman@…, 14 years ago

Attachment: i4ZiA5ah.txt added

verbose output

comment:1 by reimar, 14 years ago

Resolution: invalid
Status: newclosed

-nosub is only related to internal subtitles (it is the counterpart to -sid, in retrospect probably badly named), use -noautosub to disable loading of external subtitle files.
Man page updated to clarify this.

Note: See TracTickets for help on using tickets.