| View previous topic :: View next topic |
| Author |
Message |
anjames Tux's lil' helper


Joined: 30 Jul 2004 Posts: 111 Location: San Diego, CA
|
Posted: Tue Jul 15, 2008 8:19 pm Post subject: moc error: 'Not a valid (or unsupported) AAC file' [SOLVED!] |
|
|
I made the mistake of recompiling moc during an 'emerge -uNDt world' and now it refuses to play AAC files AGAIN! Barnacles.
Currently installed version is:
| Code: | anjames@tropic ~ $ eix -I moc
[I] media-sound/moc
Available versions: 2.5.0_alpha2 2.5.0_alpha3-r1 2.5.0_alpha3-r2 {aac alsa curl debug ffmpeg flac jack libsamplerate mad modplug musepack sid sndfile speex timidity vorbis wavpack}
Installed versions: 2.5.0_alpha3-r2(16:32:20 07/14/08)(aac alsa curl ffmpeg flac libsamplerate mad musepack sndfile speex vorbis -debug -jack -modplug -sid -timidity -wavpack)
Homepage: http://moc.daper.net
Description: Music On Console - ncurses interface for playing audio files
|
So far I've found at least one other person with the same problem on the developer's page:
ffmpeg-plugin does not work with installed aac-plugin
Submitted by riesebie on Mon, 2008-03-24 08:17
They've got the same version I've got and the same problem. One problem there appears to be solved and due to two instances of the file avformat.h in ffmpeg, one of which was outdated. I decided to go back and recompile ffmpeg with almost all the use flags turned on (bad idea?), and we'll see what happens!
Any other solutions are welcomed. _________________ Alex James
"Physics is like sex: sure there are applications but that's not why we do it." --Richard Feynman
Last edited by anjames on Tue Jul 15, 2008 9:29 pm; edited 1 time in total |
|
| Back to top |
|
 |
anjames Tux's lil' helper


Joined: 30 Jul 2004 Posts: 111 Location: San Diego, CA
|
Posted: Tue Jul 15, 2008 8:54 pm Post subject: |
|
|
OK, I recompiled moc with USE=debug so now I can run the server separately and get the debug messages:
| Code: | anjames@tropic ~ $ mocp -DSF > /tmp/mocp_messages
anjames@tropic ~ $ cat /tmp/mocp_messages
Loading plugins from /usr/lib/moc/decoder_plugins...
Loading plugin libaac_decoder...
OK
Loading plugin libffmpeg_decoder...
OK
Loading plugin libflac_decoder...
OK
Loading plugin libmodplug_decoder...
OK
Loading plugin libmp3_decoder...
OK
Loading plugin libmusepack_decoder...
OK
Loading plugin libsndfile_formats_decoder...
OK
Loading plugin libspeex_decoder...
OK
Loading plugin libvorbis_decoder...
OK
Trying ALSA...
Jul 15 13:40:06.930563: alsa.c:260 alsa_init_mixer_channel(): Opened mixer (PCM), volume range: 0-31
Jul 15 13:40:06.931712: alsa.c:260 alsa_init_mixer_channel(): Opened mixer (Master), volume range: 0-63
Jul 15 13:40:06.942956: audio.c:874 print_output_capabilities(): Sound driver capabilities: channels 1 - 10000, formats: 8-bit signed, 8-bit unsigned, 16-bit signed, 16-bit unsigned, 24-bit signed (as 32-bit samples), 24-bit unsigned (as 32-bit samples) little-endian (native)
Jul 15 13:40:06.943586: audio.c:888 audio_initialize(): Disabling 24bit modes because Allow24bitOutput is set to no.
Jul 15 13:40:06.944058: out_buf.c:66 read_thread(): entering output buffer thread
Jul 15 13:40:06.944602: softmixer.c:67 softmixer_init(): Softmixer initialized
Jul 15 13:40:06.945158: tags_cache.c:336 reader_thread(): tags reader thread started
Jul 15 13:40:06.945541: tags_cache.c:358 reader_thread(): all queues empty, waiting
Jul 15 13:40:06.945843: tags_cache.c:583 tags_cache_load(): Loading tags cache from /home/anjames/.moc/tags_cache...
Jul 15 13:40:06.946213: tags_cache.c:681 tags_cache_load(): Adding file /music/AFI/1995 Answer That & Stay Fashionable/01 Two Of A Kind.mp3
LOTS OF OTHER CACHE LOAD LINES EXCLUDED FOR BREVITY
Jul 15 13:40:07.255526: tags_cache.c:658 tags_cache_load(): File broken, invalid time
Jul 15 13:40:07.255780: tags_cache.c:698 tags_cache_load(): Loaded 995 items to the cache
Jul 15 13:40:07.256463: server.c:1380 server_loop(): MOC server started, pid: 23732
Jul 15 13:40:10.176548: server.c:1406 server_loop(): accept()ing connection...
Jul 15 13:40:10.176642: server.c:1414 server_loop(): Incoming connection
Jul 15 13:40:10.176671: tags_cache.c:498 tags_cache_clear_queue(): Cleared requests queue for client 0
Jul 15 13:40:10.177047: server.c:999 gen_serial(): Generated serial 0 for client with fd 7
Jul 15 13:40:10.216865: server.c:1229 handle_command(): Request for events
Jul 15 13:40:10.217764: server.c:790 get_client_plist(): Client with fd 7 requests the playlist.
Jul 15 13:40:10.217825: server.c:800 get_client_plist(): No clients with the playlist.
Jul 15 13:40:10.219568: server.c:204 client_lock(): Lock acquired for client with fd 7
Jul 15 13:40:10.219787: server.c:947 plist_sync_cmd(): Sending EV_PLIST_CLEAR
Jul 15 13:40:10.219819: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:10.219859: server.c:1422 server_loop(): Got 'wake up'
Jul 15 13:40:10.219889: server.c:587 send_events(): Flushing events for client 0
Jul 15 13:40:10.220757: server.c:908 plist_sync_cmd(): Sending EV_PLIST_ADD
Jul 15 13:40:10.221072: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:10.221118: server.c:1422 server_loop(): Got 'wake up'
Jul 15 13:40:10.221146: server.c:587 send_events(): Flushing events for client 0
Jul 15 13:40:10.221903: server.c:223 client_unlock(): Lock released by client with fd 7
Jul 15 13:40:10.270269: tags_cache.c:470 tags_cache_add_request(): Request for tags for /music/Mofro/Blackwater/01 Blackwater.m4a from client 0
Jul 15 13:40:10.270481: tags_cache.c:240 tags_cache_read_add(): Getting tags for /music/Mofro/Blackwater/01 Blackwater.m4a
Jul 15 13:40:10.270786: tags_cache.c:304 tags_cache_read_add(): Adding to the cache
Jul 15 13:40:10.270830: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:10.270889: tags_cache.c:324 tags_cache_read_add(): Cache is 127.50KB big
Jul 15 13:40:10.270915: tags_cache.c:358 reader_thread(): all queues empty, waiting
Jul 15 13:40:10.271222: server.c:1422 server_loop(): Got 'wake up'
Jul 15 13:40:10.271268: server.c:587 send_events(): Flushing events for client 0
Jul 15 13:40:11.605747: server.c:204 client_lock(): Lock acquired for client with fd 7
Jul 15 13:40:11.606026: server.c:999 gen_serial(): Generated serial 256 for client with fd 7
Jul 15 13:40:11.606145: server.c:999 gen_serial(): Generated serial 512 for client with fd 7
Jul 15 13:40:11.606264: server.c:975 req_plist_set_serial(): Setting the playlist serial number to 512
Jul 15 13:40:11.606363: server.c:1140 handle_command(): Clearing the list
Jul 15 13:40:11.606507: server.c:627 req_list_add(): Adding '/music/Mofro/Blackwater/01 Blackwater.m4a' to the list
Jul 15 13:40:11.606654: server.c:643 req_play(): Playing /music/Mofro/Blackwater/01 Blackwater.m4a
Jul 15 13:40:11.607029: audio.c:389 play_thread(): entering playing thread
Jul 15 13:40:11.607190: audio.c:407 play_thread(): Playing item 0: /music/Mofro/Blackwater/01 Blackwater.m4a
Jul 15 13:40:11.607242: out_buf.c:323 out_buf_reset(): resetting the buffer
Jul 15 13:40:11.607268: player.c:335 precache_wait(): Precache thread is not running
Jul 15 13:40:11.607295: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:11.607496: io.c:451 io_open_file(): mmap()ed 6960301 bytes
Jul 15 13:40:11.607775: io.c:335 io_read_thread(): IO read thread created
Jul 15 13:40:11.612251: server.c:1422 server_loop(): Got 'wake up'
Jul 15 13:40:11.612448: server.c:587 send_events(): Flushing events for client 0
Jul 15 13:40:11.612609: server.c:223 client_unlock(): Lock released by client with fd 7
Jul 15 13:40:11.614869: aac.c:168 buffer_fill_frame(): no frame found!
Jul 15 13:40:11.615344: io.c:273 io_close(): Closing stream...
Jul 15 13:40:11.615461: io.c:257 io_abort(): Aborting...
Jul 15 13:40:11.615564: io.c:421 io_read_thread(): Stop request
Jul 15 13:40:11.615593: io.c:423 io_read_thread(): Exiting IO read thread
Jul 15 13:40:11.615734: io.c:264 io_abort(): done
Jul 15 13:40:11.615813: io.c:281 io_close(): Waiting for io_read_thread()...
Jul 15 13:40:11.615897: io.c:283 io_close(): IO read thread exited
Jul 15 13:40:11.616139: io.c:328 io_close(): done
Jul 15 13:40:11.616243: server.c:669 server_error(): ERROR: Not a valid (or unsupported) AAC file
Jul 15 13:40:11.616326: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:11.616409: player.c:665 play_file(): Can't open file, exiting
Jul 15 13:40:11.616616: player.c:782 player(): exiting
Jul 15 13:40:11.616705: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:11.616795: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:11.616884: server.c:257 wake_up_server(): Waking up the server
Jul 15 13:40:11.617021: audio.c:371 go_to_another_file(): Going back to the first item.
Jul 15 13:40:11.617117: audio.c:407 play_thread(): Playing item 0: /music/Mofro/Blackwater/01 Blackwater.m4a
THESE MESSAGES LOOP AS THE SERVER TRIES TO PLAY THE FILE OVER AND OVER
AT THIS POINT I EXIT THE CLIENT AND KILL THE SERVER WITH CTRL-C
Jul 15 13:40:17.581978: io.c:273 io_close(): Closing stream...
Jul 15 13:40:17.582428: io.c:257 io_abort(): Aborting...
Jul 15 13:40:17.582707: io.c:264 io_abort(): done
Jul 15 13:40:17.582982: io.c:281 io_close(): Waiting for io_read_thread()...
Jul 15 13:40:17.582944: io.c:421 io_read_thread(): Stop request
Jul 15 13:40:17.583501: io.c:423 io_read_thread(): Exiting IO read thread
Jul 15 13:40:17.583776: io.c:283 io_close(): IO read thread exited
Jul 15 13:40:17.584171: io.c:328 io_close(): done
|
So it looks to me like moc is trying to use an internal aac decoder (aac.c) instead of the ffmpeg one, perhaps the problem is with the internal decoder only? I'll try recompiling it with USE=-aac for lack of another way to turn off the internal aac decoder, and hopefully it just starts using the ffmpeg one! _________________ Alex James
"Physics is like sex: sure there are applications but that's not why we do it." --Richard Feynman
Last edited by anjames on Tue Jul 15, 2008 9:31 pm; edited 1 time in total |
|
| Back to top |
|
 |
anjames Tux's lil' helper


Joined: 30 Jul 2004 Posts: 111 Location: San Diego, CA
|
Posted: Tue Jul 15, 2008 9:11 pm Post subject: |
|
|
AHA! The solution is found. USE=-aac did the job, curiously enough, since we're trying to get it to play aac files. It seems like USE=-aac is contradictory to playing aac files, so maybe we could change the use flag name to 'internalaac' or something? Perhaps the internal AAC decoder should be pulled since it doesn't seem to work? I'll post that suggestion to the developer's forum. If nothing else, I've documented that the aac decoder is borked and by compiling moc with USE=-aac, moc delegates aac decoding to ffmpeg which works at least on my machine. Debug info below:
| Code: |
Loading plugins from /usr/lib/moc/decoder_plugins...
Loading plugin libffmpeg_decoder...
OK
Loading plugin libflac_decoder...
OK
Loading plugin libmodplug_decoder...
OK
Loading plugin libmp3_decoder...
OK
Loading plugin libmusepack_decoder...
OK
Loading plugin libsndfile_formats_decoder...
OK
Loading plugin libspeex_decoder...
OK
Loading plugin libvorbis_decoder...
OK
Trying ALSA...
Jul 15 14:02:33.489673: alsa.c:260 alsa_init_mixer_channel(): Opened mixer (PCM), volume range: 0-31
Jul 15 14:02:33.490757: alsa.c:260 alsa_init_mixer_channel(): Opened mixer (Master), volume range: 0-63
Jul 15 14:02:33.501955: audio.c:874 print_output_capabilities(): Sound driver capabilities: channels 1 - 10000, formats: 8-bit signed, 8-bit unsigned, 16-bit signed, 16-bit unsigned, 24-bit signed (as 32-bit samples), 24-bit unsigned (as 32-bit samples) little-endian (native)
Jul 15 14:02:33.502585: audio.c:888 audio_initialize(): Disabling 24bit modes because Allow24bitOutput is set to no.
Jul 15 14:02:33.503098: out_buf.c:66 read_thread(): entering output buffer thread
Jul 15 14:02:33.503656: softmixer.c:67 softmixer_init(): Softmixer initialized
Jul 15 14:02:33.504182: tags_cache.c:336 reader_thread(): tags reader thread started
Jul 15 14:02:33.504531: tags_cache.c:358 reader_thread(): all queues empty, waiting
Jul 15 14:02:33.504835: tags_cache.c:583 tags_cache_load(): Loading tags cache from /home/anjames/.moc/tags_cache...
Jul 15 14:02:33.505216: tags_cache.c:681 tags_cache_load(): Adding file /music/AFI/1995 Answer That & Stay Fashionable/01 Two Of A Kind.mp3
OTHER CACHE LOAD LINES OMITTED FOR BREVITY
Jul 15 14:02:33.808830: tags_cache.c:698 tags_cache_load(): Loaded 996 items to the cache
Jul 15 14:02:33.809622: server.c:1380 server_loop(): MOC server started, pid: 4313
Jul 15 14:02:36.754808: server.c:1406 server_loop(): accept()ing connection...
Jul 15 14:02:36.755090: server.c:1414 server_loop(): Incoming connection
Jul 15 14:02:36.755180: tags_cache.c:498 tags_cache_clear_queue(): Cleared requests queue for client 0
Jul 15 14:02:36.755463: server.c:999 gen_serial(): Generated serial 0 for client with fd 7
Jul 15 14:02:36.803788: server.c:1229 handle_command(): Request for events
Jul 15 14:02:36.804674: server.c:790 get_client_plist(): Client with fd 7 requests the playlist.
Jul 15 14:02:36.804733: server.c:800 get_client_plist(): No clients with the playlist.
Jul 15 14:02:36.806552: server.c:204 client_lock(): Lock acquired for client with fd 7
Jul 15 14:02:36.806769: server.c:947 plist_sync_cmd(): Sending EV_PLIST_CLEAR
Jul 15 14:02:36.806802: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:36.806843: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:36.807046: server.c:587 send_events(): Flushing events for client 0
Jul 15 14:02:36.807839: server.c:908 plist_sync_cmd(): Sending EV_PLIST_ADD
Jul 15 14:02:36.808116: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:36.808157: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:36.808184: server.c:587 send_events(): Flushing events for client 0
Jul 15 14:02:36.808932: server.c:223 client_unlock(): Lock released by client with fd 7
Jul 15 14:02:36.867107: tags_cache.c:470 tags_cache_add_request(): Request for tags for /music/Mofro/Blackwater/01 Blackwater.m4a from client 0
Jul 15 14:02:36.867181: tags_cache.c:484 tags_cache_add_request(): Found outdated or not complete tags in the cache
Jul 15 14:02:36.867568: tags_cache.c:240 tags_cache_read_add(): Getting tags for /music/Mofro/Blackwater/01 Blackwater.m4a
Jul 15 14:02:36.867620: tags_cache.c:277 tags_cache_read_add(): Tags in the cache are not what we want.
Jul 15 14:02:36.882999: tags_cache.c:308 tags_cache_read_add(): Tags updated
Jul 15 14:02:36.883345: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:36.883476: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:36.883522: server.c:587 send_events(): Flushing events for client 0
Jul 15 14:02:36.883687: tags_cache.c:324 tags_cache_read_add(): Cache is 127.50KB big
Jul 15 14:02:36.883778: tags_cache.c:358 reader_thread(): all queues empty, waiting
Jul 15 14:02:38.80972: server.c:204 client_lock(): Lock acquired for client with fd 7
Jul 15 14:02:38.81251: server.c:999 gen_serial(): Generated serial 256 for client with fd 7
Jul 15 14:02:38.81364: server.c:999 gen_serial(): Generated serial 512 for client with fd 7
Jul 15 14:02:38.81478: server.c:975 req_plist_set_serial(): Setting the playlist serial number to 512
Jul 15 14:02:38.81573: server.c:1140 handle_command(): Clearing the list
Jul 15 14:02:38.81719: server.c:627 req_list_add(): Adding '/music/Mofro/Blackwater/01 Blackwater.m4a' to the list
Jul 15 14:02:38.81862: server.c:643 req_play(): Playing /music/Mofro/Blackwater/01 Blackwater.m4a
Jul 15 14:02:38.82104: audio.c:389 play_thread(): entering playing thread
Jul 15 14:02:38.82229: audio.c:407 play_thread(): Playing item 0: /music/Mofro/Blackwater/01 Blackwater.m4a
Jul 15 14:02:38.82277: out_buf.c:323 out_buf_reset(): resetting the buffer
Jul 15 14:02:38.82303: player.c:335 precache_wait(): Precache thread is not running
Jul 15 14:02:38.82329: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:38.97446: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:38.97836: audio.c:1042 audio_plist_set_time(): Setting time for /music/Mofro/Blackwater/01 Blackwater.m4a
Jul 15 14:02:38.97989: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:38.98119: player.c:446 decode_loop(): No get_stream() function
Jul 15 14:02:38.98215: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:38.98296: player.c:451 decode_loop(): loop...
Jul 15 14:02:38.98431: ffmpeg.c:273 ffmpeg_decode(): Got 7B packet
Jul 15 14:02:38.99150: ffmpeg.c:281 ffmpeg_decode(): Decoded 0B
Jul 15 14:02:38.99403: ffmpeg.c:303 ffmpeg_decode(): Copying 0B (0B filled)
Jul 15 14:02:38.99542: ffmpeg.c:273 ffmpeg_decode(): Got 396B packet
Jul 15 14:02:38.100254: ffmpeg.c:281 ffmpeg_decode(): Decoded 4096B
Jul 15 14:02:38.100447: ffmpeg.c:303 ffmpeg_decode(): Copying 4096B (4096B filled)
Jul 15 14:02:38.100547: player.c:492 decode_loop(): decoded 4096 bytes
Jul 15 14:02:38.100634: player.c:161 bitrate_list_add(): Adding bitrate 136 at time 0
Jul 15 14:02:38.100719: player.c:563 decode_loop(): sound parameters has changed.
Jul 15 14:02:38.100800: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:38.100881: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:38.100961: out_buf.c:399 out_buf_wait(): Waiting for read thread to suspend...
Jul 15 14:02:38.101038: out_buf.c:408 out_buf_wait(): done
Jul 15 14:02:38.101135: audio.c:247 sfmt_best_matching(): Choosed 16-bit signed little-endian (native) as the best matching 16-bit signed little-endian (native)
Jul 15 14:02:38.106331: alsa.c:415 alsa_open(): Set rate to 44100
Jul 15 14:02:38.107455: alsa.c:461 alsa_open(): Buffer time: 52684us
Jul 15 14:02:38.107638: alsa.c:472 alsa_open(): Chunk size: 3760
Jul 15 14:02:38.107735: alsa.c:482 alsa_open(): ALSA device initialized
Jul 15 14:02:38.107827: audio.c:708 audio_open(): Requested sound parameters: 16-bit signed little-endian (native), 2 channels, 44100Hz
Jul 15 14:02:38.107915: audio.c:713 audio_open(): Driver sound parameters: 16-bit signed little-endian (native), 2 channels, 44100Hz
Jul 15 14:02:38.108080: player.c:451 decode_loop(): loop...
Jul 15 14:02:38.108170: player.c:557 decode_loop(): putting into the buffer 4096 bytes
Jul 15 14:02:38.106604: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:38.108367: server.c:587 send_events(): Flushing events for client 0
Jul 15 14:02:38.108499: server.c:223 client_unlock(): Lock released by client with fd 7
Jul 15 14:02:38.108616: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:38.108732: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:38.110126: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:38.110329: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:38.110430: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:38.122545: alsa.c:583 alsa_play(): Got 4096 bytes to play
Jul 15 14:02:38.122655: alsa.c:595 alsa_play(): Copied 4096 bytes to alsa_buf (now is filled with 4096 bytes)
Jul 15 14:02:38.123065: alsa.c:540 play_buf_chunks(): Played 3760 bytes
Jul 15 14:02:38.123101: alsa.c:544 play_buf_chunks(): 336 bytes remain in alsa_buf
Jul 15 14:02:38.123126: alsa.c:601 alsa_play(): Played everything
Jul 15 14:02:38.123289: player.c:451 decode_loop(): loop...
Jul 15 14:02:38.123413: ffmpeg.c:273 ffmpeg_decode(): Got 18B packet
Jul 15 14:02:38.124008: ffmpeg.c:281 ffmpeg_decode(): Decoded 4096B
Jul 15 14:02:38.124191: ffmpeg.c:303 ffmpeg_decode(): Copying 4096B (4096B filled)
Jul 15 14:02:38.124285: player.c:492 decode_loop(): decoded 4096 bytes
Jul 15 14:02:38.124371: player.c:181 bitrate_list_add(): Not adding bitrate 6 at time 0 because it is for the same time as the last bitrate
Jul 15 14:02:38.124457: player.c:557 decode_loop(): putting into the buffer 4096 bytes
Jul 15 14:02:38.124602: alsa.c:583 alsa_play(): Got 4096 bytes to play
Jul 15 14:02:38.124648: alsa.c:595 alsa_play(): Copied 4096 bytes to alsa_buf (now is filled with 4432 bytes)
Jul 15 14:02:38.124982: alsa.c:540 play_buf_chunks(): Played 3760 bytes
Jul 15 14:02:38.125011: alsa.c:544 play_buf_chunks(): 672 bytes remain in alsa_buf
Jul 15 14:02:38.125034: alsa.c:601 alsa_play(): Played everything
Jul 15 14:02:38.125204: player.c:451 decode_loop(): loop...
Jul 15 14:02:38.125333: ffmpeg.c:273 ffmpeg_decode(): Got 10B packet
Jul 15 14:02:38.125904: ffmpeg.c:281 ffmpeg_decode(): Decoded 4096B
Jul 15 14:02:38.126086: ffmpeg.c:303 ffmpeg_decode(): Copying 4096B (4096B filled)
Jul 15 14:02:38.126182: player.c:492 decode_loop(): decoded 4096 bytes
Jul 15 14:02:38.126307: player.c:181 bitrate_list_add(): Not adding bitrate 3 at time 0 because it is for the same time as the last bitrate
Jul 15 14:02:38.126397: player.c:557 decode_loop(): putting into the buffer 4096 bytes
Jul 15 14:02:38.126548: alsa.c:583 alsa_play(): Got 4096 bytes to play
Jul 15 14:02:38.126595: alsa.c:595 alsa_play(): Copied 4096 bytes to alsa_buf (now is filled with 4768 bytes)
Jul 15 14:02:38.126914: alsa.c:540 play_buf_chunks(): Played 3760 bytes
Jul 15 14:02:38.126941: alsa.c:544 play_buf_chunks(): 1008 bytes remain in alsa_buf
Jul 15 14:02:38.126965: alsa.c:601 alsa_play(): Played everything
Jul 15 14:02:38.127136: player.c:451 decode_loop(): loop...
Jul 15 14:02:38.127263: ffmpeg.c:273 ffmpeg_decode(): Got 10B packet
Jul 15 14:02:38.127810: ffmpeg.c:281 ffmpeg_decode(): Decoded 4096B
Jul 15 14:02:38.134746: ffmpeg.c:303 ffmpeg_decode(): Copying 4096B (4096B filled)
MORE BUFFERING/PLAYING MESSAGES FROM FFMPEG
Jul 15 14:02:39.902846: player.c:451 decode_loop(): loop...
Jul 15 14:02:39.902922: player.c:507 decode_loop(): waiting...
Jul 15 14:02:39.918515: alsa.c:540 play_buf_chunks(): Played 3760 bytes
Jul 15 14:02:39.921052: audio.c:474 audio_stop(): audio_stop()
Jul 15 14:02:39.921118: player.c:807 player_stop(): requesting stop
Jul 15 14:02:39.921154: audio.c:479 audio_stop(): pthread_join(playing_thread, NULL)
Jul 15 14:02:39.921559: player.c:522 decode_loop(): stop
Jul 15 14:02:39.921683: out_buf.c:306 out_buf_stop(): stopping the buffer
Jul 15 14:02:39.921780: out_buf.c:311 out_buf_stop(): sending signal
Jul 15 14:02:39.921856: out_buf.c:313 out_buf_stop(): waiting for signal
Jul 15 14:02:39.939873: alsa.c:540 play_buf_chunks(): Played 3760 bytes
Jul 15 14:02:39.961124: alsa.c:540 play_buf_chunks(): Played 3760 bytes
Jul 15 14:02:39.982461: alsa.c:540 play_buf_chunks(): Played 3760 bytes
Jul 15 14:02:39.982512: alsa.c:544 play_buf_chunks(): 3296 bytes remain in alsa_buf
Jul 15 14:02:39.982550: alsa.c:601 alsa_play(): Played everything
Jul 15 14:02:39.982762: out_buf.c:315 out_buf_stop(): done
Jul 15 14:02:39.982959: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:39.983239: player.c:133 bitrate_list_empty(): Bitrate list elements removed.
Jul 15 14:02:39.983351: out_buf.c:399 out_buf_wait(): Waiting for read thread to suspend...
Jul 15 14:02:39.983430: out_buf.c:408 out_buf_wait(): done
Jul 15 14:02:39.983506: player.c:782 player(): exiting
Jul 15 14:02:39.983584: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:39.983662: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:39.983741: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:39.983820: audio.c:443 play_thread(): stopped
Jul 15 14:02:39.983916: server.c:257 wake_up_server(): Waking up the server
Jul 15 14:02:39.984200: alsa.c:572 alsa_close(): ALSA device closed
Jul 15 14:02:39.984317: audio.c:460 play_thread(): exiting
Jul 15 14:02:39.984463: audio.c:485 audio_stop(): done stopping
Jul 15 14:02:39.984507: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:39.984535: server.c:587 send_events(): Flushing events for client 0
Jul 15 14:02:39.984637: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:39.984666: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:39.984694: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:39.984722: server.c:1422 server_loop(): Got 'wake up'
Jul 15 14:02:40.885858: server.c:1152 handle_command(): Client disconnected
Jul 15 14:02:40.885967: tags_cache.c:498 tags_cache_clear_queue(): Cleared requests queue for client 0
|
I wonder if this has been documented anywhere else? _________________ Alex James
"Physics is like sex: sure there are applications but that's not why we do it." --Richard Feynman |
|
| Back to top |
|
 |
anjames Tux's lil' helper


Joined: 30 Jul 2004 Posts: 111 Location: San Diego, CA
|
Posted: Tue Jul 15, 2008 9:29 pm Post subject: |
|
|
Also, since ffmpeg is the operational gadget here, I'll include my build details:
| Code: | anjames@tropic ~ $ eix -I ffmpeg
[I] media-video/ffmpeg
Available versions: 0.4.9_p20070616 ~0.4.9_p20070616-r1 ~0.4.9_p20070616-r2 [M]~0.4.9_p20080206 ~0.4.9_p20080326 {X a52 aac altivec amr bindist debug doc encode hardcoded-tables ieee1394 imlib ipv6 mmx mp3 network ogg oss sdl test theora threads truetype v4l vorbis x264 xvid zlib}
Installed versions: 0.4.9_p20070616(13:10:11 07/15/08)(X a52 aac amr encode mmx network ogg sdl vorbis zlib -altivec -debug -doc -ieee1394 -imlib -oss -test -theora -threads -truetype -v4l -x264 -xvid)
Homepage: http://ffmpeg.org/
Description: Complete solution to record, convert and stream audio and video. Includes libavcodec. svn revision 11878
|
_________________ Alex James
"Physics is like sex: sure there are applications but that's not why we do it." --Richard Feynman |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|