#4069(avcodec:new): G.726 decode failure
#4069: G.726 decode failure ---------------------------------+-------------------------------------- Reporter: cgbug | Type: defect Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: g726 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- Sample: http://www.datafilehost.com/d/8bc5479e ffmpeg version N-67289-g7f24e1e Copyright (c) 2000-2014 the FFmpeg developers built on Oct 30 2014 00:04:25 with gcc 4.9.1 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable- libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable- libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable- libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib libavutil 54. 11.100 / 54. 11.100 libavcodec 56. 10.100 / 56. 10.100 libavformat 56. 11.100 / 56. 11.100 libavdevice 56. 2.100 / 56. 2.100 libavfilter 5. 2.100 / 5. 2.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 [g726 @ 02a0f7c0] Invalid number of bits 16 [mov,mp4,m4a,3gp,3g2,mj2 @ 02a07a00] Failed to open codec in av_find_stream_info [g726 @ 02a0f7c0] Invalid number of bits 16 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'g726.mp4': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 00:00:00 encoder : Lavf52.31.0 encoder-eng : Lavf52.31.0 Duration: 00:04:58.64, start: 0.000000, bitrate: 1750 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 800x600 [SAR 1:1 DAR 4:3], 1716 kb/s, 15 fps, 15 tbr, 100 tbn, 29.97 tbc (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : DataHandler Stream #0:1(eng): Audio: adpcm_g726 (ms[0]E / 0x4500736D), 8000 Hz, mono, 32 kb/s (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : DataHandler At least one output file must be specified -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4069: G.726 decode failure ------------------------------------+----------------------------------- Reporter: cgbug | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: g726 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Where did you find this file? Which software plays it? -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4069: G.726 in mov cannot be decoded ------------------------------------+------------------------------------ Reporter: cgbug | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: g726 mov | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: new => closed * reproduced: 0 => 1 * component: avcodec => avformat * keywords: g726 => g726 mov * resolution: => fixed Comment: I believe the file you uploaded does not conform to any specification and cannot be decoded without either a change to the file or the source code (that makes decoding other G.726 files impossible). Commit e6b7246a allows to write files that can be decoded by FFmpeg. They probably don't conform to any specification either. If you have a G.726 mp4 file that can be decoded by any other player, please upload it. If the file you uploaded can be decoded with any software, please tell us! -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4069: G.726 in mov cannot be decoded ------------------------------------+------------------------------------ Reporter: cgbug | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: g726 mov | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by compn): did not decode using binary codec from here: http://samples.mplayerhq.hu/A-codecs/g726/ also remuxing the audio didnt work (mencoder -oac copy > avi , ffmpeg avi
wav).
file looks like it was made by chinese security camera using lavf. we would have to have the software that came with the camera to figure out how to play this back. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4069: G.726 in mov cannot be decoded ------------------------------------+------------------------------------ Reporter: cgbug | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: g726 mov | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): How do you know that this file was muxed by a security camera and why do you think playback is possible with the camera software? It's not exactly difficult to play back the uploaded sample but imo it only makes sense if anything can play it. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4069: G.726 in mov cannot be decoded ------------------------------------+------------------------------------ Reporter: cgbug | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: g726 mov | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by compn): because the video is in a warehouse or store full of security cameras? and because the video has a timestamp, a classic sign of a video camera feed. i think playback is possible because even the worst security cameras at least have a crummy player application. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4069: G.726 in mov cannot be decoded ------------------------------------+------------------------------------ Reporter: cgbug | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: g726 mov | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cgbug): I did not create this file myself. All I know is that it was created by muxing raw streams taken from a camera with GStreamer. The fix you committed will probably prevent similar broken files from being created in the future. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4069: G.726 in mov cannot be decoded ------------------------------------+------------------------------------ Reporter: cgbug | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: g726 mov | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Thank you! -- Ticket URL: <https://trac.ffmpeg.org/ticket/4069#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg