[FFmpeg-trac] #2265(undetermined:new): Some http addresses cannot be opened
FFmpeg
trac at avcodec.org
Tue Feb 12 23:53:52 CET 2013
#2265: Some http addresses cannot be opened
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git- | undetermined
master | Keywords: videolan
Blocked By: | http
Reproduced by developer: 0 | Blocking:
| Analyzed by developer: 0
-------------------------------------+-------------------------------------
(vlc ticket 8155)
The following two addresses play fine with firefox:
http://translate.google.com/translate_tts?tl=fr&q=l%E8vres
http://translate.google.com/translate_tts?tl=fr&q=l%E8vresa
FFmpeg only decodes the second:
{{{
$ ffmpeg -loglevel 99 -i
"http://translate.google.com/translate_tts?tl=fr&q=l%E8vres"
ffmpeg version N-49844-g1ac0fa5 Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 12 2013 23:51:40 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.103 / 54. 91.103
libavformat 54. 63.100 / 54. 63.100
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 37.101 / 3. 37.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav*
logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument
'http://translate.google.com/translate_tts?tl=fr&q=l%E8vres'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set libav* logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file
http://translate.google.com/translate_tts?tl=fr&q=l%E8vres.
Successfully parsed a group of options.
Opening an input file:
http://translate.google.com/translate_tts?tl=fr&q=l%E8vres.
[AVIOContext @ 0x2113460] Statistics: 0 bytes read, 0 seeks
http://translate.google.com/translate_tts?tl=fr&q=l%E8vres: Invalid data
found when processing input
}}}
{{{
$ ffmpeg -loglevel 99 -i
"http://translate.google.com/translate_tts?tl=fr&q=l%E8vresa"
ffmpeg version N-49844-g1ac0fa5 Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 12 2013 23:51:40 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.103 / 54. 91.103
libavformat 54. 63.100 / 54. 63.100
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 37.101 / 3. 37.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav*
logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument
'http://translate.google.com/translate_tts?tl=fr&q=l%E8vresa'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set libav* logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file
http://translate.google.com/translate_tts?tl=fr&q=l%E8vresa.
Successfully parsed a group of options.
Opening an input file:
http://translate.google.com/translate_tts?tl=fr&q=l%E8vresa.
[mp3 @ 0x1ba1520] Format mp3 probed with size=2048 and score=51
[mp3 @ 0x1ba1520] File position before avformat_find_stream_info() is 0
[mp3 @ 0x1ba1520] Estimating duration from bitrate, this may be inaccurate
[mp3 @ 0x1ba1520] File position after avformat_find_stream_info() is 4752
Input #0, mp3, from
'http://translate.google.com/translate_tts?tl=fr&q=l%E8vresa':
Duration: 00:00:01.19, start: 0.000000, bitrate: 32 kb/s
Stream #0:0, 33, 1/14112000: Audio: mp3, 16000 Hz, mono, s16p, 32 kb/s
Successfully opened the file.
At least one output file must be specified
Statistics: 4752 bytes read, 0 seeks
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2265>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list