Opened 9 years ago

Closed 6 years ago

Last modified 6 years ago

#4794 closed defect (invalid)

ffserver does not recognize mpegvideo

Reported by: ill Owned by:
Priority: normal Component: ffserver
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When using ffserver with mpegvideo format, it does not recognize it even though it is listed as an acceptable format in the sample ffserver.conf file at https://www.ffmpeg.org/sample.html

<Stream test1.mpg>
# coming from live feed 'feed1'
Feed cam.ffm

Format mpegvideo

# Bitrate for the video stream
VideoBitRate 64

# Ratecontrol buffer size
VideoBufferSize 40

# Number of frames per second
VideoFrameRate 10

# Size of the video frame: WxH (default: 160x128)
# The following abbreviations are defined: sqcif, qcif, cif, 4cif, qqvga,
# qvga, vga, svga, xga, uxga, qxga, sxga, qsxga, hsxga, wvga, wxga, wsxga,
# wuxga, woxga, wqsxga, wquxga, whsxga, whuxga, cga, ega, hd480, hd720,
# hd1080
VideoSize 160x128

# Transmit only intra frames (useful for low bitrates, but kills frame rate).
#VideoIntraOnly

# If non-intra only, an intra frame is transmitted every VideoGopSize
# frames. Video synchronization can only begin at an intra frame.
#VideoGopSize 12

# More MPEG-4 parameters
# VideoHighQuality
# Video4MotionVector

# Choose your codecs:
#AudioCodec mp2
#VideoCodec mpeg1video

# Suppress audio
#NoAudio

# Suppress video
#NoVideo

#VideoQMin 3
#VideoQMax 31
</Stream>

ffserver version N-72844-g2f1dd4a Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.8 (SUSE Linux)
configuration: --enable-libfreetype --enable-libfontconfig --enable-libpulse --enable-gpl --enable-libvpx --enable-libx264
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100

/home/azezal/bin/ffserver.conf:5: Port option is deprecated. Use HTTPPort instead.
/home/azezal/bin/ffserver.conf:9: BindAddress option is deprecated. Use HTTPBindAddress instead.
/home/azezal/bin/ffserver.conf:58: Unknown Format: 'mpegvideo'
/home/azezal/bin/ffserver.conf:114: Setting default value for video bit rate = 64000. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:114: Setting default value for video bit rate tolerance = 32000. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:114: Setting default value for video rate control equation = texqComp. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:114: Setting default value for video max rate = 128000. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:114: Setting default value for video buffer size = 128000. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:126: Setting default value for video bit rate = 64000. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:126: Setting default value for video bit rate tolerance = 32000. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:126: Setting default value for video rate control equation = tex
qComp. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:126: Setting default value for video max rate = 128000. Use NoDefaults to disable it.
/home/azezal/bin/ffserver.conf:126: Setting default value for video buffer size = 128000. Use NoDefaults to disable it.
Error reading configuration file '/home/azezal/bin/ffserver.conf': Invalid argument

Change History (3)

comment:1 by Cigaes, 9 years ago

I guess the format name should be mpeg1video or mpeg2video. The example should probably be fixed.

comment:2 by llogan, 6 years ago

Resolution: invalid
Status: newclosed

ffserver was removed from git master, closing bug as invalid.

comment:3 by llogan, 6 years ago

Component: undeterminedffserver
Note: See TracTickets for help on using tickets.