Skip to content

Scale on MacOS X (Intel/PPC) problem

I'm streaming a EyeTV stream (actually one of the MPG files) and I'm using the following commandline.

/Applications/VLC/VLC.app/Contents/MacOS/VLC "/Users/paul/Documents/EyeTV Archive/Live TV Buffer.eyetv/000000000bb1af83.mpg" --sout '#transcode{vcodec=mp4v,vb=256,acodec=mp3,ab=128}:standard{mux=ts,dst=10.0.4.138:8002,access=http}'

When I include a "scale=0.5 in the transcode option the application starts, but the clients that connect to the server see something else. If I leave the "scale=0.5" option off I can view the stream correctly.

Below is the "messages" output from an Intel client. As you can see the client thinks it's a video with the following resolution 9942x246. I tried the same thing going from an Intel server to another Intel client and the same thing happens.


main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU 
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main debug: waiting for thread completion
main debug: thread 42905088 (playlist) created at priority -47 (playlist/playlist.c:184)
main debug: waiting for thread completion
main debug: thread 42908672 (preparser) created at priority -47 (playlist/playlist.c:210)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 42920448 (interface) created at priority -47 (interface/interface.c:198)
main debug: looking for interface module: 3 candidates
main debug: using interface module "macosx"
main debug: thread 42914816 (manage) created at priority -47 (interface/interface.c:164)
main debug: adding playlist item `10.0.4.138/8002' ( http://10.0.4.138:8002 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 43514368 (input) created at priority 37 (input/input.c:265)
main debug: creating statistics handler
main debug: `http://10.0.4.138:8002' gives access `http' demux `' path `10.0.4.138:8002'
main debug: creating demux: access='http' demux='' path='10.0.4.138:8002'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='10.0.4.138:8002'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='10.0.4.138' port=8002 file='(null)
main debug: net: connecting to 10.0.4.138 port 8002
main debug: connection in progress
macosx debug: input has changed, refreshing interface
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access2 module "access_http"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 2712 bytes in 0s - 17 kbytes/s
main debug: creating demux: access='http' demux='' path='10.0.4.138:8002'
main debug: looking for demux2 module: 44 candidates
main debug: using demux2 module "ts"
ts debug: DEMUX_SET_GROUP 0 0x0
main debug: `http://10.0.4.138:8002' successfully opened
ts debug: pid[69] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=12749 version=31 current_next=1
ts debug:   * number=1 pid=66
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=20 pid_pcr=69
ts debug:   * es pid=68 type=3 fcc=mpga
main debug: selecting program id=1
main debug: looking for decoder module: 24 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 43708928 (decoder) created at priority 37 (input/decoder.c:159)
ts debug:   * es pid=69 type=16 fcc=mp4v
main debug: looking for decoder module: 24 candidates
ffmpeg debug: libavcodec initialized (interface 3349504 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpeg4video"
main debug: thread 44328960 (decoder) created at priority -47 (input/decoder.c:159)
ts warning: first packet for pid=69 cc=0xb
ts warning: first packet for pid=68 cc=0xb
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128
main debug: no aout present, spawning one
main debug: looking for audio output module: 2 candidates
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg debug: disabling direct rendering
main debug: no usable vout present, spawning one
main debug: window size: 9942x246
main debug: looking for video output module: 4 candidates
opengl debug: Texture size: 368x246
main debug: looking for opengl provider module: 1 candidate
macosx debug: display is Quartz Extreme accelerated
main debug: VLC is looking for: 'mpga' 48000 Hz Stereo frame=1152 samples/969 bytes
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
auhal debug: system has [3] device(s)
auhal debug: DevID: 0x104 DevName: Built-in Microphone
auhal debug: this device is INPUT only. skipping...
auhal debug: DevID: 0x102 DevName: Built-in Input
auhal debug: this device is INPUT only. skipping...
auhal debug: DevID: 0x106 DevName: Built-in Output
auhal debug: supported format: [96000][mcpl][12][4][1][4][2][16]
auhal debug: supported format: [48000][mcpl][12][4][1][4][2][16]
auhal debug: supported format: [44100][mcpl][12][4][1][4][2][16]
auhal debug: supported format: [96000][mcpl][4][8][1][8][2][20]
auhal debug: supported format: [48000][mcpl][4][8][1][8][2][20]
auhal debug: supported format: [44100][mcpl][4][8][1][8][2][20]
auhal debug: supported format: [96000][mcpl][4][8][1][8][2][24]
auhal debug: supported format: [48000][mcpl][4][8][1][8][2][24]
auhal debug: supported format: [44100][mcpl][4][8][1][8][2][24]
main debug: using opengl provider module "macosx"
main debug: using video output module "opengl"
main debug: waiting for thread completion
main debug: got 1 direct buffer(s)
main debug: picture in 368x246 (0,0,368x246), chroma I420, ar -1:432000, sar 47630:1763
main debug: picture user 368x246 (0,0,368x246), chroma I420, ar -1:432000, sar 47630:1763
main debug: picture out 368x246 (0,0,368x246), chroma UYVY, ar -1:432000, sar 47630:1763
main debug: looking for chroma module: 9 candidates
main debug: using chroma module "i420_yuy2_mmx"
main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8
main debug: thread 44480000 (video output) created at priority 37 (video_output/video_output.c:421)
auhal debug: current format is: [44100][mcpl][41][4][1][4][2][32]
auhal debug: layout of AUHAL has 2 channels
auhal debug: selected 2 physical channels for device output
auhal debug: VLC will output: Stereo
auhal debug: we set the AU format: [48000][mcpl][9][8][1][8][2][32]
auhal debug: the actual set AU format is [48000][mcpl][9][8][1][8][2][32]
main debug: using audio output module "auhal"
main debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/969 bytes
main debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
mpgatofixed32 debug: libmad error: bad main_data_begin pointer
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
ffmpeg warning: Complexity estimation not supported
 (mpeg4@0x29b3c10)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information