Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv24844 Modified Files: cfg-common.h Log Message: (experimental, for testing/debugging) -novideo option added Index: cfg-common.h =================================================================== RCS file: /cvsroot/mplayer/main/cfg-common.h,v retrieving revision 1.91 retrieving revision 1.92 diff -u -r1.91 -r1.92 --- cfg-common.h 30 Mar 2003 17:14:02 -0000 1.91 +++ cfg-common.h 6 Apr 2003 14:45:32 -0000 1.92 @@ -78,6 +78,7 @@ {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 8192, NULL}, {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 8192, NULL}, {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, + {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL}, { "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL }, { "nohr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 1, 0, NULL},
Arpi of Ize writes:
Modified Files: cfg-common.h Log Message: (experimental, for testing/debugging) -novideo option added
+ {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
What does this do? Force not treating the file (stream?) as a video? Diego
On Mon, May 05, 2003 at 04:46:01AM +0200, Diego Biurrun wrote:
Arpi of Ize writes:
Modified Files: cfg-common.h Log Message: (experimental, for testing/debugging) -novideo option added
+ {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
What does this do? Force not treating the file (stream?) as a video?
I think it means play the audio from the file without showing any video. So for example, you could use mplayer blah.wmv -ao pcm -aofile foo.wav -novideo to extract audio from a movie. That is, if the demuxer works right with video disabled... For now, Arpi's probably planning to use it to isolate bugs in the demuxers that prevent audio-only playback from working. Rich
Hi,
Arpi of Ize writes:
Modified Files: cfg-common.h Log Message: (experimental, for testing/debugging) -novideo option added
+ {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
What does this do? Force not treating the file (stream?) as a video?
same as -nosound but for video A'rpi / Astral & ESP-team -- Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
Arpi writes:
Arpi of Ize writes:
Modified Files: cfg-common.h Log Message: (experimental, for testing/debugging) -novideo option added
+ {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
What does this do? Force not treating the file (stream?) as a video?
same as -nosound but for video
That's what I assumed first, but I tried it with an avi file and there are apparently still problems: Playing /var/tmp/GoneNutty.avi AVI file format detected. AVI_NI: No video stream found. Falling back on trying to parse playlist /var/tmp/GoneNutty.avi... Does not currently work for me with avi and mpg movies. Oh, 0_90 stuff? Sounds like a very simple option that should be there for completeness. Diego
On Mon, May 05, 2003 at 02:00:15PM +0200, Diego Biurrun wrote:
Arpi writes:
Arpi of Ize writes:
Modified Files: cfg-common.h Log Message: (experimental, for testing/debugging) -novideo option added
+ {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
What does this do? Force not treating the file (stream?) as a video?
same as -nosound but for video
That's what I assumed first, but I tried it with an avi file and there are apparently still problems:
Playing /var/tmp/GoneNutty.avi AVI file format detected. AVI_NI: No video stream found. Falling back on trying to parse playlist /var/tmp/GoneNutty.avi...
Does not currently work for me with avi and mpg movies.
Oh, 0_90 stuff? Sounds like a very simple option that should be there for completeness.
Probably not. Like you just observed, many of the demuxers are broken in novideo mode, so the option should not be available in 0.90 branch, IMO. Rich
participants (4)
-
Arpi -
Arpi of Ize -
D Richard Felker III -
Diego Biurrun