From trac at avcodec.org Sat Oct 1 06:07:25 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 01 Oct 2011 04:07:25 -0000 Subject: [FFmpeg-trac] #466(undetermined:reopened): Does FFMPEG support MPEGTS + H.264? In-Reply-To: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> References: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> Message-ID: <056.d0cd5a484f8507c0f4052c39e6822e51@avcodec.org> #466: Does FFMPEG support MPEGTS + H.264? -------------------------------------+------------------------------------- Reporter: | Owner: sunshine_uyl | Status: reopened Type: defect | Component: Priority: normal | undetermined Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by sunshine_uyl): I got one brazil.ts with filesize less than 100MB today. And I have upload to http://www.datafilehost.com/download-5b15b1e7.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 1 13:24:11 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 01 Oct 2011 11:24:11 -0000 Subject: [FFmpeg-trac] #522(avformat:new): No audio in mp4 file - edit list support Message-ID: <036.fd21a9ad435137e75e99a21fcb72dffa@avcodec.org> #522: No audio in mp4 file - edit list support --------------------------------------+---------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 1 | Analyzed by developer: 0 --------------------------------------+---------------------------------- Attached file contains ~13 seconds of audio, playable with vlc and mplayer -demuxer mov, ffmpeg only decodes video. {{{ $ ffmpeg -i noaudio.mp4 out.wav ffmpeg version N-33192-gfe70c1f, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 12:36:37 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --enable-libopenjpeg libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8d3faa0] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8d3faa0] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8d3faa0] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8d3faa0] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8d3faa0] max_analyze_duration 5000000 reached at 5020000 Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'noaudio.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 206 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Output #0, wav, to 'out.wav': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 encoder : Lavf53.13.0 Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 1 channels, s16, 128 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream mapping: Stream #0.2 -> #0.0 (pcm_mulaw -> pcm_s16le) Press [q] to stop, [?] for help [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8d3faa0] stream 0, offset 0x177632: partial file size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:0kB global headers:0kB muxing overhead inf% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 1 14:05:58 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 01 Oct 2011 12:05:58 -0000 Subject: [FFmpeg-trac] #523(swresample:new): Assertion "channel_count == channel_count(channel_layout)" fails Message-ID: <036.c3931b83e16020a95d41838fbed42caf@avcodec.org> #523: Assertion "channel_count == channel_count(channel_layout)" fails --------------------------------------+------------------------------------ Reporter: cehoyos | Owner: michael Type: defect | Status: new Priority: important | Component: swresample Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+------------------------------------ Some AAC samples are detected as "2 channels (FC)", leading to an assert when converting to ac3. {{{ $ ffmpeg -i out.loas out.ac3 ffmpeg version N-33192-gfe70c1f, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 12:36:37 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --enable-libopenjpeg libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [loas @ 0x8d3faa0] max_analyze_duration 5000000 reached at 5034667 [loas @ 0x8d3faa0] Estimating duration from bitrate, this may be inaccurate Input #0, loas, from 'out.loas': Duration: N/A, bitrate: N/A Stream #0:0: Audio: aac_latm, 48000 Hz, 2 channels (FC), s16 Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [ac3 @ 0x8d46940] channel_layout not specified [ac3 @ 0x8d46940] No channel layout specified. The encoder will guess the layout, but it might be incorrect. Output #0, ac3, to 'out.ac3': Metadata: encoder : Lavf53.13.0 Stream #0:0: Audio: ac3, 48000 Hz, stereo, flt, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (aac_latm -> ac3) Press [q] to stop, [?] for help 0.707107 0.707107 Assertion in ->ch_count == av_get_channel_layout_nb_channels(s-> in_ch_layout) failed at libswresample/rematrix.c:231 Aborted }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 1 15:24:01 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 01 Oct 2011 13:24:01 -0000 Subject: [FFmpeg-trac] #466(undetermined:open): Does FFMPEG support MPEGTS + H.264? In-Reply-To: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> References: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> Message-ID: <056.bbf26c2cab9d6e759b736bbe25fe5a65@avcodec.org> #466: Does FFMPEG support MPEGTS + H.264? -------------------------------------+------------------------------------- Reporter: | Owner: sunshine_uyl | Status: open Type: defect | Component: Priority: normal | undetermined Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: reopened => open * version: unspecified => git-master * reproduced: 0 => 1 Comment: The file contains two programs: 59352, low resolution, works fine and is ~26 seconds long. The problematic program is 59328, high definition (1920x1080), it contains ~26 seconds audio starting with timestamps ~34616. Audio can be played with ffplay -vn, mplayer -demuxer lavf -novideo and can be converted with ffmpeg. Video is ~24 seconds, and start with 34618 when played with mplayer -demuxer mpegts -nosound (and seek back). FFmpeg initially sees video timestamps of 1317472613.58 leading to startup delay and failure because of too high drop count. (The wrong timestamps are not reproducible with ffprobe.) {{{ $ ffmpeg -i Brazil.ts -qscale 2 out.avi ffmpeg version N-33192-gfe70c1f, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 12:36:37 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --enable-libopenjpeg libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [h264 @ 0x8d449a0] non-existing SPS 0 referenced in buffering period [h264 @ 0x8d449a0] non-existing PPS referenced [h264 @ 0x8d449a0] non-existing SPS 0 referenced in buffering period [h264 @ 0x8d449a0] non-existing PPS 0 referenced [h264 @ 0x8d449a0] decode_slice_header error [h264 @ 0x8d449a0] no frame! ... [h264 @ 0x8d449a0] non-existing SPS 0 referenced in buffering period [h264 @ 0x8d449a0] non-existing PPS referenced [h264 @ 0x8d449a0] non-existing SPS 0 referenced in buffering period [h264 @ 0x8d449a0] non-existing PPS 0 referenced [h264 @ 0x8d449a0] decode_slice_header error [h264 @ 0x8d449a0] no frame! [h264 @ 0x8d449a0] mmco: unref short failure [h264 @ 0x8d86640] non-existing SPS 32 referenced in buffering period [h264 @ 0x8d86640] non-existing PPS referenced [h264 @ 0x8d86640] non-existing SPS 32 referenced in buffering period [h264 @ 0x8d86640] non-existing PPS 0 referenced [h264 @ 0x8d86640] decode_slice_header error [h264 @ 0x8d86640] no frame! [mpegts @ 0x8d3faa0] probed stream 5 failed [mpegts @ 0x8d3faa0] probed stream 8 failed [mpegts @ 0x8d3faa0] parser not found for codec none, packets or times may be invalid . Last message repeated 1 times [NULL @ 0x8d46140] start time is not set in estimate_timings_from_pts [NULL @ 0x8d46920] start time is not set in estimate_timings_from_pts [NULL @ 0x8d8c8a0] start time is not set in estimate_timings_from_pts [mpegts @ 0x8d3faa0] PES packet size mismatch Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Seems stream 7 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 29.97 (30000/1001) Input #0, mpegts, from 'Brazil.ts': Duration: 06:05:53.98, start: 12688.943522, bitrate: 35 kb/s Program 59328 Metadata: service_name : ?Record HD service_provider: Stream #0:0[0x111]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 148.90 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x112]: Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, s16 Stream #0:2[0x113]: Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, s16 Stream #0:3[0x384]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:4[0x1f4]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:5[0x120]: Unknown: none ([6][0][0][0] / 0x0006) Program 59352 Metadata: service_name : ?Record 1Seg service_provider: Stream #0:7[0x281]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 320x180 [SAR 1:1 DAR 16:9], 38.96 fps, 29.97 tbr, 90k tbn, 29.97 tbc Stream #0:6[0x283]: Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, 2 channels (FC), s16 Stream #0:8[0x290]: Unknown: none ([6][0][0][0] / 0x0006) [buffer @ 0x8e0eba0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' Output #0, avi, to 'out.avi': Metadata: ISFT : Lavf53.13.0 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 59.94 tbn, 59.94 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, flt, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg4) Stream #0.1 -> #0.1 (aac_latm -> ac3) Press [q] to stop, [?] for help [h264 @ 0x8d449a0] mmco: unref short failure Last message repeated 2 times frame= 194 fps= 3 q=2.0 size= 427kB time=00:00:26.27 bitrate= 133.0kbits/s PES packet size mismatch [h264 @ 0x8d449a0] error while decoding MB 55 5, bytestream (-19) Error while decoding stream #0.1 Too large number of skiped frames 1315522 frame= 198 fps= 3 q=2.0 Lsize= 428kB time=00:00:26.36 bitrate= 133.0kbits/s video:19722kB audio:412kB global headers:0kB muxing overhead -97.873377% }}} Cutting the file like this solves all problems: {{{ dd if=Brazil.ts of=test.ts bs=1M skip=72 }}} Cutting only 71M does not really help. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 2 16:24:34 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 02 Oct 2011 14:24:34 -0000 Subject: [FFmpeg-trac] #524(undetermined:new): AVC-Intra in mov not supported Message-ID: <036.de05c6dcb04d9a9f58523bc5e44fc5c4@avcodec.org> #524: AVC-Intra in mov not supported -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: | Status: new enhancement | Component: Priority: wish | undetermined Version: git- | Keywords: master | Blocking: Blocked By: | Analyzed by developer: 0 Reproduced by developer: 0 | -------------------------------------+------------------------------------- http://www.datafilehost.com/download-733cd412.html The file is supposed to be AVC-Intra, cannot be decoded with FFmpeg. {{{ $ ffmpeg -i AVCI50.mov ffmpeg version N-33192-gfe70c1f, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 12:36:37 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --enable-libopenjpeg libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Seems stream 0 codec frame rate differs from container frame rate: 29970.00 (29970/1) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AVCI50.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-09-29 14:51:08 Duration: 00:00:18.01, start: 0.000000, bitrate: 57269 kb/s Stream #0:0(eng): Video: none (AVin / 0x6E695641), 1920x1080, 55731 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 29970 tbc Metadata: creation_time : 2011-09-29 14:51:08 Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s Metadata: creation_time : 2011-09-29 14:51:08 Stream #0:2(eng): Data: none (tmcd / 0x64636D74) Metadata: creation_time : 2011-09-29 14:51:14 At least one output file must be specified }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 2 16:44:14 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 02 Oct 2011 14:44:14 -0000 Subject: [FFmpeg-trac] #525(undetermined:new): Avid 1:1 10-bit RGB Packer not supported Message-ID: <036.efd0f44d58ec345889c156c5073dc4de@avcodec.org> #525: Avid 1:1 10-bit RGB Packer not supported -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: | Status: new enhancement | Component: Priority: wish | undetermined Version: git- | Keywords: master | Blocking: Blocked By: | Analyzed by developer: 0 Reproduced by developer: 0 | -------------------------------------+------------------------------------- http://www.datafilehost.com/download-c74055aa.html {{{ $ ffmpeg -i Avid11RGB_cut.mov ffmpeg version N-33192-gfe70c1f, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 12:36:37 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --enable-libopenjpeg libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Seems stream 0 codec frame rate differs from container frame rate: 29970.00 (29970/1) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Avid11RGB_cut.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-09-29 15:16:51 Duration: 00:00:03.93, start: 0.000000, bitrate: 106528 kb/s Stream #0:0(eng): Video: none (AVrp / 0x70725641), 1920x1080, 1988665 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 29970 tbc Metadata: creation_time : 2011-09-29 15:16:51 Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s Metadata: creation_time : 2011-09-29 15:16:51 Stream #0:2(eng): Data: none (tmcd / 0x64636D74) Metadata: creation_time : 2011-09-29 15:17:08 At least one output file must be specified }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 07:20:23 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 05:20:23 -0000 Subject: [FFmpeg-trac] #526(avdevice:new): wrong CDIOContext define Message-ID: <037.a663bff066991b908e0d508a6e7bd540@avcodec.org> #526: wrong CDIOContext define ----------------------------------+--------------------------------------- Reporter: chinshou | Type: defect Status: new | Priority: critical Component: avdevice | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- CDIOContext is lack of a member of AVClass* . which will cause av_close_input_file call to fail. I have attached the patch. regards chinshou -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 09:48:09 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 07:48:09 -0000 Subject: [FFmpeg-trac] #504(undetermined:new): Fixing av_seek_frame In-Reply-To: <036.2801e00ccc485f2e996f72d33e225226@avcodec.org> References: <036.2801e00ccc485f2e996f72d33e225226@avcodec.org> Message-ID: <051.c8513f53c97cf4f95e7b9fb4e00a7358@avcodec.org> #504: Fixing av_seek_frame -------------------------------------+------------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by DonMoir): I am side tracked at the moment having to do some other work but this issue is important to me and I am sure for others. The first pass at this was to indentify some of the problems. I will be getting back to this soon and will dig deeper to see if I can come up with some solutions. In the previous posts, there are some comments or questions made and if you have any information on those it would be useful to know what you think. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 11:02:07 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 09:02:07 -0000 Subject: [FFmpeg-trac] #498(undetermined:reopened): Invalid pixel aspect ratio encoding mpeg4 In-Reply-To: <036.e28569fb72526edc47da55a01d80da6a@avcodec.org> References: <036.e28569fb72526edc47da55a01d80da6a@avcodec.org> Message-ID: <051.680a844ed9242ff778d898b43312eb1c@avcodec.org> #498: Invalid pixel aspect ratio encoding mpeg4 -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: reopened Priority: important | Component: Version: git-master | undetermined Keywords: regression | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: closed => reopened * resolution: fixed => Comment: Still fails with -vf scale: {{{ $ ffmpeg -i PAR1035.avi -vf scale=640:360 out.avi ffmpeg version N-33240-ga5dfeb6, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 3 2011 10:53:02 with gcc 4.5.3 configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001) Input #0, avi, from 'PAR1035.avi': Metadata: encoder : Lavf53.4.0 Duration: 00:04:57.16, start: 0.000000, bitrate: 2 kb/s Stream #0:0: Video: mpeg4 (Simple Profile) (DX50 / 0x30355844), yuv420p, 720x406 [SAR 1:1 DAR 360:203], 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 192 kb/s [buffer @ 0x8cf2220] w:720 h:406 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [scale @ 0x8cef720] w:720 h:406 fmt:yuv420p -> w:640 h:360 fmt:yuv420p flags:0x4 Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [mpeg4 @ 0x8ce5f20] Invalid pixel aspect ratio 405/406, limit is 255/255 reducing [avi @ 0x8cc8220] Aspect ratio mismatch between encoder and muxer layer Output #0, avi, to 'out.avi': Metadata: encoder : Lavf53.4.0 Stream #0:0: Video: mpeg4, yuv420p, 640x360 [SAR 254:255 DAR 4064:2295], q=2-31, 200 kb/s, SAR 405:406 DAR 360:203, 90k tbn, 29.97 tbc Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (mpeg4 -> mpeg4) Stream #0.1 -> #0.1 (mp3 -> ac3) Could not write header for output file #0 (incorrect codec parameters ?) }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 11:04:48 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 09:04:48 -0000 Subject: [FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate Message-ID: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> #527: NellyMoser codec reports zero frame size and bitrate -------------------------------------+------------------------------------- Reporter: DrLex | Type: defect Status: new | Priority: normal Component: avcodec | Version: Keywords: nellymoser | unspecified codec | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- While trying to play live streams that use the NellyMoser ASAO codec, we noticed that every player that uses libavformat for this (e.g. ffplay, mplayer, vlc) will freeze until the stream is interrupted. It will then play all audio that was buffered in the meantime. We traced this down to enc->frame_size being set to zero in get_audio_frame_size() in libavformat/utils.c when trying to parse the stream. If we force frame_size to some value larger than 1, the stream will play. Probably related is that the bitrate for Nellymoser streams is reported as zero as well. Yet it is easy to know the bitrate for this codec once the sampling rate is known: it is twice the sampling rate. We did not further look into this because it was easier to switch our stream source to Speex, but it does not seem too hard to fix. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 11:14:36 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 09:14:36 -0000 Subject: [FFmpeg-trac] #312(avcodec:open): Invalid reads in ff_h264_pred_direct_motion() when decoding corrupt H264 sample In-Reply-To: <036.5141283b91d05cdb9e91000a4b1f83c3@avcodec.org> References: <036.5141283b91d05cdb9e91000a4b1f83c3@avcodec.org> Message-ID: <051.1822b26fa6df5282e17b6f77081d1359@avcodec.org> #312: Invalid reads in ff_h264_pred_direct_motion() when decoding corrupt H264 sample ------------------------------------+----------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: h264 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => open Comment: Still reproducible for another sample with 32bit ffmpeg: {{{ $ valgrind ./ffmpeg_g -i test.h264 -f null - ffmpeg version N-33240-ga5dfeb6, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 3 2011 10:53:02 with gcc 4.5.3 configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' ... ==14866== Invalid read of size 2 ==14866== at 0x8270360: ff_h264_pred_direct_motion (h264_direct.c:377) ==14866== Address 0xe40f900 is not stack'd, malloc'd or (recently) free'd ==14866== ==14866== Invalid read of size 2 ==14866== at 0x8270370: ff_h264_pred_direct_motion (h264_direct.c:377) ==14866== Address 0xe40f902 is not stack'd, malloc'd or (recently) free'd ==14866== }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 11:42:04 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 09:42:04 -0000 Subject: [FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate In-Reply-To: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> References: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> Message-ID: <049.a380e8f69103241faf8ed38fc4e2f4f9@avcodec.org> #527: NellyMoser codec reports zero frame size and bitrate -------------------------------------+------------------------------------- Reporter: DrLex | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: nellymoser | Blocked By: codec | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Assuming it also fails, please add complete, uncut output of ffmpeg -i source out.wav -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 12:04:03 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 10:04:03 -0000 Subject: [FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate In-Reply-To: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> References: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> Message-ID: <049.cc30b9ec685fb103cb05d2a5e20d64bd@avcodec.org> #527: NellyMoser codec reports zero frame size and bitrate -------------------------------------+------------------------------------- Reporter: DrLex | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: nellymoser | Blocked By: codec | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by DrLex): There is not much to see in the output but here goes anyway: {{{ ffmpeg -i "rtmp://192.168.56.10:1935/Chopsticks/192.168.56.1.7 live=1" out.wav ffmpeg version 0.8.4, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 26 2011 17:37:01 with gcc 4.4.5 configuration: --prefix=/usr --enable-librtmp --enable-ffplay --enable- debug --disable-stripping libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 }}} Some quick debugging reveals that it never exits the for loop in av_find_stream_info() unless the stream is aborted at the source. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 12:11:01 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 10:11:01 -0000 Subject: [FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate In-Reply-To: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> References: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> Message-ID: <049.88e4c15679067b47b232e07940a2eee3@avcodec.org> #527: NellyMoser codec reports zero frame size and bitrate -------------------------------------+------------------------------------- Reporter: DrLex | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: nellymoser | Blocked By: codec | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by DrLex): If it is of any use, this is the output that follows when killing the stream at the source: {{{ [flv @ 0x9c4f360] Estimating duration from bitrate, this may be inaccurate Input #0, flv, from 'rtmp://192.168.56.10:1935/Chopsticks/192.168.56.1.7 live=1': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0.0: Audio: nellymoser, 22050 Hz, mono, s16 Output #0, wav, to '/home/drlex/out.wav': Metadata: encoder : Lavf53.4.0 Stream #0.0: Audio: pcm_s16le, 22050 Hz, mono, s16, 352 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help size= 124kB time=00:00:02.87 bitrate= 352.9kbits/s video:0kB audio:124kB global headers:0kB muxing overhead 0.034652% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 13:17:42 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 11:17:42 -0000 Subject: [FFmpeg-trac] #528(avcodec:new): Image corruption in H264 from DVB Message-ID: <038.76b123a8bc15a86f90c5ffd80efdec7a@avcodec.org> #528: Image corruption in H264 from DVB -------------------------------------+------------------------------------- Reporter: heleppkes | Type: defect Status: new | Priority: normal Component: avcodec | Version: git- Keywords: h264 | master artifact corruption | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Hi, following sample shows image corruption during decoding/transcoding/playback. The problem can be seen both with ffmpeg (after transcode into .avi for example), or with ffplay during playback. The problem occurs around 3 seconds into playback, when the laptop keyboard is shown, as well as briefly before the scene switch. Sample link: http://files.1f0.de/samples/BBCOneHD20110921_21161.ts Full ffmpeg output: ffmpeg version N-33213-g2a9046c, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 2 2011 10:30:12 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable- libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable- libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS referenced [h264 @ 03DFB180] non-existing SPS 0 referenced in buffering period [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] non-existing PPS 0 referenced [h264 @ 03DFB180] decode_slice_header error [h264 @ 03DFB180] no frame! [mpegts @ 01B191A0] PES packet size mismatch [mpegts @ 01B191A0] Could not find codec parameters (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, s16) [mpegts @ 01B191A0] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B)) Last message repeated 3 times [mpegts @ 01B191A0] Could not find codec parameters (Unknown: none ([5][0][0][0] / 0x0005)) Last message repeated 9 times [NULL @ 01B1FA40] start time is not set in estimate_timings_from_pts [NULL @ 03E015C0] start time is not set in estimate_timings_from_pts [NULL @ 03E078E0] start time is not set in estimate_timings_from_pts [NULL @ 03E0D9C0] start time is not set in estimate_timings_from_pts [NULL @ 03E13AC0] start time is not set in estimate_timings_from_pts [NULL @ 03E19A20] start time is not set in estimate_timings_from_pts [NULL @ 03E1FAE0] start time is not set in estimate_timings_from_pts [NULL @ 03E25AE0] start time is not set in estimate_timings_from_pts [NULL @ 03E2BA80] start time is not set in estimate_timings_from_pts [NULL @ 03E319C0] start time is not set in estimate_timings_from_pts [NULL @ 03E37AA0] start time is not set in estimate_timings_from_pts [NULL @ 03E3DA00] start time is not set in estimate_timings_from_pts [NULL @ 03E43AE0] start time is not set in estimate_timings_from_pts [NULL @ 03E49A80] start time is not set in estimate_timings_from_pts [NULL @ 03E8AFA0] start time is not set in estimate_timings_from_pts [NULL @ 03E9C380] start time is not set in estimate_timings_from_pts [NULL @ 03EA2280] start time is not set in estimate_timings_from_pts [mpegts @ 01B191A0] PES packet size mismatch Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Input #0, mpegts, from 'BBCOneHD20110921_2116#1.ts': Duration: 00:00:05.40, start: 46167.342433, bitrate: 7635 kb/s Program 6941 Stream #0:0[0x1518]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 31.19 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x151a](NAR): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, s16 Stream #0:2[0x151b](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:3[0xf05]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:4[0xf06]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:5[0xf07]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:6[0xf08]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:7[0x151c](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Stream #0:8[0xf00]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:9[0xf01]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:10[0xf02]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:11[0xf03]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:12[0xf04]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:13[0x911]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:14[0x912]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:15[0x913]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:16[0x1519](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, s16, 192 kb/s Stream #0:17[0x919]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:18[0x91a]: Unknown: none ([5][0][0][0] / 0x0005) [buffer @ 040DFF60] w:1440 h:1080 pixfmt:yuv420p tb:1/1000000 sar:4/3 sws_param: Output #0, avi, to 'bbcone.avi': Metadata: ISFT : Lavf53.13.0 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 50 tbn, 50 tbc Stream #0:1(eng): Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg4) Stream #0.16 -> #0.1 (ac3 -> libmp3lame) Press [q] to stop, [?] for help frame= 20 fps= 0 q=31.0 size= 40kB time=00:00:01.89 bitrate= 172.8kbits/s frame= 53 fps= 52 q=31.0 size= 324kB time=00:00:03.43 bitrate= 773.1kbits/s PES packet size mismatch [h264 @ 03DFB180] error while decoding MB 41 32, bytestream (td) [h264 @ 03DFB180] concealing 3248 DC, 3248 AC, 3248 MV errors frame= 79 fps= 50 q=31.0 size= 600kB time=00:00:04.72 bitrate=1040.2kbits/s incomplete frame frame= 81 fps= 51 q=31.0 Lsize= 943kB time=00:00:04.87 bitrate=1585.7kbits/s video:846kB audio:76kB global headers:0kB muxing overhead 2.267769% -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 14:29:47 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 12:29:47 -0000 Subject: [FFmpeg-trac] #528(avcodec:open): Image corruption in H264 from DVB In-Reply-To: <038.76b123a8bc15a86f90c5ffd80efdec7a@avcodec.org> References: <038.76b123a8bc15a86f90c5ffd80efdec7a@avcodec.org> Message-ID: <053.1a4307cc387e7d4af865c861105db9e3@avcodec.org> #528: Image corruption in H264 from DVB -------------------------------------+------------------------------------- Reporter: heleppkes | Owner: Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: h264 | Blocked By: artifact corruption | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 Comment: The original sample shows 11 wrong frames after the scene change. This is reproducible with ticket528.264, which decodes ~33 frames correctly, then 11 wrong (framecrc: 0xcae18c42 - 0x9f3d95e7, bit-identical with the original sample), then 9 correct frames, all compared with the reference decoder. {{{ $ ffmpeg -i ticket528.264 -qscale 2 out.avi ffmpeg version N-33240-ga5dfeb6, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 3 2011 10:53:02 with gcc 4.5.3 configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [h264 @ 0x8cc7aa0] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2) Input #0, h264, from 'ticket528.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 28.07 fps, 25 tbr, 1200k tbn, 50 tbc [buffer @ 0x8ccfe20] w:1440 h:1080 pixfmt:yuv420p tb:1/1000000 sar:4/3 sws_param: [mpeg4 @ 0x8ccccc0] removing common factors from framerate Output #0, avi, to 'out.avi': Metadata: ISFT : Lavf53.13.0 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg4) Press [q] to stop, [?] for help frame= 52 fps= 34 q=2.0 Lsize= 1952kB time=00:00:02.08 bitrate=7687.5kbits/s dup=0 drop=2 video:1945kB audio:0kB global headers:0kB muxing overhead 0.352859% }}} ticket528short.264 contains all the corrupt frames from above (plus many frames before), but starts to decode in the middle of the originally corrupt block and outputs all frames correctly. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 14:49:49 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 12:49:49 -0000 Subject: [FFmpeg-trac] #498(undetermined:reopened): Invalid pixel aspect ratio encoding mpeg4 In-Reply-To: <036.e28569fb72526edc47da55a01d80da6a@avcodec.org> References: <036.e28569fb72526edc47da55a01d80da6a@avcodec.org> Message-ID: <051.34cfc9bc5fb509c16192432d6d246198@avcodec.org> #498: Invalid pixel aspect ratio encoding mpeg4 -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: reopened Priority: important | Component: Version: git-master | undetermined Keywords: regression | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:2 cehoyos]: > Still fails with -vf scale: Should have been: Still fails for a resolution that worked with earlier versions. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 14:50:26 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 12:50:26 -0000 Subject: [FFmpeg-trac] #524(undetermined:open): AVC-Intra in mov not supported In-Reply-To: <036.de05c6dcb04d9a9f58523bc5e44fc5c4@avcodec.org> References: <036.de05c6dcb04d9a9f58523bc5e44fc5c4@avcodec.org> Message-ID: <051.d655ec69151c8b4a40f537e2abc8f5bf@avcodec.org> #524: AVC-Intra in mov not supported -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: enhancement | Status: open Priority: wish | Component: Version: git-master | undetermined Keywords: H264 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => H264 * status: new => open -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 14:56:14 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 12:56:14 -0000 Subject: [FFmpeg-trac] #517(undetermined:open): Some SFD Gamecube/Wii videos produce corrupted video output In-Reply-To: <038.15e52aefcb3892e42a507e8918bba792@avcodec.org> References: <038.15e52aefcb3892e42a507e8918bba792@avcodec.org> Message-ID: <053.830747efa894da0adfe29ed3839e1f44@avcodec.org> #517: Some SFD Gamecube/Wii videos produce corrupted video output -------------------------------------+------------------------------------- Reporter: STaRGaZeR | Owner: Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: SFD MPEG | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 15:45:00 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 13:45:00 -0000 Subject: [FFmpeg-trac] #526(avdevice:closed): wrong CDIOContext define In-Reply-To: <037.a663bff066991b908e0d508a6e7bd540@avcodec.org> References: <037.a663bff066991b908e0d508a6e7bd540@avcodec.org> Message-ID: <052.567d1e50311464561420d54cde4ecb62@avcodec.org> #526: wrong CDIOContext define -------------------------------------+------------------------------------ Reporter: chinshou | Owner: Type: defect | Status: closed Priority: critical | Component: avdevice Version: unspecified | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by michael): * status: new => closed * resolution: => fixed Comment: locally applied, will be in ffmpeg git soon thanks -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 16:07:24 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 14:07:24 -0000 Subject: [FFmpeg-trac] #518(avformat:closed): The range of mpegts_pmt_start_pid is unnecessarily restrictive. In-Reply-To: <037.597007a395bff55be8b40b3c8f35f8e6@avcodec.org> References: <037.597007a395bff55be8b40b3c8f35f8e6@avcodec.org> Message-ID: <052.7bcc06c73bdfc10e7edccbab08f26c2c@avcodec.org> #518: The range of mpegts_pmt_start_pid is unnecessarily restrictive. -------------------------------------+------------------------------------- Reporter: linux_dr | Owner: michael Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: PMT PID | Blocked By: Video-on-Demand VOD | Reproduced by developer: 0 specifications MPEG Transport | Stream TS | Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed Comment: Patch applied, thanks -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 3 16:35:50 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 03 Oct 2011 14:35:50 -0000 Subject: [FFmpeg-trac] #498(undetermined:closed): Invalid pixel aspect ratio encoding mpeg4 In-Reply-To: <036.e28569fb72526edc47da55a01d80da6a@avcodec.org> References: <036.e28569fb72526edc47da55a01d80da6a@avcodec.org> Message-ID: <051.26d18d14554ce46d334eb75559199d36@avcodec.org> #498: Invalid pixel aspect ratio encoding mpeg4 -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: closed Priority: important | Component: Version: git-master | undetermined Keywords: regression | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by michael): * status: reopened => closed * resolution: => fixed Comment: Well thats what i get for guessing :) should be really fixed this time -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 03:35:51 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 01:35:51 -0000 Subject: [FFmpeg-trac] #519(avfilter:open): Integrate image stabilization filter In-Reply-To: <032.514e4173dd3fd7864ba7d7018c9588ab@avcodec.org> References: <032.514e4173dd3fd7864ba7d7018c9588ab@avcodec.org> Message-ID: <047.728b404e3c22d1964bf6751a9015c1ad@avcodec.org> #519: Integrate image stabilization filter -------------------------------------+------------------------------------ Reporter: rmk | Owner: Type: enhancement | Status: open Priority: wish | Component: avfilter Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by llogan): Michael added the deshake filter by Daniel G. Taylor today. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 09:59:35 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 07:59:35 -0000 Subject: [FFmpeg-trac] #519(avfilter:closed): Integrate image stabilization filter In-Reply-To: <032.514e4173dd3fd7864ba7d7018c9588ab@avcodec.org> References: <032.514e4173dd3fd7864ba7d7018c9588ab@avcodec.org> Message-ID: <047.26d83e3ca29539d59e44d3db4d76ed46@avcodec.org> #519: Integrate image stabilization filter -------------------------------------+------------------------------------ Reporter: rmk | Owner: Type: enhancement | Status: closed Priority: wish | Component: avfilter Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 10:15:43 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 08:15:43 -0000 Subject: [FFmpeg-trac] #276(FFplay:closed): FFPlay when compiled for arm and executed on BeagleBoard Xm + Angstrom gives segmentation fault In-Reply-To: <043.9c9c896f913302cb548bd5700c4c5ad8@avcodec.org> References: <043.9c9c896f913302cb548bd5700c4c5ad8@avcodec.org> Message-ID: <058.90479d094b01fa849cfa28b73321cc01@avcodec.org> #276: FFPlay when compiled for arm and executed on BeagleBoard Xm + Angstrom gives segmentation fault -------------------------------------+------------------------------------- Reporter: | Owner: michael luckynarang123 | Status: closed Type: defect | Component: FFplay Priority: normal | Resolution: fixed Version: unspecified | Blocked By: Keywords: | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by trandung0101): Replying to [comment:2 luckynarang123]: > We have found that ffplay has sdl dependancies....we have resolved those and any how generate the ffplay executable using codesourcery... I am trying to do the same thing but I can't build ffplay. After configuring as you said, I checked config.log and found nothing strange. I checked make.log and I found "CC ffmpeg" but I couldn't found "CC ffplay". I guess ffplay isn't compiled. Do you know why? Could you tell me how you build SDL and ffplay? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 12:08:00 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 10:08:00 -0000 Subject: [FFmpeg-trac] #529(avcodec:new): Regression: Decoding of AVCHD H.264 Material fails Message-ID: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails ---------------------------------+--------------------------------------- Reporter: rmk | Type: defect Status: new | Priority: important Component: avcodec | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+--------------------------------------- Any ffmpeg command line that requires decoding the video stream or invocation of ffplay fails with the assertion seen below: ffplay 00372.MTS ffplay version N-33271-g171a5b5, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 4 2011 11:21:06 with gcc 4.2.1 (Apple Inc. build 5664) configuration: libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [mpegts @ 0x101066400] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. Assertion failed: (s->last_picture_ptr==NULL || s->out_format != FMT_H264 || s->codec_id == CODEC_ID_SVQ3), function MPV_frame_start, file libavcodec/mpegvideo.c, line 1049. Abort trap I reproduced this with raw footage from the following cameras: Panasonic GH1 Panasonic GH2 Canon HF-100 Sony CX-6 I attached a short sample from the GH2 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 12:45:25 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 10:45:25 -0000 Subject: [FFmpeg-trac] #529(avcodec:new): Regression: Decoding of AVCHD H.264 Material fails In-Reply-To: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> References: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> Message-ID: <047.393dbfab2c289ccedcfcfa5fad4356e0@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails -------------------------------------+----------------------------------- Reporter: rmk | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Description changed by cehoyos: Old description: > Any ffmpeg command line that requires decoding the video stream or > invocation of ffplay fails with the assertion seen below: > > ffplay 00372.MTS > ffplay version N-33271-g171a5b5, Copyright (c) 2003-2011 the FFmpeg > developers > built on Oct 4 2011 11:21:06 with gcc 4.2.1 (Apple Inc. build 5664) > configuration: > libavutil 51. 19. 0 / 51. 19. 0 > libavcodec 53. 19. 0 / 53. 19. 0 > libavformat 53. 13. 0 / 53. 13. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 43. 6 / 2. 43. 6 > libswscale 2. 1. 0 / 2. 1. 0 > [mpegts @ 0x101066400] parser not found for codec hdmv_pgs_subtitle, > packets or times may be invalid. > Assertion failed: (s->last_picture_ptr==NULL || s->out_format != FMT_H264 > || s->codec_id == CODEC_ID_SVQ3), function MPV_frame_start, file > libavcodec/mpegvideo.c, line 1049. > Abort trap > > I reproduced this with raw footage from the following cameras: > Panasonic GH1 > Panasonic GH2 > Canon HF-100 > Sony CX-6 > > I attached a short sample from the GH2 New description: Any ffmpeg command line that requires decoding the video stream or invocation of ffplay fails with the assertion seen below: {{{ ffplay 00372.MTS ffplay version N-33271-g171a5b5, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 4 2011 11:21:06 with gcc 4.2.1 (Apple Inc. build 5664) configuration: libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [mpegts @ 0x101066400] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. Assertion failed: (s->last_picture_ptr==NULL || s->out_format != FMT_H264 || s->codec_id == CODEC_ID_SVQ3), function MPV_frame_start, file libavcodec/mpegvideo.c, line 1049. Abort trap }}} I reproduced this with raw footage from the following cameras: Panasonic GH1 Panasonic GH2 Canon HF-100 Sony CX-6 I attached a short sample from the GH2 -- -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 14:03:32 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 12:03:32 -0000 Subject: [FFmpeg-trac] #530(avfilter:new): segmentation fault while using vf_deshake Message-ID: <036.6a1d05f1cbf9857f7e9262aae646a0f8@avcodec.org> #530: segmentation fault while using vf_deshake ----------------------------------------+---------------------------------- Reporter: taeuber | Type: defect Status: new | Priority: normal Component: avfilter | Version: git Keywords: deshake filter | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------------+---------------------------------- Segmentaiton fault while using deshaker video filter -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 17:57:59 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 15:57:59 -0000 Subject: [FFmpeg-trac] #530(avfilter:open): segmentation fault while using vf_deshake In-Reply-To: <036.6a1d05f1cbf9857f7e9262aae646a0f8@avcodec.org> References: <036.6a1d05f1cbf9857f7e9262aae646a0f8@avcodec.org> Message-ID: <051.5868d4a7ed0694f88243f7560a58ff40@avcodec.org> #530: segmentation fault while using vf_deshake -------------------------------------+------------------------------------- Reporter: taeuber | Owner: Type: defect | Status: open Priority: important | Component: avfilter Version: git-master | Resolution: Keywords: deshake | Blocked By: filter | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * priority: normal => important * status: new => open * version: git => git-master * reproduced: 0 => 1 Comment: For future reports (it made absolutely no difference for this one): Please consider recompiling FFmpeg without --enable-shared to get a useful backtrace. Please do not use external libraries (like libx264) in your command line if they are not necessary to trigger the problem. Afaiu, the crash happens because the variable pos reaches with attached sample a value of 1348, overwriting the stack in "angles[pos++] = ..." (making the backtrace useless). To reproduce the crash, vf_deshake.o has to be compiled with at least -O2. {{{ ffmpeg -i out.avi -vf deshake -f null - ffmpeg version N-33271-g171a5b5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 4 2011 15:28:26 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --disable-optimizations libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Seems stream 0 codec frame rate differs from container frame rate: 5994.00 (5994/1) -> 0.08 (1/12) Input #0, avi, from 'out.avi': Metadata: encoder : Lavf53.13.0 Duration: 00:00:00.47, start: 0.000000, bitrate: 36494 kb/s Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x800, 0.08 tbr, 2997 tbn, 5994 tbc [buffer @ 0x145e200] w:1920 h:800 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [deshake @ 0x1452000] rx: 16, ry: 16, edge: 3 blocksize: 16 contrast: 125 search: 0 Output #0, null, to 'pipe:': Metadata: encoder : Lavf53.13.0 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x800, q=2-31, 200 kb/s, 90k tbn, 0.08 tbc Stream mapping: Stream #0.0 -> #0.0 (h264 -> rawvideo) Press [q] to stop, [?] for help Segmentation fault1 q=0.0 size= -0kB time=00:00:24.00 bitrate= -0.0kbits/s dup=0 drop=10 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 18:12:10 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 16:12:10 -0000 Subject: [FFmpeg-trac] #529(avcodec:new): Regression: Decoding of AVCHD H.264 Material fails In-Reply-To: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> References: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> Message-ID: <047.4f80916fe6f37c38cd6b7feeae767991@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails -------------------------------------+----------------------------------- Reporter: rmk | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by cehoyos): I cannot reproduce this problem on ia32, intel64 (both Linux) and ppc (OS X 10.5): {{{ $ ffplay 00372.MTS -autoexit ffplay version N-33271-g171a5b5, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 4 2011 15:28:26 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --disable-optimizations libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [mpegts @ 0x148c080] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. Input #0, mpegts, from '00372.MTS': Duration: 00:00:01.44, start: 0.732767, bitrate: 8567 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) 2.21 A-V: 0.000 s:0.5 aq= 0KB vq= 0KB sq= 0B f=0/0 f=0/0 cehoyos at flitwick:~> Projects/FFmpeg/ffplay 00372.MTS -autoexit ffplay version N-33271-g171a5b5, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 4 2011 18:04:09 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [mpegts @ 0x1308080] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. Input #0, mpegts, from '00372.MTS': Duration: 00:00:01.44, start: 0.732767, bitrate: 8567 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) 2.22 A-V: 0.000 s:0.1 aq= 0KB vq= 0KB sq= 0B f=0/0 f=0/0 }}} {{{ $ ffmpeg -i 00372.MTS -f null - ffmpeg version N-33271-g171a5b5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 4 2011 15:46:58 with gcc 4.2.1 (Apple Inc. build 5577) configuration: --cc=gcc-4.2 libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [mpegts @ 0x1002600] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. Input #0, mpegts, from '00372.MTS': Duration: 00:00:01.44, start: 0.732767, bitrate: 8567 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) [buffer @ 0xd0a8c0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Output #0, null, to 'pipe:': Metadata: encoder : Lavf53.13.0 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 50 tbc Stream #0:1: Audio: pcm_s16be, 48000 Hz, stereo, s16, 1536 kb/s Stream mapping: Stream #0.0 -> #0.0 (h264 -> rawvideo) Stream #0.1 -> #0.1 (ac3 -> pcm_s16be) Press [q] to stop, [?] for help frame= 72 fps= 24 q=0.0 Lsize= -0kB time=00:00:01.44 bitrate= -0.1kbits/s video:0kB audio:276kB global headers:0kB muxing overhead -100.007784% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 18:15:04 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 16:15:04 -0000 Subject: [FFmpeg-trac] #531(undetermined:new): failure to extract DVB-Teletext track (zero-length file) Message-ID: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> #531: failure to extract DVB-Teletext track (zero-length file) --------------------------------------+---------------------------------- Reporter: BrianEnigma | Type: defect Status: new | Priority: normal Component: undetermined | Version: git Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------------+---------------------------------- So I have two sets of transport stream files, one with a DVB-Sub subtitle track and one with a DVB-Teletext track. In both instances, there's an audio track, a video track, and a data track and ffmpeg recognizes all of them correctly. What I'd like to do is extract out just the data track (i.e. strip out the audio and video tracks) for analysis and post- processing. In the DVB-Sub case, I can do something like this (with both ffmpeg 0.8.4 and the latest git) and everything works as expected: ffmpeg -i file1.ts -vn -an -scodec copy -f rawvideo dvbsub.dat When I try to do the very same thing for the DVB-Teletext track, I always end up with a zero-length file. I know there should be data in there, as I've looked at the data PID in an analyzer and can see the content of the teletext payloads. Ffmpeg sees and recognizes the stream as dvb_teletext, but it doesn't seem to want to export it. Similarly, if I attempt to extract just a program (one audio, one video, one teletext subtitle, all using the "copy" codec) from a transport stream with multiple programs, I get audio and video, but a zero-length subtitle track in the output. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 18:30:09 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 16:30:09 -0000 Subject: [FFmpeg-trac] #531(undetermined:new): failure to extract DVB-Teletext track (zero-length file) In-Reply-To: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> References: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> Message-ID: <055.25919892c5db155764ad709ba143b4f3@avcodec.org> #531: failure to extract DVB-Teletext track (zero-length file) -------------------------------------+------------------------------------- Reporter: BrianEnigma | Owner: Type: defect | Status: new Priority: normal | Component: Version: git | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Complete, uncut output and sample missing. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 18:36:23 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 16:36:23 -0000 Subject: [FFmpeg-trac] #530(avfilter:closed): segmentation fault while using vf_deshake In-Reply-To: <036.6a1d05f1cbf9857f7e9262aae646a0f8@avcodec.org> References: <036.6a1d05f1cbf9857f7e9262aae646a0f8@avcodec.org> Message-ID: <051.228390a26eb9c4dadf868ffe2e825388@avcodec.org> #530: segmentation fault while using vf_deshake -------------------------------------+------------------------------------- Reporter: taeuber | Owner: Type: defect | Status: closed Priority: important | Component: avfilter Version: git-master | Resolution: fixed Keywords: deshake | Blocked By: filter | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed Comment: Locally fixed, will be pushed in a moment -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 18:44:30 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 16:44:30 -0000 Subject: [FFmpeg-trac] #531(undetermined:new): failure to extract DVB-Teletext track (zero-length file) In-Reply-To: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> References: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> Message-ID: <055.9832db66d57e4fb4b3667aa371ae24b6@avcodec.org> #531: failure to extract DVB-Teletext track (zero-length file) -------------------------------------+------------------------------------- Reporter: BrianEnigma | Owner: Type: defect | Status: new Priority: normal | Component: Version: git | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by BrianEnigma): Sample: http://netninja.com/junk/SEVEN_Digital_658M.trp -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 18:49:50 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 16:49:50 -0000 Subject: [FFmpeg-trac] #531(undetermined:new): failure to extract DVB-Teletext track (zero-length file) In-Reply-To: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> References: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> Message-ID: <055.a1e18f5ef983a2c0b02fbb3a96f8f55b@avcodec.org> #531: failure to extract DVB-Teletext track (zero-length file) -------------------------------------+------------------------------------- Reporter: BrianEnigma | Owner: Type: defect | Status: new Priority: normal | Component: Version: git | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by BrianEnigma): Output: {{{ [briane at briane-linux ffmpeg-0.8.4]$ ./ffmpeg_g -i SEVEN_Digital_658M.trp -vn -an -scodec copy -f rawvideo teletext.datffmpeg version 0.8.4, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 27 2011 15:48:37 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50) configuration: --disable-shared --enable-static libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 [mpeg2video @ 0x1e815860] mpeg_decode_postinit() failure Last message repeated 2 times [mpeg2video @ 0x1e84efc0] mpeg_decode_postinit() failure [mp3 @ 0x1e817800] Header missing [mpeg2video @ 0x1e848040] mpeg_decode_postinit() failure [mpeg2video @ 0x1e84efc0] mpeg_decode_postinit() failure [mpeg2video @ 0x1e848040] mpeg_decode_postinit() failure [mpeg2video @ 0x1e84efc0] mpeg_decode_postinit() failure [mpeg2video @ 0x1e815860] mpeg_decode_postinit() failure [mpeg2video @ 0x1e848040] mpeg_decode_postinit() failure [mpeg2video @ 0x1e84efc0] mpeg_decode_postinit() failure Last message repeated 4 times [mpeg2video @ 0x1e848040] mpeg_decode_postinit() failure [mpeg2video @ 0x1e84efc0] mpeg_decode_postinit() failure Last message repeated 3 times Input #0, mpegts, from 'SEVEN_Digital_658M.trp': Duration: 11:08:59.23, start: 31478.449933, bitrate: 137 kb/s Program 1312 Metadata: service_name : 7 Digital service_provider: Seven Network Stream #0.7[0x202]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Stream #0.0[0x204](eng): Subtitle: [6][0][0][0] / 0x0006 Stream #0.4[0x201]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25.94 fps, 25 tbr, 90k tbn, 50 tbc Program 1313 Metadata: service_name : 7 Digital 1 service_provider: Seven Network Stream #0.7[0x202]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Stream #0.0[0x204](eng): Subtitle: [6][0][0][0] / 0x0006 Stream #0.4[0x201]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25.94 fps, 25 tbr, 90k tbn, 50 tbc Program 1314 Metadata: service_name : 7 Digital 2 service_provider: Seven Network Stream #0.7[0x202]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Stream #0.0[0x204](eng): Subtitle: [6][0][0][0] / 0x0006 Stream #0.4[0x201]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25.94 fps, 25 tbr, 90k tbn, 50 tbc Program 1315 Metadata: service_name : 7 Digital 3 service_provider: Seven Network Stream #0.7[0x202]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Stream #0.0[0x204](eng): Subtitle: [6][0][0][0] / 0x0006 Stream #0.4[0x201]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25.94 fps, 25 tbr, 90k tbn, 50 tbc Program 1316 Metadata: service_name : 7 HD Digital service_provider: Seven Network Stream #0.0[0x204](eng): Subtitle: [6][0][0][0] / 0x0006 Stream #0.1[0x241]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9000 kb/s, 50.88 fps, 50 tbr, 90k tbn, 100 tbc Stream #0.2[0x242]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Stream #0.3[0x243]: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s Program 1318 Metadata: service_name : Program Guide service_provider: Seven Network Stream #0.6[0x261]: Video: mpeg2video (Main), yuv420p, 704x576 [PAR 16:11 DAR 16:9], 1262 kb/s, 30.32 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.5[0x262](eng): Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s Output #0, rawvideo, to 'teletext.dat': Metadata: encoder : Lavf53.4.0 Stream #0.0(eng): Subtitle: [6][0][0][0] / 0x0006 Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:0kB global headers:0kB muxing overhead nan% [briane at briane-linux ffmpeg-0.8.4]$ ls -l teletext.dat -rw-rw-r-- 1 briane briane 0 Oct 4 09:46 teletext.dat [briane at briane-linux ffmpeg-0.8.4]$ }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 22:51:34 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 20:51:34 -0000 Subject: [FFmpeg-trac] #407(avcodec:open): Assertion fails in h264_refs.c In-Reply-To: <038.1d53b7750b08f74dd11353ee223f910f@avcodec.org> References: <038.1d53b7750b08f74dd11353ee223f910f@avcodec.org> Message-ID: <053.df9cb4c288009a557c98d53aa7979362@avcodec.org> #407: Assertion fails in h264_refs.c -------------------------------------+------------------------------------- Reporter: redeemarr | Owner: Type: defect | Status: open Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: h264 | Blocked By: assertion | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by redeemarr): Frames from previous sample cause no problem now. But we still got problems with the assert. Also, I've seen crash in ff_put_pixels16_neon once (no sample was captured). New sample attached; -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 23:32:23 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 21:32:23 -0000 Subject: [FFmpeg-trac] #407(avcodec:closed): Assertion fails in h264_refs.c In-Reply-To: <038.1d53b7750b08f74dd11353ee223f910f@avcodec.org> References: <038.1d53b7750b08f74dd11353ee223f910f@avcodec.org> Message-ID: <053.9aa4a5aaed2d11abf851189c8d1c1eb0@avcodec.org> #407: Assertion fails in h264_refs.c -------------------------------------+------------------------------------- Reporter: redeemarr | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: h264 | Blocked By: assertion | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 23:34:40 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 21:34:40 -0000 Subject: [FFmpeg-trac] #532(avcodec:new): Assertion in h264_refs.c still fails Message-ID: <036.f5ed441055a8a349942e27db389fc38c@avcodec.org> #532: Assertion in h264_refs.c still fails --------------------------------------+--------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 1 | Analyzed by developer: 0 --------------------------------------+--------------------------------- Reported by redeemarr in ticket #407: {{{ $ ffmpeg -i assert2.h264 ffmpeg version N-33271-g171a5b5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 4 2011 18:09:28 with gcc 4.5.3 configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [h264 @ 0x8ccfd00] non-existing PPS 2 referenced [h264 @ 0x8ccfd00] decode_slice_header error [h264 @ 0x8ccfd00] insane cropping not completely supported, this could look slightly wrong ... (left: 0, top: 6) Last message repeated 1 times [h264 @ 0x8ccfd00] Missing reference picture [h264 @ 0x8ccfd00] decode_slice_header error [h264 @ 0x8ccfd00] mmco: unref short failure Assertion h->long_ref_count + h->short_ref_count <= h->sps.ref_frame_count failed at libavcodec/h264_refs.c:482 Aborted }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 23:41:10 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 21:41:10 -0000 Subject: [FFmpeg-trac] #529(avcodec:new): Regression: Decoding of AVCHD H.264 Material fails In-Reply-To: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> References: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> Message-ID: <047.efb65376fb167dd507d6bfe7b1eabe56@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails -------------------------------------+----------------------------------- Reporter: rmk | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by rmk): weird. I just did a clean recompile to make sure (make distclean;configure;make clean;make) and it does happen as described and it does not happen with a clean build of ffmbc-0.7rc2. Maybe someone else running OS X could verify? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 23:54:30 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 21:54:30 -0000 Subject: [FFmpeg-trac] #529(avcodec:new): Regression: Decoding of AVCHD H.264 Material fails In-Reply-To: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> References: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> Message-ID: <047.05aa4156d0bc76b41262259907fe30d1@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails -------------------------------------+----------------------------------- Reporter: rmk | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by cehoyos): Could you add some system information? And please try --cc=clang (and/or another gcc version if available). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 4 23:55:12 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 04 Oct 2011 21:55:12 -0000 Subject: [FFmpeg-trac] #529(avcodec:new): Regression: Decoding of AVCHD H.264 Material fails In-Reply-To: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> References: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> Message-ID: <047.cf445723c3f51d1e862b5137356f86b0@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails -------------------------------------+----------------------------------- Reporter: rmk | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by cehoyos): And since this is a regression for you, please find the version introducing it. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 03:19:07 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 01:19:07 -0000 Subject: [FFmpeg-trac] #532(avcodec:closed): Assertion in h264_refs.c still fails In-Reply-To: <036.f5ed441055a8a349942e27db389fc38c@avcodec.org> References: <036.f5ed441055a8a349942e27db389fc38c@avcodec.org> Message-ID: <051.b025e6dfcd81b65d45e5a855b2d941b9@avcodec.org> #532: Assertion in h264_refs.c still fails ------------------------------------+----------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by michael): * status: new => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 12:36:05 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 10:36:05 -0000 Subject: [FFmpeg-trac] #529(avcodec:new): Regression: Decoding of AVCHD H.264 Material fails In-Reply-To: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> References: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> Message-ID: <047.d036a70bc255d5465bbe1abe545cfe4c@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails -------------------------------------+----------------------------------- Reporter: rmk | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by rmk): After a colleague couldn't reproduce it on OS X, I did a clean git clone and it didn't happen here either. I thought git pull without errors + clean/distclean was sufficient but was obviously wrong. I apologize for time wasted and promise to always doublecheck with a clean git clone before I submit a bug report. Please close as invalid. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 12:48:32 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 10:48:32 -0000 Subject: [FFmpeg-trac] #529(avcodec:closed): Regression: Decoding of AVCHD H.264 Material fails In-Reply-To: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> References: <032.2858f47a258e3588067d5ddd4110db28@avcodec.org> Message-ID: <047.6ef98bb453750f868b8b29c7cad9b389@avcodec.org> #529: Regression: Decoding of AVCHD H.264 Material fails -------------------------------------+----------------------------------- Reporter: rmk | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: unspecified | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => invalid Comment: Thank you for the clarification. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 16:44:32 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 14:44:32 -0000 Subject: [FFmpeg-trac] #533(undetermined:new): Transcoding Astra DVBS video to x264 produces errors & poor-quality video Message-ID: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> #533: Transcoding Astra DVBS video to x264 produces errors & poor-quality video --------------------------------------+---------------------------------- Reporter: hoodzinger | Type: defect Status: new | Priority: normal Component: undetermined | Version: git Keywords: TS x264 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------------+---------------------------------- When I transcode DVBS streams to x264 from the Astra 2A/2B/2D satellites, I get a continuous band of distortion along the bottom edge of the picture, and occasional blocky breakup of other parts of the picture. This problem does not happen on the UK-Channel-4 "family" of channels, but happens on every other channel on those satellites. The problem happens both if I am transcoding a live TS stream or if I first capture the live stream to a TS file with Multicat, and then transcode the captured file. I have tried using both DVBlast and MuMuDVB and an Anevia Flamingo IRD device to capture the DVBS signal, and the problem happens in all 3 cases. I have also tried 2 different models of DVBS card (with different chipsets) and 2 separate sets of satellite dish equipment (at 2 different locations). The problem has occurred on several different versions of Ubuntu. The latest tests I have done are on Oneiric Beta 2 Server. My ffmpeg command line is: ffmpeg -y -er 4 -v 9 -loglevel 99 -i /home/administrator/dvblast2-output.ts -threads 0 -f mpegts -acodec libmp3lame -ar 48000 -ab 128k -s 720x480 -vcodec libx264 -vprofile main -preset fast -deinterlace -b 1900k -bt 200k -maxrate 1900k -bufsize 1900k -aspect 16:9 -g 30 -r 30 -async 2 /home/administrator/testff2.ts 2> /home/administrator/ff-log.txt Some files that can be used to recreate this bug: Video TS file & AUX file captured from DVBlast using Multicat: http://78.158.111.44/dvblast2-output.zip Video TS file produced by ffmpeg after it transcoded the above DVBlast file: http://78.158.111.44/testff2.ts Complete (large) log from ffmpeg: http://78.158.111.44/ff-log.txt Here's some snippets from the ffmpeg log: ffmpeg version N-32962-gcbf914c, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 26 2011 10:39:17 with gcc 4.6.1 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 17. 0 / 51. 17. 0 libavcodec 53. 17. 0 / 53. 17. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 5 / 2. 43. 5 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpegts @ 0x147e900] Format mpegts probed with size=2048 and score=100 [mpegts @ 0x147e900] stream=0 stream_type=2 pid=d04 prog_reg_desc= [mpegts @ 0x147e900] stream=1 stream_type=4 pid=d05 prog_reg_desc= [mpegts @ 0x147e900] stream=2 stream_type=4 pid=d06 prog_reg_desc= [mpegts @ 0x147e900] stream=3 stream_type=6 pid=93f prog_reg_desc= [mpegts @ 0x147e900] stream=4 stream_type=6 pid=940 prog_reg_desc= [mpegts @ 0x147e900] parser not found for codec dvb_teletext, packets or times may be invalid. [mp3 @ 0x1483440] Header missing [mp3 @ 0x1483da0] Header missing [mpeg2video @ 0x1482ae0] Unsupported bit depth: 0 [mpeg2video @ 0x1482ae0] end mismatch left=20 0 [mpeg2video @ 0x1482ae0] Warning MVs not available [mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors [mpegts @ 0x147e900] max_analyze_duration 5000000 reached at 5016000 [mpegts @ 0x147e900] PES packet size mismatch Last message repeated 1 times Input #0, mpegts, from '/home/administrator/dvblast2-output.ts': Duration: 00:00:17.00, start: 40553.856722, bitrate: 5129 kb/s Program 10070 Metadata: service_name : ITV2 service_provider: BSkyB Stream #0:0[0xd04], 119, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 1/50, 10000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0xd05](eng), 211, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0xd06](NAR), 204, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 128 kb/s Stream #0:3[0x93f](eng), 258, 1/90000: Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:4[0x940](eng), 3, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) [buffer @ 0x1482480] w:704 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/11 sws_param: [scale @ 0x1485de0] w:704 h:576 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4 [libx264 @ 0x14792c0] using mv_range_thread = 24 [libx264 @ 0x14792c0] using SAR=32/27 [libx264 @ 0x14792c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x14792c0] profile Main, level 3.0 [mpegts @ 0x1485e60] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to '/home/administrator/testff2.ts': Metadata: encoder : Lavf53.13.0 Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1/30, q=-1--1, 1900 kb/s, 90k tbn, 30 tbc Stream #0:1(eng), 0, 1/90000: Audio: mp3, 48000 Hz, stereo, s16, 1900 kb/s Stream mapping: Stream #0.0 -> #0.0 (mpeg2video -> libx264) Stream #0.1 -> #0.1 (mp2 -> libmp3lame) Press [q] to stop, [?] for help [mp2 @ 0x1483440] Header missing Error while decoding stream #0.1 adding 1152 audio samples of silence [mpeg2video @ 0x1482ae0] Unsupported bit depth: 0 [mpeg2video @ 0x1482ae0] end mismatch left=20 0 [mpeg2video @ 0x1482ae0] Warning MVs not available [mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors Last message repeated 1 times [mpeg2video @ 0x1482ae0] end mismatch left=25 0 [mpeg2video @ 0x1482ae0] Warning MVs not available [mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors *** 20 dup! [mpeg2video @ 0x1482ae0] end mismatch left=23 0 [mpeg2video @ 0x1482ae0] Warning MVs not available [mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors [mpeg2video @ 0x1482ae0] end mismatch left=28 0 [mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (341 562) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (631 563) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (325 562) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (357 562) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561) Last message repeated 3 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (647 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (646 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (646 562) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (646 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (309 562) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (341 562) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (339 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (341 562) Last message repeated 2 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (598 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (630 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (631 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (628 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (630 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (631 563) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (694 559) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (292 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (325 562) Last message repeated 2 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (612 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561) Last message repeated 2 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (309 562) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (598 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (613 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561) Last message repeated 2 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (613 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561) Last message repeated 2 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561) [mpeg2video @ 0x1482ae0] end mismatch left=25 0 [mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors *** 1 dup! --- [snip] --- [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (61 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (448 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (542 561) Last message repeated 2 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (577 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (79 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (111 560) Last message repeated 4 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (526 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (527 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (527 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (527 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (689 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (688 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (-1 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (0 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (0 560) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (31 560) Last message repeated 6 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (61 561) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560) Last message repeated 1 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (448 560) [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (542 561) Last message repeated 2 times [mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (577 560) *** 1 dup! [libx264 @ 0x14792c0] frame= 362 QP=21.51 NAL=2 Slice:P Poc:56 I:96 P:1096 SKIP:158 size=9498 bytes [libx264 @ 0x14792c0] frame= 363 QP=25.79 NAL=2 Slice:B Poc:54 I:47 P:532 SKIP:760 size=1984 bytes [mpeg2video @ 0x1482ae0] end mismatch left=12 0 [mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors [libx264 @ 0x14792c0] frame= 364 QP=26.41 NAL=0 Slice:B Poc:52 I:23 P:568 SKIP:751 size=1696 bytes [mpegts @ 0x147e900] PES packet size mismatch Last message repeated 1 times [mpeg2video @ 0x1482ae0] invalid mb type in B Frame at 15 20 [mpeg2video @ 0x1482ae0] concealing 704 DC, 704 AC, 704 MV errors [libx264 @ 0x14792c0] frame= 365 QP=22.67 NAL=2 Slice:P Poc:58 I:32 P:900 SKIP:418 size=4252 bytes [mp2 @ 0x1483440] incomplete frame Error while decoding stream #0.1 [libx264 @ 0x14792c0] frame= 366 QP=17.30 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=42509 bytes [libx264 @ 0x14792c0] frame= 367 QP=18.17 NAL=2 Slice:P Poc:2 I:0 P:117 SKIP:1233 size=255 bytes [libx264 @ 0x14792c0] frame= 368 QP=21.93 NAL=2 Slice:P Poc:6 I:122 P:1010 SKIP:218 size=8837 bytes [libx264 @ 0x14792c0] frame= 369 QP=23.15 NAL=0 Slice:B Poc:4 I:64 P:581 SKIP:698 size=2376 bytes [libx264 @ 0x14792c0] frame= 370 QP=22.18 NAL=2 Slice:P Poc:10 I:245 P:880 SKIP:225 size=8071 bytes [libx264 @ 0x14792c0] frame= 371 QP=25.69 NAL=0 Slice:B Poc:8 I:65 P:560 SKIP:716 size=1932 bytes [libx264 @ 0x14792c0] frame= 372 QP=21.63 NAL=2 Slice:P Poc:12 I:48 P:1122 SKIP:180 size=6753 bytes [libx264 @ 0x14792c0] frame= 373 QP=20.71 NAL=2 Slice:P Poc:14 I:4 P:155 SKIP:1191 size=496 bytes [libx264 @ 0x14792c0] frame= 374 QP=23.92 NAL=2 Slice:P Poc:18 I:318 P:809 SKIP:223 size=7249 bytes [libx264 @ 0x14792c0] frame= 375 QP=28.13 NAL=0 Slice:B Poc:16 I:144 P:437 SKIP:765 size=1918 bytes [libx264 @ 0x14792c0] frame= 376 QP=24.67 NAL=2 Slice:P Poc:22 I:468 P:663 SKIP:219 size=7136 bytes [libx264 @ 0x14792c0] frame= 377 QP=26.50 NAL=0 Slice:B Poc:20 I:185 P:514 SKIP:644 size=2701 bytes [libx264 @ 0x14792c0] frame= 378 QP=23.27 NAL=2 Slice:P Poc:24 I:265 P:925 SKIP:160 size=6979 bytes [libx264 @ 0x14792c0] frame= 379 QP=20.63 NAL=2 Slice:P Poc:26 I:3 P:143 SKIP:1204 size=395 bytes [libx264 @ 0x14792c0] frame= 380 QP=24.07 NAL=2 Slice:P Poc:30 I:332 P:851 SKIP:167 size=7810 bytes [libx264 @ 0x14792c0] frame= 381 QP=27.45 NAL=0 Slice:B Poc:28 I:116 P:647 SKIP:576 size=2438 bytes [libx264 @ 0x14792c0] frame= 382 QP=23.34 NAL=2 Slice:P Poc:34 I:195 P:908 SKIP:247 size=7514 bytes [libx264 @ 0x14792c0] frame= 383 QP=25.44 NAL=0 Slice:B Poc:32 I:87 P:600 SKIP:655 size=2029 bytes [libx264 @ 0x14792c0] frame= 384 QP=22.73 NAL=2 Slice:P Poc:36 I:102 P:983 SKIP:265 size=6351 bytes [libx264 @ 0x14792c0] frame= 385 QP=24.78 NAL=2 Slice:P Poc:38 I:5 P:176 SKIP:1169 size=531 bytes [libx264 @ 0x14792c0] frame= 386 QP=23.75 NAL=2 Slice:P Poc:42 I:159 P:838 SKIP:353 size=6530 bytes [libx264 @ 0x14792c0] frame= 387 QP=25.31 NAL=0 Slice:B Poc:40 I:101 P:585 SKIP:652 size=2193 bytes [libx264 @ 0x14792c0] frame= 388 QP=24.34 NAL=2 Slice:P Poc:44 I:125 P:863 SKIP:362 size=4121 bytes [libx264 @ 0x14792c0] frame= 389 QP=20.77 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=33292 bytes [libx264 @ 0x14792c0] frame= 390 QP=23.11 NAL=2 Slice:P Poc:2 I:271 P:825 SKIP:254 size=9585 bytes [libx264 @ 0x14792c0] frame= 391 QP=21.55 NAL=2 Slice:P Poc:4 I:3 P:162 SKIP:1185 size=516 bytes [libx264 @ 0x14792c0] frame= 392 QP=23.83 NAL=2 Slice:P Poc:8 I:444 P:814 SKIP:92 size=10444 bytes [libx264 @ 0x14792c0] frame= 393 QP=27.22 NAL=0 Slice:B Poc:6 I:164 P:612 SKIP:553 size=2934 bytes [libx264 @ 0x14792c0] frame= 394 QP=24.09 NAL=2 Slice:P Poc:10 I:338 P:863 SKIP:149 size=9521 bytes [libx264 @ 0x14792c0] frame= 395 QP=24.52 NAL=2 Slice:P Poc:12 I:284 P:899 SKIP:167 size=9610 bytes [libx264 @ 0x14792c0] frame= 396 QP=23.85 NAL=2 Slice:P Poc:14 I:265 P:1001 SKIP:84 size=11038 bytes [libx264 @ 0x14792c0] frame= 397 QP=23.36 NAL=2 Slice:P Poc:16 I:0 P:94 SKIP:1256 size=330 bytes [libx264 @ 0x14792c0] frame= 398 QP=25.08 NAL=2 Slice:P Poc:18 I:209 P:1028 SKIP:113 size=9999 bytes [libx264 @ 0x14792c0] frame= 399 QP=24.23 NAL=2 Slice:P Poc:22 I:458 P:862 SKIP:30 size=14825 bytes [libx264 @ 0x14792c0] frame= 400 QP=27.77 NAL=0 Slice:B Poc:20 I:171 P:646 SKIP:500 size=3681 bytes [libx264 @ 0x14792c0] frame= 401 QP=23.60 NAL=2 Slice:P Poc:26 I:452 P:858 SKIP:40 size=16239 bytes [libx264 @ 0x14792c0] frame= 402 QP=26.91 NAL=0 Slice:B Poc:24 I:117 P:664 SKIP:530 size=3496 bytes [libx264 @ 0x14792c0] frame= 403 QP=21.93 NAL=2 Slice:P Poc:28 I:0 P:108 SKIP:1242 size=476 bytes [libx264 @ 0x14792c0] frame= 404 QP=24.28 NAL=2 Slice:P Poc:30 I:161 P:1030 SKIP:159 size=10273 bytes [libx264 @ 0x14792c0] frame= 405 QP=24.12 NAL=2 Slice:P Poc:34 I:321 P:970 SKIP:59 size=15877 bytes [libx264 @ 0x14792c0] frame= 406 QP=27.90 NAL=0 Slice:B Poc:32 I:64 P:639 SKIP:611 size=3253 bytes [libx264 @ 0x14792c0] frame= 407 QP=23.65 NAL=2 Slice:P Poc:38 I:259 P:1003 SKIP:88 size=14918 bytes [libx264 @ 0x14792c0] frame= 408 QP=28.06 NAL=0 Slice:B Poc:36 I:36 P:502 SKIP:782 size=2201 bytes [libx264 @ 0x14792c0] frame= 409 QP=22.35 NAL=2 Slice:P Poc:40 I:1 P:103 SKIP:1246 size=426 bytes [libx264 @ 0x14792c0] frame= 410 QP=23.92 NAL=2 Slice:P Poc:44 I:144 P:1004 SKIP:202 size=10742 bytes [libx264 @ 0x14792c0] frame= 411 QP=28.91 NAL=0 Slice:B Poc:42 I:25 P:280 SKIP:1027 size=1241 bytes [libx264 @ 0x14792c0] frame= 412 QP=23.83 NAL=2 Slice:P Poc:48 I:78 P:1018 SKIP:254 size=9288 bytes [libx264 @ 0x14792c0] frame= 413 QP=27.40 NAL=0 Slice:B Poc:46 I:19 P:264 SKIP:1050 size=973 bytes [libx264 @ 0x14792c0] frame= 414 QP=22.87 NAL=2 Slice:P Poc:50 I:32 P:1013 SKIP:305 size=6771 bytes [libx264 @ 0x14792c0] frame= 415 QP=22.63 NAL=2 Slice:P Poc:52 I:0 P:121 SKIP:1229 size=454 bytes [libx264 @ 0x14792c0] frame= 416 QP=23.10 NAL=2 Slice:P Poc:58 I:66 P:988 SKIP:296 size=8122 bytes [libx264 @ 0x14792c0] frame= 417 QP=28.51 NAL=2 Slice:B Poc:56 I:11 P:151 SKIP:1187 size=426 bytes [libx264 @ 0x14792c0] frame= 418 QP=29.58 NAL=0 Slice:B Poc:54 I:5 P:102 SKIP:1241 size=270 bytes [libx264 @ 0x14792c0] frame= 419 QP=20.35 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=46368 bytes [libx264 @ 0x14792c0] frame= 420 QP=22.10 NAL=2 Slice:P Poc:2 I:44 P:819 SKIP:487 size=6029 bytes [libx264 @ 0x14792c0] frame= 421 QP=20.22 NAL=2 Slice:P Poc:4 I:0 P:115 SKIP:1235 size=348 bytes [libx264 @ 0x14792c0] frame= 422 QP=25.61 NAL=2 Slice:P Poc:8 I:57 P:968 SKIP:325 size=7776 bytes [libx264 @ 0x14792c0] frame= 423 QP=29.87 NAL=0 Slice:B Poc:6 I:15 P:270 SKIP:1052 size=945 bytes [libx264 @ 0x14792c0] frame= 424 QP=25.95 NAL=2 Slice:P Poc:12 I:80 P:970 SKIP:300 size=8160 bytes [libx264 @ 0x14792c0] frame= 425 QP=29.17 NAL=0 Slice:B Poc:10 I:29 P:312 SKIP:994 size=1522 bytes [libx264 @ 0x14792c0] frame= 426 QP=25.55 NAL=2 Slice:P Poc:14 I:49 P:860 SKIP:441 size=6702 bytes [libx264 @ 0x14792c0] frame= 427 QP=24.13 NAL=2 Slice:P Poc:16 I:0 P:75 SKIP:1275 size=226 bytes [libx264 @ 0x14792c0] frame= 428 QP=26.52 NAL=2 Slice:P Poc:20 I:110 P:927 SKIP:313 size=8434 bytes [libx264 @ 0x14792c0] frame= 429 QP=30.01 NAL=0 Slice:B Poc:18 I:27 P:348 SKIP:956 size=1351 bytes [libx264 @ 0x14792c0] frame= 430 QP=26.45 NAL=2 Slice:P Poc:24 I:146 P:928 SKIP:276 size=9057 bytes [libx264 @ 0x14792c0] frame= 431 QP=29.65 NAL=0 Slice:B Poc:22 I:28 P:400 SKIP:899 size=1645 bytes [libx264 @ 0x14792c0] frame= 432 QP=25.51 NAL=2 Slice:P Poc:26 I:69 P:980 SKIP:301 size=7688 bytes [libx264 @ 0x14792c0] frame= 433 QP=25.07 NAL=2 Slice:P Poc:28 I:2 P:83 SKIP:1265 size=301 bytes [libx264 @ 0x14792c0] frame= 434 QP=26.20 NAL=2 Slice:P Poc:32 I:188 P:940 SKIP:222 size=10675 bytes [libx264 @ 0x14792c0] frame= 435 QP=29.67 NAL=0 Slice:B Poc:30 I:39 P:451 SKIP:832 size=2096 bytes [libx264 @ 0x14792c0] frame= 436 QP=26.08 NAL=2 Slice:P Poc:36 I:246 P:919 SKIP:185 size=10745 bytes [libx264 @ 0x14792c0] frame= 437 QP=30.09 NAL=0 Slice:B Poc:34 I:50 P:473 SKIP:783 size=2762 bytes [libx264 @ 0x14792c0] frame= 438 QP=25.10 NAL=2 Slice:P Poc:38 I:129 P:928 SKIP:293 size=9079 bytes [libx264 @ 0x14792c0] frame= 439 QP=24.86 NAL=2 Slice:P Poc:40 I:0 P:126 SKIP:1224 size=536 bytes [libx264 @ 0x14792c0] frame= 440 QP=25.58 NAL=2 Slice:P Poc:44 I:194 P:892 SKIP:264 size=10890 bytes [libx264 @ 0x14792c0] frame= 441 QP=32.01 NAL=0 Slice:B Poc:42 I:51 P:459 SKIP:809 size=2743 bytes [libx264 @ 0x14792c0] frame= 442 QP=25.43 NAL=2 Slice:P Poc:48 I:186 P:899 SKIP:265 size=10668 bytes [libx264 @ 0x14792c0] frame= 443 QP=28.87 NAL=0 Slice:B Poc:46 I:63 P:508 SKIP:744 size=2890 bytes [libx264 @ 0x14792c0] frame= 444 QP=23.91 NAL=2 Slice:P Poc:50 I:84 P:1051 SKIP:215 size=9928 bytes [libx264 @ 0x14792c0] frame= 445 QP=23.68 NAL=2 Slice:P Poc:52 I:0 P:145 SKIP:1205 size=658 bytes [libx264 @ 0x14792c0] frame= 446 QP=24.78 NAL=2 Slice:P Poc:56 I:114 P:1001 SKIP:235 size=10721 bytes [libx264 @ 0x14792c0] frame= 447 QP=27.98 NAL=0 Slice:B Poc:54 I:45 P:482 SKIP:795 size=2260 bytes [libx264 @ 0x14792c0] frame= 448 QP=24.13 NAL=2 Slice:P Poc:58 I:74 P:1031 SKIP:245 size=9179 bytes [libx264 @ 0x14792c0] frame= 449 QP=20.20 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=37881 bytes [libx264 @ 0x14792c0] frame= 450 QP=22.09 NAL=2 Slice:P Poc:2 I:59 P:1141 SKIP:150 size=11285 bytes [libx264 @ 0x14792c0] frame= 451 QP=21.84 NAL=2 Slice:P Poc:4 I:2 P:95 SKIP:1253 size=316 bytes [libx264 @ 0x14792c0] frame= 452 QP=22.60 NAL=2 Slice:P Poc:8 I:85 P:1140 SKIP:125 size=11872 bytes [libx264 @ 0x14792c0] frame= 453 QP=25.09 NAL=0 Slice:B Poc:6 I:20 P:652 SKIP:651 size=2710 bytes [libx264 @ 0x14792c0] frame= 454 QP=22.71 NAL=2 Slice:P Poc:12 I:59 P:1133 SKIP:158 size=10781 bytes [libx264 @ 0x14792c0] frame= 455 QP=26.26 NAL=0 Slice:B Poc:10 I:28 P:534 SKIP:769 size=2249 bytes [libx264 @ 0x14792c0] frame= 456 QP=22.54 NAL=2 Slice:P Poc:14 I:48 P:878 SKIP:424 size=7902 bytes [libx264 @ 0x14792c0] frame= 457 QP=21.04 NAL=2 Slice:P Poc:16 I:1 P:155 SKIP:1194 size=661 bytes [libx264 @ 0x14792c0] frame= 458 QP=24.17 NAL=2 Slice:P Poc:18 I:26 P:789 SKIP:535 size=5735 bytes [libx264 @ 0x14792c0] frame= 459 QP=20.11 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=43131 bytes [libx264 @ 0x14792c0] frame= 460 QP=21.59 NAL=2 Slice:P Poc:4 I:31 P:1225 SKIP:94 size=14526 bytes [libx264 @ 0x14792c0] frame= 461 QP=25.01 NAL=0 Slice:B Poc:2 I:7 P:704 SKIP:619 size=2443 bytes [libx264 @ 0x14792c0] frame= 462 QP=21.38 NAL=2 Slice:P Poc:6 I:13 P:1246 SKIP:91 size=11692 bytes [libx264 @ 0x14792c0] frame= 463 QP=20.80 NAL=2 Slice:P Poc:8 I:0 P:141 SKIP:1209 size=472 bytes [libx264 @ 0x14792c0] frame= 464 QP=22.24 NAL=2 Slice:P Poc:12 I:31 P:1205 SKIP:114 size=11822 bytes [libx264 @ 0x14792c0] frame= 465 QP=25.64 NAL=0 Slice:B Poc:10 I:8 P:706 SKIP:621 size=2025 bytes [libx264 @ 0x14792c0] frame= 466 QP=22.11 NAL=2 Slice:P Poc:16 I:43 P:1240 SKIP:67 size=12605 bytes [libx264 @ 0x14792c0] frame= 467 QP=25.53 NAL=0 Slice:B Poc:14 I:11 P:604 SKIP:710 size=1949 bytes [libx264 @ 0x14792c0] frame= 468 QP=20.88 NAL=2 Slice:P Poc:18 I:48 P:1209 SKIP:93 size=13242 bytes [libx264 @ 0x14792c0] frame= 469 QP=20.89 NAL=2 Slice:P Poc:20 I:0 P:96 SKIP:1254 size=327 bytes [libx264 @ 0x14792c0] frame= 470 QP=21.88 NAL=2 Slice:P Poc:24 I:72 P:1175 SKIP:103 size=13220 bytes [libx264 @ 0x14792c0] frame= 471 QP=25.86 NAL=0 Slice:B Poc:22 I:15 P:610 SKIP:710 size=2000 bytes [libx264 @ 0x14792c0] frame= 472 QP=21.16 NAL=2 Slice:P Poc:30 I:52 P:1243 SKIP:55 size=13467 bytes [libx264 @ 0x14792c0] frame= 473 QP=25.50 NAL=2 Slice:B Poc:28 I:13 P:619 SKIP:708 size=1952 bytes [libx264 @ 0x14792c0] frame= 474 QP=25.38 NAL=0 Slice:B Poc:26 I:7 P:670 SKIP:670 size=1643 bytes [libx264 @ 0x14792c0] frame= 475 QP=20.68 NAL=2 Slice:P Poc:32 I:0 P:154 SKIP:1196 size=540 bytes [libx264 @ 0x14792c0] frame= 476 QP=21.67 NAL=2 Slice:P Poc:38 I:61 P:1201 SKIP:88 size=12452 bytes [libx264 @ 0x14792c0] frame= 477 QP=25.19 NAL=2 Slice:B Poc:36 I:13 P:472 SKIP:854 size=1447 bytes [libx264 @ 0x14792c0] frame= 478 QP=28.76 NAL=0 Slice:B Poc:34 I:5 P:391 SKIP:946 size=1082 bytes [libx264 @ 0x14792c0] frame= 479 QP=21.77 NAL=2 Slice:P Poc:44 I:51 P:1189 SKIP:110 size=11386 bytes [libx264 @ 0x14792c0] frame= 480 QP=21.77 NAL=2 Slice:B Poc:42 I:4 P:144 SKIP:1202 size=209 bytes [libx264 @ 0x14792c0] frame= 481 QP=25.95 NAL=0 Slice:B Poc:40 I:20 P:667 SKIP:653 size=1953 bytes [libx264 @ 0x14792c0] frame= 482 QP=21.70 NAL=2 Slice:P Poc:50 I:34 P:1237 SKIP:79 size=12405 bytes [libx264 @ 0x14792c0] frame= 483 QP=25.49 NAL=2 Slice:B Poc:48 I:21 P:574 SKIP:745 size=1799 bytes [libx264 @ 0x14792c0] frame= 484 QP=25.73 NAL=0 Slice:B Poc:46 I:11 P:658 SKIP:674 size=1718 bytes [libx264 @ 0x14792c0] frame= 485 QP=22.11 NAL=2 Slice:P Poc:56 I:31 P:1141 SKIP:178 size=9658 bytes [libx264 @ 0x14792c0] frame= 486 QP=22.35 NAL=2 Slice:B Poc:54 I:4 P:190 SKIP:1156 size=256 bytes [libx264 @ 0x14792c0] frame= 487 QP=25.71 NAL=0 Slice:B Poc:52 I:15 P:573 SKIP:750 size=1687 bytes [libx264 @ 0x14792c0] frame= 488 QP=22.99 NAL=2 Slice:P Poc:58 I:8 P:1021 SKIP:321 size=5578 bytes [libx264 @ 0x14792c0] frame= 489 QP=17.62 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=50542 bytes [libx264 @ 0x14792c0] frame= 490 QP=21.14 NAL=2 Slice:P Poc:4 I:37 P:1168 SKIP:145 size=12415 bytes [libx264 @ 0x14792c0] frame= 491 QP=24.75 NAL=0 Slice:B Poc:2 I:15 P:634 SKIP:680 size=2350 bytes [libx264 @ 0x14792c0] frame= 492 QP=20.71 NAL=2 Slice:P Poc:6 I:21 P:1241 SKIP:88 size=11697 bytes [libx264 @ 0x14792c0] frame= 493 QP=22.57 NAL=2 Slice:P Poc:8 I:0 P:62 SKIP:1288 size=479 bytes [libx264 @ 0x14792c0] frame= 494 QP=21.41 NAL=2 Slice:P Poc:14 I:66 P:1141 SKIP:143 size=12054 bytes [libx264 @ 0x14792c0] frame= 495 QP=32.63 NAL=2 Slice:B Poc:12 I:10 P:188 SKIP:1152 size=576 bytes [libx264 @ 0x14792c0] frame= 496 QP=25.95 NAL=0 Slice:B Poc:10 I:8 P:218 SKIP:1124 size=539 bytes [libx264 @ 0x14792c0] frame= 497 QP=21.83 NAL=2 Slice:P Poc:22 I:20 P:1208 SKIP:122 size=9141 bytes [libx264 @ 0x14792c0] frame= 498 QP=23.40 NAL=2 Slice:B Poc:18 I:26 P:859 SKIP:461 size=2558 bytes [libx264 @ 0x14792c0] frame= 499 QP=25.27 NAL=0 Slice:B Poc:16 I:11 P:536 SKIP:802 size=1154 bytes [libx264 @ 0x14792c0] frame= 500 QP=22.45 NAL=0 Slice:B Poc:20 I:1 P:262 SKIP:1087 size=290 bytes [libx264 @ 0x14792c0] frame= 501 QP=21.63 NAL=2 Slice:P Poc:28 I:13 P:1196 SKIP:141 size=9003 bytes [libx264 @ 0x14792c0] frame= 502 QP=25.45 NAL=2 Slice:B Poc:26 I:12 P:510 SKIP:823 size=1290 bytes [libx264 @ 0x14792c0] frame= 503 QP=25.01 NAL=0 Slice:B Poc:24 I:10 P:589 SKIP:749 size=1189 bytes [libx264 @ 0x14792c0] frame= 504 QP=21.03 NAL=2 Slice:P Poc:30 I:6 P:1175 SKIP:169 size=7795 bytes [libx264 @ 0x14792c0] frame= 505 QP=22.78 NAL=2 Slice:P Poc:32 I:0 P:61 SKIP:1289 size=454 bytes [libx264 @ 0x14792c0] frame= 506 QP=21.73 NAL=2 Slice:P Poc:38 I:26 P:1180 SKIP:144 size=8990 bytes [libx264 @ 0x14792c0] frame= 507 QP=29.66 NAL=2 Slice:B Poc:36 I:5 P:154 SKIP:1191 size=353 bytes [libx264 @ 0x14792c0] frame= 508 QP=27.63 NAL=0 Slice:B Poc:34 I:9 P:225 SKIP:1114 size=610 bytes [libx264 @ 0x14792c0] frame= 509 QP=22.00 NAL=2 Slice:P Poc:46 I:14 P:1178 SKIP:158 size=7700 bytes [libx264 @ 0x14792c0] frame= 510 QP=23.47 NAL=2 Slice:B Poc:42 I:29 P:890 SKIP:422 size=3060 bytes [libx264 @ 0x14792c0] frame= 511 QP=25.42 NAL=0 Slice:B Poc:40 I:13 P:461 SKIP:874 size=1022 bytes [libx264 @ 0x14792c0] frame= 512 QP=22.00 NAL=0 Slice:B Poc:44 I:2 P:237 SKIP:1111 size=262 bytes [libx264 @ 0x14792c0] frame= 513 QP=22.22 NAL=2 Slice:P Poc:52 I:40 P:1179 SKIP:131 size=9468 bytes [libx264 @ 0x14792c0] frame= 514 QP=25.42 NAL=2 Slice:B Poc:50 I:25 P:604 SKIP:711 size=1751 bytes [libx264 @ 0x14792c0] frame= 515 QP=24.90 NAL=0 Slice:B Poc:48 I:14 P:617 SKIP:713 size=1686 bytes [libx264 @ 0x14792c0] frame= 516 QP=21.11 NAL=2 Slice:P Poc:54 I:8 P:1262 SKIP:80 size=9741 bytes [libx264 @ 0x14792c0] frame= 517 QP=20.65 NAL=2 Slice:P Poc:56 I:0 P:111 SKIP:1239 size=313 bytes [libx264 @ 0x14792c0] frame= 518 QP=23.54 NAL=2 Slice:P Poc:58 I:8 P:791 SKIP:551 size=2974 bytes [libx264 @ 0x14792c0] frame= 519 QP=21.49 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=32189 bytes [libx264 @ 0x14792c0] frame= 520 QP=22.92 NAL=2 Slice:P Poc:2 I:36 P:1008 SKIP:306 size=6387 bytes frame= 521 fps= 75 q=-1.0 Lsize= 3788kB time=00:00:16.99 bitrate=1826.2kbits/s dup=103 drop=0 video:2773kB audio:664kB global headers:0kB muxing overhead 10.222319% frame I:21 Avg QP:18.97 size: 39922 [libx264 @ 0x14792c0] frame P:264 Avg QP:23.84 size: 6363 [libx264 @ 0x14792c0] frame B:236 Avg QP:27.16 size: 1361 [libx264 @ 0x14792c0] consecutive B-frames: 26.7% 28.0% 32.2% 13.1% [libx264 @ 0x14792c0] mb I I16..4: 19.4% 0.0% 80.6% [libx264 @ 0x14792c0] mb P I16..4: 3.5% 0.0% 4.3% P16..4: 34.0% 14.6% 6.9% 0.0% 0.0% skip:36.7% [libx264 @ 0x14792c0] mb B I16..4: 2.4% 0.0% 0.3% B16..8: 20.3% 4.7% 0.3% direct: 6.7% skip:65.4% L0:32.1% L1:55.4% BI:12.5% [libx264 @ 0x14792c0] coded y,uvDC,uvAC intra: 60.2% 67.4% 35.7% inter: 14.8% 17.4% 0.5% [libx264 @ 0x14792c0] i16 v,h,dc,p: 33% 27% 14% 25% [libx264 @ 0x14792c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 23% 14% 6% 7% 7% 8% 6% 7% [libx264 @ 0x14792c0] i8c dc,h,v,p: 53% 23% 18% 6% [libx264 @ 0x14792c0] Weighted P-Frames: Y:4.2% UV:1.1% [libx264 @ 0x14792c0] ref P L0: 79.7% 20.3% [libx264 @ 0x14792c0] ref B L0: 79.5% 20.5% [libx264 @ 0x14792c0] ref B L1: 92.8% 7.2% [libx264 @ 0x14792c0] kb/s:1307.98 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 17:04:14 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 15:04:14 -0000 Subject: [FFmpeg-trac] #531(undetermined:open): failure to extract DVB-Teletext track (zero-length file) In-Reply-To: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> References: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> Message-ID: <055.9d9c32a5769ec5f9ab913616bde26321@avcodec.org> #531: failure to extract DVB-Teletext track (zero-length file) -------------------------------------+------------------------------------- Reporter: BrianEnigma | Owner: Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * version: git => git-master * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 17:11:04 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 15:11:04 -0000 Subject: [FFmpeg-trac] #533(undetermined:new): Transcoding Astra DVBS video to x264 produces errors & poor-quality video In-Reply-To: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> References: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> Message-ID: <054.e68ac1c8ddede22dbab6d5cb14b2cdf4@avcodec.org> #533: Transcoding Astra DVBS video to x264 produces errors & poor-quality video -------------------------------------+------------------------------------- Reporter: hoodzinger | Owner: Type: defect | Status: new Priority: normal | Component: Version: git | undetermined Keywords: TS x264 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Is libx264 required to reproduce your problem? (And is it intended to mux mp3 into ts?) Is ffmpeg -i dvblast2-output.ts -qscale 2 test.ts sufficient to reproduce the corruption? If not, which option makes the difference? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 19:43:31 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 17:43:31 -0000 Subject: [FFmpeg-trac] #531(undetermined:open): failure to extract DVB-Teletext track (zero-length file) In-Reply-To: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> References: <040.f8ae97b673764ab765c25ec2897ffa34@avcodec.org> Message-ID: <055.ccaa711add09b0bb0a3583a48ca9ec57@avcodec.org> #531: failure to extract DVB-Teletext track (zero-length file) -------------------------------------+------------------------------------- Reporter: BrianEnigma | Owner: Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by reimar): Teletext packets are never marked as keyframes (no idea whether that should be considered correct or not). You will get data if you use the -copyinkf option. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 20:20:38 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 18:20:38 -0000 Subject: [FFmpeg-trac] #533(undetermined:new): Transcoding Astra DVBS video to x264 produces errors & poor-quality video In-Reply-To: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> References: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> Message-ID: <054.4866a824bb62dd893863c1eb08010cd9@avcodec.org> #533: Transcoding Astra DVBS video to x264 produces errors & poor-quality video -------------------------------------+------------------------------------- Reporter: hoodzinger | Owner: Type: defect | Status: new Priority: normal | Component: Version: git | undetermined Keywords: TS x264 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by hoodzinger): Starting with your minimal command line above, I have gradually added options in and retested. The problem is being caused by the error resilience setting -er 4. I've been using this because I expect a live DVBS broadcast would have some errors in it. However I'll run without it for a while to see if we can get by without it. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 5 20:33:01 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 05 Oct 2011 18:33:01 -0000 Subject: [FFmpeg-trac] #533(undetermined:new): Transcoding Astra DVBS video to x264 produces errors & poor-quality video In-Reply-To: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> References: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> Message-ID: <054.583c2d67711623ab2ccb1088d9e914a2@avcodec.org> #533: Transcoding Astra DVBS video to x264 produces errors & poor-quality video -------------------------------------+------------------------------------- Reporter: hoodzinger | Owner: Type: defect | Status: new Priority: normal | Component: Version: git | undetermined Keywords: TS x264 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by reimar): -er 4 will break things as soon as the encoder does even the slightest questionable thing. For example (by my code understanding) the H.264 decoder will consider it an error if there are any unused bits in a slice. There are a lot of encoders that will fail such a test (though I am not completely sure there's not an FFmpeg bug either). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 6 08:31:45 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 06 Oct 2011 06:31:45 -0000 Subject: [FFmpeg-trac] #504(undetermined:new): Fixing av_seek_frame In-Reply-To: <036.2801e00ccc485f2e996f72d33e225226@avcodec.org> References: <036.2801e00ccc485f2e996f72d33e225226@avcodec.org> Message-ID: <051.94efbaf522efc2f42eb1e576ba40c9f1@avcodec.org> #504: Fixing av_seek_frame -------------------------------------+------------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by michael): A patch that improves the seeking with ffplay in dumbdog.mpg is on ffmpeg- dev since a few hours -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 6 12:13:39 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 06 Oct 2011 10:13:39 -0000 Subject: [FFmpeg-trac] #517(undetermined:closed): Some SFD Gamecube/Wii videos produce corrupted video output In-Reply-To: <038.15e52aefcb3892e42a507e8918bba792@avcodec.org> References: <038.15e52aefcb3892e42a507e8918bba792@avcodec.org> Message-ID: <053.a809794a458c3685fdaa069cfc4dc0ef@avcodec.org> #517: Some SFD Gamecube/Wii videos produce corrupted video output -------------------------------------+------------------------------------- Reporter: STaRGaZeR | Owner: Type: defect | Status: closed Priority: normal | Component: Version: git-master | undetermined Keywords: SFD MPEG | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 6 18:36:21 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 06 Oct 2011 16:36:21 -0000 Subject: [FFmpeg-trac] #520(avformat:closed): Issue with using multiple avio_open_dyn_buf() / avio_close_dyn_buf() In-Reply-To: <034.94aacf2387e585457461205fadfa4579@avcodec.org> References: <034.94aacf2387e585457461205fadfa4579@avcodec.org> Message-ID: <049.06eaae4f484512b20ee383b7b7420bfd@avcodec.org> #520: Issue with using multiple avio_open_dyn_buf() / avio_close_dyn_buf() --------------------------------+------------------------------------ Reporter: env01 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: 0.8.4 | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+------------------------------------ Changes (by michael): * status: new => closed * resolution: => invalid Comment: av_write_trailer() can lead to updates of the area written in the header earlier for some formats. Also replacing the context like you do is not possible, theres state in it that will be lost and lead to all kinds of odd issues. You could implement your own URLProtocol or io context but probably what you really want is to use pipes and a format that works with non seekable output, mpeg-ps comes to mind here So i think the issue is in how you use avio_open_dyn_buf() and not in ffmpeg, if you disagree feel free to reopen and elaborate -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 6 19:20:10 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 06 Oct 2011 17:20:10 -0000 Subject: [FFmpeg-trac] #523(swresample:closed): Assertion "channel_count == channel_count(channel_layout)" fails In-Reply-To: <036.c3931b83e16020a95d41838fbed42caf@avcodec.org> References: <036.c3931b83e16020a95d41838fbed42caf@avcodec.org> Message-ID: <051.2558d6f1d45fb89ec7a80a2376bd68bf@avcodec.org> #523: Assertion "channel_count == channel_count(channel_layout)" fails ------------------------------------+-------------------------------------- Reporter: cehoyos | Owner: michael Type: defect | Status: closed Priority: important | Component: swresample Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+-------------------------------------- Changes (by michael): * status: new => closed * resolution: => fixed * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 6 20:27:03 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 06 Oct 2011 18:27:03 -0000 Subject: [FFmpeg-trac] #500(avformat:open): Seemingly inconsistent AVIndexEntry timestamps for movs starting with B-Frames In-Reply-To: <032.bd822ea1ce3cbc7a6099790d40f10cc3@avcodec.org> References: <032.bd822ea1ce3cbc7a6099790d40f10cc3@avcodec.org> Message-ID: <047.159e345dbddc6de432c05de9a5d2b6ca@avcodec.org> #500: Seemingly inconsistent AVIndexEntry timestamps for movs starting with B-Frames -------------------------------------+------------------------------------ Reporter: rmk | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by michael): * status: new => open * type: defect => enhancement * version: unspecified => git-master * component: undetermined => avformat Comment: Well strictly speaking AVIndexEntry.timestamp is a demuxer internal variable and its meaning can differ between demuxers somewhat. Patches to make it more similar and usefull are of course welcome. Ive also added some documentation for the field that ill push to git master in a moment. I guess this makes this issue a feature request -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 6 20:34:04 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 06 Oct 2011 18:34:04 -0000 Subject: [FFmpeg-trac] #521(undetermined:new): avio_open_dyn_buf()/avio_close_dyn_buf(), limit the memory usage In-Reply-To: <036.4c0d214032aff81185bccc49830837de@avcodec.org> References: <036.4c0d214032aff81185bccc49830837de@avcodec.org> Message-ID: <051.5b620cd7d7760180e1af459d0cfbc04c@avcodec.org> #521: avio_open_dyn_buf()/avio_close_dyn_buf(), limit the memory usage ---------------------------------+---------------------------------------- Reporter: mrdebug | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: 0.8.3 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+---------------------------------------- Comment (by mrdebug): dump! -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 6 23:14:26 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 06 Oct 2011 21:14:26 -0000 Subject: [FFmpeg-trac] #476(FFmpeg:closed): Option to ignore subtitles In-Reply-To: <035.c633529978610731b59beb96fb6ed42d@avcodec.org> References: <035.c633529978610731b59beb96fb6ed42d@avcodec.org> Message-ID: <050.9e7240c52159da557bde4043c15692c1@avcodec.org> #476: Option to ignore subtitles -------------------------------------+---------------------------------- Reporter: Alex__ | Owner: Type: enhancement | Status: closed Priority: normal | Component: FFmpeg Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 7 10:40:27 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 07 Oct 2011 08:40:27 -0000 Subject: [FFmpeg-trac] #466(undetermined:open): Does FFMPEG support MPEGTS + H.264? In-Reply-To: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> References: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> Message-ID: <056.84fcbdd427c4fa2186842e45053184e7@avcodec.org> #466: Does FFMPEG support MPEGTS + H.264? -------------------------------------+------------------------------------- Reporter: | Owner: sunshine_uyl | Status: open Type: defect | Component: Priority: normal | undetermined Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): The sample plays fine with ffplay, the problems can only be seen when converting with ffmpeg (or playing with mplayer -demuxer lavf, mplayer -demuxer mpegts is worse). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 7 11:24:57 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 07 Oct 2011 09:24:57 -0000 Subject: [FFmpeg-trac] #96(FFplay:closed): ffplay - problem with multichannel TTA audio stream In-Reply-To: <038.ff188d507c3731ec1cbdcad311b11130@avcodec.org> References: <038.ff188d507c3731ec1cbdcad311b11130@avcodec.org> Message-ID: <053.5fb423138177b8cb5f6c2396bf5962e0@avcodec.org> #96: ffplay - problem with multichannel TTA audio stream -----------------------------------+---------------------------------- Reporter: ami_stuff | Owner: Type: defect | Status: closed Priority: normal | Component: FFplay Version: git | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -----------------------------------+---------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: I believe this has been fixed, please reopen if I am wrong. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 7 12:10:31 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 07 Oct 2011 10:10:31 -0000 Subject: [FFmpeg-trac] #110(avformat:open): MP4 Muxer gives incorrect frame duration with AAC In-Reply-To: <039.4d5c850f1ecd41a0ddd0f31c9f272d02@avcodec.org> References: <039.4d5c850f1ecd41a0ddd0f31c9f272d02@avcodec.org> Message-ID: <054.5078dbeefb484e80453d3515f3a43224@avcodec.org> #110: MP4 Muxer gives incorrect frame duration with AAC ------------------------------------+------------------------------------ Reporter: thebombzen | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): I am unable to reproduce this with a random m4v input file and a cut random m4v input file (and faad 2.7). Please upload a sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 7 18:18:36 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 07 Oct 2011 16:18:36 -0000 Subject: [FFmpeg-trac] #215(undetermined:open): audio buffer for iff 8svx files while playing with ffplay In-Reply-To: <038.35ee2a5e4f52da4a67b864cda74e9482@avcodec.org> References: <038.35ee2a5e4f52da4a67b864cda74e9482@avcodec.org> Message-ID: <053.8aef08c8ec577cab88958a08925887bd@avcodec.org> #215: audio buffer for iff 8svx files while playing with ffplay -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: Type: defect | Status: open Priority: minor | Component: Version: git-master | undetermined Keywords: ffplay 8svx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => ffplay 8svx * priority: normal => minor * version: unspecified => git-master * status: new => open * reproduced: 0 => 1 Comment: http://samples.mplayerhq.hu/8svx/ Pausing while playing such files is currently impossible with ffplay. A patch was posted on ffmpeg-devel: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/132323 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 7 18:34:53 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 07 Oct 2011 16:34:53 -0000 Subject: [FFmpeg-trac] #500(avformat:open): Seemingly inconsistent AVIndexEntry timestamps for movs starting with B-Frames In-Reply-To: <032.bd822ea1ce3cbc7a6099790d40f10cc3@avcodec.org> References: <032.bd822ea1ce3cbc7a6099790d40f10cc3@avcodec.org> Message-ID: <047.354a35281e8ebbdcb8a666509b59e472@avcodec.org> #500: Seemingly inconsistent AVIndexEntry timestamps for movs starting with B-Frames -------------------------------------+------------------------------------ Reporter: rmk | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by rmk): Thanks a lot for the clarification! Yes, that probably makes it a feature request. Just to make sure I understand: Then, depending on the demuxer, the timestamp I pass to av_index_search_timestamp could also be whatever the demuxer implementor thought was most convenient, so I have to know that as an API user to use it/interprete the results correctly, right? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 7 23:29:48 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 07 Oct 2011 21:29:48 -0000 Subject: [FFmpeg-trac] #387(avcodec:open): ffmpeg '-profile baseline' no longer works with libx264 In-Reply-To: <039.ab094d2cdbde0570b68a642728d1ec41@avcodec.org> References: <039.ab094d2cdbde0570b68a642728d1ec41@avcodec.org> Message-ID: <054.ade5e7f9e4e3f1754737bd4c2af7954b@avcodec.org> #387: ffmpeg '-profile baseline' no longer works with libx264 ------------------------------------+----------------------------------- Reporter: rectalogic | Owner: Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by zimbatm): -vprofile works fine with on HEAD for me even if it's undocumented (unless the -profile option) when running `ffmpeg -h` -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 01:27:14 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 07 Oct 2011 23:27:14 -0000 Subject: [FFmpeg-trac] #534(undetermined:new): Ut Video Support Message-ID: <035.4bf49dd78effe99f50e77c43b11dbffd@avcodec.org> #534: Ut Video Support -------------------------------------+------------------------------------- Reporter: llogan | Owner: Type: | Status: new enhancement | Component: Priority: wish | undetermined Version: git- | Keywords: utvideo master | Blocking: Blocked By: | Analyzed by developer: 0 Reproduced by developer: 0 | -------------------------------------+------------------------------------- Ut Video is a lossless video codec. Multimedia Wiki page on [http://wiki.multimedia.cx/index.php?title=Ut_Video Ut Video]. {{{ $ ffmpeg -loglevel 99 -i UtVideo_YUV420_ULY0.avi ffmpeg version N-33353-g3775af0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 7 2011 15:07:40 with gcc 4.6.1 20110819 (prerelease) configuration: --prefix=/usr --enable-gpl libavutil 51. 20. 0 / 51. 20. 0 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x2ebb780] Format avi probed with size=2048 and score=100 [AVI demuxer @ 0x2ebbd80] use odml:1 [avi @ 0x2ebb780] parser not found for codec none, packets or times may be invalid. [avi @ 0x2ebb780] Probe buffer size limit 5000000 reached Input #0, avi, from 'UtVideo_YUV420_ULY0.avi': Metadata: date : 2011-10-07T12:53:53.00943-08:00 Duration: 00:00:05.00, start: 0.000000, bitrate: 124137 kb/s Stream #0:0, 10, 1001/30000: Video: none (ULY0 / 0x30594C55), 1280x720, 1001/30000, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc At least one output file must be specified }}} Samples encoded with UT Video 10.0.2: [http://www.mediafire.com/?vtej1870th48oz5 UtVideo_RGBA_ULRA.avi] [http://www.mediafire.com/?03rpqjd07dccd2y UtVideo_RGB_ULRG.avi] [http://www.mediafire.com/?em7k3ms4228i5vf UtVideo_YUV420_ULY0.avi] [http://www.mediafire.com/?ddcb24f62k56gec UtVideo_YUV422_ULY2.avi] -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 02:13:56 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 00:13:56 -0000 Subject: [FFmpeg-trac] #534(undetermined:open): Ut Video Support In-Reply-To: <035.4bf49dd78effe99f50e77c43b11dbffd@avcodec.org> References: <035.4bf49dd78effe99f50e77c43b11dbffd@avcodec.org> Message-ID: <050.98d78ecbe09a6e490d8a18e0fcfeceb2@avcodec.org> #534: Ut Video Support -------------------------------------+------------------------------------- Reporter: llogan | Owner: Type: enhancement | Status: open Priority: wish | Component: Version: git-master | undetermined Keywords: utvideo | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 Comment: Source code (GPLv2+): http://umezawa.dyndns.info/archive/utvideo/ -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 02:40:58 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 00:40:58 -0000 Subject: [FFmpeg-trac] #535(avcodec:new): encoding support for jpeg2000 yuv422p Message-ID: <036.5fb5f802a9865577971255f10aa7a67b@avcodec.org> #535: encoding support for jpeg2000 yuv422p ---------------------------------+--------------------------------------- Reporter: dericed | Type: enhancement Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: j2k | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+--------------------------------------- Happy to see j2k encoding support for a few pixel formats. I'd love to see support for yuv422p and yuv422p10le. When I take yuv422p content as an input, the j2k encoder auto-selects rgb24 even if I state yuv422p encoding explicitly. Here's an output. ffmpeg -y -t 1 -i OUT2.mov -vcodec j2k -pix_fmt yuv422p -an -strict experimental testj2k.mov ffmpeg version N-33260-g2f9d6ff, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 3 2011 23:51:10 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --enable-gpl libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 1 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'OUT2.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 05:00:00 encoder : Lavf53.13.0 Duration: 00:00:05.08, start: 0.000000, bitrate: 58142 kb/s Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s Metadata: creation_time : 1970-01-01 05:00:00 Stream #0:1(eng): Video: dvvideo (dv5n / 0x6E357664), yuv422p, 720x480 [SAR 8:9 DAR 4:3], 57542 kb/s, SAR 19264:21837 DAR 9632:7279, 29.97 fps, 29.97 tbr, 2997 tbn, 29.97 tbc Metadata: creation_time : 2011-10-07 19:55:10 Incompatible pixel format 'yuv422p' for codec 'j2k', auto-selecting format 'rgb24' [buffer @ 0x100e01b40] w:720 h:480 pixfmt:yuv422p tb:1/1000000 sar:19264/21837 sws_param: [buffersink @ 0x100e01da0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x100e02160] w:720 h:480 fmt:yuv422p -> w:720 h:480 fmt:rgb24 flags:0x4 [swscaler @ 0x10101c800] No accelerated colorspace conversion found from yuv422p to rgb24. [swscaler @ 0x10102f200] No accelerated colorspace conversion found from yuv422p to rgb24. [swscaler @ 0x101034a00] No accelerated colorspace conversion found from yuv422p to rgb24. Output #0, mov, to 'testj2k.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 05:00:00 encoder : Lavf53.13.0 Stream #0:0(eng): Video: j2k (mjp2 / 0x32706A6D), rgb24, 720x480 [SAR 19264:21837 DAR 9632:7279], q=2-31, 200 kb/s, 2997 tbn, 29.97 tbc Metadata: creation_time : 2011-10-07 19:55:10 Stream mapping: Stream #0.1 -> #0.0 (dvvideo -> j2k) Press [q] to stop, [?] for help frame= 30 fps= 5 q=0.0 Lsize= 12002kB time=00:00:01.00 bitrate=98224.4kbits/s video:12001kB audio:0kB global headers:0kB muxing overhead 0.007958% -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 06:36:58 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 04:36:58 -0000 Subject: [FFmpeg-trac] #536(FFmpeg:new): WTV MUX - Cannot consume AAC audio or H.264 video... Message-ID: <035.a8ccf060f7e0e201713919aa79c8aff8@avcodec.org> #536: WTV MUX - Cannot consume AAC audio or H.264 video... -------------------------------------+------------------------------------- Reporter: ianken | Owner: michael Type: | Status: new enhancement | Component: FFmpeg Priority: normal | Keywords: wtv mux Version: | h.264 aac unspecified | Blocking: Blocked By: | Analyzed by developer: 0 Reproduced by developer: 0 | -------------------------------------+------------------------------------- H.264 and AAC are supported in WTV. One of the main reasons MSFT moved to WTV was to support these formats (required for ISDB-T). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 13:52:06 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 11:52:06 -0000 Subject: [FFmpeg-trac] #535(avcodec:open): encoding support for jpeg2000 yuv422p In-Reply-To: <036.5fb5f802a9865577971255f10aa7a67b@avcodec.org> References: <036.5fb5f802a9865577971255f10aa7a67b@avcodec.org> Message-ID: <051.2fa7173f44085f0af0af4d9ac9f51583@avcodec.org> #535: encoding support for jpeg2000 yuv422p -------------------------------------+----------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: j2k | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * priority: normal => wish * status: new => open * reproduced: 0 => 1 Comment: Some work has been done, you can uncomment the last lines in libavcodec/j2kenc.c to test and fix bugs. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 14:16:00 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 12:16:00 -0000 Subject: [FFmpeg-trac] #536(avformat:open): Mux H264 and AAC into WTV (was: WTV MUX - Cannot consume AAC audio or H.264 video...) In-Reply-To: <035.a8ccf060f7e0e201713919aa79c8aff8@avcodec.org> References: <035.a8ccf060f7e0e201713919aa79c8aff8@avcodec.org> Message-ID: <050.4b34e51726e06f9832f4017992c476cd@avcodec.org> #536: Mux H264 and AAC into WTV -------------------------------------+------------------------------------ Reporter: ianken | Owner: michael Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: wtv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 * component: FFmpeg => avformat * priority: normal => wish * version: unspecified => git-master * keywords: wtv mux h.264 aac => wtv Comment: Demuxing works fine. For future reports: Please always provide a failing command line including complete, uncut output {{{ $ ./ffmpeg -i fate-suite/h264-conformance/AUD_MW_E.264 -vcodec copy out.wtv ffmpeg version N-33344-g86602d1, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 7 2011 10:23:52 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libmp3lame libavutil 51. 20. 0 / 51. 20. 0 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [h264 @ 0x12d3780] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2) Input #0, h264, from 'fate-suite/h264-conformance/AUD_MW_E.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 176x144, 25 fps, 25 tbr, 1200k tbn, 50 tbc [wtv @ 0x12d40e0] can't get video codec_id (0x1c) guid. [wtv @ 0x12d40e0] write stream codec info failed codec_type(0x0) [wtv @ 0x12d40e0] write stream codec failed codec_type(0x0) Output #0, wtv, to 'out.wtv': Metadata: encoder : Lavf53.14.0 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 176x144, q=2-31, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 (copy) Could not write header for output file #0 (incorrect codec parameters ?) }}} {{{ $ ./ffmpeg -i fate-suite/aac/al04_44.mp4 -acodec copy out.wtv ffmpeg version N-33344-g86602d1, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 7 2011 10:23:52 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libmp3lame libavutil 51. 20. 0 / 51. 20. 0 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/aac/al04_44.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42isom creation_time : 2004-02-19 14:38:56 Duration: 00:00:08.24, start: 0.000000, bitrate: 67 kb/s Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, 1 channels, s16, 63 kb/s Metadata: creation_time : 2004-02-19 14:38:56 [wtv @ 0x12e40a0] can't get video codec_id (0x15002) guid. [wtv @ 0x12e40a0] write stream codec info failed codec_type(0x1) [wtv @ 0x12e40a0] write stream codec failed codec_type(0x1) Output #0, wtv, to 'out.wtv': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42isom creation_time : 2004-02-19 14:38:56 encoder : Lavf53.14.0 Stream #0:0(und): Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, 1 channels, 63 kb/s Metadata: creation_time : 2004-02-19 14:38:56 Stream mapping: Stream #0.0 -> #0.0 (copy) Could not write header for output file #0 (incorrect codec parameters ?) }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 22:41:42 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 20:41:42 -0000 Subject: [FFmpeg-trac] #525(undetermined:open): Avid 1:1 10-bit RGB Packer not supported In-Reply-To: <036.efd0f44d58ec345889c156c5073dc4de@avcodec.org> References: <036.efd0f44d58ec345889c156c5073dc4de@avcodec.org> Message-ID: <051.bc8fc73d5e9cec2072830ad9d5ee1a43@avcodec.org> #525: Avid 1:1 10-bit RGB Packer not supported -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: enhancement | Status: open Priority: wish | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by llogan): * status: new => open * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 8 22:48:36 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 20:48:36 -0000 Subject: [FFmpeg-trac] #461(FFmpeg:new): few compiler hitns / warning for version 0.7.4 In-Reply-To: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> References: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> Message-ID: <050.485837596826797973a5813db227efc2@avcodec.org> #461: few compiler hitns / warning for version 0.7.4 -------------------------------------+----------------------------------- Reporter: toralf | Owner: michael Type: enhancement | Status: new Priority: normal | Component: FFmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by toralf): May a extend this report to these warnings for version 0.7.6) gcc 4.5.3 in the mean while ?) : Text relocations force the dynamic linker to perform extra work at startup, waste system resources, and may pose a security risk. On some architectures, the code may not even function properly, if at all. For more information, see http://hardened.gentoo.org/pic-fix-guide.xml Please include the following list of files in your report: TEXTREL usr/lib/libavutil.so.50.43.0 TEXTREL usr/lib/libpostproc.so.51.2.0 TEXTREL usr/lib/libavdevice.so.52.5.0 TEXTREL usr/lib/libswscale.so.0.14.1 TEXTREL usr/lib/libavformat.so.52.110.0 TEXTREL usr/lib/libavfilter.so.1.80.0 TEXTREL usr/lib/libavcodec.so.52.122.0 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 01:28:52 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 23:28:52 -0000 Subject: [FFmpeg-trac] #533(undetermined:new): Transcoding Astra DVBS video to x264 produces errors & poor-quality video In-Reply-To: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> References: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> Message-ID: <054.f76a6504a4a90850fc3ffd54804c2e57@avcodec.org> #533: Transcoding Astra DVBS video to x264 produces errors & poor-quality video -------------------------------------+------------------------------------- Reporter: hoodzinger | Owner: Type: defect | Status: new Priority: normal | Component: Version: git | undetermined Keywords: TS x264 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:2 hoodzinger]: > The problem is being caused by the error resilience setting -er 4. I've been using this because I expect a live DVBS broadcast would have some errors in it. I believe the default value for -er is what you need, but please reopen this ticket if needed. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 01:29:02 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 23:29:02 -0000 Subject: [FFmpeg-trac] #533(undetermined:closed): Transcoding Astra DVBS video to x264 produces errors & poor-quality video In-Reply-To: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> References: <039.627c805b1595581185c0b22bf8f99ab9@avcodec.org> Message-ID: <054.858c5a56ef1e010a2ec164b798389416@avcodec.org> #533: Transcoding Astra DVBS video to x264 produces errors & poor-quality video -------------------------------------+------------------------------------- Reporter: hoodzinger | Owner: Type: defect | Status: closed Priority: normal | Component: Version: git | undetermined Keywords: TS x264 | Resolution: invalid Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => invalid -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 01:36:17 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 23:36:17 -0000 Subject: [FFmpeg-trac] #502(undetermined:closed): Jumping frames when copying video of an h264 file In-Reply-To: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> References: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> Message-ID: <050.6479713c073a8f1e8455804e44125080@avcodec.org> #502: Jumping frames when copying video of an h264 file -------------------------------------+------------------------------------- Reporter: Alex__ | Owner: Type: defect | Status: closed Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: invalid Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => invalid -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 01:38:06 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 23:38:06 -0000 Subject: [FFmpeg-trac] #485(undetermined:closed): libx264 does a hidden renice when running multi-threaded !?! In-Reply-To: <035.37e598f741fcc3d8883e1bab56419854@avcodec.org> References: <035.37e598f741fcc3d8883e1bab56419854@avcodec.org> Message-ID: <050.e1de1d8e1c7ab3651c234262a795529d@avcodec.org> #485: libx264 does a hidden renice when running multi-threaded !?! -------------------------------------+------------------------------------- Reporter: rkbwde | Owner: michael Type: defect | Status: closed Priority: normal | Component: Version: 0.8.3 | undetermined Keywords: | Resolution: Blocking: | needs_more_info Analyzed by developer: 0 | Blocked By: | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info Comment: Please reopen if you can provide the missing information. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 01:44:03 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 23:44:03 -0000 Subject: [FFmpeg-trac] #104(avcodec:open): add support for Brodway MPEG codec (BW10) In-Reply-To: <038.78c1087ce741fcd115e8d01d7efa141d@avcodec.org> References: <038.78c1087ce741fcd115e8d01d7efa141d@avcodec.org> Message-ID: <053.6e137b089419a292db760851b142c9dc@avcodec.org> #104: add support for Brodway MPEG codec (BW10) -------------------------------------+----------------------------------- Reporter: ami_stuff | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * priority: normal => wish * status: new => open * version: unspecified => git-master * component: undetermined => avcodec * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 01:52:55 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 08 Oct 2011 23:52:55 -0000 Subject: [FFmpeg-trac] #102(swscale:open): add support for "Brooktree YUV 411 Raw (Y41P)" codec In-Reply-To: <038.b88a96bc1feab194a508b08493286c90@avcodec.org> References: <038.b88a96bc1feab194a508b08493286c90@avcodec.org> Message-ID: <053.eb3241d3b9ae3ba2af626c8af5b6e1b7@avcodec.org> #102: add support for "Brooktree YUV 411 Raw (Y41P)" codec -------------------------------------+----------------------------------- Reporter: ami_stuff | Owner: Type: enhancement | Status: open Priority: wish | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * priority: normal => wish * status: new => open * version: unspecified => git-master * component: undetermined => swscale * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 02:10:26 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 00:10:26 -0000 Subject: [FFmpeg-trac] #281(build system:closed): Build Error AC3 Encoder Option In-Reply-To: <037.64bb46b7a7514ad0bc748e4e1345c802@avcodec.org> References: <037.64bb46b7a7514ad0bc748e4e1345c802@avcodec.org> Message-ID: <052.5fb2d90d66874357780271bfcb13766c@avcodec.org> #281: Build Error AC3 Encoder Option -------------------------------------+------------------------------------- Reporter: CrHasher | Owner: Type: defect | Status: closed Priority: normal | Component: build Version: git-master | system Keywords: encoder ac3 | Resolution: fixed ac3_fixed | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: This has been fixed some time ago (there is now only an "ac3" and an "ac3_fixed" encoder). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 02:21:24 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 00:21:24 -0000 Subject: [FFmpeg-trac] #266(avcodec:closed): ARM: "size of array is negative" in mpegvideo_arm.c In-Reply-To: <040.b113749b15893d7a9cae7088f4efb2f0@avcodec.org> References: <040.b113749b15893d7a9cae7088f4efb2f0@avcodec.org> Message-ID: <055.aa15e41d120c327b26726a2ef69ff38d@avcodec.org> #266: ARM: "size of array is negative" in mpegvideo_arm.c -------------------------------------+------------------------------------- Reporter: adfernandes | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => needs_more_info Comment: Please reopen if more information is available. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 14:28:29 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 12:28:29 -0000 Subject: [FFmpeg-trac] #502(undetermined:reopened): Jumping frames when copying video of an h264 file In-Reply-To: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> References: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> Message-ID: <050.ccbfe7cef8136002e4ad80ae0f8cbc25@avcodec.org> #502: Jumping frames when copying video of an h264 file -------------------------------------+------------------------------------- Reporter: Alex__ | Owner: Type: defect | Status: reopened Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by Alex__): * status: closed => reopened * resolution: invalid => Comment: Why is it invalid? I described in detail that this issue is valid, does really exist, and also added example files. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 14:42:50 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 12:42:50 -0000 Subject: [FFmpeg-trac] #502(undetermined:reopened): Jumping frames when copying video of an h264 file In-Reply-To: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> References: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> Message-ID: <050.5c47b6af87aced1b862f4f026736efee@avcodec.org> #502: Jumping frames when copying video of an h264 file -------------------------------------+------------------------------------- Reporter: Alex__ | Owner: Type: defect | Status: reopened Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by reimar): I am not entirely sure, and the "[ipod @ 0x7ff8f32d1c00] pts has no value" is suspicious, however if only QuickTime has issues it might just be a QuickTime bug. It certainly does mean that most developers will not be able to reproduce it. So you'll have to explain what "jumping" exactly means. If it means that it plays at irregular speed, that might be something wrong in FFmpeg, if however it means the frames play out of order or decode completely wrong that is most likely a bug in the QuickTime H.264 decoder and you'll just have to re-encode. In that case you should be able to also see the issue when playing the AVI file (I think there are plugins that should allow playing it directly in QuickTime). I'd like to ask developers to avoid changing bug state without writing a few words though. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 14:46:05 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 12:46:05 -0000 Subject: [FFmpeg-trac] #461(FFmpeg:new): few compiler hitns / warning for version 0.7.4 In-Reply-To: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> References: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> Message-ID: <050.6bd82a2a2c7717ea3c3209e2ca2f97f0@avcodec.org> #461: few compiler hitns / warning for version 0.7.4 -------------------------------------+----------------------------------- Reporter: toralf | Owner: michael Type: enhancement | Status: new Priority: normal | Component: FFmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by reimar): PIC code has a major performance impact on some code on 32 bit x86, so I at least don't really care about those TEXTREL warnings (and object to the overly dramatic gentoo claims) unless they also happen on any system other than 32-bit x86. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 15:21:38 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 13:21:38 -0000 Subject: [FFmpeg-trac] #461(FFmpeg:new): few compiler hitns / warning for version 0.7.4 In-Reply-To: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> References: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> Message-ID: <050.63bc296ae11bc577c829864eee8547bd@avcodec.org> #461: few compiler hitns / warning for version 0.7.4 -------------------------------------+----------------------------------- Reporter: toralf | Owner: michael Type: enhancement | Status: new Priority: normal | Component: FFmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by reimar): Also when compiling with --enable-pic only libswscale, libpostproc, libavfilter and libavcodec will contain TEXTRELs. I don't think that using --enable-pic is a good idea, but complaining about TEXTRELs when not using it is not fair (not that on architectures that have useable PIC support like x86-64 PIC is automatically enabled shared libraries, and 64 bit builds do not contain TEXTRELs). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 15:33:38 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 13:33:38 -0000 Subject: [FFmpeg-trac] #502(undetermined:reopened): Jumping frames when copying video of an h264 file In-Reply-To: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> References: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> Message-ID: <050.2eb8b8827274fe9c031a522601b539fe@avcodec.org> #502: Jumping frames when copying video of an h264 file -------------------------------------+------------------------------------- Reporter: Alex__ | Owner: Type: defect | Status: reopened Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by Alex__): Thank you for the feedback. > It certainly does mean that most developers will not be able to reproduce it. I can start an old VM to test it using Windows with QuickTime. > So you'll have to explain what "jumping" exactly means. Therefore I added the above linked screencast. > if however it means the frames play out of order I guess this is the case. > that is most likely a bug in the QuickTime H.264 decoder Hard to say which fault it is: wrong encoding with a resilient decoder (VLC) or correct encoding with a bug in the decoder (QuickTime). > In that case you should be able to also see the issue when playing the AVI file (I think there are plugins that should allow playing it directly in QuickTime). The AVI file plays fine. > I'd like to ask developers to avoid changing bug state without writing a few words though. If you need any other feedback, please let me know. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 16:15:09 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 14:15:09 -0000 Subject: [FFmpeg-trac] #502(undetermined:reopened): Jumping frames when copying video of an h264 file In-Reply-To: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> References: <035.65874e0ca5d465dc7d1b4aae6a53ba68@avcodec.org> Message-ID: <050.f20ebf0cd8dc3e582fc73ea8ca690b9a@avcodec.org> #502: Jumping frames when copying video of an h264 file -------------------------------------+------------------------------------- Reporter: Alex__ | Owner: Type: defect | Status: reopened Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by reimar): Looks like a reorder issue. I guess it's possible that FFmpeg mixes up pts and dts and then QuickTime uses those time stamps as they are even when they contradict the decoder reordering, though it seems like a strange design. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 16:18:34 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 14:18:34 -0000 Subject: [FFmpeg-trac] #537(undetermined:new): Starting with 0.8.5 I Can no more convert from ts to mkv Message-ID: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv -------------------------------------+------------------------------------- Reporter: EricV | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Could not write header for output file #0 (incorrect codec parameters ?) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 16:20:32 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 14:20:32 -0000 Subject: [FFmpeg-trac] #537(undetermined:new): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.19a1bbf99466495462d88490bf8882e2@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv -------------------------------------+------------------------------------- Reporter: EricV | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by EricV): Command used ffmpeg -map 0.0 -map 0.1 -i /tmp/test3.ts -vcodec copy -acodec copy -acodec copy -sn -f matroska /tmp/test3.mkv Error: Could not write header for output file #0 (incorrect codec parameters ?) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 16:26:25 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 14:26:25 -0000 Subject: [FFmpeg-trac] #537(undetermined:new): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.5996f2e876c00bcb5b0e42a85ba33498@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv -------------------------------------+------------------------------------- Reporter: EricV | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by reimar): That command-line causes errors in latest git. -map must come after -i, and also at some point it seems it was changed to be 0:0 instead of 0.0 etc. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 16:29:41 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 14:29:41 -0000 Subject: [FFmpeg-trac] #537(undetermined:new): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.8acb786b73869b6e5672e65681967f04@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv -------------------------------------+------------------------------------- Reporter: EricV | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by EricV): ffmpeg -i /tmp/test3.ts -map 0:0 -map 0:1 -vcodec copy -acodec copy -acodec copy -sn -f matroska /tmp/test3.mkv Same error. Could not write header for output file #0 (incorrect codec parameters ?) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 16:38:21 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 14:38:21 -0000 Subject: [FFmpeg-trac] #537(undetermined:new): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.006464f7d63ecd15efe385dbfb5dd8a6@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv -------------------------------------+------------------------------------- Reporter: EricV | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by EricV): Note that I truncated the file a lot as the error still appens. With the complete ts recording I get with the real command: ffmpeg -i /multimedia/Video/France-2-HD-Peuple-des-oc?ans.2011-09-11.ts -map 0:0 -map 0:1 -map 0:2 -vcodec copy -acodec copy -sn -f matroska /tmp/test3.mkv -acodec copy -newaudio Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Input #0, mpegts, from '/multimedia/Video/France-2-HD-Peuple-des- oc?ans.2011-09-11.ts': Duration: 01:16:59.64, start: 91656.627522, bitrate: 7958 kb/s Program 1 Stream #0.0[0xdc]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 31.53 fps, 50 tbr, 90k tbn, 50 tbc Stream #0.1[0xe6](fra): Audio: eac3, 48000 Hz, stereo, s16, 128 kb/s Stream #0.2[0xe7](qaa): Audio: eac3, 48000 Hz, 5.1, s16, 256 kb/s Stream #0.3[0xf0](fra): Subtitle: dvbsub File '/tmp/test3.mkv' already exists. Overwrite ? [y/N] y [matroska @ 0x65a5e0] Tag [6][0][0][0]/0x00000006 incompatible with output codec id '86059' Output #0, matroska, to '/tmp/test3.mkv': Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 25 tbc Stream #0.1(fra): Audio: eac3, 48000 Hz, stereo, 128 kb/s Stream #0.2(qaa): Audio: eac3, 48000 Hz, 5.1, 256 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Stream #0.2 -> #0.2 Could not write header for output file #0 (incorrect codec parameters ?) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 20:17:19 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 18:17:19 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.93f92d1cc7855e7e3ea52814f80de3ac@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.4 | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Changes (by cehoyos): * status: new => closed * version: unspecified => 0.8.4 * resolution: => duplicate Comment: Duplicate of ticket #8, now fixed in git head and the next releases. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 20:25:56 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 18:25:56 -0000 Subject: [FFmpeg-trac] #461(FFmpeg:closed): few compiler hitns / warning for version 0.7.4 In-Reply-To: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> References: <035.c494eb35143527aca18d39c5c06db165@avcodec.org> Message-ID: <050.e0adcbe0eea8122ead39f7ad2be44439@avcodec.org> #461: few compiler hitns / warning for version 0.7.4 -------------------------------------+----------------------------------- Reporter: toralf | Owner: michael Type: enhancement | Status: closed Priority: normal | Component: FFmpeg Version: unspecified | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => invalid Comment: I close this ticket. If I am wrong assuming that it is impossible to call execute_decode_slices() with context_count==0, please send a patch to ffmpeg-devel. Afaict, the TEXTRELs are wontfix, if you disagree, please move the discussion to ffmpeg-devel. Concerning automatic, static code checks: They have been proven unreliable in the past, and given that it seems simple to crash FFmpeg / libavcodec with zzuf, they are not worth the effort imo. Also note that all developers see the gcc warnings, so I am unsure they have to be posted here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 20:41:42 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 18:41:42 -0000 Subject: [FFmpeg-trac] #110(avformat:open): MP4 Muxer gives incorrect frame duration with AAC In-Reply-To: <039.4d5c850f1ecd41a0ddd0f31c9f272d02@avcodec.org> References: <039.4d5c850f1ecd41a0ddd0f31c9f272d02@avcodec.org> Message-ID: <054.33cb5a7b78c1f614701a30249d9d2a30@avcodec.org> #110: MP4 Muxer gives incorrect frame duration with AAC ------------------------------------+------------------------------------ Reporter: thebombzen | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * version: git => git-master Comment: {{{ $ ffmpeg -i ticket110.mp4 -acodec copy out.m4a ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 9 2011 20:28:29 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ticket110.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 creation_time : 1969-12-31 23:00:00 encoder : Lavf53.14.0 Duration: 00:00:50.50, start: 0.000000, bitrate: 104 kb/s Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 99 kb/s Metadata: creation_time : 1969-12-31 23:00:00 Output #0, ipod, to 'out.m4a': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 creation_time : 1969-12-31 23:00:00 encoder : Lavf53.14.0 Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 99 kb/s Metadata: creation_time : 1969-12-31 23:00:00 Stream mapping: Stream #0.0 -> #0.0 (copy) Press [q] to stop, [?] for help size= 647kB time=00:00:50.50 bitrate= 104.9kbits/s video:0kB audio:616kB global headers:0kB muxing overhead 5.001625% }}} {{{ $ ffmpeg -i out.m4a ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 9 2011 20:28:29 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.m4a': Metadata: major_brand : M4A minor_version : 512 compatible_brands: isomiso2 creation_time : 1969-12-30 23:00:00 encoder : Lavf53.14.0 Duration: 00:00:50.50, start: 0.000000, bitrate: 104 kb/s Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 99 kb/s Metadata: creation_time : 1969-12-30 23:00:00 At least one output file must be specified }}} {{{ $ faad out.m4a *********** Ahead Software MPEG-4 AAC Decoder V2.7 ****************** Build: Mar 31 2010 Copyright 2002-2004: Ahead Software AG http://www.audiocoding.com Floating point version This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License. ************************************************************************** out.m4a file info: LC AAC 50.454 secs, 2 ch, 44100 Hz tool: Lavf53.14.0 --------------------- | Config: 2 Ch | --------------------- | Ch | Position | --------------------- | 00 | Left front | | 01 | Right front | --------------------- MP4 seems to have incorrect frame duration, using values from AAC data. Decoding out.m4a took: 0.17 sec. 296.79x real-time. }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 20:55:18 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 18:55:18 -0000 Subject: [FFmpeg-trac] #538(avcodec:new): J2K files with 444p are incorrectly written Message-ID: <036.35dd0487cce34758c1d11d7ecf2f3118@avcodec.org> #538: J2K files with 444p are incorrectly written --------------------------------------+--------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- Files written with yuv444p cannot be read. {{{ ./ffmpeg -i tests/lena.pnm -pix_fmt yuv444p -strict experimental out.jp2 ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 9 2011 20:28:29 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Input #0, image2, from 'tests/lena.pnm': Duration: 00:00:00.04, start: 0.000000, bitrate: N/A Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc [buffer @ 0x12d9e20] w:256 h:256 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param: [buffersink @ 0x12cf7e0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x12d0000] w:256 h:256 fmt:rgb24 -> w:256 h:256 fmt:yuv444p flags:0x4 Output #0, image2, to 'out.jp2': Metadata: encoder : Lavf53.14.0 Stream #0:0: Video: j2k, yuv444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 (ppm -> j2k) Press [q] to stop, [?] for help frame= 1 fps= 0 q=0.0 Lsize= -0kB time=00:00:00.04 bitrate= -4.4kbits/s video:89kB audio:0kB global headers:0kB muxing overhead -100.024241% }}} {{{ /ffmpeg -i out.jp2 ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 9 2011 20:28:29 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Input #0, image2, from 'out.jp2': Duration: 00:00:00.04, start: 0.000000, bitrate: N/A Stream #0:0: Video: j2k, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc At least one output file must be specified }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 21:29:57 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 19:29:57 -0000 Subject: [FFmpeg-trac] #539(undetermined:new): Some MPEG-2 streams produce corrupted video output Message-ID: <038.7f73dc9d6c3a7778e1c9652e7b575727@avcodec.org> #539: Some MPEG-2 streams produce corrupted video output -------------------------------------+------------------------------------- Reporter: STaRGaZeR | Type: defect Status: new | Priority: normal Component: | Version: git- undetermined | master Keywords: MPEG-2 | Blocked By: MPEG2 corruption | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- When playing some MPEG-2 files I get corrupted output, like you can see here (ffplay screenshot): http://img255.imageshack.us/img255/880/39473053.png I've attached a 10MB sample (mpeg2_corruption.mkv). You can find it here too: http://www.mediafire.com/?cye2dhgra9du6v8 For reference, libmpeg2 plays it fine. ffmpeg uncut output: {{{ C:\Users\STaRGaZeR\Desktop\bin>ffmpeg -v 9 -loglevel 99 -i mpeg2_corruption.mkv ffmpeg version N-33308-g6638207, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 5 2011 22:56:15 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 -v is deprecated, use -loglevel [matroska,webm @ 01B38A80] Format matroska,webm probed with size=2048 and score= 100 st:0 removing common factor 1000000 from timebase st:1 removing common factor 1000000 from timebase [ac3 @ 01B3F6E0] Unsupported bit depth: 0 [mpeg2video @ 01B39440] Unsupported bit depth: 0 [mpeg2video @ 01B39440] invalid frame_pred_frame_dct [matroska,webm @ 01B38A80] All info found Input #0, matroska,webm, from 'mpeg2_corruption.mkv': Duration: 00:00:13.52, start: 0.000000, bitrate: 6253 kb/s Stream #0:0(eng), 42, 1/1000: Video: mpeg2video (Main), yuv420p, 720x576 [SA R 64:45 DAR 16:9], 1/50, 7800 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Metadata: title : Video MPEG-2 720x576 (16:9) Stream #0:1(eng), 57, 1/1000: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Metadata: title : Audio AC3 5.1 At least one output file must be specified }}} As you can see, ffmpeg complaints about "invalid frame_pred_frame_dct". Thanks! -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 21:32:45 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 19:32:45 -0000 Subject: [FFmpeg-trac] #539(undetermined:new): Some MPEG-2 streams produce corrupted video output In-Reply-To: <038.7f73dc9d6c3a7778e1c9652e7b575727@avcodec.org> References: <038.7f73dc9d6c3a7778e1c9652e7b575727@avcodec.org> Message-ID: <053.fc702015b896c6cad58ddb922e174c7f@avcodec.org> #539: Some MPEG-2 streams produce corrupted video output -------------------------------------+------------------------------------- Reporter: STaRGaZeR | Owner: Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: MPEG-2 | Resolution: MPEG2 corruption | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by STaRGaZeR): I didn't attach anything, sorry. 2.5MB limit. You can get the sample from the link I provided though. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 22:30:25 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 20:30:25 -0000 Subject: [FFmpeg-trac] #176(trac:closed): ffmpeg.org presents wrong certificate In-Reply-To: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> References: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> Message-ID: <053.4f384846d730d6d5198b038fd0b7ee4a@avcodec.org> #176: ffmpeg.org presents wrong certificate -------------------------------------+------------------------------------- Reporter: andrixnet | Owner: Type: defect | Status: closed Priority: normal | Component: trac Version: unspecified | Resolution: fixed Keywords: ssl | Blocked By: certificate cn | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 22:34:27 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 20:34:27 -0000 Subject: [FFmpeg-trac] #539(avcodec:open): Some MPEG-2 streams produce corrupted video output In-Reply-To: <038.7f73dc9d6c3a7778e1c9652e7b575727@avcodec.org> References: <038.7f73dc9d6c3a7778e1c9652e7b575727@avcodec.org> Message-ID: <053.1ddcd14a2483cd518d532f42a91bd820@avcodec.org> #539: Some MPEG-2 streams produce corrupted video output -------------------------------------+------------------------------------- Reporter: STaRGaZeR | Owner: Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: MPEG-2 | Blocked By: MPEG2 corruption | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * component: undetermined => avcodec * reproduced: 0 => 1 Comment: Works fine (some warnings) with mplayer -vc ffmpeg12vdpau {{{ $ ffmpeg -i ticket539.m2v -f null - ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 9 2011 20:28:29 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [mpeg1video @ 0x12d9be0] invalid frame_pred_frame_dct [mpegvideo @ 0x12d3780] Estimating duration from bitrate, this may be inaccurate Input #0, mpegvideo, from 'ticket539.m2v': Duration: 00:00:02.62, bitrate: 7800 kb/s Stream #0:0: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 7800 kb/s, 25 fps, 25 tbr, 1200k tbn, 50 tbc [buffer @ 0x12e7760] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param: Output #0, null, to 'pipe:': Metadata: encoder : Lavf53.14.0 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 (mpeg2video -> rawvideo) Press [q] to stop, [?] for help [mpeg2video @ 0x12d9be0] invalid frame_pred_frame_dct Last message repeated 1 times [mpeg2video @ 0x12d9be0] MT_FIELD in progressive_sequence Last message repeated 25 times [mpeg2video @ 0x12d9be0] Warning MVs not available [mpeg2video @ 0x12d9be0] concealing 1170 DC, 1170 AC, 1170 MV errors [mpeg2video @ 0x12d9be0] invalid frame_pred_frame_dct [mpeg2video @ 0x12d9be0] MT_FIELD in progressive_sequence Last message repeated 25 times [mpeg2video @ 0x12d9be0] Warning MVs not available [mpeg2video @ 0x12d9be0] concealing 1170 DC, 1170 AC, 1170 MV errors [mpeg2video @ 0x12d9be0] invalid frame_pred_frame_dct [mpeg2video @ 0x12d9be0] MT_FIELD in progressive_sequence Last message repeated 26 times ... [mpeg2video @ 0x12d9be0] concealing 855 DC, 855 AC, 855 MV errors [mpeg2video @ 0x12d9be0] invalid frame_pred_frame_dct [mpeg2video @ 0x12d9be0] MT_FIELD in progressive_sequence Last message repeated 17 times [mpeg2video @ 0x12d9be0] concealing 810 DC, 810 AC, 810 MV errors [mpeg2video @ 0x12d9be0] invalid frame_pred_frame_dct Last message repeated 1 times [mpeg2video @ 0x12d9be0] MT_FIELD in progressive_sequence Last message repeated 26 times [mpeg2video @ 0x12d9be0] concealing 1215 DC, 1215 AC, 1215 MV errors [mpeg2video @ 0x12d9be0] invalid frame_pred_frame_dct [mpeg2video @ 0x12d9be0] MT_FIELD in progressive_sequence [mpeg2video @ 0x12d9be0] ac-tex damaged at 7 8 [mpeg2video @ 0x12d9be0] concealing 1305 DC, 1305 AC, 1305 MV errors frame= 81 fps= 0 q=0.0 Lsize= -0kB time=00:00:03.24 bitrate= -0.1kbits/s ^M video:0kB audio:0kB global headers:0kB muxing overhead -inf% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 9 23:48:38 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 21:48:38 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.76c1da221ef208191c569ed8f8353a19@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.4 | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by EricV): Version is not 0.8.4 but 0.8.5 as title says. And for bug 8, the initial bug I reported was indeed for EAC3 support but then when trying with the sample provided you already had been able to see it. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 10 00:03:46 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 09 Oct 2011 22:03:46 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.ae7f5b0675ece7ae22dfb6e16634e9c2@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Changes (by cehoyos): * version: 0.8.4 => 0.8.5 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 10 09:03:55 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 10 Oct 2011 07:03:55 -0000 Subject: [FFmpeg-trac] #176(trac:closed): ffmpeg.org presents wrong certificate In-Reply-To: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> References: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> Message-ID: <053.b4f6000c046a0eb0ca4249df5eecf2f8@avcodec.org> #176: ffmpeg.org presents wrong certificate -------------------------------------+------------------------------------- Reporter: andrixnet | Owner: Type: defect | Status: closed Priority: normal | Component: trac Version: unspecified | Resolution: fixed Keywords: ssl | Blocked By: certificate cn | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by andrixnet): I'd say it's a partial fix. Now the certificate is for lists.ffmpeg.org, while trac's site is listed as ffmpeg.org (and this is also the name in all the links in both the site and the notification emails. So the domain is now ffmpeg.org in the certificate, but the hostname still mismatches. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 10 14:11:52 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 10 Oct 2011 12:11:52 -0000 Subject: [FFmpeg-trac] #176(trac:closed): ffmpeg.org presents wrong certificate In-Reply-To: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> References: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> Message-ID: <053.c5ac95c5363e751bee92458157a3bf43@avcodec.org> #176: ffmpeg.org presents wrong certificate -------------------------------------+------------------------------------- Reporter: andrixnet | Owner: Type: defect | Status: closed Priority: normal | Component: trac Version: unspecified | Resolution: fixed Keywords: ssl | Blocked By: certificate cn | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by michael): Please see the Subject Alternative Names in the certificate. The certificate is for both ffmpeg.org and lists.ffmpeg.org. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 10 14:23:42 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 10 Oct 2011 12:23:42 -0000 Subject: [FFmpeg-trac] #176(trac:closed): ffmpeg.org presents wrong certificate In-Reply-To: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> References: <038.49e1f5c613131ceffc3f27fd5f070a80@avcodec.org> Message-ID: <053.281d68e86aa59eac79ecd6a13f270830@avcodec.org> #176: ffmpeg.org presents wrong certificate -------------------------------------+------------------------------------- Reporter: andrixnet | Owner: Type: defect | Status: closed Priority: normal | Component: trac Version: unspecified | Resolution: fixed Keywords: ssl | Blocked By: certificate cn | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by andrixnet): correct. my mistake. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 10 15:49:15 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 10 Oct 2011 13:49:15 -0000 Subject: [FFmpeg-trac] #540(FFmpeg:new): (audio) selection of streams by language Message-ID: <036.5da790b5af684ff1baaea441fbb02081@avcodec.org> #540: (audio) selection of streams by language -------------------------------------+------------------------------------- Reporter: taeuber | Owner: michael Type: | Status: new enhancement | Component: FFmpeg Priority: wish | Keywords: language Version: | ffmpeg ffplay unspecified | Blocking: Blocked By: | Analyzed by developer: 0 Reproduced by developer: 0 | -------------------------------------+------------------------------------- Hi, I'd like to select the language of an input file by language e.g. ffplay -alang ger file.mkv or ffmpeg -i file.mkv -map 0:a:ger dest.mkv or similar An open issue would be the presence of two audio stream of the same language. Thanks Lars -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 10 19:01:51 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 10 Oct 2011 17:01:51 -0000 Subject: [FFmpeg-trac] #541(avfilter:new): Constant in drawtext not working Message-ID: <036.b73c85f1c72f291100d170e4c6135d3b@avcodec.org> #541: Constant in drawtext not working ----------------------------------+------------------------------------- Reporter: offset8 | Type: defect Status: new | Priority: important Component: avfilter | Version: 0.8.5 Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+------------------------------------- I'm trying to use some constants in x= and y= parameters as explained in the documentation. But none working. Always get the following message : drawtext @ 0x23774e0] [Eval @ 0x7fff82a777b0] Undefined constant or missing '(' in 'h/2)' [drawtext @ 0x23774e0] Unable to parse option value "(h/2)" [drawtext @ 0x23773e0] Error parsing options string: 'fontsize=40:fontcolor=white at 1:box=1:boxcolor=black at 0.2:fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:text=hello:x=50:y=(h/2)' Command line : $ ffmpeg-0.8.5 -i test.mp4 -vf 'drawtext=fontsize=40:fontcolor=white at 1:box=1:boxcolor=black at 0.2:fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:text=hello:x=50:y=(h/2)' -s 800x600 -b 2000k -ss 60 test.mpg -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 10 22:07:03 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 10 Oct 2011 20:07:03 -0000 Subject: [FFmpeg-trac] #541(avfilter:closed): Constant in drawtext not working In-Reply-To: <036.b73c85f1c72f291100d170e4c6135d3b@avcodec.org> References: <036.b73c85f1c72f291100d170e4c6135d3b@avcodec.org> Message-ID: <051.7a0d439477de5839bf9086db94cb87a7@avcodec.org> #541: Constant in drawtext not working -----------------------------------+------------------------------------ Reporter: offset8 | Owner: Type: defect | Status: closed Priority: important | Component: avfilter Version: 0.8.5 | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+------------------------------------ Changes (by saste): * status: new => closed * resolution: => invalid Comment: That feature was added in libavfilter 2.43.5, commit 482ce0ce4ec558db5a951718bcd7a9c01d0afb36, and is not part of the 0.8.5 branch. You need latest git for having that feature. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 05:16:26 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 03:16:26 -0000 Subject: [FFmpeg-trac] #534(undetermined:open): Ut Video Support In-Reply-To: <035.4bf49dd78effe99f50e77c43b11dbffd@avcodec.org> References: <035.4bf49dd78effe99f50e77c43b11dbffd@avcodec.org> Message-ID: <050.799f43c2856a565c87228cf980773dff@avcodec.org> #534: Ut Video Support -------------------------------------+------------------------------------- Reporter: llogan | Owner: Type: enhancement | Status: open Priority: wish | Component: Version: git-master | undetermined Keywords: utvideo | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by dbuitenh): I've gotten UT Video to compile on linux (written a patch + Makefile I will send upstream), and I've written a working decoder using the library (works on all your samples.) I shall send it to the mailing list in a few days. Cheers! -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 16:35:25 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 14:35:25 -0000 Subject: [FFmpeg-trac] #542(FFmpeg:new): Missing audio when encoding to mpeg-ts with "-threads 0" Message-ID: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" --------------------------------------+--------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: important | Component: FFmpeg Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- When encoding from h264/aac mp4 to mpeg-ts, the audio stream is lost or corrupt. Mediainfo reports an audio stream but it appears to be empty. This *only* occurs when '-threads' set to 0. Using a specific thread size (e.g. -threads 4) prevents the issue. I can consistently reproduce this with centos 5, but not with osx. Note that both audio and video playback with -threads >0 as well as builds from August and earlier. command used: ffmpeg -i rehearsal.mp4 -threads 0 -s 1920x1080 -f mpegts -b:v 7000000 -qscale:v 1 -r 30.0 -g 30.0 -map_chapters -1 -vcodec libx264 -coder 0 -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 5 -me_range 16 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -wpredp 0 -fast-pskip 1 -vprofile baseline -acodec libfaac -b:a 48000 -ac 2 -ar 44100 -t 5 -y rehearsal.ts output from ffmpeg -v 9 -loglevel 99 -i: ffmpeg version N-33513-g3473639, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 11 2011 10:15:29 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-pthreads --enable-avfilter --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libx264 --enable-libfaac libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x17a32780] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x17a32780] ISO: File Type Major Brand: mp42 [aac @ 0x17a3a7e0] Unsupported bit depth: 0 [h264 @ 0x17a39a40] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0x17a32780] All info found Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rehearsal.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2011-08-17 04:36:21 Duration: 00:12:29.95, start: 0.000000, bitrate: 30155 kb/s Stream #0:0(eng), 10, 1/29970: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/60000, 29995 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc Metadata: creation_time : 2011-08-17 04:36:21 Stream #0:1(eng), 1, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 157 kb/s Metadata: creation_time : 2011-08-17 04:36:21 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 17:15:07 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 15:15:07 -0000 Subject: [FFmpeg-trac] #542(FFmpeg:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.62f03d21903ee062a48b5c96cfdde78a@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" ------------------------------------+----------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: important | Component: FFmpeg Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by terran): I'm unable to upload to upload.ffmpeg.org/incoming: Command: PASV Response: 227 Entering Passive Mode (138,195,131,196,156,232) Command: STOR ticket542.mp4 Response: 553-Can't open that file: Permission denied -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 18:46:08 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 16:46:08 -0000 Subject: [FFmpeg-trac] #542(FFmpeg:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.b82d31f8c90062cebef292bd12635182@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" ------------------------------------+----------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: important | Component: FFmpeg Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by terran): Please let me know if there is another secure way to provide the file or if any other debug info would be helpful. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 19:23:43 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 17:23:43 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.813a158a098c2d3af174fb96cbbd2743@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * priority: important => normal * component: FFmpeg => undetermined Comment: Is the problem also reproducible without an external library, i.e. without libx264 and without libfaac? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 19:55:30 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 17:55:30 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.71d1e4d2204160c7455e95747d49727d@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): You can upload files to http://www.datafilehost.com/ -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 20:18:07 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 18:18:07 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.a0d55e301546c0c67ab9b36218791ce2@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): I recompiled without libx264 and without libfaac. Using "-vcodec copy -acodec copy" I am not able to reproduce the issue. The versions of both work with previous builds of ffmpeg though. Also, as there were stream-specific changed to "-threads", I've also tested with "-threads:0 0 -threads:1 0" with also had the audio issue. I cannot upload the file to datafilehost.com as the owner of the content does not want it made available to the general public. When I trim the file so that it is < 2.5Mb the bug is also not reproducible. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 21:06:24 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 19:06:24 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.c68a9c27e671bddea48a2fa91e428818@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:5 terran]: > Using "-vcodec copy -acodec copy" I am not able to reproduce the issue. I meant more something like ffmpeg -i rehearsal.mp4 -qscale 2 -threads 0 out.ts (Definitely no need to recompile) Is the problem only reproducible for ts, or also for mp4? Is the problem perhaps only libfaac related? (ffmpeg -i rehearsal.mp4 -qscale 2 -threads 0 -acodec libfaac out.ts or ffmpeg -i rehearsal.mp4 -threads 0 -vn -acodec libfaac out.ts or ffmpeg -i rehearsal.mp4 -threads 0 -acodec libfaac out.aac) Is the problem reproducible with any sample or really only with a specific one? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 21:51:27 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 19:51:27 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.131770cf55fc0dee65416bcdf28aed3b@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): > I meant more something like > ffmpeg -i rehearsal.mp4 -qscale 2 -threads 0 out.ts > (Definitely no need to recompile) Are there other params required? That command results in: Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height > Is the problem only reproducible for ts, or also for mp4? It appears to be mpeg-ts only. Muxing to mp4 works. I dont know if it's related, but using libavformat to open the file shows a different format as well. With ts: Output #0, mpegts, to '': Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080, q=2-31, 10015 kb/s, 90k tbn, 30 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 33 kb/s With mp4: Output #0, mpegts, to 's': Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080, q=2-31, 90k tbn, 30 tbc Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 0 channels > Is the problem perhaps only libfaac related? (ffmpeg -i rehearsal.mp4 -qscale 2 -threads 0 -acodec libfaac out.ts or ffmpeg -i rehearsal.mp4 -threads 0 -vn -acodec libfaac out.ts or ffmpeg -i rehearsal.mp4 -threads 0 -acodec libfaac out.aac) Doesn't look like it's libfaac. The following worked, verified the audio: ffmpeg -i rehearsal.mp4 -threads 0 -f mpegts -vn -acodec libfaac -ab 48000 rehearsal.ts > Is the problem reproducible with any sample or really only with a specific one? I've tried other files but haven't reproduced it with others. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 11 23:36:24 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 21:36:24 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.2dd554fbc431ba9e67a4d8462ff0fffb@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Please provide at least complete, uncut output of your failing command, the command should be as short as possible and please do not use an external library if it is not needed to reproduce the problem. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 01:06:01 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 23:06:01 -0000 Subject: [FFmpeg-trac] #543(avformat:new): cdg: set AV_PKT_FLAG_KEY Message-ID: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> #543: cdg: set AV_PKT_FLAG_KEY ----------------------------------+--------------------------------------- Reporter: gdesmott | Type: defect Status: new | Priority: normal Component: avformat | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- While integrating cdg support into gstreamer-ffmpeg ( https://bugzilla.gnome.org/show_bug.cgi?id=653493 ) I had to set the AV_PKT_FLAG_KEY on its packet to get it working. I'm not a ffmpeg (or gst) expert but that seems like the right thing to do as this codec doesn't rely on key frames. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 01:31:36 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 11 Oct 2011 23:31:36 -0000 Subject: [FFmpeg-trac] #543(avformat:new): cdg: set AV_PKT_FLAG_KEY In-Reply-To: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> References: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> Message-ID: <052.732d9914aa84860131a5f249102b1d95@avcodec.org> #543: cdg: set AV_PKT_FLAG_KEY -------------------------------------+------------------------------------ Reporter: gdesmott | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by gdesmott): Also reported: http://bugzilla.libav.org/show_bug.cgi?id=55 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 02:10:38 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 00:10:38 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.9c72a101cea433748c3da50c1dd0d431@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): ffmpeg version N-33513-g3473639, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 11 2011 14:54:45 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-pthreads --enable-avfilter --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable- libfaac --enable-libmp3lame libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rehearsal.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2011-08-17 04:36:21 Duration: 00:12:29.95, start: 0.000000, bitrate: 30155 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29995 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc Metadata: creation_time : 2011-08-17 04:36:21 Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 157 kb/s Metadata: creation_time : 2011-08-17 04:36:21 [buffer @ 0x14785d20] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [libx264 @ 0x1478c180] using SAR=1/1 [libx264 @ 0x1478c180] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x1478c180] profile Constrained Baseline, level 4.0 [mpegts @ 0x14754400] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'rehearsal.ts': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2011-08-17 04:36:21 encoder : Lavf53.15.0 Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=10-51, 7000 kb/s, 90k tbn, 30 tbc Metadata: creation_time : 2011-08-17 04:36:21 Stream #0:1(eng): Audio: aac, 44100 Hz, 2 channels, s16, 48 kb/s Metadata: creation_time : 2011-08-17 04:36:21 Stream mapping: Stream #0.0 -> #0.0 (h264 -> libx264) Stream #0.1 -> #0.1 (aac -> libfaac) Press [q] to stop, [?] for help frame= 150 fps= 9 q=-1.0 Lsize= 6631kB time=00:00:04.96 bitrate=10937.8kbits/s dup=1 drop=0 video:6111kB audio:22kB global headers:0kB muxing overhead 8.124616% [libx264 @ 0x1478c180] frame I:5 Avg QP:13.31 size: 89682 [libx264 @ 0x1478c180] frame P:145 Avg QP:18.54 size: 40064 [libx264 @ 0x1478c180] mb I I16..4: 70.3% 0.0% 29.7% [libx264 @ 0x1478c180] mb P I16..4: 34.2% 0.0% 9.1% P16..4: 20.7% 7.6% 2.5% 0.0% 0.0% skip:26.0% [libx264 @ 0x1478c180] final ratefactor: 19.93 [libx264 @ 0x1478c180] coded y,uvDC,uvAC intra: 25.1% 23.7% 7.0% inter: 12.6% 11.7% 1.2% [libx264 @ 0x1478c180] i16 v,h,dc,p: 46% 28% 13% 13% [libx264 @ 0x1478c180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 23% 22% 5% 5% 5% 5% 4% 4% [libx264 @ 0x1478c180] i8c dc,h,v,p: 66% 17% 13% 3% [libx264 @ 0x1478c180] ref P L0: 68.3% 21.3% 10.4% [libx264 @ 0x1478c180] kb/s:10012.22 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 03:41:07 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 01:41:07 -0000 Subject: [FFmpeg-trac] #544(avformat:new): Matroska demuxer unable to play valid file Message-ID: <033.ed7a226a833a145451afd5a7cbda54ac@avcodec.org> #544: Matroska demuxer unable to play valid file ----------------------------------+-------------------------------------- Reporter: brad | Type: defect Status: new | Priority: important Component: avformat | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- Trying out the Matroska testsuite with FFmpeg I see the FFmpeg Matroska demuxer is unable to play one of the test videos although it plays fine with VLC 1.0.6. $ /home/brad/ffmpeg/ffplay invalid_EBML_number_size_tag.mkv ^[[0;39mffplay version N-33517-gbe5ac96, Copyright (c) 2003-2011 the FFmpeg developers ^[[0m^[[0;39m built on Oct 11 2011 20:25:06 with gcc 4.2.1 20070719 ^[[0m^[[0;39m configuration: --disable-debug --disable-indev=jack --disable-indev=oss --disable-outdev=oss --disable-outdev=sdl --enable-gpl --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable- libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable- libx264 --enable-runtime-cpudetect --enable-x11grab --extra- cflags='-I/usr/local/include -I/usr/X11R6/include' --extra- libs='-L/usr/local/lib -L/usr/X11R6/lib' --optflags='-O2 -pipe -Wno- redundant-decls' ^[[0m^[[0;39m libavutil 51. 20. 1 / 51. 20. 1 ^[[0m^[[0;39m libavcodec 53. 20. 1 / 53. 20. 1 ^[[0m^[[0;39m libavformat 53. 15. 0 / 53. 15. 0 ^[[0m^[[0;39m libavdevice 53. 4. 0 / 53. 4. 0 ^[[0m^[[0;39m libavfilter 2. 43. 6 / 2. 43. 6 ^[[0m^[[0;39m libswscale 2. 1. 0 / 2. 1. 0 ^[[0m^[[0;39m libpostproc 51. 2. 0 / 51. 2. 0 ^[[0m^[[1;31m[matroska,webm @ 0x2093ab800] Invalid EBML number size tag 0x0a at pos 35 (0x23) ^[[0m^[[1;31mtest4.mkv: Invalid data found when processing input -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 03:44:18 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 01:44:18 -0000 Subject: [FFmpeg-trac] #543(avformat:closed): cdg: set AV_PKT_FLAG_KEY In-Reply-To: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> References: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> Message-ID: <052.ecd2974c95af5f3113c02f869f29d77a@avcodec.org> #543: cdg: set AV_PKT_FLAG_KEY ------------------------------------+------------------------------------ Reporter: gdesmott | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: cdg | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by michael): * keywords: => cdg * status: new => closed * version: unspecified => git-master * resolution: => fixed * reproduced: 0 => 1 Comment: Thanks for pointing at this problem, ive succeeded to fix this in a way with which seeking works with my test file and only a subset of frames marked as keyframes. Ill push it into master git after a bit more testing. Also if you find files with which my fix doesnt work, please report them to us. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 03:48:23 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 01:48:23 -0000 Subject: [FFmpeg-trac] #544(avformat:new): Matroska demuxer unable to play valid file In-Reply-To: <033.ed7a226a833a145451afd5a7cbda54ac@avcodec.org> References: <033.ed7a226a833a145451afd5a7cbda54ac@avcodec.org> Message-ID: <048.f8db60d7772092c3b96696a040aea5ea@avcodec.org> #544: Matroska demuxer unable to play valid file ------------------------------------+------------------------------------ Reporter: brad | Owner: Type: defect | Status: new Priority: important | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by brad): Sample uploaded to http://upload.ffmpeg.org/upload/. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 04:03:53 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 02:03:53 -0000 Subject: [FFmpeg-trac] #545(avformat:new): Matroska demuxer unable to play valid file #2 Message-ID: <033.2735dacc175309c925428bb9db0e47d7@avcodec.org> #545: Matroska demuxer unable to play valid file #2 ----------------------------------+-------------------------------------- Reporter: brad | Type: defect Status: new | Priority: important Component: avformat | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- Trying out the Matroska testsuite with FFmpeg I see the FFmpeg Matroska demuxer is unable to play one of the test videos. It plays the first few secs kinda choppy and it shouldn't be and then just "freezes" instead of continuing. $ /home/brad/ffmpeg/ffplay matroska_test_file.mkv ^[[0;39mffplay version N-33517-gbe5ac96, Copyright (c) 2003-2011 the FFmpeg developers ^[[0m^[[0;39m built on Oct 11 2011 20:25:06 with gcc 4.2.1 20070719 ^[[0m^[[0;39m configuration: --disable-debug --disable-indev=jack --disable-indev=oss --disable-outdev=oss --disable-outdev=sdl --enable-gpl --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable- libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable- libx264 --enable-runtime-cpudetect --enable-x11grab --extra- cflags='-I/usr/local/include -I/usr/X11R6/include' --extra- libs='-L/usr/local/lib -L/usr/X11R6/lib' --optflags='-O2 -pipe -Wno- redundant-decls' ^[[0m^[[0;39m libavutil 51. 20. 1 / 51. 20. 1 ^[[0m^[[0;39m libavcodec 53. 20. 1 / 53. 20. 1 ^[[0m^[[0;39m libavformat 53. 15. 0 / 53. 15. 0 ^[[0m^[[0;39m libavdevice 53. 4. 0 / 53. 4. 0 ^[[0m^[[0;39m libavfilter 2. 43. 6 / 2. 43. 6 ^[[0m^[[0;39m libswscale 2. 1. 0 / 2. 1. 0 ^[[0m^[[0;39m libpostproc 51. 2. 0 / 51. 2. 0 ^[[0m^[[0;39m[matroska,webm @ 0x2038bf000] Unknown entry 0x4001 ^[[0m^[[0;39m[matroska,webm @ 0x2038bf000] Unknown entry 0xEA ^[[0m^[[1;31m[matroska,webm @ 0x2038bf000] Invalid track number 87 ^[[0m^[[0;39m[matroska,webm @ 0x2038bf000] Invalid stream 87 or size 31 ^[[0m^[[0;39mInput #0, matroska,webm, from 'matroska_test_file.mkv': ^[[0m^[[0;39m Metadata: ^[[0m^[[0;39m TITLE : Big Buck Bunny - test 7 ^[[0m^[[0;39m DATE_RELEASED : 2010 ^[[0m^[[0;39m COMMENT : Matroska Validation File 7, junk elements are present at the beggining or end of clusters, the parser should skip it. There is also a damaged element at 451418 ^[[0m^[[0;39m Duration: ^[[0m^[[0;39m00:00:37.04^[[0m^[[0;39m, start: ^[[0m^[[0;39m0.000000^[[0m^[[0;39m, bitrate: ^[[0m^[[0;39m2211 kb/s^[[0m^[[0;39m ^[[0m^[[0;39m Stream #0:0^[[0m^[[0;39m: Video: h264 (Main), yuv420p, 1024x576^[[0m^[[0;39m, SAR 1:1 DAR 16:9^[[0m^[[0;39m, 24 fps^[[0m^[[0;39m, 24 tbr^[[0m^[[0;39m, 1k tbn^[[0m^[[0;39m, 48 tbc^[[0m^[[0;39m ^[[0m^[[0;39m Stream #0:1^[[0m^[[0;39m: Audio: aac, 48000 Hz, stereo, s16^[[0m^[[0;39m -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 04:06:57 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 02:06:57 -0000 Subject: [FFmpeg-trac] #545(avformat:new): Matroska demuxer unable to play valid file #2 In-Reply-To: <033.2735dacc175309c925428bb9db0e47d7@avcodec.org> References: <033.2735dacc175309c925428bb9db0e47d7@avcodec.org> Message-ID: <048.661573b00a100af38bd18319ed3023e7@avcodec.org> #545: Matroska demuxer unable to play valid file #2 ------------------------------------+------------------------------------ Reporter: brad | Owner: Type: defect | Status: new Priority: important | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by brad): Sample uploaded to http://upload.ffmpeg.org/upload/. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 10:44:51 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 08:44:51 -0000 Subject: [FFmpeg-trac] #546(FFplay:new): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 Message-ID: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ----------------------------------+-------------------------------------- Reporter: cbsrobot | Type: defect Status: new | Priority: normal Component: FFplay | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- ffplay crashes when resizing or switsching to fullscreen on OSX 10.6.6 and libsdl 1.2.14 with the following message: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x000000000000001d 0x000000010109629e in SDL_DisplayYUV_SW () I tested it with several filetypes. $ ffplay ~/Desktop/10s_1280x720_baseline.mp4 ffplay version N-33134-g53d5c46, Copyright (c) 2003-2011 the FFmpeg developers built on Sep 30 2011 19:38:20 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --enable-gpl --enable-version2 --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-libmp3lame --enable-libfreetype --enable-libopenjpeg --prefix=/usr/local libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '~/Desktop/10s_1280x720_baseline.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 00:00:00 encoder : Lavf52.92.0 Duration: 00:00:10.00, start: 0.000000, bitrate: 1101 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1099 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 gdb$ bt #0 0x000000010109629e in SDL_DisplayYUV_SW () #1 0x000000010109412a in SDL_DisplayYUVOverlay () #2 0x000000010000451e in exit_program () gdb$ disass $pc-32,$pc+32 Dump of assembler code for function SDL_DisplayYUV_SW: 0x0000000101095f50 : push rbp 0x0000000101095f51 : mov rbp,rsp 0x0000000101095f54 : mov QWORD PTR [rbp- 0x28],rbx 0x0000000101095f58 : mov QWORD PTR [rbp- 0x20],r12 0x0000000101095f5c : mov QWORD PTR [rbp- 0x18],r13 0x0000000101095f60 : mov QWORD PTR [rbp- 0x10],r14 0x0000000101095f64 : mov QWORD PTR [rbp- 0x8],r15 0x0000000101095f68 : add rsp,0xffffffffffffff80 0x0000000101095f6c : mov r12,rsi 0x0000000101095f6f : mov QWORD PTR [rbp- 0x40],rdx 0x0000000101095f73 : mov QWORD PTR [rbp- 0x48],rcx 0x0000000101095f77 : mov r14,QWORD PTR [rsi+0x28] 0x0000000101095f7b : cmp WORD PTR [rdx],0x0 0x0000000101095f7f : jne 0x101095f90 0x0000000101095f81 : cmp WORD PTR [rdx+0x2],0x0 0x0000000101095f86 : je 0x101096110 0x0000000101095f8c : nop DWORD PTR [rax+0x0] 0x0000000101095f90 : mov rbx,QWORD PTR [r14] 0x0000000101095f93 : test rbx,rbx 0x0000000101095f96 : je 0x101096296 0x0000000101095f9c : mov DWORD PTR [rbp- 0x38],0x1 0x0000000101095fa3 : mov DWORD PTR [rbp- 0x34],0x0 0x0000000101095faa : mov eax,DWORD PTR [r12] 0x0000000101095fae : cmp eax,0x55595659 0x0000000101095fb3 : je 0x101096220 0x0000000101095fb9 : jbe 0x101096010 0x0000000101095fbb : cmp eax,0x56555949 0x0000000101095fc0 : je 0x101096240 0x0000000101095fc6 : cmp eax,0x59565955 0x0000000101095fcb : je 0x101096170 0x0000000101095fd1 : lea rdi,[rip+0x259f8] # 0x1010bb9d0 0x0000000101095fd8 : xor eax,eax 0x0000000101095fda : call 0x10106a3e0 0x0000000101095fdf : mov eax,0xffffffff 0x0000000101095fe4 : nop WORD PTR [rax+rax+0x0] 0x0000000101095fea : nop WORD PTR [rax+rax+0x0] 0x0000000101095ff0 : mov rbx,QWORD PTR [rbp- 0x28] 0x0000000101095ff4 : mov r12,QWORD PTR [rbp- 0x20] 0x0000000101095ff8 : mov r13,QWORD PTR [rbp- 0x18] 0x0000000101095ffc : mov r14,QWORD PTR [rbp- 0x10] 0x0000000101096000 : mov r15,QWORD PTR [rbp- 0x8] 0x0000000101096004 : leave 0x0000000101096005 : ret 0x0000000101096006 : nop WORD PTR cs:[rax+rax+0x0] 0x0000000101096010 : cmp eax,0x32315659 0x0000000101096015 : je 0x101096260 0x000000010109601b : cmp eax,0x32595559 0x0000000101096020 : jne 0x101095fd1 0x0000000101096022 : mov rax,QWORD PTR [r12+0x18] 0x0000000101096027 : mov r13,QWORD PTR [rax] 0x000000010109602a : lea r10,[r13+0x3] 0x000000010109602e : lea r15,[r13+0x1] 0x0000000101096032 : nop DWORD PTR [rax+0x0] 0x0000000101096039 : nop DWORD PTR [rax+0x0] 0x0000000101096040 : mov eax,DWORD PTR [rbx+0x28] 0x0000000101096043 : test eax,eax 0x0000000101096045 : jne 0x10109604f 0x0000000101096047 : test DWORD PTR [rbx],0x4005 0x000000010109604d : je 0x101096067 0x000000010109604f : mov rdi,rbx 0x0000000101096052 : mov QWORD PTR [rbp- 0x58],r10 0x0000000101096056 : call 0x10108f830 0x000000010109605b : test eax,eax 0x000000010109605d : mov r10,QWORD PTR [rbp- 0x58] 0x0000000101096061 : js 0x1010962d8 0x0000000101096067 : mov eax,DWORD PTR [rbp- 0x38] 0x000000010109606a : test eax,eax 0x000000010109606c : je 0x1010961d0 0x0000000101096072 : mov rax,QWORD PTR [r14] 0x0000000101096075 : mov r9,QWORD PTR [rax+0x20] 0x0000000101096079 : movzx esi,WORD PTR [rbx+0x18] 0x000000010109607d : mov rax,QWORD PTR [rbx+0x8] 0x0000000101096081 : movzx ecx,BYTE PTR [rax+0x9] 0x0000000101096085 : mov edx,esi 0x0000000101096087 : mov eax,esi 0x0000000101096089 : sar edx,0x1f 0x000000010109608c : idiv ecx 0x000000010109608e : mov ecx,eax 0x0000000101096090 : mov eax,DWORD PTR [rbp- 0x34] 0x0000000101096093 : test eax,eax 0x0000000101096095 : je 0x101096190 0x000000010109609b : mov edx,DWORD PTR [r12+0x4] 0x00000001010960a0 : mov rsi,QWORD PTR [r14+0x20] 0x00000001010960a4 : mov rdi,QWORD PTR [r14+0x18] 0x00000001010960a8 : lea eax,[rdx+rdx] 0x00000001010960ab : sub ecx,eax 0x00000001010960ad : mov DWORD PTR [rsp+0x10],ecx 0x00000001010960b1 : mov DWORD PTR [rsp+0x8],edx 0x00000001010960b5 : mov eax,DWORD PTR [r12+0x8] 0x00000001010960ba : mov DWORD PTR [rsp],eax 0x00000001010960bd : mov r8,r15 0x00000001010960c0 : mov rcx,r10 0x00000001010960c3 : mov rdx,r13 0x00000001010960c6 : call QWORD PTR [r14+0x30] 0x00000001010960ca : mov eax,DWORD PTR [rbx+0x28] 0x00000001010960cd : test eax,eax 0x00000001010960cf : jne 0x1010960d9 0x00000001010960d1 : test DWORD PTR [rbx],0x4005 0x00000001010960d7 : je 0x1010960e1 0x00000001010960d9 : mov rdi,rbx 0x00000001010960dc : call 0x10108f8b0 0x00000001010960e1 : mov r15d,DWORD PTR [rbp-0x38] 0x00000001010960e5 : test r15d,r15d 0x00000001010960e8 : jne 0x101096200 0x00000001010960ee : mov rdx,QWORD PTR [rbp- 0x48] 0x00000001010960f2 : mov esi,0x1 0x00000001010960f7 : mov rdi,rbx 0x00000001010960fa : call 0x101091960 0x00000001010960ff : xor eax,eax 0x0000000101096101 : jmp 0x101095ff0 0x0000000101096106 : nop WORD PTR cs:[rax+rax+0x0] 0x0000000101096110 : movzx ecx,WORD PTR [rdx+0x4] 0x0000000101096114 : movzx eax,cx 0x0000000101096117 : cmp eax,DWORD PTR [rsi+0x4] 0x000000010109611a : jl 0x101095f90 0x0000000101096120 : movzx esi,WORD PTR [rdx+0x6] 0x0000000101096124 : movzx edi,si 0x0000000101096127 : cmp edi,DWORD PTR [r12+0x8] 0x000000010109612c : jl 0x101095f90 0x0000000101096132 : mov rbx,QWORD PTR [rbp- 0x48] 0x0000000101096136 : movzx edx,WORD PTR [rbx+0x4] 0x000000010109613a : cmp cx,dx 0x000000010109613d : je 0x101096275 0x0000000101096143 : movzx edx,dx 0x0000000101096146 : add eax,eax 0x0000000101096148 : cmp edx,eax 0x000000010109614a : jne 0x101095f90 0x0000000101096150 : mov rax,QWORD PTR [rbp- 0x48] 0x0000000101096154 : movzx edx,WORD PTR [rax+0x6] 0x0000000101096158 : lea eax,[rdi+rdi] 0x000000010109615b : cmp edx,eax 0x000000010109615d : jne 0x101095f90 0x0000000101096163 : mov DWORD PTR [rbp- 0x34],0x1 0x000000010109616a : jmp 0x101096286 0x000000010109616f : nop 0x0000000101096170 : mov rax,QWORD PTR [r12+0x18] 0x0000000101096175 : mov r13,QWORD PTR [rax] 0x0000000101096178 : inc r13 0x000000010109617b : lea r10,[r13+0x1] 0x000000010109617f : mov r15,QWORD PTR [rax] 0x0000000101096182 : jmp 0x101096040 0x0000000101096187 : nop WORD PTR [rax+rax+0x0] 0x0000000101096190 : mov eax,DWORD PTR [r12+0x4] 0x0000000101096195 : mov rsi,QWORD PTR [r14+0x20] 0x0000000101096199 : mov rdi,QWORD PTR [r14+0x18] 0x000000010109619d : sub ecx,eax 0x000000010109619f : mov DWORD PTR [rsp+0x10],ecx 0x00000001010961a3 : mov DWORD PTR [rsp+0x8],eax 0x00000001010961a7 : mov eax,DWORD PTR [r12+0x8] 0x00000001010961ac : mov DWORD PTR [rsp],eax 0x00000001010961af : mov r8,r15 0x00000001010961b2 : mov rcx,r10 0x00000001010961b5 : mov rdx,r13 0x00000001010961b8 : call QWORD PTR [r14+0x28] 0x00000001010961bc : jmp 0x1010960ca 0x00000001010961c1 : nop DWORD PTR [rax+0x0] 0x00000001010961c8 : nop DWORD PTR [rax+rax+0x0] 0x00000001010961d0 : mov rax,QWORD PTR [rbx+0x8] 0x00000001010961d4 : movzx ecx,BYTE PTR [rax+0x9] 0x00000001010961d8 : movzx esi,WORD PTR [rbx+0x18] 0x00000001010961dc : mov rdi,QWORD PTR [rbp- 0x48] 0x00000001010961e0 : movsx edx,WORD PTR [rdi] 0x00000001010961e3 : imul edx,ecx 0x00000001010961e6 : movsxd rdx,edx 0x00000001010961e9 : add rdx,QWORD PTR [rbx+0x20] 0x00000001010961ed : movsx eax,WORD PTR [rdi+0x2] 0x00000001010961f1 : imul eax,esi 0x00000001010961f4 : cdqe 0x00000001010961f6 : lea r9,[rdx+rax] 0x00000001010961fa : jmp 0x101096085 0x00000001010961ff : nop 0x0000000101096200 : mov rbx,QWORD PTR [r14+0x8] 0x0000000101096204 : mov rcx,QWORD PTR [rbp- 0x48] 0x0000000101096208 : mov rdx,rbx 0x000000010109620b : mov rsi,QWORD PTR [rbp- 0x40] 0x000000010109620f : mov rdi,QWORD PTR [r14] 0x0000000101096212 : call 0x10108f430 0x0000000101096217 : jmp 0x1010960ee 0x000000010109621c : nop DWORD PTR [rax+0x0] 0x0000000101096220 : mov rax,QWORD PTR [r12+0x18] 0x0000000101096225 : mov r13,QWORD PTR [rax] 0x0000000101096228 : lea r10,[r13+0x1] 0x000000010109622c : lea r15,[r13+0x3] 0x0000000101096230 : jmp 0x101096040 0x0000000101096235 : nop DWORD PTR [rax+rax+0x0] 0x000000010109623a : nop WORD PTR [rax+rax+0x0] 0x0000000101096240 : mov rax,QWORD PTR [r12+0x18] 0x0000000101096245 : mov r13,QWORD PTR [rax] 0x0000000101096248 : mov r10,QWORD PTR [rax+0x10] 0x000000010109624c : mov r15,QWORD PTR [rax+0x8] 0x0000000101096250 : jmp 0x101096040 0x0000000101096255 : nop DWORD PTR [rax+rax+0x0] 0x000000010109625a : nop WORD PTR [rax+rax+0x0] 0x0000000101096260 : mov rax,QWORD PTR [r12+0x18] 0x0000000101096265 : mov r13,QWORD PTR [rax] 0x0000000101096268 : mov r10,QWORD PTR [rax+0x8] 0x000000010109626c : mov r15,QWORD PTR [rax+0x10] 0x0000000101096270 : jmp 0x101096040 0x0000000101096275 : mov DWORD PTR [rbp- 0x34],0x0 0x000000010109627c : cmp si,WORD PTR [rbx+0x6] 0x0000000101096280 : jne 0x101096143 0x0000000101096286 : mov rbx,QWORD PTR [r14+0x8] 0x000000010109628a : mov DWORD PTR [rbp- 0x38],0x0 0x0000000101096291 : jmp 0x101095faa 0x0000000101096296 : mov rax,QWORD PTR [r14+0x8] 0x000000010109629a : mov rax,QWORD PTR [rax+0x8] 0x000000010109629e : mov r9d,DWORD PTR [rax+0x18] 0x00000001010962a2 : mov r8d,DWORD PTR [rax+0x14] 0x00000001010962a6 : movzx ecx,BYTE PTR [rax+0x8] 0x00000001010962aa : mov edx,DWORD PTR [r12+0x8] 0x00000001010962af : mov esi,DWORD PTR [r12+0x4] 0x00000001010962b4 : mov DWORD PTR [rsp+0x8],0x0 0x00000001010962bc : mov eax,DWORD PTR [rax+0x1c] 0x00000001010962bf : mov DWORD PTR [rsp],eax 0x00000001010962c2 : xor edi,edi 0x00000001010962c4 : call 0x101090630 0x00000001010962c9 : mov rbx,rax 0x00000001010962cc : mov QWORD PTR [r14],rax 0x00000001010962cf : test rax,rax 0x00000001010962d2 : jne 0x101095f9c 0x00000001010962d8 : mov eax,0xffffffff 0x00000001010962dd : jmp 0x101095ff0 0x00000001010962e2 : nop DWORD PTR [rax+0x0] 0x00000001010962e9 : nop DWORD PTR [rax+0x0] End of assembler dump. gdb$ info all-registers rax 0x5 0x5 rbx 0x0 0x0 rcx 0x500 0x500 rdx 0x1e0 0x1e0 rsi 0x2d0 0x2d0 rdi 0x2d0 0x2d0 rbp 0x7fff5fbfe6f0 0x7fff5fbfe6f0 rsp 0x7fff5fbfe670 0x7fff5fbfe670 r8 0x10e 0x10e r9 0x2d0 0x2d0 r10 0x102610ed0 0x102610ed0 r11 0x0 0x0 r12 0x1023371e0 0x1023371e0 r13 0x1023371e0 0x1023371e0 r14 0x102339fd0 0x102339fd0 r15 0x102801e00 0x102801e00 rip 0x10109629e 0x10109629e eflags 0x10246 0x10246 cs 0x27 0x27 ss 0x0 0x0 ds 0x0 0x0 es 0x0 0x0 fs 0x10 0x10 gs 0x48 0x48 st0 (raw 0xffff0000000000000000) st1 -nan(0x000020100) (raw 0xffff0000000000020100) st2 0 (raw 0x00000000000000000000) st3 -1 (raw 0xbfff8000000000000000) st4 0.99609375020658375010640384061844088 (raw 0x3ffeff000000e3242800) st5 -0.0039062497934162498935961593815591186 (raw 0xbff6ffffff1cdbd80000) st6 29448817133876 (raw 0x402bd644b24649a00000) st7 29448.817133876000298187136650085449 (raw 0x400de611a25f5f13c000) fctrl 0x37f 0x37f fstat 0x20 0x20 ftag 0xffff 0xffff fiseg 0x27 0x27 fioff 0x838d1bf0 0x838d1bf0 foseg 0x1f 0x1f fooff 0x5fbfe048 0x5fbfe048 fop 0x55d 0x55d xmm0 { v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000 } (raw 0x00000000000000000000000000000000) xmm1 { v4_float = {0, -1.70141183e+38, 0, 0}, v2_double = {2.1137067449068142e-314, 0}, v16_int8 = {0, 0, 0, 0, -1, 0 }, v8_int16 = {0x0, 0x0, 0xff00, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xff000000, 0x0, 0x0}, v2_int64 = {0xff000000, 0x0}, uint128 = 0x0000000000000000000000ff00000000 } (raw 0x0000000000000000000000ff00000000) xmm2 { v4_float = {0, 0, 2.34180515e-38, 0}, v2_double = {0, 7.0632744564452601e-304}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0xff0000, 0x0}, v2_int64 = {0x0, 0xff000000000000}, uint128 = 0x000000000000ff000000000000000000 } (raw 0x000000000000ff000000000000000000) xmm3 { v4_float = {6.70101363e-10, 0.000942709623, 2.56399169e-09, 2.74521517e-06}, v2_double = {2.089612841847915e-76, 9.1667074908724307e-72}, v16_int8 = {48, 56, 50, 49, 58, 119, 32, 44, 49, 48, 50, 56, 54, 56, 58, 112}, v8_int16 = {0x3038, 0x3231, 0x3a77, 0x202c, 0x3130, 0x3238, 0x3638, 0x3a70}, v4_int32 = {0x30383231, 0x3a77202c, 0x31303238, 0x36383a70}, v2_int64 = {0x303832313a77202c, 0x3130323836383a70}, uint128 = 0x703a3836383230312c20773a31323830 } (raw 0x703a3836383230312c20773a31323830) xmm4 { v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000 } (raw 0x00000000000000000000000000000000) xmm5 { v4_float = {0, 0, 2.71875, 0}, v2_double = {0, 15}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 64, 46, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x402e, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x402e0000, 0x0}, v2_int64 = {0x0, 0x402e000000000000}, uint128 = 0x0000000000002e400000000000000000 } (raw 0x0000000000002e400000000000000000) xmm6 { v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000 } (raw 0x00000000000000000000000000000000) xmm7 { v4_float = {0, 0, 1.875, 0}, v2_double = {0, 1}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x3ff00000, 0x0}, v2_int64 = {0x0, 0x3ff0000000000000}, uint128 = 0x000000000000f03f0000000000000000 } (raw 0x000000000000f03f0000000000000000) xmm8 { v4_float = {0, 0, 1.875, 0}, v2_double = {0, 1}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x3ff00000, 0x0}, v2_int64 = {0x0, 0x3ff0000000000000}, uint128 = 0x000000000000f03f0000000000000000 } (raw 0x000000000000f03f0000000000000000) xmm9 { v4_float = {0, 0, 1.875, 0}, v2_double = {0, 1}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x3ff00000, 0x0}, v2_int64 = {0x0, 0x3ff0000000000000}, uint128 = 0x000000000000f03f0000000000000000 } (raw 0x000000000000f03f0000000000000000) xmm10 { v4_float = {0, 0, 1.875, 0}, v2_double = {0, 1}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x3ff00000, 0x0}, v2_int64 = {0x0, 0x3ff0000000000000}, uint128 = 0x000000000000f03f0000000000000000 } (raw 0x000000000000f03f0000000000000000) xmm11 { v4_float = {0, 0, 30, 0}, v2_double = {0, 4294967296}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 65, -16, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x41f0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x41f00000, 0x0}, v2_int64 = {0x0, 0x41f0000000000000}, uint128 = 0x000000000000f0410000000000000000 } (raw 0x000000000000f0410000000000000000) xmm12 { v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000 } (raw 0x00000000000000000000000000000000) xmm13 { v4_float = {0, 0, 1.875, 0}, v2_double = {0, 1}, v16_int8 = {0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x3ff00000, 0x0}, v2_int64 = {0x0, 0x3ff0000000000000}, uint128 = 0x000000000000f03f0000000000000000 } (raw 0x000000000000f03f0000000000000000) xmm14 { v4_float = {1.1479437e-41, 1.1479437e-41, 1.1479437e-41, 1.1479437e-41}, v2_double = {1.7383389523634897e-310, 1.7383389523634897e-310}, v16_int8 = {0, 0, 32, 0, 0, 0, 32, 0, 0, 0, 32, 0, 0, 0, 32, 0}, v8_int16 = {0x0, 0x2000, 0x0, 0x2000, 0x0, 0x2000, 0x0, 0x2000}, v4_int32 = {0x2000, 0x2000, 0x2000, 0x2000}, v2_int64 = {0x200000002000, 0x200000002000}, uint128 = 0x00200000002000000020000000200000 } (raw 0x00200000002000000020000000200000) xmm15 { v4_float = {2.84239941e-39, 5.66172224e-39, 5.66172224e-39, 5.66172224e-39}, v2_double = {4.3042647523733154e-308, 1.6493747036201675e-307}, v16_int8 = {0, 30, -13, 116, 0, 61, -90, -108, 0, 61, -90, -108, 0, 61, -90, -108}, v8_int16 = {0x1e, 0xf374, 0x3d, 0xa694, 0x3d, 0xa694, 0x3d, 0xa694}, v4_int32 = {0x1ef374, 0x3da694, 0x3da694, 0x3da694}, v2_int64 = {0x1ef374003da694, 0x3da694003da694}, uint128 = 0x94a63d0094a63d0094a63d0074f31e00 } (raw 0x94a63d0094a63d0094a63d0074f31e00) mxcsr 0x1fa2 0x1fa2 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 10:55:03 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 08:55:03 -0000 Subject: [FFmpeg-trac] #544(avformat:open): Matroska demuxer unable to play valid file without Cues section (was: Matroska demuxer unable to play valid file) In-Reply-To: <033.ed7a226a833a145451afd5a7cbda54ac@avcodec.org> References: <033.ed7a226a833a145451afd5a7cbda54ac@avcodec.org> Message-ID: <048.6b3ab9d80a0b1c27562a2e28465270d2@avcodec.org> #544: Matroska demuxer unable to play valid file without Cues section ------------------------------------+------------------------------------ Reporter: brad | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * priority: important => normal * status: new => open * reproduced: 0 => 1 Comment: This is test4.mkv from the test-suite at http://www.matroska.org/downloads/test_w1.html {{{ ffmpeg -i test4.mkv ffmpeg version N-33546-gb81f888, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 12 2011 10:52:22 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable- version2 libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska,webm @ 0x1351780] Invalid EBML number size tag 0x0a at pos 35 (0x23) test4.mkv: Invalid data found when processing input }}} For future bug-reports: Please use "Code block" to make your output readable, please do not report ffplay bugs unless they are unreproducible with ffmpeg. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 10:57:53 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 08:57:53 -0000 Subject: [FFmpeg-trac] #545(avformat:open): Matroska demuxer fails with invalid testsuite file test7.mkv (was: Matroska demuxer unable to play valid file #2) In-Reply-To: <033.2735dacc175309c925428bb9db0e47d7@avcodec.org> References: <033.2735dacc175309c925428bb9db0e47d7@avcodec.org> Message-ID: <048.b81f8bd06e4736d0f393228ed6738910@avcodec.org> #545: Matroska demuxer fails with invalid testsuite file test7.mkv ------------------------------------+------------------------------------ Reporter: brad | Owner: Type: defect | Status: open Priority: minor | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * priority: important => minor * status: new => open * reproduced: 0 => 1 Comment: Matroska test-suite is available at http://www.matroska.org/downloads/test_w1.html The file in question is test7.mkv which is described as "Extra unknown/junk elements & damaged" It is ~37 seconds long, can be tested with -ss 2 {{{ ffmpeg -i test7.mkv -qscale 2 out.avi ffmpeg version N-33546-gb81f888, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 12 2011 10:52:22 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable- version2 libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska,webm @ 0x1351780] Unknown entry 0x4001 [matroska,webm @ 0x1351780] Unknown entry 0xEA [matroska,webm @ 0x1351780] Invalid track number 87 [matroska,webm @ 0x1351780] Invalid stream 87 or size 31 Input #0, matroska,webm, from 'test7.mkv': Metadata: TITLE : Big Buck Bunny - test 7 DATE_RELEASED : 2010 COMMENT : Matroska Validation File 7, junk elements are present at the beggining or end of clusters, the parser should skip it. There is also a damaged element at 451418 Duration: 00:00:37.04, start: 0.000000, bitrate: 4718 kb/s Stream #0:0: Video: h264 (Main), yuv420p, 1024x576, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 1k tbn, 48 tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, s16 [buffer @ 0x1444740] w:1024 h:576 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' Output #0, avi, to 'out.avi': Metadata: INAM : Big Buck Bunny - test 7 DATE_RELEASED : 2010 ICMT : Matroska Validation File 7, junk elements are present at the beggining or end of clusters, the parser should skip it. There is also a damaged element at 451418 ISFT : Lavf53.15.0 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 24 tbn, 24 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, flt, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg4) Stream #0.1 -> #0.1 (aac -> ac3) Press [q] to stop, [?] for help frame= 24 fps= 0 q=2.0 Lsize= 705kB time=00:00:01.00 bitrate=5777.2kbits/s video:678kB audio:16kB global headers:0kB muxing overhead 1.623823% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 11:03:55 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 09:03:55 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.fae2ff9ae847e0e4d013b5f1fddb410b@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Please always post a failing command line together with complete, uncut output and use "Code block" to make your output more readable. Please test without -vcodec libx264, if ffmpeg -i rehearsal.mp4 -qscale 2 -threads 0 out.ts fails, please give me a chance to understand why. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 11:07:37 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 09:07:37 -0000 Subject: [FFmpeg-trac] #546(FFplay:new): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 In-Reply-To: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> References: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> Message-ID: <052.733c3090fe8456f0963ab480351681e9@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cehoyos): Could you test mplayer -vo sdl ? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 13:04:25 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 11:04:25 -0000 Subject: [FFmpeg-trac] #546(FFplay:new): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 In-Reply-To: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> References: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> Message-ID: <052.2344db201b5fb7f6ad955fd889544b05@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cbsrobot): mplayer -vo sdl works, but when resizing it stretches the movie to the window size. in fullscreen mode, the movie has the correct aspect ratio. MPlayer SVN-r34188-4.2.1 (C) 2000-2011 MPlayer Team Playing ~/Desktop/10s_1280x720_baseline.mov. libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 VIDEO: [H264] 1280x720 24bpp 25.000 fps 1099.5 kbps (134.2 kbyte/s) Clip info: major_brand: qt minor_version: 512 compatible_brands: qt creation_time: 1970-01-01 00:00:00 encoder: Lavf52.92.0 Load subtitles in ~/Desktop/ [VO_SDL] Using driver: Quartz. Xlib: extension "XFree86-VidModeExtension" missing on display "/tmp /launch-U0DWuG/org.x:0". ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Audio: no sound Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [sdl] 1280x720 => 1280x720 Planar YV12 V: 5.2 0/ 0 18% 18% 0.0% 0 0 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 14:43:01 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 12:43:01 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.4868e72cb31924ce8f4fce054dc6f315@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): cehoyos: It looks like that command was failing because the libavcodec mpeg2 codec doesn't support thread number detection? {{{ $ ffmpeg -i rehearsal.mp4 -qscale 2 -threads 0 out.ts ffmpeg version N-33513-g3473639, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 11 2011 14:54:45 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-pthreads --enable-avfilter --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable- libfaac --enable-libmp3lame libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rehearsal.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2011-08-17 04:36:21 Duration: 00:12:29.95, start: 0.000000, bitrate: 30155 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29995 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc Metadata: creation_time : 2011-08-17 04:36:21 Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 157 kb/s Metadata: creation_time : 2011-08-17 04:36:21 File 'out.ts' already exists. Overwrite ? [y/N] y w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [mpeg2video @ 0x1e091d20] automatic thread number detection not supported by codec, patch welcome Output #0, mpegts, to 'out.ts': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2011-08-17 04:36:21 Stream #0:0(eng): Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Metadata: creation_time : 2011-08-17 04:36:21 Stream #0:1(eng): Audio: none, 48000 Hz, stereo, s16, 128 kb/s Metadata: creation_time : 2011-08-17 04:36:21 Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg2video) Stream #0.1 -> #0.1 (aac -> mp2) Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height }}''''''} Changing to "-threads 1" worked and produced and mpeg-ts/mpeg2 that contained a valid audio stream: {{{ fmpeg version N-33513-g3473639, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 11 2011 14:54:45 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-pthreads --enable-avfilter --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable- libfaac --enable-libmp3lame libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rehearsal_long.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2011-08-17 04:36:21 Duration: 00:12:29.95, start: 0.000000, bitrate: 30155 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29995 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc Metadata: creation_time : 2011-08-17 04:36:21 Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 157 kb/s Metadata: creation_time : 2011-08-17 04:36:21 [buffer @ 0xc02d160] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [mpegts @ 0xbffb040] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'out.ts': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2011-08-17 04:36:21 encoder : Lavf53.15.0 Stream #0:0(eng): Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Metadata: creation_time : 2011-08-17 04:36:21 Stream #0:1(eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s Metadata: creation_time : 2011-08-17 04:36:21 Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg2video) Stream #0.1 -> #0.1 (aac -> mp2) Press [q] to stop, [?] for help frame= 150 fps= 25 q=2.0 Lsize= 13272kB time=00:00:04.97 bitrate=21868.3kbits/s dup=1 drop=0 video:12215kB audio:78kB global headers:0kB muxing overhead 7.956972% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 14:46:06 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 12:46:06 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.3d9878d95fd40a188ed88f0e408c26e5@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Something else that I found during testing just now ... "-threads 4" fails just like "-threads 0", though "-threads 1/2/3" all work. This is on a 4 core box, 64-bit. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 15:46:24 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 13:46:24 -0000 Subject: [FFmpeg-trac] #547(avformat:new): OGG demuxer fails to demux aac audio - no audio in ffplay Message-ID: <034.f16de7b029216159e446c0971849116f@avcodec.org> #547: OGG demuxer fails to demux aac audio - no audio in ffplay ----------------------------------+-------------------------------------- Reporter: spiff | Type: defect Status: new | Priority: normal Component: avformat | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- The OGG demuxer fails to demux the AAC in sample file xx/xx.ogg no audio is produced using ffplay from 4edcdf5c443b796dcd939d7d2a0cc08578726863 the bug seems to sit in the ogg demuxer. reason for stating this is that i've tested with mplayer (1.0rc4-4.4.3 from ubuntu maverick) mplayer -demuxer ogg -ac faad -> sound mplayer -demuxer lavf -ac faad -> no sound note that mplayer -demuxer ogg -ac lavc -> no sound this for different reasons - aac uses unsupport features apparently. i know for a fact that this issue is at least 3 years old, http://trac.xbmc.org/ticket/5205 , so me using a mplayer with an older ffmpeg shouldn't influence the results. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 15:59:21 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 13:59:21 -0000 Subject: [FFmpeg-trac] #547(avformat:new): OGG demuxer fails to demux aac audio - no audio in ffplay In-Reply-To: <034.f16de7b029216159e446c0971849116f@avcodec.org> References: <034.f16de7b029216159e446c0971849116f@avcodec.org> Message-ID: <049.0deea774a8a83d4b8c6417ce4156ad5b@avcodec.org> #547: OGG demuxer fails to demux aac audio - no audio in ffplay ------------------------------------+------------------------------------ Reporter: spiff | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by spiff): hmm, seems i can't upload files to incoming, so here's the link to the file on our bug tracker; http://trac.xbmc.org/raw- attachment/ticket/5205/%5Ba-s%5D_Slayers_Gorgeous_sample.ogm -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 16:14:39 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 14:14:39 -0000 Subject: [FFmpeg-trac] #547(avformat:new): OGG demuxer fails to demux aac audio - no audio in ffplay In-Reply-To: <034.f16de7b029216159e446c0971849116f@avcodec.org> References: <034.f16de7b029216159e446c0971849116f@avcodec.org> Message-ID: <049.6cd77fc9f430edd1fc3a29f31825a16f@avcodec.org> #547: OGG demuxer fails to demux aac audio - no audio in ffplay ------------------------------------+------------------------------------ Reporter: spiff | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by spiff): logs and then some attached. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 16:23:22 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 14:23:22 -0000 Subject: [FFmpeg-trac] #546(FFplay:new): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 In-Reply-To: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> References: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> Message-ID: <052.5cd2f431c13169fda30cb2955ac14f09@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cbsrobot): I found a solution for this issue (see below), but there is another issue left: http://forums.libsdl.org/viewtopic.php?t=6768&sid=ebc8e29fdcde2a301c0e7c723dca2696 is there a nice workaround for this problem ? {{{ diff --git a/ffplay.c b/ffplay.c index 46eff5c..a50d98e 100644 --- a/ffplay.c +++ b/ffplay.c @@ -940,12 +940,7 @@ static int video_open(VideoState *is){ && is->height== screen->h && screen->h == h) return 0; -#ifndef __APPLE__ screen = SDL_SetVideoMode(w, h, 0, flags); -#else - /* setting bits_per_pixel = 0 or 32 causes blank video on OS X */ - screen = SDL_SetVideoMode(w, h, 24, flags); -#endif if (!screen) { fprintf(stderr, "SDL: could not set video mode - exiting\n"); do_exit(is); }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 17:14:45 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 15:14:45 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.1fdca69f66fcb9c3c75cab45edf48037@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Do -threads 5/6/7/8 work? Does ffmpeg -i rehearsal.mp4 -qscale 2 -threads 4 out.ts work? Which option do you have to add to reproduce your original problem? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 17:24:01 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 15:24:01 -0000 Subject: [FFmpeg-trac] #547(avformat:open): OGG demuxer fails to demux aac audio - no audio in ffplay In-Reply-To: <034.f16de7b029216159e446c0971849116f@avcodec.org> References: <034.f16de7b029216159e446c0971849116f@avcodec.org> Message-ID: <049.7a6415335ef89e4446a90b401b317674@avcodec.org> #547: OGG demuxer fails to demux aac audio - no audio in ffplay ------------------------------------+------------------------------------ Reporter: spiff | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: aac ogg | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: => aac ogg * status: new => open * reproduced: 0 => 1 Comment: Works fine with mplayer -demuxer ogg -ac ffaac -aid -1 (sic!) and mplayer -demuxer ogg -ac ffaac -aid 0 {{{ $ ffmpeg -i aac.ogg out.wav ffmpeg version N-33546-gb81f888, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 12 2011 10:52:22 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable- version2 libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [aac @ 0x1358700] Input buffer exhausted before END element found [aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1358700] Error decoding AAC frame header. [aac @ 0x1358700] channel element 2.15 is not allocated [aac @ 0x1359060] Number of bands (18) exceeds limit (14). [aac @ 0x1358700] Reserved bit set. [aac @ 0x1358700] channel element 2.3 is not allocated [aac @ 0x1359060] Number of scalefactor bands in group (52) exceeds limit (47). [aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1358700] Error decoding AAC frame header. [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1358700] channel element 3.5 is not allocated [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1358700] Error decoding AAC frame header. [aac @ 0x1359060] channel element 2.13 is not allocated [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1359060] channel element 2.11 is not allocated [aac @ 0x1358700] Number of scalefactor bands in group (48) exceeds limit (40). [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1358700] Error decoding AAC frame header. [aac @ 0x1358700] Reserved bit set. [aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1358700] Error decoding AAC frame header. [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1359060] Sample rate index in program config element does not match the sample rate index configured by the container. [aac @ 0x1359060] channel element 1.1 is not allocated [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1359060] channel element 3.9 is not allocated [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1358700] channel element 2.1 is not allocated [aac @ 0x1359060] Dependent coupling is not supported together with LTP Last message repeated 15 times [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1359060] Sample rate index in program config element does not match the sample rate index configured by the container. [aac @ 0x1359060] Input buffer exhausted before END element found [aac @ 0x1358700] channel element 3.3 is not allocated [aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1359060] Error decoding AAC frame header. [aac @ 0x1359060] channel element 0.6 is not allocated [ogg @ 0x1351780] max_analyze_duration 5000000 reached at 5004996 Input #0, ogg, from 'aac.ogg': Duration: 00:00:08.84, start: 0.000000, bitrate: 2316 kb/s Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 576x324, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc Stream #0:1(English[eng]): Audio: aac, 48000 Hz, 7.1(wide), s16, 255 kb/s Stream #0:2(Japanese[jpn]): Audio: aac, 64000 Hz, stereo, s16, 796 kb/s Stream #0:3(English[eng]): Subtitle: text Output #0, wav, to 'out.wav': Metadata: encoder : Lavf53.15.0 Stream #0:0(English[eng]): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1(wide), s16, 6144 kb/s Stream mapping: Stream #0.1 -> #0.0 (aac -> pcm_s16le) Press [q] to stop, [?] for help [aac @ 0x1358700] channel element 1.0 is not allocated Error while decoding stream #0.1 [aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1358700] Error decoding AAC frame header. Error while decoding stream #0.1 ... [aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [aac @ 0x1358700] Error decoding AAC frame header. Error while decoding stream #0.1 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:0kB global headers:0kB muxing overhead inf% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 17:53:53 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 15:53:53 -0000 Subject: [FFmpeg-trac] #546(FFplay:open): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 In-Reply-To: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> References: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> Message-ID: <052.566e3b2806465aad387487f1fc59b604@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: open Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 Comment: I can reproduce the original crash on "f" on PowerPC OS X 10.5 Could you confirm that your patch completely fixes the problem for you? With it, I get correct colours (instead of wrong colours for many samples with current git head), but on exit, SDL_FreeYUVOverlay() triggers a double free and resizing still does not work (but does not crash). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 17:54:30 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 15:54:30 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.52e65b0993ef2d1a9011d121cf248d29@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): > Do -threads 5/6/7/8 work? No. It looks like 0, 4+ fail. Sounds like if the threads are => than the core count, this bug is triggered. > Does ffmpeg -i rehearsal.mp4 -qscale 2 -threads 4 out.ts work? Yes, that works. I have only reproduced this with x264 + mpeg-ts. > Which option do you have to add to reproduce your original problem? The minimum set is: -vcodec libx264 -b:v 7000000 -acodec libfaac -threads 0 Interestingly, I found that changing 7000000 to 700000 also eliminates the problem. I do need the 7Mbps encode though. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 17:55:01 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 15:55:01 -0000 Subject: [FFmpeg-trac] #546(FFplay:open): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 In-Reply-To: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> References: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> Message-ID: <052.79a75bde5d92e9568e71fba5eb856cc2@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: open Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Changes (by cehoyos): * keywords: => sdl Comment: Original thread that lead to this problem: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/32403 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 18:04:14 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 16:04:14 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.d8d988049a0a19c21159acf3fc79ff0f@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): ffmpeg -i rehearsal.mp4 -vcodec libx264 -b:v 7000000 -strict experimental -acodec aac out.ts works fine? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 19:07:24 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 17:07:24 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.a6b2d7925feeae89c29c64cc3fadd734@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): > ffmpeg -i rehearsal.mp4 -threads 4 -vcodec libx264 -b:v 7000000 -strict experimental -acodec aac out.ts works fine? It does work at the moment, as does the previous command with -threads 4, but changing to -threads 0 causes the failure again. The behavior is non- deterministic when -threads 4, but will always fail with -threads 0 apparently. In other words, this fails too: {{{ ffmpeg -i rehearsal.mp4 -threads 0 -vcodec libx264 -b:v 7000000 -strict experimental -acodec aac out.ts }}} But this does not: {{{ ffmpeg -i rehearsal.mp4 -threads 4 -vcodec libx264 -b:v 7000000 -strict experimental -acodec aac out.ts }}} Also, I'm using 'git bisect' to narrow down the changelist that introduced the problem. So far, I can say that it happened between sept 5 and sept 10. I'll provide more details on that when I narrow further. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 21:57:53 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 19:57:53 -0000 Subject: [FFmpeg-trac] #546(FFplay:open): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 In-Reply-To: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> References: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> Message-ID: <052.b0665a18262e42d98de57bd7dc2fcc12@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: open Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cbsrobot): Yes it fixes the issue for me and I do not see the double free as you mention. patch http://ffmpeg.org/pipermail/ffmpeg-devel/2011-October/115760.html I will open a new ticket for the remaining issue. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 22:09:16 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 20:09:16 -0000 Subject: [FFmpeg-trac] #548(FFplay:new): ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 Message-ID: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> #548: ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 ----------------------------------+-------------------------------------- Reporter: cbsrobot | Type: defect Status: new | Priority: normal Component: FFplay | Version: git-master Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- colors are greenish in fullscreen mode, but ok in window mode - see attachment. Maybe this is related to the issue: http://forums.libsdl.org/viewtopic.php?t=6768&sid=ebc8e29fdcde2a301c0e7c723dca2696 "mplayer -vo sdl file" shows correct colors for both modes. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 12 23:49:13 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 12 Oct 2011 21:49:13 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.9d8c7b50b9ce66a391d584ee7318e221@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:16 terran]: > In other words, this fails too: > > {{{ > ffmpeg -i rehearsal.mp4 -threads 0 -vcodec libx264 -b:v 7000000 -strict experimental -acodec aac out.ts > }}} What about ffmpeg -i rehearsal.mp4 -threads 0 -vcodec libx264 -b:v 7000000 -acodec mp2 out.ts and ffmpeg -i rehearsal.mp4 -threads 0 -vcodec libx264 -b:v 7000000 -acodec mp2 out.avi / out.mp4 ? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 05:44:13 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 03:44:13 -0000 Subject: [FFmpeg-trac] #7(FFplay:open): seeking back to beginning of file sometimes fails badly In-Reply-To: <036.f9c017884c59eb17b98cfc20325135a2@avcodec.org> References: <036.f9c017884c59eb17b98cfc20325135a2@avcodec.org> Message-ID: <051.320e2b9269b5e503c4221196b6e7db75@avcodec.org> #7: seeking back to beginning of file sometimes fails badly ---------------------------------+----------------------------------- Reporter: fpretto | Owner: michael Type: defect | Status: open Priority: normal | Component: FFplay Version: | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ---------------------------------+----------------------------------- Comment (by DonMoir): Not directly related to ffplay, but what I find in my own app, is on a file by file basis seeking to start (rewind) does not work consistently and sometimes badly. Audio can be out of sync etc. Some file formats work well and some not. Sometimes a seek by byte just fails to seek on some files. Sometimes seek by frame works and sometimes not. So you get the picture. I have not taken the time to identify all this here yet as I need to get back to the seek issues in general. The only way I have gotten this to work for all files is to do a parital shutdown of ffmpeg related file handling and restart. Fortunately, my seamless loops still look seamless when doing this on a relatively slow machine. The easiest possible seek should be a rewind type and even if you had to specialize this it might be helpful. The real answer of course is to revisit seeking all together. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 10:07:12 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 08:07:12 -0000 Subject: [FFmpeg-trac] #549(avfilter:new): Video filter overlay does not preserve alpha Message-ID: <036.32a71274ae3729a2c1cbdf9589531dd7@avcodec.org> #549: Video filter overlay does not preserve alpha -------------------------------------+------------------------------------- Reporter: ehsmeng | Type: defect Status: new | Priority: normal Component: avfilter | Version: git- Keywords: overlay | master alpha png | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Hi, I think there might be a bug in ffmpeg/video filter. If I have a clip with alpha and apply a filter, the alpha goes away. It used to be preserved until a couple of months ago. Please find zip with test files attached: mptpmbp:Desktop ehsmeng$ unzip -t bug.zip Archive: bug.zip testing: frameFromWm1.png OK testing: frameNoWm1.png OK testing: movie.mov OK testing: watermark.png OK testing: withWm.mov OK testing: withoutWm.mov OK No errors detected in compressed data of bug.zip. Thanks, Marcus [root at domU-12-31-39-01-90-A1 a]# ffmpeg -i movie.mov -y -vf 'movie=watermark.png,scale=480:270 [wm];[in][wm] overlay=0:0:1 [out]' -acodec copy -s 480x270 -vcodec png withWm.movffmpeg version git-Tue Oct 11 22:16:04 2011 +0200-be5ac96, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 11 2011 17:25:39 with gcc 4.1.2 20070925 (Red Hat 4.1.2-33) configuration: --enable-gpl --enable-libmp3lame --enable-shared --enable-nonfree --enable-libx264 --enable-libfaac --disable-mmx --enable- filter=movie --enable-libvpx --enable-pthreads libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 00:00:00 encoder : Lavf53.4.0 Duration: 00:00:00.20, start: 0.000000, bitrate: 2920 kb/s Stream #0:0(eng): Video: png (png / 0x20676E70), bgra, 640x400, 2892 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 [buffer @ 0x627a30] w:640 h:400 pixfmt:bgra tb:1/1000000 sar:0/1 sws_param: [movie @ 0x63f030] seek_point:0 format_name:(null) file_name:watermark.png stream_index:0 [buffersink @ 0x63e960] auto-inserting filter 'auto-inserted scale 0' between the filter 'Parsed_overlay_2' and the filter 'out' [scale @ 0x63ea80] w:640 h:400 fmt:bgra -> w:480 h:270 fmt:yuv420p flags:0x4 [scale @ 0x6400a0] w:640 h:400 fmt:bgra -> w:480 h:270 fmt:yuva420p flags:0x4 [overlay @ 0x6405d0] main w:480 h:270 fmt:yuv420p overlay x:0 y:0 w:480 h:270 fmt:yuva420p [overlay @ 0x6405d0] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000 exact:1 [scale @ 0x6415e0] w:480 h:270 fmt:yuv420p -> w:480 h:270 fmt:bgra flags:0x4 [swscaler @ 0x6beef0] No accelerated colorspace conversion found from yuv420p to bgra. Output #0, mov, to 'withWm.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 00:00:00 encoder : Lavf53.15.0 Stream #0:0(eng): Video: png (png / 0x20676E70), bgra, 480x270, q=2-31, 200 kb/s, 25 tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream mapping: Stream #0.0 -> #0.0 (png -> png) Press [q] to stop, [?] for help frame= 5 fps= 0 q=0.0 Lsize= 147kB time=00:00:00.20 bitrate=6023.2kbits/s video:146kB audio:0kB global headers:0kB muxing overhead 0.463022% [root at domU-12-31-39-01-90-A1 a]# ffmpeg -i movie.mov -y -acodec copy -s 480x270 -vcodec png withoutWm.mov ffmpeg version git-Tue Oct 11 22:16:04 2011 +0200-be5ac96, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 11 2011 17:25:39 with gcc 4.1.2 20070925 (Red Hat 4.1.2-33) configuration: --enable-gpl --enable-libmp3lame --enable-shared --enable-nonfree --enable-libx264 --enable-libfaac --disable-mmx --enable- filter=movie --enable-libvpx --enable-pthreads libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 00:00:00 encoder : Lavf53.4.0 Duration: 00:00:00.20, start: 0.000000, bitrate: 2920 kb/s Stream #0:0(eng): Video: png (png / 0x20676E70), bgra, 640x400, 2892 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 [buffer @ 0x627a30] w:640 h:400 pixfmt:bgra tb:1/1000000 sar:0/1 sws_param: [scale @ 0x63ea30] w:640 h:400 fmt:bgra -> w:480 h:270 fmt:bgra flags:0x4 Output #0, mov, to 'withoutWm.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 00:00:00 encoder : Lavf53.15.0 Stream #0:0(eng): Video: png (png / 0x20676E70), bgra, 480x270, q=2-31, 200 kb/s, 25 tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream mapping: Stream #0.0 -> #0.0 (png -> png) Press [q] to stop, [?] for help frame= 5 fps= 0 q=0.0 Lsize= 80kB time=00:00:00.20 bitrate=3286.8kbits/s video:80kB audio:0kB global headers:0kB muxing overhead 0.851795% -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 16:11:02 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 14:11:02 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.713da0fc473b34826b5a30aaec1218a0@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Muxing to avi seems to work but ts and mp4 have problems - the dts' are off. That could be a red herring but thought I'd mention it. Good news, I think, in that 'git bisect' narrowed down the checkin where this broke: The instruction set changes for scaling seem like a good place to start - particularly since I don't see this issue on my mac. [2fd49019210a9fbe430b1b94ff7a2f98a6d0fed1] Merge remote-tracking branch 'qatar/master' qatar/master: sws: implement MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling. include stdint.h in adpcm_data.h mpeg12: reorder functions to avoid ugly forward declarations Fixed off by one packet size allocation in the smacker demuxer. Check for invalid packet size in the smacker demuxer. ape demuxer: fix segfault on memory allocation failure. xan: Add some buffer checks xan: Remove extra trailing newline Fixed size given to init_get_bits() in xan decoder. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 18:50:56 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 16:50:56 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.fcd2d4195ab19cc3f70c43f4a5d82882@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): I'm not so certain that I've found the bad changelist. I found that I hadn't completely uninstalled he previous version's libraries. I'm improved my regression script and re-running. I'll update with the correct changelist when I find it. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 19:41:28 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 17:41:28 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.d5f8d94f34988df917bee2e58e5d121f@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): I've rerun all of my tests and confirmed that the changelist where this first breaks is: 2fd49019210a9fbe430b1b94ff7a2f98a6d0fed1: Merge remote-tracking branch 'qatar/master' qatar/master -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 20:14:34 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 18:14:34 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.7c2529b8c7274da1e659642192014bd9@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Note that the changes I'd listed were different though - grabbed comments from a checkin that had the same title. This is the correct list: Merge remote-tracking branch 'qatar/master' * qatar/master: libx264: add 'cplxblur' private option libx264: add 'deblock' private option libx264: add 'b-bias' private option libx264: fix setting some options. libx264: remove useless assignment ac3dec: avoid pointless alloc and indirection for input_buffer mpeg12: cosmetics: reformat as K&R -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 21:19:37 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 19:19:37 -0000 Subject: [FFmpeg-trac] #550(avformat:new): Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 Message-ID: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> #550: Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 -------------------------------------+------------------------------------- Reporter: ilevin | Type: defect Status: new | Priority: normal Component: avformat | Version: Keywords: AMR mode 15 | unspecified Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Logic in movenc.c, function ff_mov_write_packet(), prevents putting no data AMR NB packets - the check will consider such a packet as a multi packet incorrectly. Attached is a simple fix for the issue. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 21:30:35 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 19:30:35 -0000 Subject: [FFmpeg-trac] #551(avformat:new): Enhancements for ffmpeg 0.6.3 when dealing with live H264 stream Message-ID: <035.bb95f113a5b1f741fc1f1cd3f6a8da21@avcodec.org> #551: Enhancements for ffmpeg 0.6.3 when dealing with live H264 stream ----------------------------------+--------------------------------------- Reporter: ilevin | Type: enhancement Status: new | Priority: minor Component: avformat | Version: unspecified Keywords: H264 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- Add abilities when writing to/reading from 3gp/mov format, and with no decoding/encoding (handling already encoding live stream from the net): 1. To store/retreive "btrt" bitrate box 2. Store/retreive "max NALU size" for H264 stream 3. Read "udta" box on a stream level -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 21:47:20 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 19:47:20 -0000 Subject: [FFmpeg-trac] #551(avformat:new): Enhancements for ffmpeg 0.6.3 when dealing with live H264 stream In-Reply-To: <035.bb95f113a5b1f741fc1f1cd3f6a8da21@avcodec.org> References: <035.bb95f113a5b1f741fc1f1cd3f6a8da21@avcodec.org> Message-ID: <050.4dd7d27f229a44501b130500162c13c1@avcodec.org> #551: Enhancements for ffmpeg 0.6.3 when dealing with live H264 stream -------------------------------------+------------------------------------ Reporter: ilevin | Owner: Type: enhancement | Status: new Priority: minor | Component: avformat Version: unspecified | Resolution: Keywords: H264 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by cehoyos): Please provide samples for "btrt" and "udta" and please explain why "max NALU size" is needed. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 21:52:14 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 19:52:14 -0000 Subject: [FFmpeg-trac] #550(avformat:new): Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 In-Reply-To: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> References: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> Message-ID: <050.8fb8ff25149fe94e8a172e431e346bc9@avcodec.org> #550: Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 -------------------------------------+------------------------------------ Reporter: ilevin | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: AMR mode 15 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by cehoyos): Can't you simply add "1" to the entries in packed_size that need it to make this patch smaller? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 22:23:58 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 20:23:58 -0000 Subject: [FFmpeg-trac] #550(avformat:new): Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 In-Reply-To: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> References: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> Message-ID: <050.11f74bed765454fb223bf21cad322115@avcodec.org> #550: Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 -------------------------------------+------------------------------------ Reporter: ilevin | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: AMR mode 15 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by ilevin): You are right, I could, but I wanted to preserve the array with the logical meaning of "how much of payload each AMR mode packet carries", instead of adding the TOC byte to the size. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 22:27:38 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 20:27:38 -0000 Subject: [FFmpeg-trac] #552(avformat:new): warning flags needed for av_open_input_file Message-ID: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> #552: warning flags needed for av_open_input_file ----------------------------------+--------------------------------------- Reporter: DonMoir | Type: enhancement Status: new | Priority: normal Component: avformat | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- When you open a video, warnings are sent to stdout. This does you no good if you need to check these warnings. This needs to be tied into AVFormatContext so it is instance driven and not some global setting. The main case I am looking at now is in asfdec.c and asf_read_header. There are test for DRM Protected etc and message 'decoding will likely fail'. I would like to know about these warnings after I do an open. I have multiples instances of code that can call av_open_input_file from various threads. Looks like the only thing I can do now is trap log messages which are global which would mean I have to block on av_open_input_file so that I know I am dealing with the right instance. Then do something silly like look at strings from the log callback. If you have another work around let me know. There are probably other cases where other warnings might be useful as well. Not sure where you would fit these flags in, but ideally as part of the AVFormatContext structure. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 22:32:18 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 20:32:18 -0000 Subject: [FFmpeg-trac] #551(avformat:new): Enhancements for ffmpeg 0.6.3 when dealing with live H264 stream In-Reply-To: <035.bb95f113a5b1f741fc1f1cd3f6a8da21@avcodec.org> References: <035.bb95f113a5b1f741fc1f1cd3f6a8da21@avcodec.org> Message-ID: <050.cc0429d1f0b148bd533d5827afcd4e8a@avcodec.org> #551: Enhancements for ffmpeg 0.6.3 when dealing with live H264 stream -------------------------------------+------------------------------------ Reporter: ilevin | Owner: Type: enhancement | Status: new Priority: minor | Component: avformat Version: unspecified | Resolution: Keywords: H264 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by ilevin): "max NALU size" was required in my project to be reported to the streamer, thus it will know whether transcoding is needed depending on remote end SDP negotiated abilities. For example, when streaming over network with MTU 1500, and negotiated mode 0 (disallowing fragmentation for H264 payload), transcoding is required if there is any NALU greater than 1468 in the stream. In my project, decision about switching transcoding on or off has to be taken upfront, thus knowing the maximum NALU size in all the packets in the stream is crucial. "btrt" box serves similar purpose - we have restricted requirements on the high limits of the bit rate in the stream, and need to know maximum stream bit rate in a sliding window of a second upfront to decide whether trans-rating is required. "udta" on a stream level may hold an SDP information in sub boxes, and we were required to utilize that info if it existed. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 23:25:07 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 21:25:07 -0000 Subject: [FFmpeg-trac] #550(avformat:open): Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 In-Reply-To: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> References: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> Message-ID: <050.3a09b0b2d4100953b1e19238ec9b4c46@avcodec.org> #550: Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 ------------------------------------+------------------------------------ Reporter: ilevin | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: mov AMR | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: AMR mode 15 => mov AMR * status: new => open * version: unspecified => git-master Comment: I suggest you clone current FFmpeg, change the required value in the array - no additional comment needed afaict - and send a patch to ffmpeg-devel. (I cannot comment on the issues you point out in the other ticket.) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 23:25:53 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 21:25:53 -0000 Subject: [FFmpeg-trac] #552(avformat:open): warning flags needed for av_open_input_file In-Reply-To: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> References: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> Message-ID: <051.2afaaabf76ff9d4be59b6e67f584e73c@avcodec.org> #552: warning flags needed for av_open_input_file -------------------------------------+------------------------------------ Reporter: DonMoir | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * status: new => open * version: unspecified => git-master * reproduced: 0 => 1 Comment: I suggest you add such a flag and send it to ffmpeg-devel. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 13 23:41:46 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 13 Oct 2011 21:41:46 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.ff5ecb4b3bb8bc1b2624d2247d4911d9@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): I've further narrowed down the change to the file libavcodec/libx264.c. There were quite a few changes to this file, so if anyone monitoring git who has some familiarity with this code has a chance to look at the diff, I'd welcome any input. Is it possible that with the addition of new private options that one of the defaults is causing the stream corruption? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 02:10:15 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 00:10:15 -0000 Subject: [FFmpeg-trac] #423(undetermined:open): ffmpeg.exe MOV to WebM x64 crash In-Reply-To: <036.0394495044cda6279b2f2d975be8b48e@avcodec.org> References: <036.0394495044cda6279b2f2d975be8b48e@avcodec.org> Message-ID: <051.6301fdd0fb6cf6ecf9cee674621f10be@avcodec.org> #423: ffmpeg.exe MOV to WebM x64 crash -------------------------------------+------------------------------------- Reporter: mrgenie | Owner: michael Type: defect | Status: open Priority: important | Component: Version: unspecified | undetermined Keywords: webM x64 | Resolution: crash | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by mbradshaw): I too am having this problem. It's not just with MOV files, as the same thing happened with an MP4 file as well. I was trying to encode a video to VP8/OGG/WebM and ffmpeg crashed. I have attached two files that were generated by Windows from the crash. One describes my computer setup, and the other describes some information about the state of FFmpeg. I have another crash dump file, but it's ~7MB, so it's a little too big to upload here with the file size limit. '''Here is the exact output from the console, including my exact command:''' C:\Users\mbradshaw\Projects\smicomp\Windows>ffmpeg -i "../samples/sample_sorens on.mov" -t 10 -ab 45000 -ar 48000 -acodec libvorbis -b:v 362000 -quality best -t hreads 2 -error-resilient default -nr 0 -vcodec libvpx -f webm -ac 1 -channel_la yout 4 -vf "scale=177:224" -minrate 362000 -maxrate 362000 -bufsize 362000 -rc_i nit_occupancy 2172000 -y "ffmpeg_output.webm" ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 13 2011 02:26:50 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1 ) -> 12.00 (12/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../samples/sample_sorenson.mov': Metadata: creation_time : 2001-02-19 16:45:54 title : QuickTime Sample Movie title-eng : QuickTime Sample Movie copyright : -? Apple Computer, Inc. 2001 copyright-eng : -? Apple Computer, Inc. 2001 Duration: 00:00:05.00, start: 0.000000, bitrate: 131 kb/s Stream #0:0(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 190x240, 97 kb/s , 12 fps, 12 tbr, 600 tbn, 600 tbc Metadata: creation_time : 2001-02-19 16:45:54 Stream #0:1(eng): Audio: qdm2 (QDM2 / 0x324D4451), 22050 Hz, 2 channels, s16 , 32 kb/s Metadata: creation_time : 2001-02-19 16:45:54 Incompatible pixel format 'yuv410p' for codec 'libvpx', auto-selecting format 'y uv420p' [buffer @ 000000000034A5A0] w:190 h:240 pixfmt:yuv410p tb:1/1000000 sar:0/1 sws_ param: [scale @ 00000000002E2890] w:190 h:240 fmt:yuv410p -> w:177 h:224 fmt:yuv420p fl ags:0x4 [libvpx @ 00000000002DFFD0] v0.9.7-p1 Output #0, webm, to 'ffmpeg_output.webm': Metadata: creation_time : 2001-02-19 16:45:54 title : QuickTime Sample Movie title-eng : QuickTime Sample Movie copyright : -? Apple Computer, Inc. 2001 copyright-eng : -? Apple Computer, Inc. 2001 encoder : Lavf53.15.0 Stream #0:0(eng): Video: vp8, yuv420p, 177x224, q=-1--1, 362 kb/s, 1k tbn, 1 2 tbc Metadata: creation_time : 2001-02-19 16:45:54 Stream #0:1(eng): Audio: vorbis, 48000 Hz, mono, s16, 45 kb/s Metadata: creation_time : 2001-02-19 16:45:54 Stream mapping: Stream #0.0 -> #0.0 (svq1 -> libvpx) Stream #0.1 -> #0.1 (qdm2 -> libvorbis) Press [q] to stop, [?] for help [SWR @ 0000000004959BF0] Input channel layout has a different number of channels than there actually is, ignoring layout C:\Users\mbradshaw\Projects\smicomp\Windows> ---- '''Here is the exact output from FFmpeg about the details for the input video:''' C:\Users\mbradshaw\Projects\smicomp\Windows>ffmpeg -v 9 -loglevel 99 -i ..\sampl es\sample_sorenson.mov ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 13 2011 02:26:50 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032CFF0] Format mov,mp4,m4a,3gp,3g2,mj2 prob ed with size=2048 and score=100 [svq1 @ 0000000001B28390] Unsupported bit depth: 0 [qdm2 @ 0000000001B37130] size: 36 init done Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1 ) -> 12.00 (12/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '..\samples\sample_sorenson.mov': Metadata: creation_time : 2001-02-19 16:45:54 title : QuickTime Sample Movie title-eng : QuickTime Sample Movie copyright : -? Apple Computer, Inc. 2001 copyright-eng : -? Apple Computer, Inc. 2001 Duration: 00:00:05.00, start: 0.000000, bitrate: 131 kb/s Stream #0:0(eng), 60, 1/600: Video: svq1 (SVQ1 / 0x31515653), yuv410p, 190x2 40, 1/600, 97 kb/s, 12 fps, 12 tbr, 600 tbn, 600 tbc Metadata: creation_time : 2001-02-19 16:45:54 Stream #0:1(eng), 53, 1/22050: Audio: qdm2 (QDM2 / 0x324D4451), 22050 Hz, 2 channels, s16, 32 kb/s Metadata: creation_time : 2001-02-19 16:45:54 At least one output file must be specified C:\Users\mbradshaw\Projects\smicomp\Windows> ---- I will try to look into this more, particularly using the vpxenc.exe (x64 version). I do not have this problem when using FFmpeg x86 version. Only with the FFmpeg x64 version. I also do not have this problem on OS X 10.6 or Ubuntu 11. I am using FFmpeg-git-f884ef0-64-bit-Static (from 2011-10-13) from the Zeranoe builds. The input video in this part comes from a QuickTime sample from the iTunes website. I will attach it. vpxenc.exe also produces snow for my input video. The length is approximately equal to that of the input video. I haven't used vpxenc.exe very much though, so I need to test it more and make sure that the snow isn't being caused by me passing in crappy parameters. I'm more familiar with FFmpeg. I don't have any gdb output from ffmpeg_g, as I don't have ffmpeg_g.exe. If I had it, I would be happy to produce some gdb output. Thanks for making a great program; I hope that this can get resolved (whether it's WebM team's problem or FFmpeg's), as it could cause some problems with encoding on some of our servers that we use. If there is any additional information I can provide, please let me know. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 02:31:24 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 00:31:24 -0000 Subject: [FFmpeg-trac] #423(undetermined:open): ffmpeg.exe MOV to WebM x64 crash In-Reply-To: <036.0394495044cda6279b2f2d975be8b48e@avcodec.org> References: <036.0394495044cda6279b2f2d975be8b48e@avcodec.org> Message-ID: <051.89f292c70f9b1eadd201f141d5454a45@avcodec.org> #423: ffmpeg.exe MOV to WebM x64 crash -------------------------------------+------------------------------------- Reporter: mrgenie | Owner: michael Type: defect | Status: open Priority: important | Component: Version: unspecified | undetermined Keywords: webM x64 | Resolution: crash | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:9 mbradshaw]: > I have attached two files that were generated by Windows from the crash. One describes my computer setup, and the other describes some information about the state of FFmpeg. Afaict, these files do not contain any useful information. Please provide a backtrace etc. as explained on http://ffmpeg.org/bugreports.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 03:16:53 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 01:16:53 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.5e1999d4e2cb7f5d424744b4a4fd5233@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): The regression seems to be related to the following change: {{{ x4->params.rc.i_qp_min = avctx->qmin; x4->params.rc.i_qp_max = avctx->qmax; x4->params.rc.i_qp_step = avctx->max_qdiff; }}} became... {{{ if (avctx->qmin >= 0) x4->params.rc.i_qp_min = avctx->qmin; if (avctx->qmax >= 0) x4->params.rc.i_qp_max = avctx->qmax; if (avctx->max_qdiff >= 0) x4->params.rc.i_qp_step = avctx->max_qdiff; }}} I imagine there may be other related changes but removing these eliminated the bug for me. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 12:13:26 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 10:13:26 -0000 Subject: [FFmpeg-trac] #553(FFmpeg:new): ffmpeg fails to transcode VCD file Message-ID: <035.122a1d142455bd4b829d16c675aef2db@avcodec.org> #553: ffmpeg fails to transcode VCD file ----------------------------------+--------------------------------- Reporter: nostah | Owner: michael Type: defect | Status: new Priority: normal | Component: FFmpeg Version: 0.8.5 | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ----------------------------------+--------------------------------- I have a MPEG2 video file that is stored inside MPEG1 container. During transcoding ffmpeg fails with the following message: FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 5 2011 13:59:08 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50.33. 0 / 50.33. 0 libavcore 0.14. 0 / 0.14. 0 libavcodec 52.97. 2 / 52.97. 2 libavformat 52.87. 1 / 52.87. 1 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.65. 0 / 1.65. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg2video @ 0x15f01f0] mpeg_decode_postinit() failure Last message repeated 13 times [mpeg @ 0x15ed760] max_analyze_duration reached Input #0, mpeg, from 'mpeg2_in_mpeg1.vcd': Duration: 00:00:32.99, start: 0.500000, bitrate: 2114 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 2000 kb/s, 32.57 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0.1[0x1c0]: Audio: mp2, 0 channels [buffer @ 0x15f4fc0] w:720 h:480 pixfmt:yuv420p [libfaac @ 0x15f4880] encoding 0 channel(s) is not allowed Output #0, mp4, to '/tmp/test.mp4': Stream #0.0: Video: mpeg4, yuv420p, 720x480 [PAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream #0.1: Audio: libfaac, 0 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height I used this command: $ ffmpeg -i mpeg2_in_mpeg1.vcd -vcodec mpeg4 -acodec libfaac /tmp/test.mp4 No matter what bitrates/width/height or other parameters I use, I always get this message. The only thing that can make ffmpeg to transcode is to disable audio with -an option. But this results in movie without audio track. It seems that ffmpeg/ffplay could not determine audio track parameters. I've tried ffmpeg versions 0.6.1, 0.8.4 and 0.8.5 from debian-multimedia packages. At the same time mediainfo recognizes properly the both audio and video tracks: General Complete name : mpeg2_in_mpeg1.vcd Format : MPEG-PS File size : 8.32 MiB Duration : 33s 144ms Overall bit rate : 2 105 Kbps Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main at Main Format settings, BVOP : Yes Format settings, Matrix : Custom Format settings, GOP : M=3, N=15 Duration : 33s 33ms Bit rate : 1 967 Kbps Maximum bit rate : 2 000 Kbps Width : 720 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 29.970 fps Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan order : Top Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.190 Stream size : 7.75 MiB (93%) Audio ID : 192 (0xC0) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Duration : 33s 144ms Bit rate mode : Constant Bit rate : 96.0 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Compression mode : Lossy Delay relative to video : 6s 167ms Stream size : 388 KiB (5%) Also VLC (linux) or Quicktime player (mac) plays this file with both audio and video. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 12:24:57 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 10:24:57 -0000 Subject: [FFmpeg-trac] #552(avformat:open): warning flags needed for av_open_input_file In-Reply-To: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> References: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> Message-ID: <051.3d82a7d885179c039787b0ee781e7948@avcodec.org> #552: warning flags needed for av_open_input_file -------------------------------------+------------------------------------ Reporter: DonMoir | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by DonMoir): Not sure if it's a matter of a simple flag. It's seems to be more of a matter where to put it. I did take a quick look at things. Is there a place for such flags in AVFormatContext without changing structure ? Or is a slight structure change appropriate ? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 12:42:01 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 10:42:01 -0000 Subject: [FFmpeg-trac] #553(avformat:closed): ffmpeg fails to transcode VCD file In-Reply-To: <035.122a1d142455bd4b829d16c675aef2db@avcodec.org> References: <035.122a1d142455bd4b829d16c675aef2db@avcodec.org> Message-ID: <050.b2b3ad51a8ed88278ab7a3e25df1c8e2@avcodec.org> #553: ffmpeg fails to transcode VCD file -------------------------------------+------------------------------------ Reporter: nostah | Owner: michael Type: defect | Status: closed Priority: normal | Component: avformat Version: unspecified | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * status: new => closed * resolution: => invalid * version: 0.8.5 => unspecified * component: FFmpeg => avformat Comment: > [mpeg @ 0x15ed760] max_analyze_duration reached You have to pass -analyzeduration 6000000 to ffmpeg, audio stream starts late. While I hope the preset value will be increased, there will be always be samples that need an even higher value. Note that FFmpeg has switched to git - see http://ffmpeg.org/download.html - and on this bug tracker, only current git head (and current releases) are supported, your version is ancient and misses many features / contains many bugs that have been fixed meanwhile. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 12:59:42 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 10:59:42 -0000 Subject: [FFmpeg-trac] #552(avformat:open): warning flags needed for av_open_input_file In-Reply-To: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> References: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> Message-ID: <051.b75cab331cd61a8c91bf89ccbadb0aeb@avcodec.org> #552: warning flags needed for av_open_input_file -------------------------------------+------------------------------------ Reporter: DonMoir | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by cehoyos): Is adding an AVFMT_FLAG not enough? {{{ #define AVFMT_FLAG_ENCRYPTED 0x80000 /// FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 13:00:30 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 11:00:30 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c Message-ID: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> #554: Buffer overflow in dvbsubdec.c ---------------------------------+-------------------------------------- Reporter: mihnea | Type: defect Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- Hi. The function dvbsub_parse_pixel_data_block() in libavcodec/dvbsubdec.c is prone to overflowing the region->pbuf buffer. That buffer is region->width*region->height bytes in length, but the check for overflow is done like this: if (x_pos > region->width || y_pos > region->height) The comparisons should obviously use greater than equal instead of greater, since you never want to write at region->height * region->width + something. However, if I change them, the "invalid object location" message triggers all the time because y_pos is incremented a few lines above like this: if ((y_pos & 1) != top_bottom) y_pos++; I suppose this is trying to align the starting line to odd or even to account for interlacing. I'm not sure how this works for progressive streams since I don't know anything about how DVB subtitles are encoded, but with a progressive stream it always reaches this piece of code with y_pos = region->height - 1, so the increment makes y_pos invalid, causing a buffer overflow with the current code, or triggering the error message if the comparison is fixed. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 13:02:16 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 11:02:16 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.c36a70d5459dd48c619b31b712f17855@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by mihnea): Awesome, trac thought the or operator is a format hint. The first bit of code should read: {{{ if (x_pos > region->width || y_pos > region->height) }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 13:24:47 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 11:24:47 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.a09088c96b5afa551d847e6e69ca92ac@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Can you provide a sample that overflows? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 13:25:21 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 11:25:21 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.5f0a867b3ebf67b25556bc92e68fb077@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Description changed by cehoyos: Old description: > Hi. > > The function dvbsub_parse_pixel_data_block() in libavcodec/dvbsubdec.c is > prone to overflowing the region->pbuf buffer. That buffer is > region->width*region->height bytes in length, but the check for overflow > is done like this: > > if (x_pos > region->width || y_pos > region->height) > > The comparisons should obviously use greater than equal instead of > greater, since you never want to write at region->height * region->width > + something. However, if I change them, the "invalid object location" > message triggers all the time because y_pos is incremented a few lines > above like this: > > if ((y_pos & 1) != top_bottom) > y_pos++; > > I suppose this is trying to align the starting line to odd or even to > account for interlacing. I'm not sure how this works for progressive > streams since I don't know anything about how DVB subtitles are encoded, > but with a progressive stream it always reaches this piece of code with > y_pos = region->height - 1, so the increment makes y_pos invalid, causing > a buffer overflow with the current code, or triggering the error message > if the comparison is fixed. New description: Hi. The function dvbsub_parse_pixel_data_block() in libavcodec/dvbsubdec.c is prone to overflowing the region->pbuf buffer. That buffer is region->width*region->height bytes in length, but the check for overflow is done like this: {{{ if (x_pos > region->width || y_pos > region->height) }}} The comparisons should obviously use greater than equal instead of greater, since you never want to write at region->height * region->width + something. However, if I change them, the "invalid object location" message triggers all the time because y_pos is incremented a few lines above like this: {{{ if ((y_pos & 1) != top_bottom) y_pos++; }}} I suppose this is trying to align the starting line to odd or even to account for interlacing. I'm not sure how this works for progressive streams since I don't know anything about how DVB subtitles are encoded, but with a progressive stream it always reaches this piece of code with y_pos = region->height - 1, so the increment makes y_pos invalid, causing a buffer overflow with the current code, or triggering the error message if the comparison is fixed. -- -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 13:35:52 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 11:35:52 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.868c307d2c37768d24f4d7f2ce756562@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Is attached patchdvboverflow.diff sufficient to fix the problem? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 13:42:24 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 11:42:24 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.4414b47b296ff3ddcf1735b263a27edc@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by mihnea): Unfortunately I can't provide a sample, the stream which triggers it comes though a VPN (it's supposed to go in a set top box). The patch will fix the problem, assuming y positions are 1-based (or that the height specified in the region segment is 1 pixel shorter than the actual height). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 14:11:26 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 12:11:26 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.724979007d116dc0373be116ba41939c@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by EricV): Tried with git today: same error => not fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 14:21:29 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 12:21:29 -0000 Subject: [FFmpeg-trac] #8(avformat:closed): Matroska muxers define unusable codec_tag properties In-Reply-To: <034.b883a45237763703d1bb6506f06e4d2a@avcodec.org> References: <034.b883a45237763703d1bb6506f06e4d2a@avcodec.org> Message-ID: <049.fba2dd3b44956c087423817dd6c3868f@avcodec.org> #8: Matroska muxers define unusable codec_tag properties ------------------------------------+------------------------------------ Reporter: EricV | Owner: michael Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | ------------------------------------+------------------------------------ Comment (by EricV): Replying to [comment:5 cehoyos]: > Not really related to EAC3 (and certainly not to spectral extension). > > Should be fixed in current git head. The eac3 support is indeed fixed not the problem leading to "Could not write header for output file #0 (incorrect codec parameters ?)". Juts tried again with git today (N-33635-g91eb1b1) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 14:48:33 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 12:48:33 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.a012464775e828ce74726b65a1b75d6d@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by EricV): I'm confused. The sample provided does not work. I have other that work??? Do you want a working sample? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 15:53:01 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 13:53:01 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.7b7b38a480fcf7646eb30ff67fee0f40@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Here's the checkin: http://ffmpeg.org/pipermail/ffmpeg-cvslog/2011-September/040125.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 17:26:31 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 15:26:31 -0000 Subject: [FFmpeg-trac] #552(avformat:open): warning flags needed for av_open_input_file In-Reply-To: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> References: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> Message-ID: <051.9c06ca5fd328f3810df164a1f22e8bef@avcodec.org> #552: warning flags needed for av_open_input_file -------------------------------------+------------------------------------ Reporter: DonMoir | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by DonMoir): Yeah wasn't sure about the flags on who sets what, but that seems perfect. I suppose I use this email ffmpeg-devel at ffmpeg.org and will send. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 17:45:04 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 15:45:04 -0000 Subject: [FFmpeg-trac] #8(avformat:closed): Matroska muxers define unusable codec_tag properties In-Reply-To: <034.b883a45237763703d1bb6506f06e4d2a@avcodec.org> References: <034.b883a45237763703d1bb6506f06e4d2a@avcodec.org> Message-ID: <049.5a004c19b3f0e26a7a2db24967df30af@avcodec.org> #8: Matroska muxers define unusable codec_tag properties ------------------------------------+------------------------------------ Reporter: EricV | Owner: michael Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | ------------------------------------+------------------------------------ Comment (by cehoyos): Please provide your command line and complete, uncut console output. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 17:48:05 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 15:48:05 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.4efdb2ee39fcf52ea078b383f846d64e@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by cehoyos): Please provide your command line and complete, uncut console output. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 18:29:38 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 16:29:38 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.fd2c7801688ccc8f112750dbc1b1a25e@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): I've found other issues with this checkin. For example, I set '-keyint_min 25' but the result is a keyint_min of 16. Note that I disabled scenecut detection: "-sc_threshold 0". -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 19:22:45 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 17:22:45 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.e681137386b9bd62c7d73642276f1a24@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:12 terran]: > Something else that I found during testing just now ... "-threads 4" fails just like "-threads 0" Is this still correct or not? If yes, could you confirm if -vcodec libx264 is needed to reproduce the problem or if it is also reproducible with -vcodec mpeg4 -qscale 2? And please try to repeat what the problem is (no sound?), what the shortest command line is to trigger this problem and how output looks like. Please test the native aac, the native mp2 and an external aac encoder and different containers. Finally, please post complete, uncut output for the failing command (together with the short command line). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 19:37:03 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 17:37:03 -0000 Subject: [FFmpeg-trac] #537(undetermined:reopened): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.eccb71adf720911c5aa5f92b39ec6459@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: reopened Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Changes (by EricV): * status: closed => reopened * resolution: duplicate => Comment: NB the bug attached sample is just the very beginning of the file... ffmpeg -i /multimedia/Video/France-2-HD-Peuple-des-oc?ans.2011-09-11.ts -map 0:0 -map 0:1 -vcodec copy -acodec copy -acodec copy -sn -f matroska /tmp/test3.mkv ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 3 2011 07:31:51 with gcc 4.6.1 configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable- pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable- x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable- nonfree --disable-stripping --enable-libschroedinger --disable- encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable- libvpx --enable-librtmp --enable-avfilter --enable-frei0r --enable- libopencv --enable-libfreetype --enable-libvo-aacenc --enable-libvo- amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --enable- libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable- vis --shlibdir=/usr/lib/x86_64-linux-gnu libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS referenced [h264 @ 0x63b260] non-existing SPS 0 referenced in buffering period [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] non-existing PPS 0 referenced [h264 @ 0x63b260] decode_slice_header error [h264 @ 0x63b260] no frame! [mpegts @ 0x635c20] max_analyze_duration 5000000 reached at 5024000 Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Input #0, mpegts, from '/multimedia/Video/France-2-HD-Peuple-des- oc?ans.2011-09-11.ts': Duration: 01:16:59.64, start: 91656.627522, bitrate: 7958 kb/s Program 1 Stream #0.0[0xdc]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 31.53 fps, 50 tbr, 90k tbn, 50 tbc Stream #0.1[0xe6](fra): Audio: eac3, 48000 Hz, stereo, s16, 128 kb/s Stream #0.2[0xe7](qaa): Audio: eac3, 48000 Hz, 5.1, s16, 256 kb/s Stream #0.3[0xf0](fra): Subtitle: dvbsub File '/tmp/test3.mkv' already exists. Overwrite ? [y/N] y [matroska @ 0x65a5e0] Tag [6][0][0][0]/0x00000006 incompatible with output codec id '86059' Output #0, matroska, to '/tmp/test3.mkv': Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 25 tbc Stream #0.1(fra): Audio: eac3, 48000 Hz, stereo, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Could not write header for output file #0 (incorrect codec parameters ?) valette at tri-yann3:/multimedia/Video$ -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 19:39:05 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 17:39:05 -0000 Subject: [FFmpeg-trac] #8(avformat:closed): Matroska muxers define unusable codec_tag properties In-Reply-To: <034.b883a45237763703d1bb6506f06e4d2a@avcodec.org> References: <034.b883a45237763703d1bb6506f06e4d2a@avcodec.org> Message-ID: <049.b961967a333d35b5760cea2f6c424c19@avcodec.org> #8: Matroska muxers define unusable codec_tag properties ------------------------------------+------------------------------------ Reporter: EricV | Owner: michael Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | ------------------------------------+------------------------------------ Comment (by EricV): See bug #537 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 20:28:20 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 18:28:20 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.23ff23d76a01cb01ecf38a7d22ce2eae@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): The problem is that when I use libavformat to open the file, it doesn't find the audio stream: Output #0, mpegts, to 's': Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080, q=2-31, 90k tbn, 30 tbc Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 0 channels [mpegts @ 0x18cf3ee0] sample rate not set Per your other question, mpeg4 does not work with -threads 0: {{{ [mpeg4 @ 0x36ea180] automatic thread number detection not supported by codec, patch welcome }}} I've provided a lot of other information, including isolating the changelist where this broke. Is any of this useful? It looks like it's triggered by the changes in sending qmin, qmax and sc_threshold. I disable scenecut detection with '-sc_threshold 0' which may also be related. If you there is a private fpt host I could use to upload the file I would provide it so you can reproduce. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 20:31:23 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 18:31:23 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.89f05f2cb4ddb089be2e717ee2379a29@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Changes (by cehoyos): * status: reopened => closed * resolution: => fixed Comment: Replying to [comment:11 EricV]: > ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers I had already tried to explain [https://ffmpeg.org/trac/ffmpeg/ticket/537?replyto=11#comment:5 here] that this is fixed in: * current git head (for several weeks) * the next future release(s) It is neither fixed in 0.8.5 nor in 0.7.6. Please reopen if you can reproduce the problem with current git head master or current branch oldabi or branches release/0.7 or release/0.8 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 20:34:15 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 18:34:15 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.d62313a0f3aea43e380daee0cebea653@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by EricV): Look. I'm home now. I tried git today at work and got the exact same result while you said its fixed. I'm not going to recompile from git, mess with my actual binary packages just for the same result. Is your git version working on the sample. Mine did not. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 14 22:00:04 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 14 Oct 2011 20:00:04 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.fe68788f05fbc4c7aeef19ed7da33a43@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by cehoyos): Please post command line and complete, uncut output. (you don't have to mess with your installed version, just run from the build directory, I never install) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 02:17:30 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 00:17:30 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.04eb46df7f6af90de92acfbb69acb26e@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:27 terran]: > I've provided a lot of other information, including isolating the changelist where this broke. Is any of this useful? I guess so, but you also provided the information that ''"-threads 4" fails just like "-threads 0"'', so I asked you to test -threads 4 -vcodec mpeg4 if (and only if) this information was correct. It happens often to me that I test and reports something and it turns out that my report was not correct, in such a case it is important to test and report again, ''indeterministic behaviour'' is very, very unlikely (if your memory isn't broken). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 07:58:32 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 05:58:32 -0000 Subject: [FFmpeg-trac] #555(undetermined:new): ffplay.exe cann't play the h.264.ts file, but the old version is OK! Message-ID: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> #555: ffplay.exe cann't play the h.264.ts file, but the old version is OK! -------------------------------------+------------------------------------- Reporter: wanderman | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: H264 TS NOT | Blocked By: PLAYED | Reproduced by developer: 0 Blocking: | Analyzed by developer: 1 | -------------------------------------+------------------------------------- ffplay.exe cann't play the h.264.ts file, but the old version is OK! -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 08:52:06 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 06:52:06 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.04bd978cef4531f1ccf7a3d63e3b0337@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Some fixes from Julian Gardner were committed yesterday, could you please test if the problems you saw are still reproducible with current git head? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 11:40:28 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 09:40:28 -0000 Subject: [FFmpeg-trac] #555(avcodec:open): h264: invalid 8x8 inference, reference decoder works fine (was: ffplay.exe cann't play the h.264.ts file, but the old version is OK!) In-Reply-To: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> References: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> Message-ID: <053.37136574368d5850dc19280ea664be3f@avcodec.org> #555: h264: invalid 8x8 inference, reference decoder works fine -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: open Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 * component: undetermined => avcodec * priority: normal => important * keywords: H264 TS NOT PLAYED => H264 regression * version: unspecified => git-master * analyzed: 1 => 0 Comment: Attached h264 raw stream can be decoded with the reference decoder, ffmpeg does not decode the stream since 1c3ce2cd3ef3df47eccb0245017a6d2f3d5308b4 (r21668), protesting "This stream was generated by a broken encoder, invalid 8x8 inference" {{{ $ ffmpeg -i invalid8x8.h264 ffmpeg version N-33659-g1d0afec, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 15 2011 10:58:34 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [h264 @ 0x1304be0] This stream was generated by a broken encoder, invalid 8x8 inference [h264 @ 0x1304be0] sps_id out of range [h264 @ 0x1304be0] non-existing PPS referenced [h264 @ 0x1304be0] This stream was generated by a broken encoder, invalid 8x8 inference [h264 @ 0x1304be0] sps_id out of range [h264 @ 0x1304be0] non-existing PPS 0 referenced [h264 @ 0x1304be0] decode_slice_header error [h264 @ 0x1304be0] no frame! ... [h264 @ 0x1304be0] non-existing PPS referenced [h264 @ 0x1304be0] non-existing PPS 0 referenced [h264 @ 0x1304be0] decode_slice_header error [h264 @ 0x1304be0] no frame! [h264 @ 0x1304be0] non-existing PPS referenced [h264 @ 0x1304be0] non-existing PPS 0 referenced [h264 @ 0x1304be0] decode_slice_header error [h264 @ 0x1304be0] no frame! [h264 @ 0x12fe780] Could not find codec parameters (Video: h264) [h264 @ 0x12fe780] Estimating duration from bitrate, this may be inaccurate invalid8x8.h264: could not find codec parameters }}} {{{ $ ffmpeg -i invalid8x8.h264 FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libfaad --enable-gpl --enable-x11grab --enable-libmp3lame libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 1 / 52.20. 1 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 built on Aug 19 2011 10:40:35, gcc: 4.5.3 Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2) Input #0, h264, from 'invalid8x8.h264': Duration: N/A, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 720x576, 25 tbr, 1200k tbn, 50 tbc At least one output file must be specified }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 12:17:34 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 10:17:34 -0000 Subject: [FFmpeg-trac] #548(FFplay:new): ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 In-Reply-To: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> References: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> Message-ID: <052.092e88b1f30d67619c6e4df4e5286e72@avcodec.org> #548: ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cehoyos): I assume this is without the patch from ticket #546 attached. Do you see the same problem with the patch attached? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 13:13:42 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 11:13:42 -0000 Subject: [FFmpeg-trac] #548(FFplay:new): ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 In-Reply-To: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> References: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> Message-ID: <052.61635861f18fc0497edbccd333ce980b@avcodec.org> #548: ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cbsrobot): Yes the same problem occurs with the patch - but at least it does not crash anymore. The subject I wrote is wrong: the blue channel does not get displayed, so the image is more yellowish. I installed latest libsdl from hg and am trying to resolve the issue within libsdl atm. If somebody is interested to chime in: I found following comment in SDL_QuarzVideo.m, but I'm not sure if it still valid: {{{ /* * This is a big hassle, needing QuickDraw and QuickTime on older * systems, and god knows what on 10.6, so we immediately fail here, * which causes SDL to make an RGB surface and manage the YUV overlay * in software. Sorry. Use SDL 1.3 if you want YUV rendering in a pixel * shader. :) */ /*device->CreateYUVOverlay = QZ_CreateYUVOverlay;*/ }}} So I tried to modify the rgba bitmasks (in the QZ_SetVideoMode function in the same file) and either I get Fullscreen working properly or Windowed mode, but never both and although this function gets called when switching from/to fullscreen/window, the rgba bitmasks do not get updated or the rgba bitmasks get redefined somewhere else ... I'm still digging. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 13:34:16 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 11:34:16 -0000 Subject: [FFmpeg-trac] #548(FFplay:new): ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 In-Reply-To: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> References: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> Message-ID: <052.e2993c1c043a9320fe943c1b117681d0@avcodec.org> #548: ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cehoyos): Do you see the wrong colours with both ffplay -fs and ffplay and pressing "f"? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 13:54:22 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 11:54:22 -0000 Subject: [FFmpeg-trac] #548(FFplay:new): ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 In-Reply-To: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> References: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> Message-ID: <052.dfcc211b92d7331f7ee0f9be11563b3d@avcodec.org> #548: ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git-master | Resolution: Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Comment (by cbsrobot): When starting with -fs or without the colors are correct. Only when switching from/to fullscreen, the blue channel disappears. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 15:34:03 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 13:34:03 -0000 Subject: [FFmpeg-trac] #555(avcodec:closed): h264: invalid 8x8 inference, reference decoder works fine In-Reply-To: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> References: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> Message-ID: <053.f55d6f14215425e4f8d82923b9b789f3@avcodec.org> #555: h264: invalid 8x8 inference, reference decoder works fine -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: H264 | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 16:03:59 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 14:03:59 -0000 Subject: [FFmpeg-trac] #556(FFmpeg:new): mkv [avc, aac] to mp4 with -vcodec copy - acodec copy can't proceed. Message-ID: <036.ab35e9d8c09bf15be1be27c5e2ec028d@avcodec.org> #556: mkv [avc, aac] to mp4 with -vcodec copy - acodec copy can't proceed. -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: important | Component: FFmpeg Version: | Keywords: ffmpeg, unspecified | mkv, mp4, aac Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 -------------------------------------+------------------------------------- Hi, ffmpeg can not convert mkv [avc, aac] to mp4 [avc, aac] Used options -vcodec copy - acodec copy -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 16:44:08 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 14:44:08 -0000 Subject: [FFmpeg-trac] #556(FFmpeg:closed): mkv [avc, aac] to mp4 with -vcodec copy - acodec copy can't proceed. In-Reply-To: <036.ab35e9d8c09bf15be1be27c5e2ec028d@avcodec.org> References: <036.ab35e9d8c09bf15be1be27c5e2ec028d@avcodec.org> Message-ID: <051.79face9d0e82767fc5bd0e2a5879d358@avcodec.org> #556: mkv [avc, aac] to mp4 with -vcodec copy - acodec copy can't proceed. -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: closed Priority: important | Component: FFmpeg Version: unspecified | Resolution: invalid Keywords: ffmpeg, | Blocked By: mkv, mp4, aac | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => invalid -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 17:05:20 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 15:05:20 -0000 Subject: [FFmpeg-trac] #423(undetermined:closed): ffmpeg.exe MOV to WebM x64 crash In-Reply-To: <036.0394495044cda6279b2f2d975be8b48e@avcodec.org> References: <036.0394495044cda6279b2f2d975be8b48e@avcodec.org> Message-ID: <051.c2bc4405591681110311d815790616ea@avcodec.org> #423: ffmpeg.exe MOV to WebM x64 crash -------------------------------------+------------------------------------- Reporter: mrgenie | Owner: michael Type: defect | Status: closed Priority: important | Component: Version: unspecified | undetermined Keywords: webM x64 | Resolution: crash | worksforme Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => worksforme Comment: I compiled libvpx without assembler optimization for win64, tested vpxenc successfully, recompiled ffmpeg with libvpx support and the resulting binary encodes fine to webm. Please reopen only if you can provide a backtrace, gdb works fine on win64. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 17:35:27 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 15:35:27 -0000 Subject: [FFmpeg-trac] #557(undetermined:new): FFMEG can't decode avi file Message-ID: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> #557: FFMEG can't decode avi file -------------------------------------+------------------------------------- Reporter: bf4648 | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: decode, | Blocked By: avi, | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Attempting to decode avi file in order to re-encode in another format and I'm getting the following errors each time: avi @ 0x16807c0] Something went wrong during header parsing, I will ignore it and try to continue anyway. [avi @ 0x16807c0] parser not found for codec none, packets or times may be invalid. [avi @ 0x16807c0] max_analyze_duration 5000000 reached at 5000000 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 17:35:29 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 15:35:29 -0000 Subject: [FFmpeg-trac] #558(FFmpeg:new): [mp4 @ 023A67C0] Message-ID: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> #558: [mp4 @ 023A67C0] ---------------------------------------+--------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: important | Component: FFmpeg Version: unspecified | Keywords: ffmpeg Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ---------------------------------------+--------------------------------- Error message: [mp4 @ 023A67C0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: -2 >= -2 av_interleaved_write_frame(): Invalid argument Used command: ffmpeg -i i:\2.prog\video\ffmpeg\a.mkv -vcodec copy -acodec copy i:\2.prog\video\ffmpeg\a.mp4 Sample file attached: -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 17:55:16 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 15:55:16 -0000 Subject: [FFmpeg-trac] #557(undetermined:new): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.d4add0aa3fe09184b4394d48632cb843@avcodec.org> #557: FFMEG can't decode avi file -------------------------------------+------------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: decode, | Resolution: avi, | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): ffmpeg command line, complete, uncut output and sample missing. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 17:57:39 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 15:57:39 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.660babc14a9359e6a027426bf17136f7@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: ffmpeg => * priority: important => normal * component: FFmpeg => undetermined Comment: Complete, uncut output missing. Is the problem also reproducible if you copy only audio or only video? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:03:11 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:03:11 -0000 Subject: [FFmpeg-trac] #557(undetermined:new): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.627afa9e82448a55983f9878cc99e86a@avcodec.org> #557: FFMEG can't decode avi file -------------------------------------+------------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: decode, | Resolution: avi, | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by bf4648): Here's my full command line info: ffmpeg version N-33353-g3775af0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 7 2011 17:36:44 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 20. 0 / 51. 20. 0 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x2f217c0] parser not found for codec none, packets or times may be invalid. [avi @ 0x2f217c0] Could not find codec parameters (Video: none (Q264 / 0x34363251), 1280x960) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:08:13 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:08:13 -0000 Subject: [FFmpeg-trac] #557(avformat:open): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.8f442ce61184f207b9765242096a2a64@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: decode, avi, => h264 avi * status: new => open * version: unspecified => git-master * component: undetermined => avformat * reproduced: 0 => 1 Comment: How was this sample produced? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:08:16 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:08:16 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.30029dcd8f9fc80e65be05bd69c8828e@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by StevenG): Replying to [comment:1 cehoyos]: > Complete, uncut output missing. What that means ? [[BR]] > Is the problem also reproducible if you copy only audio or only video? No. [[BR]] Those works fine: ffmpeg -i a.mkv -acodec copy a.aac ffmpeg -i a.mkv -vcodec copy a.h264 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:12:56 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:12:56 -0000 Subject: [FFmpeg-trac] #557(avformat:open): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.830aea6036c3cf7b4a2756a226b7ce4e@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Video was taken from a QNAP security camera. I can play the video in windows media player in windows after downloading their codex from the following website: http://www.qnap.com/USEng/download.asp?pl=2&p_mn=123 It is the QNAP AV Codec (near the bottom of the page), here's the direct link to it: http://eu1.qnap.com/Surveillance/Utility/QCodecInst_1.0.0.19220.zip I need to be able to convert the video that was created in that codec to mp4 container and re-encode the audio and video into a non-property codec. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:31:24 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:31:24 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.c3b4ef1e955e14c9e537f49bd5a40ea1@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: Thank you for the report, fixed in git head. The codec is not proprietary (it is AVC), you can simply remux the stream with -vcodec copy. (There is no audio in your sample afaict.) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:37:18 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:37:18 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.a64b31942313391d9e9c7cd48110f64e@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:2 StevenG]: > Replying to [comment:1 cehoyos]: > > Complete, uncut output missing. > What that means ? Please run {{{ ffmpeg -i a.mkv -an -vcodec copy out.avi }}} and post the complete, uncut output (what is printed at the console) here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:50:10 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:50:10 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.cf832306976aaa9ea58d764522e67908@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by StevenG): i:\2.prog\video\ffmpeg>ffmpeg -i a.mkv -an -vcodec copy a.avi ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 13 2011 02:23:02 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, matroska,webm, from 'a.mkv': Duration: 00:00:05.73, start: 0.000000, bitrate: 3060 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, s16 (default) Output #0, avi, to 'a.avi': Metadata: ISFT : Lavf53.15.0 Stream #0:0(eng): Video: h264 (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1: 1 DAR 16:9], q=2-31, 50 tbn, 50 tbc (default) Stream mapping: Stream #0.0 -> #0.0 (copy) Press [q] to stop, [?] for help frame= 143 fps= 0 q=-1.0 Lsize= 2034kB time=00:00:05.62 bitrate=2964.9kbits /s video:2022kB audio:0kB global headers:0kB muxing overhead 0.609411% -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:52:52 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:52:52 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.cad3dcc62e83865d9cb36af5e55a9061@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Alright, I'm really new w/ ffmpeg so I apologize. What steps should I take now that you told me this with that video in order to decode it? I assume I need to re-install the ffmpeg from source and then perform the following command: ffmpeg -i -avcodec copy and then something else? What is the something else? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:57:22 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:57:22 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.e3224f94d93366bf5a7ba04c8cf21666@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Sorry, I meant {{{ ffmpeg -i a.mkv -an -vcodec copy out.mp4 }}} (And please consider using "Code block".) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 18:58:24 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 16:58:24 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.fcced70e1a5364f015481c29e80dbfc5@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Here is what I get w/ ffmpeg -i test2 -vcodec copy: /Desktop$ ffmpeg -i test2 -vcodec copy ffmpeg version N-33353-g3775af0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 7 2011 17:36:44 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 20. 0 / 51. 20. 0 libavcodec 53. 19. 1 / 53. 19. 1 libavformat 53. 14. 0 / 53. 14. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x29fc7c0] parser not found for codec none, packets or times may be invalid. [avi @ 0x29fc7c0] Could not find codec parameters (Video: none (Q264 / 0x34363251), 1280x960) test2: could not find codec parameters -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 19:04:54 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 17:04:54 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.a7d9eebdef28b0ac097789ecfd8ac909@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by StevenG): Replying to [comment:5 cehoyos]: > Sorry, I meant > {{{ > ffmpeg -i a.mkv -an -vcodec copy out.mp4 > }}} > (And please consider using "Code block".) {{{ Input #0, matroska,webm, from 'a.mkv': Duration: 00:00:05.73, start: 0.000000, bitrate: 3060 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, s16 (default) Output #0, mp4, to 'a.mp4': Metadata: encoder : Lavf53.15.0 Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 tbn, 25 tbc (default) Stream mapping: Stream #0.0 -> #0.0 (copy) Press [q] to stop, [?] for help [mp4 @ 02521E60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: -2 >= -2 av_interleaved_write_frame(): Invalid argument }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 19:06:51 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 17:06:51 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.dd4732f14f14c1f3e7bdfdb10d9818f3@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Replying to [comment:7 bf4648]: > ffmpeg version N-33353-g3775af0, Copyright (c) 2000-2011 the FFmpeg developers This was the version that originally failed, the file can be decoded now, but you have to update to current git head. (Normally, ffmpeg -i test2 -vcodec copy out.mp4 should remux into mp4, unfortunately, this does not work for your stream, only other containers - like avi and mkv - work.) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 19:07:50 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 17:07:50 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.b3f886583af37e0d47da26c60f3e1bd1@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Please provide command line and complete, uncut output. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 19:13:25 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 17:13:25 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.9422c61d767176097d187f7dd2d38f58@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Alright, so your saying even if I update to the current git head I still won't be able to remux into mp4? How can players like VLC and GOM player that use ffmpeg to decode videos decode the videos and then re-encode both audio and video streams into other formats as well as mp4? Could I remux into .avi format and performing the ffmpeg -i test2 -vcodec copy out.avi and then do another ffmpeg -i test2 -vcodec copy out.mp4? Sorry for all the questions but I'll got like 20,000 files to convert and I really need a solution. Thanks, -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 19:16:44 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 17:16:44 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.c57387d2ddeba3245491d50cf37c9315@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by StevenG): Replying to [comment:7 cehoyos]: > Please provide command line and complete, uncut output. {{{ i:\2.prog\video\ffmpeg>ffmpeg -i a.mkv -an -vcodec copy a.mp4 ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 13 2011 02:23:02 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, matroska,webm, from 'a.mkv': Duration: 00:00:05.73, start: 0.000000, bitrate: 3060 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, s16 (default) Output #0, mp4, to 'a.mp4': Metadata: encoder : Lavf53.15.0 Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 tbn, 25 tbc (default) Stream mapping: Stream #0.0 -> #0.0 (copy) Press [q] to stop, [?] for help [mp4 @ 02521E60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: -2 >= -2 av_interleaved_write_frame(): Invalid argument }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 20:36:50 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 18:36:50 -0000 Subject: [FFmpeg-trac] #558(undetermined:new): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.14944b01b2716ebada2e9561c9e82a2b@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by StevenG): So is it ffmpeg fault ? and it will be fixed ? Thanks. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 21:03:03 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 19:03:03 -0000 Subject: [FFmpeg-trac] #537(undetermined:closed): Starting with 0.8.5 I Can no more convert from ts to mkv In-Reply-To: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> References: <034.74803f613f524fb982f21fba32d848ee@avcodec.org> Message-ID: <049.6d48cc4967ff2c5141824bbef7ba542a@avcodec.org> #537: Starting with 0.8.5 I Can no more convert from ts to mkv --------------------------------+---------------------------------------- Reporter: EricV | Owner: Type: defect | Status: closed Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by EricV): After fighting with debian opencv installation missing links, adding LD_LIBRARY_PATH to get the right libraries (libswcale is missing and that's good to prevent using old libraries) I must admit you won. Well almost: I though there was a flag to change behavior to accept non strictly increasing DTS for mkv. Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1419489 >= 1419489 av_interleaved_write_frame(): Invalid argument -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 22:15:08 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 20:15:08 -0000 Subject: [FFmpeg-trac] #559(avcodec:new): Can't decode .avi video Message-ID: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> #559: Can't decode .avi video ---------------------------------+-------------------------------------- Reporter: bf4648 | Type: defect Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- ffmpeg -i test.avi -vcodec copy out.mkv ffmpeg -i test.avi -vcodec copy out.mp4 both commands result in the following error message: @ubuntu:~/Desktop/Vids$ ffmpeg -i test.avi -vcodec copy out.mkv ffmpeg version N-33666-g7d2e467, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 15 2011 15:52:19 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x1cb07c0] Something went wrong during header parsing, I will ignore it and try to continue anyway. [avi @ 0x1cb07c0] parser not found for codec none, packets or times may be invalid. [avi @ 0x1cb07c0] max_analyze_duration 5000000 reached at 5000000 Input #0, avi, from 'test.avi': Duration: 00:05:00.00, start: 0.000000, bitrate: 1559 kb/s Stream #0:0: Video: none (8[0][0][0] / 0x0038), 94x1819440243, 30 fps, 30 tbr, 30 tbn, 30 tbc Output #0, matroska, to 'out.mkv': Output file #0 does not contain any stream -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 22:20:11 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 20:20:11 -0000 Subject: [FFmpeg-trac] #559(avcodec:new): Can't decode .avi video In-Reply-To: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> References: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> Message-ID: <050.bfedbe0daa7cf1b4faac0793e4c4d53b@avcodec.org> #559: Can't decode .avi video ------------------------------------+----------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by bf4648): when I play another video in VLC from the same security camera, I'm getting the following error: VLC does not support the audio or video format "Q264" I can't decode that video as well using ffmpeg, does ffmpeg need to be updated to support that codec? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 22:53:34 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 20:53:34 -0000 Subject: [FFmpeg-trac] #559(avcodec:new): Can't decode .avi video In-Reply-To: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> References: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> Message-ID: <050.a36c57fdae7265090854d49dc7e35eba@avcodec.org> #559: Can't decode .avi video ------------------------------------+----------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by bf4648): when I play the video in VLC it gives me the following details on the Codec: Stream 0 Type: Video Codec: Motion JPEG Video (QIVG) Resolution: 352x288 Frame Rate: 30 I'd would like to use ffmpeg to decode the video into mp4 and also use a new audio and video codec if that is possible. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 23:01:58 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 21:01:58 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.ee3b6a4b00a89b6187d47eb4a131e460@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Reencoding works fine with current FFmpeg. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 15 23:05:10 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 21:05:10 -0000 Subject: [FFmpeg-trac] #558(undetermined:open): [mp4 @ 023A67C0] In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.041d31b08c1bc3c7c0118d871be2250a@avcodec.org> #558: [mp4 @ 023A67C0] -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: H264 mkv | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => H264 mkv * status: new => open * version: unspecified => git-master * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 01:31:30 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 23:31:30 -0000 Subject: [FFmpeg-trac] #559(avcodec:closed): Can't decode .avi video In-Reply-To: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> References: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> Message-ID: <050.3a2948438f1f85c2aec7af5dd034f913@avcodec.org> #559: Can't decode .avi video ------------------------------------+-------------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: worksforme Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+-------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => worksforme Comment: I cannot imagine why it does not work for you, after making sure we are testing the same sample I suggest you: Clone FFmpeg into a new directory, run './configure && make' without any additional options and try again. If it still does not work, please reopen this ticket, but I currently don't know what else to try. (Remuxing also works fine.) {{{ $ md5sum test 8171c8de95e962681eab65bcfd61b4a4 test $ ffmpeg -i test ffmpeg -i test ffmpeg version N-33666-g7d2e467, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 16 2011 01:23:02 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 Input #0, avi, from 'test': Duration: 00:00:05.80, start: 0.000000, bitrate: 1537 kb/s Stream #0:0: Video: mjpeg (QIVG / 0x47564951), yuvj420p, 352x288 [SAR 1:1 DAR 11:9], 30 tbr, 30 tbn, 30 tbc At least one output file must be specified }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 01:33:31 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 23:33:31 -0000 Subject: [FFmpeg-trac] #559(avcodec:closed): Can't decode .avi video In-Reply-To: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> References: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> Message-ID: <050.9f07f115334529dfb38896d74f4790a5@avcodec.org> #559: Can't decode .avi video ------------------------------------+-------------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: worksforme Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+-------------------------------------- Comment (by cehoyos): Replying to [comment:1 bf4648]: > when I play another video in VLC from the same security camera, I'm getting the following error: > > VLC does not support the audio or video format "Q264" > > I can't decode that video as well using ffmpeg, does ffmpeg need to be updated to support that codec? Command line and complete, uncut console output missing (in ticket #557), this also works fine for me with the version you tested here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 01:59:58 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 15 Oct 2011 23:59:58 -0000 Subject: [FFmpeg-trac] #559(avcodec:closed): Can't decode .avi video In-Reply-To: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> References: <035.9752fa4b9e5de5d18d65561d46d34403@avcodec.org> Message-ID: <050.ce174e2d19d3114b69ef73bb0079d0d8@avcodec.org> #559: Can't decode .avi video ------------------------------------+-------------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: worksforme Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+-------------------------------------- Comment (by bf4648): Sorry that one does work fine but I have others that aren't working. I'll just create a new ticket though. Thanks, -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 04:41:38 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 02:41:38 -0000 Subject: [FFmpeg-trac] #555(avcodec:closed): h264: invalid 8x8 inference, reference decoder works fine In-Reply-To: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> References: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> Message-ID: <053.b46d3924ff317b6b63c489b18b2b0b0d@avcodec.org> #555: h264: invalid 8x8 inference, reference decoder works fine -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: H264 | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by wanderman): thanks! this file can do be played, but now my another H264 TS file (1080P) can not be played, before it can be played smoothly. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 04:42:30 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 02:42:30 -0000 Subject: [FFmpeg-trac] #555(avcodec:reopened): h264: invalid 8x8 inference, reference decoder works fine In-Reply-To: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> References: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> Message-ID: <053.63c98ebb852bed5b8ad660d6c907e430@avcodec.org> #555: h264: invalid 8x8 inference, reference decoder works fine -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by wanderman): * status: closed => reopened * resolution: fixed => -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 05:01:25 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 03:01:25 -0000 Subject: [FFmpeg-trac] #555(avcodec:reopened): h264: invalid 8x8 inference, reference decoder works fine In-Reply-To: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> References: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> Message-ID: <053.a13d4dce62b002169f210654a4bddfbd@avcodec.org> #555: h264: invalid 8x8 inference, reference decoder works fine -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by wanderman): I have already uploaded this file to http://upload.ffmpeg.org/upload/. this file name is H264-TS-CanNotBePlayedSmoothly1080P-zw2.ts . -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 08:32:47 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 06:32:47 -0000 Subject: [FFmpeg-trac] #560(avcodec:new): .avi video can not be decoded by ffmpeg Message-ID: <035.ddbac9e67e2e4345eab666dd92c8c251@avcodec.org> #560: .avi video can not be decoded by ffmpeg ---------------------------------+-------------------------------------- Reporter: bf4648 | Type: defect Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: .avi | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- here's my output & attached is the .avi file: :~/Desktop$ ffmpeg -i qmp4\ ffmpeg version N-33690-g2eaa553, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 16 2011 02:10:25 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0xa951ac0] parser not found for codec none, packets or times may be invalid. [avi @ 0xa951ac0] parser not found for codec pcm_s16le, packets or times may be invalid. [avi @ 0xa951ac0] max_analyze_duration 5000000 reached at 5000000 Input #0, avi, from 'qmp4 ': Duration: 00:00:12.13, start: 0.000000, bitrate: 1204 kb/s Stream #0:0: Video: none (QMP4 / 0x34504D51), 352x288, 30 fps, 30 tbr, 30 tbn, 30 tbc Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 1 channels, s16, 128 kb/s -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 09:03:54 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 07:03:54 -0000 Subject: [FFmpeg-trac] #552(avformat:closed): warning flags needed for av_open_input_file In-Reply-To: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> References: <036.76e0b73054f7d863fc76e4702c9620db@avcodec.org> Message-ID: <051.53b52f8b4167b2d3234f2adfcf0be00a@avcodec.org> #552: warning flags needed for av_open_input_file -------------------------------------+------------------------------------ Reporter: DonMoir | Owner: Type: enhancement | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: This has apparently been implemented differently. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 10:03:16 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 08:03:16 -0000 Subject: [FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file In-Reply-To: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> References: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> Message-ID: <051.59c6cc8e486d5e70f0ee3f33bd882ac2@avcodec.org> #495: Crash on hidef WMV file ------------------------------------+----------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by DonMoir): As of 10-13-2011 zeranoe build, ffplay still crashes on hidef_crash_cut.wmv but not crash.asf. hidef_crash_cut.wmv is here: http://www.datafilehost.com/download-3cd0d3f7.html On ffmpeg-HEAD-2eaa553.tar.gz which I assume is the latest source, and one I just built, I still get a crash on hidef_crash_cut.wmv in my own app. I did not build ffplay. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 10:15:50 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 08:15:50 -0000 Subject: [FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file In-Reply-To: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> References: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> Message-ID: <051.c72c7ae0a5fc9595eb95b74c6b7e8ecb@avcodec.org> #495: Crash on hidef WMV file ------------------------------------+----------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: wmapro | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * keywords: => wmapro Comment: Please open a new ticket for this completely unrelated crash, please do not forget a backtrace as explained on http://ffmpeg.org/bugreports.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 10:32:09 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 08:32:09 -0000 Subject: [FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file In-Reply-To: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> References: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> Message-ID: <051.7a1d3973cb5f83706b6ba29c0247e55f@avcodec.org> #495: Crash on hidef WMV file ------------------------------------+----------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: wmapro | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by DonMoir): What do you mean "completely unrelated" ?? It's exactly the same thing as originally reported with the files I uploaded. geeze -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 10:33:54 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 08:33:54 -0000 Subject: [FFmpeg-trac] #560(avcodec:open): QMP4 video outputs many warnings (was: .avi video can not be decoded by ffmpeg) In-Reply-To: <035.ddbac9e67e2e4345eab666dd92c8c251@avcodec.org> References: <035.ddbac9e67e2e4345eab666dd92c8c251@avcodec.org> Message-ID: <050.61c720b3a91b8b522fd49b9387d26c89@avcodec.org> #560: QMP4 video outputs many warnings -------------------------------------+----------------------------------- Reporter: bf4648 | Owner: Type: enhancement | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: qmp4 asp | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * keywords: .avi => qmp4 asp * status: new => open * type: defect => enhancement * reproduced: 0 => 1 Comment: Mostly fixed in current git head. {{{ $ ffmpeg -i qmp4\ -qscale 2 -t 2 out.avi ffmpeg version N-33668-g22137bb, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 16 2011 01:34:26 with gcc 4.5.3 configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [avi @ 0x8cf5aa0] parser not found for codec pcm_s16le, packets or times may be invalid. [mpeg4 @ 0x8cfbce0] hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x8cfbce0] my guess is 4 bits ;) Input #0, avi, from 'qmp4 ': Duration: 00:00:12.13, start: 0.000000, bitrate: 1204 kb/s Stream #0:0: Video: mpeg4 (QMP4 / 0x34504D51), yuv420p, 352x288, 30 tbr, 30 tbn, 30 tbc Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 1 channels, s16, 128 kb/s [buffer @ 0x8d0e0c0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [ac3 @ 0x8cfb000] channel_layout not specified [ac3 @ 0x8cfb000] No channel layout specified. The encoder will guess the layout, but it might be incorrect. Output #0, avi, to 'out.avi': Metadata: ISFT : Lavf53.16.0 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 30 tbn, 30 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 8000 Hz, mono, flt, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (mpeg4 -> mpeg4) Stream #0.1 -> #0.1 (pcm_s16le -> ac3) Press [q] to stop, [?] for help [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [SWR @ 0x8dd2d00] Input channel layout has a different number of channels than there actually is, ignoring layout [mpeg4 @ 0x8cfbce0] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag [mpeg4 @ 0x8cfbce0] warning: first frame is no keyframe [mpeg4 @ 0x8cfbce0] ac-tex damaged at 12 5 [mpeg4 @ 0x8cfbce0] Error at MB: 127 [mpeg4 @ 0x8cfbce0] concealing 396 DC, 396 AC, 396 MV errors [mpeg4 @ 0x8cfbce0] hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x8cfbce0] my guess is 5 bits ;) [mpeg4 @ 0x8cfbce0] hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x8cfbce0] my guess is 5 bits ;) [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 [mpeg4 @ 0x8cfbce0] header damaged Error while decoding stream #0.0 frame= 49 fps= 0 q=2.0 Lsize= 286kB time=00:00:01.96 bitrate=1191.1kbits/s video:242kB audio:33kB global headers:0kB muxing overhead 4.129933% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 10:42:21 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 08:42:21 -0000 Subject: [FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file In-Reply-To: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> References: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> Message-ID: <051.39ba481538a248143098159d3fa92317@avcodec.org> #495: Crash on hidef WMV file ------------------------------------+----------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: wmapro | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Replying to [comment:13 DonMoir]: > What do you mean "completely unrelated" ?? It's exactly the same thing as originally reported with the files I uploaded. geeze With an old version of ffmpeg, the crash happens when decoding audio, the remaining (unrelated) crash happens when decoding video. Please open a new ticket for this unrelated crash, please do not forget to add backtrace etc. as explained on http://ffmpeg.org/bugreports.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 11:05:08 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 09:05:08 -0000 Subject: [FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file In-Reply-To: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> References: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> Message-ID: <051.6fab1a9a3a33d99512c99ede497df0b0@avcodec.org> #495: Crash on hidef WMV file ------------------------------------+----------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: wmapro | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by DonMoir): Crash is same to me as originally reported. It was not specified whether it was audio or otherwise that caused the crash. So I can't tell you if it still crashes in the same apparent way or what. All I know is it's exactly the same apparent crash as before. I have already spent many hours on this uploading, testing, trying to get flags so we know when a file is encrypted etc. Rather than open a new ticket, since this is in the same realm with the orignal files etc, just reopen this ticket if you are interested in it being fixed. Otherwise I am done with it. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 13:53:31 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 11:53:31 -0000 Subject: [FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file In-Reply-To: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> References: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> Message-ID: <051.7df1eebc8a1a8105f87dc95bb8b7caab@avcodec.org> #495: Crash on hidef WMV file ------------------------------------+----------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: wmapro | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Replying to [comment:14 cehoyos]: > Replying to [comment:13 DonMoir]: > > What do you mean "completely unrelated" ?? It's exactly the same thing as originally reported with the files I uploaded. geeze > > With an old version of ffmpeg, the crash happens when decoding audio, the remaining (unrelated) crash happens when decoding video. To clarify: I can of course only test where crashes happen on my system. It is very likely that your system is different, and since you did not post a backtrace there is no indication whatsoever that would tell me where it crashes for you... -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 14:14:33 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 12:14:33 -0000 Subject: [FFmpeg-trac] #495(avcodec:closed): Crash on hidef WMV file In-Reply-To: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> References: <036.12180dda99be4fee025f3e7a55261053@avcodec.org> Message-ID: <051.133bdd221a15a8499f8b00f85a8387fa@avcodec.org> #495: Crash on hidef WMV file ------------------------------------+----------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: wmapro | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by DonMoir): Well yes if you have tested the hidef_crash_cut.wmv at http://www.datafilehost.com/download-3cd0d3f7.html and it does not crash for you, then you have a good point. Please verify that you have tested this file and it does or does not crash for you. If it does not crash for you, I will be happy to provide the information you requested. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 14:58:13 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 12:58:13 -0000 Subject: [FFmpeg-trac] #558(undetermined:open): h264 in mkv: non monotonically increasing dts (was: [mp4 @ 023A67C0]) In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.f344108fbd2611a5ac46f02b1874cac2@avcodec.org> #558: h264 in mkv: non monotonically increasing dts -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: H264 mkv | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 15:09:04 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 13:09:04 -0000 Subject: [FFmpeg-trac] #555(avcodec:closed): h264: invalid 8x8 inference, reference decoder works fine In-Reply-To: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> References: <038.efac19ca4df06e0e59399e3c91a770bb@avcodec.org> Message-ID: <053.5d648b422837332643d4f3a496706de2@avcodec.org> #555: h264: invalid 8x8 inference, reference decoder works fine -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: H264 | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: reopened => closed * resolution: => fixed Comment: The problem you reported was fixed in N-33660 (2ed7e353bd8867215bc156c430d4ded7f6774ad4). I just tested N-33659 (1d0afec8fcfaca9736c927715ddd56a5902855ab), N-33660 and current git head (N-33691, 55d44578c61ccd8b7db50e26e01196476ea530f3), and all three decode H264-TS-CanNotBePlayedSmoothly1080P-zw3.ts bit-identically, so I assume any problems you have with this file are not related to the original report. Please open a new ticket, explain what is wrong when decoding H264-TS- CanNotBePlayedSmoothly1080P-zw3.ts (re-encoding works fine for me with current ffmpeg) and please do not forget to add the command line you are using and complete, uncut console output (only report ffplay problems if they are unreproducible with ffmpeg and please mention this clearly if you report a ffplay problem). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 16:54:45 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 14:54:45 -0000 Subject: [FFmpeg-trac] #561(avcodec:new): can not play my H264-TS 1080P file, audio is OK, but video is not OK. Message-ID: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Type: defect Status: new | Priority: important Component: avcodec | Version: git- Keywords: H264 TS NOT | master PLAYED 1080P | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- the git-master can not play my h264 ts file(1080P). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 16:59:20 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 14:59:20 -0000 Subject: [FFmpeg-trac] #561(avcodec:closed): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.872d2e1b726d701250149b88516a1880@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: invalid Keywords: H264 TS NOT | Blocked By: PLAYED 1080P | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => invalid -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 17:17:09 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 15:17:09 -0000 Subject: [FFmpeg-trac] #561(avcodec:closed): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.f0cb375f38cab5389d32da7203f1a4c1@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: invalid Keywords: H264 TS NOT | Blocked By: PLAYED 1080P | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by wanderman): cmd is: ffplay H264-TS-CanNotBePlayedSmoothly1080P-zw3.ts -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 17:17:51 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 15:17:51 -0000 Subject: [FFmpeg-trac] #561(avcodec:reopened): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.ac289b02e281516eec15eae2c3aab440@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 TS NOT | Blocked By: PLAYED 1080P | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by wanderman): * status: closed => reopened * resolution: invalid => -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 18:03:30 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 16:03:30 -0000 Subject: [FFmpeg-trac] #561(avcodec:reopened): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.a37916ec394b9fa4cf13a1b12527b4e0@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 TS NOT | Blocked By: PLAYED 1080P | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): What is missing to make this a valid ticket: The ffmpeg command line you are using to reproduce your problem. The complete, uncut output from the console when running your command line. What is wrong with result. Since you believe this is a regression, please use git bisect to find the commit introducing the regression. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 18:40:28 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 16:40:28 -0000 Subject: [FFmpeg-trac] #562(FFmpeg:new): I am trying to encode the TS of Japanese terrestrial shows but "PES packet size mismatch" occurs. Message-ID: <044.8c16044dcfee7a759cf4b973b28921fc@avcodec.org> #562: I am trying to encode the TS of Japanese terrestrial shows but "PES packet size mismatch" occurs. -------------------------------------+------------------------------------- Reporter: | Owner: michael Emmanuel_Chanel | Status: new Type: defect | Component: FFmpeg Priority: normal | Keywords: Version: | Blocking: unspecified | Analyzed by developer: 0 Blocked By: | Reproduced by developer: 0 | -------------------------------------+------------------------------------- * 1. I've installed ffmpeg on Ubuntu by the way on http://ubuntuforums.org/showthread.php?t=786095 except the point that I set --prefix=/usr few days ago. I reinstalled today. But the problem isn't solved. 2. I'm in Japan. And I record TV shows aired in Japan. The shows are saved as MPEG-TS files. 1. When I tried to encode the TS files of "Lie To Me" S1EP03 and of "Cold Case" S3EP19 into mp4 file with libx264, "PES packet size mismatch" occurs. They are aired on TV-Tokyo, a terrestrial channel. When I tried to encode one of "IT White Box"(NHK-G, a terrestrial one), same error occurs. 2. I find ok to encode the TS files of "Good Wife" S02EP02(NHK BS Premium) and "Covert Affairs" S1EP02(BS-TBS) into mp4 file with libx264. NHK BS Premium and BS-TBS are satellite channels. I attach the reproduced lines of the trouble with "Lie To Me" (by the command below). Other encoding commands referred above is like that. emmanuel at star2:~/Recording/ProductsTStoEncode$ ffmpeg -i Lie_To_Me_S1EP03.ts -acodec libfaac -aq 100 -vcodec libx264 -preset slow -crf 22 -s 1280x720 -aspect 16:9 -threads 0 -map 0:0 -map 0:1 -map 0:2 Lie_To_Me_S1EP03.mp4 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 18:52:15 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 16:52:15 -0000 Subject: [FFmpeg-trac] #561(avcodec:reopened): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.d3f3eacc4f33f3cbfe5ad643e7a225ab@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 TS NOT | Blocked By: PLAYED 1080P | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by wanderman): to reproduce this problem's command line is: cmd is: ffplay H264-TS- CanNotBePlayedSmoothly1080P-zw3.ts . the output is :the audio output is OK, the video output is not continuely, abviously abnormal. I am sure this is problem. if you run the above command with the newest compiled ffplay.exe, you will find. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 18:58:06 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 16:58:06 -0000 Subject: [FFmpeg-trac] #562(undetermined:new): I am trying to encode the TS of Japanese terrestrial shows but "PES packet size mismatch" occurs. In-Reply-To: <044.8c16044dcfee7a759cf4b973b28921fc@avcodec.org> References: <044.8c16044dcfee7a759cf4b973b28921fc@avcodec.org> Message-ID: <059.e55817bdcf6b8a0e8df5b1db7b99bc38@avcodec.org> #562: I am trying to encode the TS of Japanese terrestrial shows but "PES packet size mismatch" occurs. -------------------------------------+------------------------------------- Reporter: | Owner: michael Emmanuel_Chanel | Status: new Type: defect | Component: Priority: normal | undetermined Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * version: unspecified => git-master * component: FFmpeg => undetermined Comment: Replying to [ticket:562 Emmanuel_Chanel]: > 1. When I tried to encode the TS files of "Lie To Me" S1EP03 and of "Cold Case" S3EP19 into mp4 file with libx264, "PES packet size mismatch" occurs. Are you only reporting that this message appears or is there any problem with the resulting file? Or do you believe that ffmpeg prints warnings for perfectly valid streams? If there is a problem: Is it only reproducible with an external library (libx264 and libfaac) or do you see the same problems with internal encoders? (Bugs are often significantly easier to reproduce - and to fix - if no external libraries are involved.) In any case, please upload a sample to http://www.datafilehost.com/ and post the link here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 19:11:12 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 17:11:12 -0000 Subject: [FFmpeg-trac] #562(undetermined:new): I am trying to encode the TS of Japanese terrestrial shows but "PES packet size mismatch" occurs. In-Reply-To: <044.8c16044dcfee7a759cf4b973b28921fc@avcodec.org> References: <044.8c16044dcfee7a759cf4b973b28921fc@avcodec.org> Message-ID: <059.eb5033c60857f1f3f2837e184a1242e2@avcodec.org> #562: I am trying to encode the TS of Japanese terrestrial shows but "PES packet size mismatch" occurs. -------------------------------------+------------------------------------- Reporter: | Owner: michael Emmanuel_Chanel | Status: new Type: defect | Component: Priority: normal | undetermined Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Emmanuel_Chanel): >Are you only reporting that this message appears or is there any problem with the resulting file? Yes. One encoding is abnormally ended... I didn't wait for the abnormal end, though... Certainly, I should've posted that... >Or do you believe that ffmpeg prints warnings for perfectly valid streams? Yes. I tested Lie To Me S1EP02, too. I could encode without problem before I cleanly install Ubuntu 11.10...(I installed ffmpeg the git-master in June...) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 19:50:57 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 17:50:57 -0000 Subject: [FFmpeg-trac] #561(avcodec:reopened): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.b0d3d79a6c878d82bef680afc8384b12@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 TS NOT | Blocked By: PLAYED 1080P | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Is the problem reproducible with ffmpeg (the application)? Only report ffplay problems if they are unreproducible with ffmpeg. In any case, please provide complete, uncut output (copy what ffmpeg prints on the console and paste it here) is missing. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 20:22:16 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 18:22:16 -0000 Subject: [FFmpeg-trac] #561(avcodec:reopened): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.c2ffffe05a22a20058a87164bc9d479a@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. -------------------------------------+------------------------------------- Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: H264 TS NOT | Blocked By: PLAYED 1080P | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by wanderman): Sorry, no output with ffmpeg! $ ffmpeg -i H264-TS-CanNotBePlayedSmoothly1080P-zw3.ts $ Replying to [comment:6 cehoyos]: > Is the problem reproducible with ffmpeg (the application)? Only report ffplay problems if they are unreproducible with ffmpeg. > In any case, please provide complete, uncut output (copy what ffmpeg prints on the console and paste it here) is missing. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 16 20:43:43 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 16 Oct 2011 18:43:43 -0000 Subject: [FFmpeg-trac] #563(undetermined:new): Sorenson Spark: first frame is no keyframe Message-ID: <036.489f00a7aee168032480eea88ee5a9c5@avcodec.org> #563: Sorenson Spark: first frame is no keyframe -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: normal | Component: Version: git- | undetermined master | Keywords: flv1 Blocked By: | Blocking: Reproduced by developer: 1 | Analyzed by developer: 0 -------------------------------------+------------------------------------- Attached sample plays fine with mplayer -demuxer lavf -vc ffflv, shows initial grey frames with ffmpeg (apparently skipping the initial keyframe) {{{ $ ffmpeg -i trains_cut.flv -qscale 2 -t 10 out.avi ffmpeg version N-33698-gae85fd2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 16 2011 19:02:27 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [flv @ 0x1305b60] warning: first frame is no keyframe Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, flv, from 'trains_cut.flv': Metadata: datasize : 14613960 lasttimestamp : 212960 audiosize : 1802309 videosize : 12811397 metadatacreator : inlet media - FLVTool2 encoder : Riva FLV Encoder Duration: 00:03:33.00, start: 0.000000, bitrate: 78 kb/s Stream #0:0: Video: flv1, yuv420p, 640x480, 490 kb/s, 25 tbr, 1k tbn, 1k tbc Stream #0:1: Audio: mp3, 44100 Hz, mono, s16, 64 kb/s [buffer @ 0x1305060] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' Output #0, avi, to 'out.avi': Metadata: datasize : 14613960 lasttimestamp : 212960 audiosize : 1802309 videosize : 12811397 metadatacreator : inlet media - FLVTool2 ISFT : Lavf53.16.0 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x480, q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, mono, flt, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (flv -> mpeg4) Stream #0.1 -> #0.1 (mp3 -> ac3) Press [q] to stop, [?] for help [flv @ 0x1305b60] warning: first frame is no keyframe frame= 249 fps= 0 q=2.0 Lsize= 1611kB time=00:00:10.00 bitrate=1319.4kbits/s video:1431kB audio:157kB global headers:0kB muxing overhead 1.410500% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 04:43:21 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 02:43:21 -0000 Subject: [FFmpeg-trac] #546(FFplay:closed): ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 In-Reply-To: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> References: <037.ade093bb515a90e1e3a9f9dc7fc84fd9@avcodec.org> Message-ID: <052.6bb1e895e90a49279061bfb2a83e01fa@avcodec.org> #546: ffplay crashes when resizing/fullscreen on osx 10.6.6 and libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: closed Priority: normal | Component: FFplay Version: git-master | Resolution: fixed Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: Your patch has been applied. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 08:26:16 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 06:26:16 -0000 Subject: [FFmpeg-trac] #554(avcodec:new): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.88413a417afc3de71766187d8e647de3@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by mihnea): Everything works fine after those commits, thanks. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 08:27:41 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 06:27:41 -0000 Subject: [FFmpeg-trac] #558(undetermined:open): h264 in mkv: non monotonically increasing dts In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.68efd43587f4e13e5cf14682d52d50f2@avcodec.org> #558: h264 in mkv: non monotonically increasing dts -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: H264 mkv | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by StevenG): Some additional info/bug {{{ i:\2.prog\video\ffmpeg>ffmpeg -i b.mkv -vcodec copy y:\test\b.h264 ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 13 2011 02:23:02 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5994/1 25) -> 23.98 (24000/1001) Input #0, matroska,webm, from 'b.mkv': Metadata: title : The Secret Circle S01E04 Heather 720p WEB-DL DD5.1 H.264-K iNGS Duration: 00:00:04.45, start: 0.000000, bitrate: 8744 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s (default) Output #0, h264, to 'y:\test\b.h264': Metadata: title : The Secret Circle S01E04 Heather 720p WEB-DL DD5.1 H.264-K iNGS encoder : Lavf53.15.0 Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 90k tbn, 23.98 tbc (default) Stream mapping: Stream #0.0 -> #0.0 (copy) Press [q] to stop, [?] for help [h264 @ 021AEA00] pts < dts in stream 0 [h264 @ 021AEA00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 7560 >= 3780 frame= 106 fps= 0 q=-1.0 Lsize= 4535kB time=00:00:04.37 bitrate=8483.2kbits /s video:4535kB audio:0kB global headers:0kB muxing overhead 0.000000% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 11:07:46 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 09:07:46 -0000 Subject: [FFmpeg-trac] #554(avcodec:closed): Buffer overflow in dvbsubdec.c In-Reply-To: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> References: <035.f3aad16c23311fa52aafe230651ed795@avcodec.org> Message-ID: <050.6f09481b88769e994bbd55c8605b219d@avcodec.org> #554: Buffer overflow in dvbsubdec.c ------------------------------------+----------------------------------- Reporter: mihnea | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: dvbsub | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => fixed Comment: Thank you for testing again! -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 12:40:21 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 10:40:21 -0000 Subject: [FFmpeg-trac] #153(avcodec:new): DVB Subtitles Test Streams In-Reply-To: <035.6d81fb8a053352dd6017980bf7869294@avcodec.org> References: <035.6d81fb8a053352dd6017980bf7869294@avcodec.org> Message-ID: <050.bcc0d95a501f9dea3ad7daa3aeee32a9@avcodec.org> #153: DVB Subtitles Test Streams ---------------------------------------+----------------------------------- Reporter: joolzg | Owner: Type: defect | Status: new Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: dvb subtitles | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------------+----------------------------------- Comment (by cehoyos): Has this been fixed by the latest changes to dvb? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 13:07:04 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 11:07:04 -0000 Subject: [FFmpeg-trac] #558(undetermined:open): h264 in mkv: non monotonically increasing dts In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.d81a52ea22cb98b06d7cc12d902ba8ec@avcodec.org> #558: h264 in mkv: non monotonically increasing dts -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: H264 mkv | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:12 StevenG]: > {{{ > i:\2.prog\video\ffmpeg>ffmpeg -i b.mkv -vcodec copy y:\test\b.h264 > }}} Please attach b.mkv -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 13:20:42 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 11:20:42 -0000 Subject: [FFmpeg-trac] #451(avformat:closed): avformat NOT creating avi file on 32 bit Mac 10.6 In-Reply-To: <040.163bb0504f251adc5f5cd17259b65451@avcodec.org> References: <040.163bb0504f251adc5f5cd17259b65451@avcodec.org> Message-ID: <055.9debec34edbea65bbc27e4901a0fcd3a@avcodec.org> #451: avformat NOT creating avi file on 32 bit Mac 10.6 -------------------------------------+------------------------------------- Reporter: Thunderbird | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: 0.8.2 | Resolution: Keywords: avformat | needs_more_info mac 32 bit | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => needs_more_info Comment: Please re-open if more information is available. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 13:25:36 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 11:25:36 -0000 Subject: [FFmpeg-trac] #462(avcodec:closed): Broken SSE instruction under MinGW (Windows) In-Reply-To: <034.ef0fec02c58e3d6fa8713173098e704c@avcodec.org> References: <034.ef0fec02c58e3d6fa8713173098e704c@avcodec.org> Message-ID: <049.42ebc85d417749539c60113a2b9932f4@avcodec.org> #462: Broken SSE instruction under MinGW (Windows) -------------------------------------+------------------------------------- Reporter: Gimli | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: sse | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info Comment: Please re-open this ticket if more information is available. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 13:29:15 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 11:29:15 -0000 Subject: [FFmpeg-trac] #477(FFmpeg:closed): Unnecessary h264 -> libx264 conversion when using copy video codec In-Reply-To: <039.2591fff06d47489e8447543b94ce97e2@avcodec.org> References: <039.2591fff06d47489e8447543b94ce97e2@avcodec.org> Message-ID: <054.36643b3eefc7adc720516b72fbf81f06@avcodec.org> #477: Unnecessary h264 -> libx264 conversion when using copy video codec -------------------------------------+------------------------------------- Reporter: redirect77 | Owner: michael Type: defect | Status: closed Priority: minor | Component: FFmpeg Version: git-master | Resolution: Keywords: | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: reopened => closed * resolution: => needs_more_info Comment: Please re-open this ticket if you can provide complete, uncut console output of the failing command line. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 13:35:21 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 11:35:21 -0000 Subject: [FFmpeg-trac] #558(undetermined:open): h264 in mkv: non monotonically increasing dts In-Reply-To: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> References: <036.70b64347670d2c1967b8335157a3f495@avcodec.org> Message-ID: <051.6baa5bad01021dc336b4573a80af1974@avcodec.org> #558: h264 in mkv: non monotonically increasing dts -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: H264 mkv | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by StevenG): http://hotfile.com/dl/132549951/021b5b3/b.mkv.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 13:43:58 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 11:43:58 -0000 Subject: [FFmpeg-trac] #63(undetermined:open): Purple bars appear when scaling a video with ffmpeg for windows In-Reply-To: <039.a305b19e5a52d8be23c7ae7dcbb24b9a@avcodec.org> References: <039.a305b19e5a52d8be23c7ae7dcbb24b9a@avcodec.org> Message-ID: <054.1228c8377197c006c28c5e139de2d7ee@avcodec.org> #63: Purple bars appear when scaling a video with ffmpeg for windows -------------------------------------+------------------------------------- Reporter: thebombzen | Owner: Type: defect | Status: open Priority: normal | Component: Version: git | undetermined Keywords: purple bars | Resolution: scale glitch | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Is this still reproducible with current git head (or with a current release)? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:11:25 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:11:25 -0000 Subject: [FFmpeg-trac] #564(avcodec:new): Getting error when attempting to convert .avi file Message-ID: <035.24b6c2e857012575d48d4d635ba82636@avcodec.org> #564: Getting error when attempting to convert .avi file ---------------------------------+-------------------------------------- Reporter: bf4648 | Type: defect Status: new | Priority: critical Component: avcodec | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- Here's my output: bfrazier at ubuntu:~/Desktop/Ubuntu_Shared$ ffmpeg -i sample_file ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 08:55:06 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x166f7c0] Something went wrong during header parsing, I will ignore it and try to continue anyway. [avi @ 0x166f7c0] parser not found for codec none, packets or times may be invalid. [avi @ 0x166f7c0] max_analyze_duration 5000000 reached at 5000000 Input #0, avi, from 'sample_file': Duration: 00:15:01.26, start: 0.000000, bitrate: 90 kb/s Stream #0:0: Video: none (8[0][0][0] / 0x0038), 94x1819440243, 30 fps, 30 tbr, 30 tbn, 30 tbc -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:12:23 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:12:23 -0000 Subject: [FFmpeg-trac] #565(avcodec:new): Getting error when attempting to convert .avi file Message-ID: <035.6e325f0cd8e03e8cfd7e43f995be190a@avcodec.org> #565: Getting error when attempting to convert .avi file ---------------------------------+-------------------------------------- Reporter: bf4648 | Type: defect Status: new | Priority: critical Component: avcodec | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- Here's my output: bfrazier at ubuntu:~/Desktop/Ubuntu_Shared$ ffmpeg -i sample_file ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 08:55:06 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x166f7c0] Something went wrong during header parsing, I will ignore it and try to continue anyway. [avi @ 0x166f7c0] parser not found for codec none, packets or times may be invalid. [avi @ 0x166f7c0] max_analyze_duration 5000000 reached at 5000000 Input #0, avi, from 'sample_file': Duration: 00:15:01.26, start: 0.000000, bitrate: 90 kb/s Stream #0:0: Video: none (8[0][0][0] / 0x0038), 94x1819440243, 30 fps, 30 tbr, 30 tbn, 30 tbc -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:30:30 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:30:30 -0000 Subject: [FFmpeg-trac] #564(avcodec:closed): Getting error when attempting to convert .avi file In-Reply-To: <035.24b6c2e857012575d48d4d635ba82636@avcodec.org> References: <035.24b6c2e857012575d48d4d635ba82636@avcodec.org> Message-ID: <050.4b329b8b9be499f1d576426aae7d1a2e@avcodec.org> #564: Getting error when attempting to convert .avi file ------------------------------------+------------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------- Changes (by cehoyos): * priority: critical => normal * status: new => closed * resolution: => duplicate Comment: Duplicate of #565. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:30:49 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:30:49 -0000 Subject: [FFmpeg-trac] #565(avformat:open): Getting error when attempting to convert .avi file In-Reply-To: <035.6e325f0cd8e03e8cfd7e43f995be190a@avcodec.org> References: <035.6e325f0cd8e03e8cfd7e43f995be190a@avcodec.org> Message-ID: <050.83848345987be90f05aabd369ab9301a@avcodec.org> #565: Getting error when attempting to convert .avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * priority: critical => normal * status: new => open * component: avcodec => avformat * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:31:08 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:31:08 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.58f9701dc0762acd2771b72f39120e9f@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Is there any other information I can provide that will help with this issue? I've retried ftp'ing to upload.ffmpeg.org but anonymous PUTs seem to still be broken. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:33:29 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:33:29 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.6163e39607af7fc16e7650ff95f40da4@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Please clarify if ''"-threads 4" fails just like "-threads 0"'' was correct or not (similar for threads 5/6/7/8). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:35:32 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:35:32 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.9a9e8d092b3b69d7099ab3e161998cce@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): And isn't your problem reproducible with any input file? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:37:59 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:37:59 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.4dcb3db3223b5f72047a075643ee70a5@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Replying to [comment:30 cehoyos]: > Please clarify if ''"-threads 4" fails just like "-threads 0"'' was correct or not (similar for threads 5/6/7/8). Yes, "-threads 4" fails as well as 5/6/7/8. When I use -threads 0, 6 threads are used. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:42:01 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:42:01 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.f55d29e0f29f00f097f8219e17504515@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:32 terran]: > Replying to [comment:30 cehoyos]: > > Please clarify if ''"-threads 4" fails just like "-threads 0"'' was correct or not (similar for threads 5/6/7/8). > > Yes, "-threads 4" fails as well as 5/6/7/8. When I use -threads 0, 6 threads are used. Then please test ffmpeg -i rehearsal.mp4 -threads 4 -vcodec libx264 -b:v 7000000 -acodec mp2 out.ts -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:44:01 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:44:01 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.22b99f63494c64192ed8313225649d10@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Replying to [comment:31 cehoyos]: > And isn't your problem reproducible with any input file? No, I only have a couple files where this happens. Another interesting thing I've found is that if I only transcode the first 3 seconds of the video I do not see the issue. But if I go beyond that, it fails. The first few seconds of the video are silent because they are an intro screen before the video starts. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 15:48:03 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 13:48:03 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.40766931b825dc474e0ae859c0e36d20@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Replying to [comment:33 cehoyos]: > Replying to [comment:32 terran]: > > Replying to [comment:30 cehoyos]: > > > Please clarify if ''"-threads 4" fails just like "-threads 0"'' was correct or not (similar for threads 5/6/7/8). > > > > Yes, "-threads 4" fails as well as 5/6/7/8. When I use -threads 0, 6 threads are used. > > Then please test ffmpeg -i rehearsal.mp4 -threads 4 -vcodec libx264 -b:v 7000000 -acodec mp2 out.ts That command works and provides a valid audio stream, though I had to add '-b:a 48000 -ac 2 -ar 44100' to the command as required. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:03:09 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:03:09 -0000 Subject: [FFmpeg-trac] #543(avformat:closed): cdg: set AV_PKT_FLAG_KEY In-Reply-To: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> References: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> Message-ID: <052.5d87f6637b62ec4a64ba5f3721d54b5a@avcodec.org> #543: cdg: set AV_PKT_FLAG_KEY ------------------------------------+------------------------------------ Reporter: gdesmott | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: cdg | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by gdesmott): I tried using cdg.c from efb1ce28b26b66f1f72f85fcdfaf16d7fe6519fe and that doesn't work properly. gst does decode the video but some frames are missing and it's not synced with the audio. My gst-ffmpeg patch is https://bugzilla.gnome.org/show_bug.cgi?id=653493#c6 I'm attaching my test app and files as well. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:05:01 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:05:01 -0000 Subject: [FFmpeg-trac] #543(avformat:closed): cdg: set AV_PKT_FLAG_KEY In-Reply-To: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> References: <037.7e9ceae93b6de9e1d41975e4a2bd87ca@avcodec.org> Message-ID: <052.06de0c510b39f24d7b1e39e726f8e558@avcodec.org> #543: cdg: set AV_PKT_FLAG_KEY ------------------------------------+------------------------------------ Reporter: gdesmott | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: cdg | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by gdesmott): I use: "gst-launch filesrc location=a.cdg ! ffdemux_cdg ! ffdec_cdgraphics ! ffmpegcolorspace ! ximagesink" -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:13:33 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:13:33 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. Message-ID: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- When encoding a video with stereo audio which starts with 6 seconds of silence to mpeg-ts, 'ffprobe' on the output .ts reports it to have an audio track with 0 channels of audio despite the audio playing in FFplay and vlc. This means the 0-channel audio stream is lost (in newest GIT N-33724-gefb1ce2 FFmpeg with libfaac 1.28), or causes an 'encoding 0 channels is not allowed' error in older FFmpeg git-N-29122-gb8a4444 libfaac 1.26 builds when doing any encoding on that output later on. Encoding the video to mpeg-ts: {{{ tungj at tungj-ffmpeg:~/bugreport$ ffmpeg -y -i 'initialSilence.mp4' -f mpegts -t 10 -acodec libfaac -ab 40k -ar 22050 initialSilence.ts ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 11:00:29 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'initialSilence.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Duration: 00:00:10.02, start: 0.000000, bitrate: 84 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 200x200, 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 72 kb/s Metadata: creation_time : 1970-01-01 00:00:00 [buffer @ 0xa9fc620] w:200 h:200 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [mpegts @ 0xa9fc6e0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'initialSilence.ts': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Stream #0:0(und): Video: mpeg2video, yuv420p, 200x200, q=2-31, 200 kb/s, 90k tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac, 22050 Hz, stereo, s16, 40 kb/s Metadata: creation_time : 1970-01-01 00:00:00 Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg2video) Stream #0.1 -> #0.1 (aac -> libfaac) Press [q] to stop, [?] for help frame= 250 fps= 0 q=2.0 Lsize= 197kB time=00:00:09.96 bitrate= 161.7kbits/s video:124kB audio:34kB global headers:0kB muxing overhead 24.226776% }}} The mpegts stream claims to have zero channels: {{{ tungj at tungj-ffmpeg:~/bugreport$ ffmpeg -v 9 -loglevel 99 -i initialSilence.ts ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 11:00:29 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpegts @ 0x9c24aa0] Format mpegts probed with size=2048 and score=100 [mpegts @ 0x9c24aa0] stream=0 stream_type=2 pid=100 prog_reg_desc= [mpegts @ 0x9c24aa0] stream=1 stream_type=f pid=101 prog_reg_desc= [aac @ 0x9c290c0] Unsupported bit depth: 0 [mpeg2video @ 0x9c288e0] Unsupported bit depth: 0 [mpegts @ 0x9c24aa0] max_analyze_duration 5000000 reached at 5000000 [NULL @ 0x9c290c0] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'initialSilence.ts': Duration: 00:00:09.96, start: 1.400000, bitrate: 161 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100], 127, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 200x200 [SAR 1:1 DAR 1:1], 1/50, 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](und), 0, 1/90000: Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 At least one output file must be specified }}} When doing futher processing, the original audio is lost in output.mp4: {{{ tungj at tungj-ffmpeg:~/bugreport$ ffmpeg -y -i 'initialSilence.ts' -vcodec copy -acodec libfaac -ab 40k -ar 22050 output.mp4 ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 11:00:29 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpegts @ 0x9346aa0] max_analyze_duration 5000000 reached at 5000000 [NULL @ 0x934b0c0] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'initialSilence.ts': Duration: 00:00:09.96, start: 1.400000, bitrate: 161 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 200x200 [SAR 1:1 DAR 1:1], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 Output #0, mp4, to 'output.mp4': Metadata: encoder : Lavf53.16.0 Stream #0:0: Video: mpeg2video (a[0][0][0] / 0x0061), yuv420p, 200x200 [SAR 1:1 DAR 1:1], q=2-31, 104857 kb/s, 25 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 (copy) Press [q] to stop, [?] for help frame= 250 fps= 0 q=-1.0 Lsize= 127kB time=00:00:09.96 bitrate= 104.5kbits/s video:124kB audio:0kB global headers:0kB muxing overhead 2.308019% }}} Details of the input file: {{{ tungj at tungj-ffmpeg:~/bugreport$ ffmpeg -v 9 -loglevel 99 -i initialSilence.mp4 ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 11:00:29 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0xa374aa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0xa374aa0] ISO: File Type Major Brand: isom [aac @ 0xa3852a0] Unsupported bit depth: 0 [h264 @ 0xa37b5c0] no picture Last message repeated 1 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0xa374aa0] All info found Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'initialSilence.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Duration: 00:00:10.02, start: 0.000000, bitrate: 84 kb/s Stream #0:0(und), 3, 1/25: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 200x200, 1/50, 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und), 1, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 72 kb/s Metadata: creation_time : 1970-01-01 00:00:00 At least one output file must be specified }}} Interestingly, the problem seems to occur at the silence-to-audio boundary; encoding either before the sound starts ffmpeg -y -i 'initialSilence.mp4' -f mpegts -t 5 -acodec libfaac -ab 40k -ar 22050 initialSilence.ts or after the silence ends ffmpeg -y -i 'initialSilence.mp4' -f mpegts -ss 8 -acodec libfaac -ab 40k -ar 22050 initialSilence.ts produce mpegts files which ffprobe reports as having stereo audio output. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:17:02 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:17:02 -0000 Subject: [FFmpeg-trac] #567(avcodec:new): ffmpeg can't decode file Message-ID: <035.db1bc807a02be643373f301b9cb016c6@avcodec.org> #567: ffmpeg can't decode file ---------------------------------+-------------------------------------- Reporter: bf4648 | Type: defect Status: new | Priority: critical Component: avcodec | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- Here's my input (this is a different file then what I previously submitted): @ubuntu:~/Desktop/Ubuntu_Shared$ ffmpeg -i sample ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 08:55:06 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x31ee7c0] Something went wrong during header parsing, I will ignore it and try to continue anyway. [avi @ 0x31ee7c0] parser not found for codec none, packets or times may be invalid. [avi @ 0x31ee7c0] max_analyze_duration 5000000 reached at 5000000 Input #0, avi, from 'sample': Duration: 00:14:55.33, start: 0.000000, bitrate: 9 kb/s Stream #0:0: Video: none (8[0][0][0] / 0x0038), 94x1819440243, 30 fps, 30 tbr, 30 tbn, 30 tbc At least one output file must be specified -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:24:03 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:24:03 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.ec6899067d6b38a8fac657d0199af456@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:35 terran]: > Replying to [comment:33 cehoyos]: > > Then please test ffmpeg -i rehearsal.mp4 -threads 4 -vcodec libx264 -b:v 7000000 -acodec mp2 out.ts > > That command works and provides a valid audio stream, though I had to add '-b:a 48000 -ac 2 -ar 44100' to the command as required. What happened without the options you added? (Just curious.) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:26:44 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:26:44 -0000 Subject: [FFmpeg-trac] #567(avcodec:closed): ffmpeg can't decode file In-Reply-To: <035.db1bc807a02be643373f301b9cb016c6@avcodec.org> References: <035.db1bc807a02be643373f301b9cb016c6@avcodec.org> Message-ID: <050.1e7a539c4b1109bafd736d33f5cc8d2a@avcodec.org> #567: ffmpeg can't decode file ------------------------------------+------------------------------------- Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: duplicate Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------- Changes (by cehoyos): * priority: critical => normal * status: new => closed * resolution: => duplicate Comment: Looks like a duplicate of ticket #565. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:31:13 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:31:13 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.c326cb8db27b964c0253e9dddbaf2683@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Is this also reproducible with the native aac encoder (and libvo-aacenc and libaacplus)? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:41:02 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:41:02 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.1ef88982374aac9e3c4de3c1e949f3dd@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by tungj): Thanks for the fast response! It still gives 0 channels using the natice aac encoder; I'll recompile with libvo-aacenc and libaacplus and try those. {{{ tungj at tungj-ffmpeg:~/bugreport/native$ ffmpeg -y -i 'initialSilence.mp4' -f mpegts -strict experimental -t 10 -acodec aac -ab 40k -ar 22050 initialSilence.ts ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 11:00:29 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'initialSilence.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Duration: 00:00:10.02, start: 0.000000, bitrate: 84 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 200x200, 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 72 kb/s Metadata: creation_time : 1970-01-01 00:00:00 [buffer @ 0x90ce6c0] w:200 h:200 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [mpegts @ 0x90ce760] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'initialSilence.ts': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Stream #0:0(und): Video: mpeg2video, yuv420p, 200x200, q=2-31, 200 kb/s, 90k tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac, 22050 Hz, stereo, s16, 40 kb/s Metadata: creation_time : 1970-01-01 00:00:00 Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg2video) Stream #0.1 -> #0.1 (aac -> aac) Press [q] to stop, [?] for help frame= 250 fps= 0 q=2.0 Lsize= 189kB time=00:00:09.96 bitrate= 155.2kbits/s video:124kB audio:26kB global headers:0kB muxing overhead 25.718152% }}} FFprobe reports 0 channels: {{{ tungj at tungj-ffmpeg:~/bugreport/native$ ffprobe initialSilence.ts ffprobe version N-33724-gefb1ce2, Copyright (c) 2007-2011 the FFmpeg developers built on Oct 17 2011 11:00:29 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpegts @ 0x9fc7b80] max_analyze_duration 5000000 reached at 5000000 [NULL @ 0x9fcc0e0] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'initialSilence.ts': Duration: 00:00:09.96, start: 1.400000, bitrate: 155 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 200x200 [SAR 1:1 DAR 1:1], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:46:11 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:46:11 -0000 Subject: [FFmpeg-trac] #563(undetermined:new): Sorenson Spark: first frame is no keyframe In-Reply-To: <036.489f00a7aee168032480eea88ee5a9c5@avcodec.org> References: <036.489f00a7aee168032480eea88ee5a9c5@avcodec.org> Message-ID: <051.343aab5bd6db34f390f32c1956643460@avcodec.org> #563: Sorenson Spark: first frame is no keyframe -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: flv1 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by michael): what does some official player display ? black or gray ? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 16:48:56 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 14:48:56 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.cc7350eb7ab9433df0b48cbbc901f662@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:2 tungj]: > It still gives 0 channels using the native aac encoder Only reproducible with -ar 22050, is that correct? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 17:07:04 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 15:07:04 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.cb36df9c7fc672803384529400b86d4f@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by tungj): Replying to [comment:3 cehoyos]: > Replying to [comment:2 tungj]: > > It still gives 0 channels using the native aac encoder > > Only reproducible with -ar 22050, is that correct? It seems to be reproducible with anything below a certain rate, in this case, around 37000. {{{ for rate in 22050 33050 35000 36000 37000 44050; do ffmpeg -y -i 'initialSilence.mp4' -f mpegts -t 10 -acodec libfaac -ab 40k -ar $rate initialSilence.ts 2>/dev/null 1>&2; echo $rate; ffprobe initialSilence.ts 2>&1 | grep Audio; done; 22050 Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 33050 Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 35000 Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 36000 Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 37000 Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, s16, 4 kb/s 44050 Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, s16, 5 kb/s }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 17:34:18 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 15:34:18 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.40558f7949455016223f887944209812@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Replying to [comment:36 cehoyos]: > Replying to [comment:35 terran]: > > Replying to [comment:33 cehoyos]: > > > Then please test ffmpeg -i rehearsal.mp4 -threads 4 -vcodec libx264 -b:v 7000000 -acodec mp2 out.ts > > > > That command works and provides a valid audio stream, though I had to add '-b:a 48000 -ac 2 -ar 44100' to the command as required. > What happened without the options you added? (Just curious.) I had already sync'd to head again and am not able to repro the error, but it was one of the generic: "Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as..." -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 17:56:20 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 15:56:20 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.354d298f4333c287e30c0f8dfa1fff39@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by tungj): Replying to [comment:1 cehoyos]: > Is this also reproducible with the native aac encoder (and libvo-aacenc and libaacplus)? libvo-aacenc correctly outputs two channels; while libaacplus gives an 'bad aac setting: br:40000, AACch:1, AACsr:22050' error for these particular rates. The [comment:2 native aac encoder] gave output with 0 channels. This was with libvo-aacenc 0.1.1 from http://sourceforge.net/projects /opencore-amr/files/vo-aacenc/vo-aacenc-0.1.1.tar.gz/download and libaacplus-2.0.2.tar.gz from http://tipok.org.ua/node/17 libaacplus: {{{ tungj at tungj-ffmpeg:~/bugreport/aacplus$ ffmpeg -y -i 'initialSilence.mp4' -f mpegts -t 10 -acodec libaacplus -ab 40k -ar 22050 initialSilence.ts ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 16:30:42 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab --enable-libaacplus --enable-libvo-aacenc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'initialSilence.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Duration: 00:00:10.02, start: 0.000000, bitrate: 84 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 200x200, 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 72 kb/s Metadata: creation_time : 1970-01-01 00:00:00 [buffer @ 0x95e5620] w:200 h:200 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: libaacplus: bad aac setting: br:40000, AACch:1, AACsr:22050 [libaacplus @ 0x95e5120] libaacplus doesn't support this output format! Output #0, mpegts, to 'initialSilence.ts': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Stream #0:0(und): Video: mpeg2video, yuv420p, 200x200, q=2-31, 200 kb/s, 90k tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac, 22050 Hz, stereo, s16, 40 kb/s Metadata: creation_time : 1970-01-01 00:00:00 Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg2video) Stream #0.1 -> #0.1 (aac -> libaacplus) Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height }}} libvo-aacenc gives 2 channels as expected: {{{ tungj at tungj-ffmpeg:~/bugreport/libvo_aacenc$ ffmpeg -y -i 'initialSilence.mp4' -f mpegts -t 10 -acodec libvo_aacenc -ab 40k -ar 22050 initialSilence.ts ffmpeg version N-33724-gefb1ce2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 16:30:42 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab --enable-libaacplus --enable-libvo-aacenc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'initialSilence.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Duration: 00:00:10.02, start: 0.000000, bitrate: 84 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 200x200, 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 72 kb/s Metadata: creation_time : 1970-01-01 00:00:00 [buffer @ 0x9653620] w:200 h:200 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [mpegts @ 0x96536e0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'initialSilence.ts': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Stream #0:0(und): Video: mpeg2video, yuv420p, 200x200, q=2-31, 200 kb/s, 90k tbn, 25 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac, 22050 Hz, stereo, s16, 40 kb/s Metadata: creation_time : 1970-01-01 00:00:00 Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg2video) Stream #0.1 -> #0.1 (aac -> libvo_aacenc) Press [q] to stop, [?] for help frame= 250 fps= 0 q=2.0 Lsize= 214kB time=00:00:09.96 bitrate= 175.9kbits/s video:124kB audio:50kB global headers:0kB muxing overhead 23.044944% tungj at tungj-ffmpeg:~/bugreport/libvo_aacenc$ ffprobe output.mp4 ffprobe version N-33724-gefb1ce2, Copyright (c) 2007-2011 the FFmpeg developers built on Oct 17 2011 16:30:42 with gcc 4.4.3 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore- amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab --enable-libaacplus --enable-libvo-aacenc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.0 Duration: 00:00:10.07, start: 0.000000, bitrate: 130 kb/s Stream #0:0(und): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p, 200x200 [SAR 1:1 DAR 1:1], 104857 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, s16, 25 kb/s Metadata: creation_time : 1970-01-01 00:00:00 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 19:28:40 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 17:28:40 -0000 Subject: [FFmpeg-trac] #455(avcodec:open): Invalid read in ff_mspel_motion called from EC code In-Reply-To: <036.0c72cd5392cc0d3b79abad1ccc61cd23@avcodec.org> References: <036.0c72cd5392cc0d3b79abad1ccc61cd23@avcodec.org> Message-ID: <051.2854079865717616668c401f2b1439ef@avcodec.org> #455: Invalid read in ff_mspel_motion called from EC code ------------------------------------+----------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: open Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by DonMoir): Originally I posted ticket #495 about a crash here: https://ffmpeg.org/trac/ffmpeg/ticket/495 This ticket was closed but I never saw any difference in the status of the crash on my machine. It has come to my attention that while the crash seemed the same to me, this is most likely a different case. That is, it may not happen with 64bit etc. Using this file (hidef_crash_cut.wmv 20mb) it crashes everytime for me on windows x86 32bit. http://www.datafilehost.com/download-3cd0d3f7.html Looking at the details below, it appears to be the same case as in ff_mspel_motion as originally posted here. ffmpeg_g -i c:\hidef_crash_cut.wmv -f null - ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 12:07:23 with gcc 4.5.2 configuration: --target-os=mingw32 --disable-yasm --disable-doc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [asf @ 03519860] Ext DRM protected stream detected, decoding will likely fail! [asf @ 03519860] DRM protected stream detected, decoding will likely fail! [asf @ 03519860] Digital signature detected! [asf @ 03519860] parser not found for codec wmapro, packets or times may be invalid. gdb ffmpeg_g r -i c:\hidef_crash_cut.wmv -f null - [wmv3 @ 03616200] Bits overconsumption: 379253 > 379232 [wmv3 @ 03616200] concealing 2246 DC, 2246 AC, 2246 MV errors [wmv3 @ 03616200] Bits overconsumption: 197142 > 197120 at 66x35 [wmv3 @ 03616200] concealing 733 DC, 733 AC, 733 MV errors Program received signal SIGSEGV, Segmentation fault. 0x007bdc49 in ff_mspel_motion (s=0x351b020, dest_y=0x458f470 "", dest_cb=0x40722b8 "tvwwwwwwrrrrrrrrnmnnnnifXUQRQRRRRSSSSSTUXYYZYZhx?\261++++ ++++?+?+\262?\237?\226\224\223\223\223\225\226\224\216\211\205\207\220??+++++??? \262??????\225\221\215\215\215\215\215\215hhhhgfeddcba`^][[ZYWVUUUVVVVUUUUVVVVVV VVWWWWWWXX[ZZZ[[[[[", 'Z' , "YYXXXXWWVVVWXYZ[[[JP?80;1"..., dest_cr=0x40aa6f8 "(======(n?", '\377' , "=t\300+????????? ??????P\216\203\203\217\224\226umffffa\\LH", 'D' , "EGOJOSKNTP WYZZZZYXUUTTTTSSSTSSSSSS\332\332\332\332\331\330\327++++---\316\314\314\313-++\3 13\316-\330??G\344Fdn?)\370n", '?' , "?nv\372\371\370?)((((((( \371?=n?\377\377\377=======8nFa\331-\313++++??mvcg"..., ref_picture=0x351b388, pix_op=0x351c4f8, motion_x=-16, motion_y=36, h=16) at libavcodec/wmv2.c:112 112 s->dsp.put_mspel_pixels_tab[dxy](dest_y, ptr , linesize); (gdb) bt #0 0x007bdc49 in ff_mspel_motion (s=0x351b020, dest_y=0x458f470 "", dest_cb=0x40722b8 "tvwwwwwwrrrrrrrrnmnnnnifXUQRQRRRRSSSSSTUXYYZYZhx?\261++++ ++++?+?+\262?\237?\226\224\223\223\223\225\226\224\216\211\205\207\220??+++++??? \262??????\225\221\215\215\215\215\215\215hhhhgfeddcba`^][[ZYWVUUUVVVVUUUUVVVVVV VVWWWWWWXX[ZZZ[[[[[", 'Z' , "YYXXXXWWVVVWXYZ[[[JP?80;1"..., dest_cr=0x40aa6f8 "(======(n?", '\377' , "=t\300+????????? ??????P\216\203\203\217\224\226umffffa\\LH", 'D' , "EGOJOSKNTP WYZZZZYXUUTTTTSSSTSSSSSS\332\332\332\332\331\330\327++++---\316\314\314\313-++\3 13\316-\330??G\344Fdn?)\370n", '?' , "?nv\372\371\370?)((((((( \371?=n?\377\377\377=======8nFa\331-\313++++??mvcg"..., ref_picture=0x351b388, pix_op=0x351c4f8, motion_x=-16, motion_y=36, h=16) at libavcodec/wmv2.c:112 #1 0x0057cb22 in MPV_motion_internal (s=0x351b020, dest_y=0x458f470 "", dest_cb=0x40722b8 "tvwwwwwwrrrrrrrrnmnnnnifXUQRQRRRRSSSSSTUXYYZYZhx?\261++++ ++++?+?+\262?\237?\226\224\223\223\223\225\226\224\216\211\205\207\220??+++++??? \262??????\225\221\215\215\215\215\215\215hhhhgfeddcba`^][[ZYWVUUUVVVVUUUUVVVVVV VVWWWWWWXX[ZZZ[[[[[", 'Z' , "YYXXXXWWVVVWXYZ[[[JP?80;1"..., dest_cr=0x40aa6f8 "(======(n?", '\377' , "=t\300+????????? ??????P\216\203\203\217\224\226umffffa\\LH", 'D' , "EGOJOSKNTP WYZZZZYXUUTTTTSSSTSSSSSS\332\332\332\332\331\330\327++++---\316\314\314\313-++\3 13\316-\330??G\344Fdn?)\370n", '?' , "?nv\372\371\370?)((((((( \371?=n?\377\377\377=======8nFa\331-\313++++??mvcg"..., dir=0, ref_picture=0x351b388, pix_op=0x351c4f8, qpix_op=0x351c658) at libavcodec/mpegvideo_common.h:729 #2 MPV_motion (s=0x351b020, dest_y=0x458f470 "", dest_cb=0x40722b8 "tvwwwwwwrrrrrrrrnmnnnnifXUQRQRRRRSSSSSTUXYYZYZhx?\261++++ ++++?+?+\262?\237?\226\224\223\223\223\225\226\224\216\211\205\207\220??+++++??? \262??????\225\221\215\215\215\215\215\215hhhhgfeddcba`^][[ZYWVUUUVVVVUUUUVVVVVV VVWWWWWWXX[ZZZ[[[[[", 'Z' , "YYXXXXWWVVVWXYZ[[[JP?80;1"..., dest_cr=0x40aa6f8 "(======(n?", '\377' , "=t\300+????????? ??????P\216\203\203\217\224\226umffffa\\LH", 'D' , "EGOJOSKNTP WYZZZZYXUUTTTTSSSTSSSSSS\332\332\332\332\331\330\327++++---\316\314\314\313-++\3 13\316-\330??G\344Fdn?)\370n", '?' , "?nv\372\371\370?)((((((( \371?=n?\377\377\377=======8nFa\331-\313++++??mvcg"..., dir=0, ref_picture=0x351b388, pix_op=0x351c4f8, qpix_op=0x351c658) at libavcodec/mpegvideo_common.h:896 #3 0x00584a26 in MPV_decode_mb_internal (s=0x351b020, block=0x38f53a0) at libavcodec/mpegvideo.c:2165 #4 MPV_decode_mb (s=0x351b020, block=0x38f53a0) at libavcodec/mpegvideo.c:2302 #5 0x007c3712 in decode_mb (s=0x351b020, ref=) at libavcodec/error_resilience.c:62 #6 0x007c4151 in guess_mv (s=) at libavcodec/error_resilience.c:584 #7 0x007c5ef2 in ff_er_frame_end (s=0x351b020) at libavcodec/error_resilience.c:1066 #8 0x0063be93 in vc1_decode_frame (avctx=0x3616200, data=0x36a0e40, data_size=0x23deec, avpkt=0x23de48) at libavcodec/vc1dec.c:5737 #9 0x004efc31 in avcodec_decode_video2 (avctx=0x3616200, picture=0x36a0e40, got_picture_ptr=0x23deec, avpkt=0x23de48) at libavcodec/utils.c:804 #10 0x004072ee in output_packet (ist=0x351a648, ist_index=1, ost_table=0x3615010, nb_ostreams=2, pkt=0x23fbf8) at ffmpeg.c:1685 #11 0x0040ad16 in transcode (output_files=, nb_output_files=0, input_files=0x0, nb_input_files=4252759) at ffmpeg.c:2630 #12 0x0023ff48 in ?? () #13 0x00000000 in ?? () (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x7bdc29 to 0x7bdc69: 0x007bdc29 : (bad) 0x007bdc2a : xchg %ax,%ax 0x007bdc2c : movl $0x0,0x58(%esp) 0x007bdc34 : add $0x60c,%ebp 0x007bdc3a : mov %esi,0x8(%esp) 0x007bdc3e : mov %edi,0x4(%esp) 0x007bdc42 : mov 0x54(%esp),%ecx 0x007bdc46 : mov %ecx,(%esp) => 0x007bdc49 : call *0x8(%ebx,%ebp,4) 0x007bdc4d : mov %esi,0x8(%esp) 0x007bdc51 : lea 0x8(%edi),%eax 0x007bdc54 : mov %eax,0x4(%esp) 0x007bdc58 : mov 0x54(%esp),%eax 0x007bdc5c : add $0x8,%eax 0x007bdc5f : mov %eax,(%esp) 0x007bdc62 : call *0x8(%ebx,%ebp,4) 0x007bdc66 : lea 0x0(,%esi,8),%eax End of assembler dump. (gdb) info all-registers eax 0x242 578 ecx 0x458f470 72938608 edx 0x253 595 ebx 0x351b020 55685152 esp 0x23c630 0x23c630 ebp 0x80a3e8 0x80a3e8 esi 0x500 1280 edi 0x44a4e68 71978600 eip 0x7bdc49 0x7bdc49 eflags 0x210216 [ PF AF IF RF ID ] cs 0x1b 27 ss 0x23 35 ds 0x23 35 es 0x23 35 fs 0x3b 59 gs 0x0 0 st0 -nan(0xe0e0e0e0dfdfdfdf) (raw 0xffffe0e0e0e0dfdfdfdf) st1 -nan(0xe1e1e1e1dfdfdfdf) (raw 0xffffe1e1e1e1dfdfdfdf) st2 -nan(0xff00fe00fe00fe0) (raw 0xffff0ff00fe00fe00fe0) st3 -nan(0xfffffefdfdfdfdfd) (raw 0xfffffffffefdfdfdfdfd) st4 -nan(0xff00ff00fe00fd) (raw 0xffff00ff00ff00fe00fd) st5 -nan(0x9000900090009) (raw 0xffff0009000900090009) st6 -nan(0x80008000800080) (raw 0xffff0080008000800080) st7 -nan(0xc040c040c040c040) (raw 0xffffc040c040c040c040) fctrl 0xffff037f -64641 fstat 0xffff0020 -65504 ftag 0xffffaaaa -21846 fiseg 0x1b 27 fioff 0x40abde 4238302 foseg 0xffff0023 -65501 fooff 0x23dfd8 2351064 fop 0x7bc 1980 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm1 {v4_float = {0xfffffffd, 0x3, 0xfffffffe, 0x0}, v2_double = { 0x60, 0x0}, v16_int8 = {0x5d, 0xef, 0x73, 0xc0, 0xfb, 0x32, 0x58, 0x40, 0x7f, 0x52, 0x14, 0xc0, 0xb4, 0xc1, 0x50, 0x3f}, v8_int16 = {0xef5d, 0xc073, 0x32fb, 0x4058, 0x527f, 0xc014, 0xc1b4, 0x3f50}, v4_int32 = { 0xc073ef5d, 0x405832fb, 0xc014527f, 0x3f50c1b4}, v2_int64 = { 0x405832fbc073ef5d, 0x3f50c1b4c014527f}, uint128 = 0x3f50c1b4c014527f405832fbc073ef5d} xmm2 {v4_float = {0x0, 0xfffffffe, 0x3, 0xfffffffd}, v2_double = { 0xfffffffffffffffc, 0xfffffffffffffed6}, v16_int8 = {0xbb, 0x98, 0x50, 0x3f, 0x3b, 0xfb, 0x13, 0xc0, 0x23, 0x5f, 0x57, 0x40, 0xfc, 0xa0, 0x72, 0xc0}, v8_int16 = {0x98bb, 0x3f50, 0xfb3b, 0xc013, 0x5f23, 0x4057, 0xa0fc, 0xc072}, v4_int32 = {0x3f5098bb, 0xc013fb3b, 0x40575f23, 0xc072a0fc}, v2_int64 = {0xc013fb3b3f5098bb, 0xc072a0fc40575f23}, uint128 = 0xc072a0fc40575f23c013fb3b3f5098bb} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000, 0x0, 0x0}, v4_int32 = {0x80000000, 0x0, 0x80000000, 0x0}, v2_int64 = { 0x80000000, 0x80000000}, uint128 = 0x00000000800000000000000080000000} xmm4 {v4_float = {0xfffffffb, 0x4, 0xfffffffd, 0x1}, v2_double = { 0x625, 0x0}, v16_int8 = {0xe4, 0x6, 0xac, 0xc0, 0x66, 0x95, 0x98, 0x40, 0xb8, 0x84, 0x51, 0xc0, 0x82, 0x8e, 0x93, 0x3f}, v8_int16 = {0x6e4, 0xc0ac, 0x9566, 0x4098, 0x84b8, 0xc051, 0x8e82, 0x3f93}, v4_int32 = { 0xc0ac06e4, 0x40989566, 0xc05184b8, 0x3f938e82}, v2_int64 = { 0x40989566c0ac06e4, 0x3f938e82c05184b8}, uint128 = 0x3f938e82c05184b840989566c0ac06e4} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000, 0x0, 0x0}, v4_int32 = {0x80000000, 0x0, 0x80000000, 0x0}, v2_int64 = { 0x80000000, 0x80000000}, uint128 = 0x00000000800000000000000080000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0xb0, 0x52, 0x5, 0x0, 0x5d, 0x0, 0x91, 0x7c, 0x1, 0x0, 0x10, 0x0}, v8_int16 = {0x0, 0x0, 0x52b0, 0x5, 0x5d, 0x7c91, 0x1, 0x10}, v4_int32 = {0x0, 0x552b0, 0x7c91005d, 0x100001}, v2_int64 = {0x552b000000000, 0x1000017c91005d}, uint128 = 0x001000017c91005d000552b000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5, 0x0, 0xa0, 0xee, 0xf8, 0x0}, v8_int16 = {0x28, 0x0, 0x0, 0x0, 0x0, 0x5, 0xeea0, 0xf8}, v4_int32 = {0x28, 0x0, 0x50000, 0xf8eea0}, v2_int64 = { 0x28, 0xf8eea000050000}, uint128 = 0x00f8eea0000500000000000000000028} mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] mm0 {uint64 = 0xe0e0e0e0dfdfdfdf, v2_int32 = {0xdfdfdfdf, 0xe0e0e0e0}, v4_int16 = {0xdfdf, 0xdfdf, 0xe0e0, 0xe0e0}, v8_int8 = { 0xdf, 0xdf, 0xdf, 0xdf, 0xe0, 0xe0, 0xe0, 0xe0}} mm1 {uint64 = 0xe1e1e1e1dfdfdfdf, v2_int32 = {0xdfdfdfdf, 0xe1e1e1e1}, v4_int16 = {0xdfdf, 0xdfdf, 0xe1e1, 0xe1e1}, v8_int8 = { 0xdf, 0xdf, 0xdf, 0xdf, 0xe1, 0xe1, 0xe1, 0xe1}} mm2 {uint64 = 0xff00fe00fe00fe0, v2_int32 = {0xfe00fe0, 0xff00fe0}, v4_int16 = {0xfe0, 0xfe0, 0xfe0, 0xff0}, v8_int8 = {0xe0, 0xf, 0xe0, 0xf, 0xe0, 0xf, 0xf0, 0xf}} mm3 {uint64 = 0xfffffefdfdfdfdfd, v2_int32 = {0xfdfdfdfd, 0xfffffefd}, v4_int16 = {0xfdfd, 0xfdfd, 0xfefd, 0xffff}, v8_int8 = { 0xfd, 0xfd, 0xfd, 0xfd, 0xfd, 0xfe, 0xff, 0xff}} mm4 {uint64 = 0xff00ff00fe00fd, v2_int32 = {0xfe00fd, 0xff00ff}, v4_int16 = {0xfd, 0xfe, 0xff, 0xff}, v8_int8 = {0xfd, 0x0, 0xfe, 0x0, 0xff, 0x0, 0xff, 0x0}} mm5 {uint64 = 0x9000900090009, v2_int32 = {0x90009, 0x90009}, v4_int16 = {0x9, 0x9, 0x9, 0x9}, v8_int8 = {0x9, 0x0, 0x9, 0x0, 0x9, 0x0, 0x9, 0x0}} mm6 {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080}, v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 0x0, 0x80, 0x0}} mm7 {uint64 = 0xc040c040c040c040, v2_int32 = {0xc040c040, 0xc040c040}, v4_int16 = {0xc040, 0xc040, 0xc040, 0xc040}, v8_int8 = { 0x40, 0xc0, 0x40, 0xc0, 0x40, 0xc0, 0x40, 0xc0}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 21:44:55 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 19:44:55 -0000 Subject: [FFmpeg-trac] #568(FFmpeg:new): H264 frame drop with the drop of one slice Message-ID: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> #568: H264 frame drop with the drop of one slice ----------------------------------------+--------------------------------- Reporter: hardiksharma | Owner: michael Type: defect | Status: new Priority: normal | Component: FFmpeg Version: unspecified | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ----------------------------------------+--------------------------------- I am trying to transcode from .264 to yuv format. I dropped slices (one by one) in h264 file format and then decoded the .264 to yuv format. During decoding, decoder is dropping the respective frame if I drop the header slice/first slice of the frame. Happening for P and B both. Command line to decode- ffmpeg -b:v 512k -r 30 -i error_$sliceno.264 -b:v 512k -x264opts sar=352:288 -r 30 -y decode_$sliceno.yuv ffmpeg -v 9 -loglevel 99 -i error_51.264 ffmpeg version N-33472-gfbb8468, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 10 2011 18:37:07 with gcc 4.4.5 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 0 / 53. 20. 0 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 0x9f1cac0] Format h264 probed with size=2048 and score=51 [h264 @ 0x9f22d20] no picture [h264 @ 0x9f22d20] concealing 47 DC, 47 AC, 47 MV errors [h264 @ 0x9f22d20] Missing reference picture Last message repeated 13 times [h264 @ 0x9f1cac0] max_analyze_duration 5000000 reached at 5000000 [h264 @ 0x9f1cac0] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2) Input #0, h264, from 'error_51.264': Duration: N/A, bitrate: N/A Stream #0:0, 152, 1/1200000: Video: h264 (High), yuv420p, 352x288, 1/60, 30 fps, 30 tbr, 1200k tbn, 60 tbc -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 22:16:55 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 20:16:55 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.4dc7031227a84af237be91f581c4a9f5@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): I've found that the bug will trigger for me when these two params are modified from their defaults: -sc_threshold 40 -qmin 0 For example, if I hold sc_threshold at 40, I can raise qmin from 0-5. 6+ fails. And if I hold qmin at 0, I can lower sc_threshold down to 1. Were there threading/instruction set/etc changes that relate to either of these params in the last couple of months? Could either of these somehow affect libfaad or muxing? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 22:28:35 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 20:28:35 -0000 Subject: [FFmpeg-trac] #569(undetermined:new): segfault trying to identify flv with no audio channels Message-ID: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------- Reporter: andrewr | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- We have some flv files with 1 video and 0 audio channels which immediately segfault ffmpeg when it tries to identify them ("ffmpeg -i filename.flv"). This happens with latest version bd4ebbbbed47761df65dd574dce6d3c56d29e2e7 from Oct 14 2011. This used to work. For example here is the flv file working with an old build (I can't provide flv file source in question, sorry.): ffmpeg -i ~andrewr/local/bad-videos/flv-segfault- identify/251336914908174.flv FFmpeg version ffmpeg-r19369, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-version3 --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libgsm --enable-libopenjpeg --disable-devices --disable-ffserver --disable-ffplay --enable-libxvid --enable-libx264 --enable-pthreads --disable-shared --enable-nonfree --enable-static --enable-libfaac --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libschroedinger --enable-libspeex libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.32. 0 / 52.32. 0 libavformat 52.36. 0 / 52.36. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Jul 7 2009 17:57:47, gcc: 4.0.1 20050727 (Red Hat 4.0.1-5) [flv @ 0x1107370]invalid stream Seems stream 1 codec frame rate differs from container frame rate: inf (1/0) -> 24.00 (24/1) FPS=24.00 Input #0, flv, from '/home/andrewr/local/bad-videos/flv-segfault- identify/251336914908174.flv': Duration: 00:00:39.79, start: 0.000000, bitrate: N/A DURATION=39.79 AUDIO_CODEC=0x0000 AUDIO_SAMPLE_FMT=s16 AUDIO_CHANNELS=0 STREAM_ID=0.0 Stream #0.0: Audio: 0x0000, 0 channels, s16 VIDEO_CODEC=flv PIX_FMT=yuv420p WIDTH=512 HEIGHT=272 STREAM_ID=0.1 Stream #0.1: Video: flv, yuv420p, 512x272, 24 tbr, 1k tbn At least one output file must be specified Here's the debug information requested from ffmpeg_g: Program received signal SIGSEGV, Segmentation fault. 0x00007fa3e5af16f8 in ff_add_index_entry () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 (gdb) bt #0 0x00007fa3e5af16f8 in ff_add_index_entry () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #1 0x00007fa3e5af1896 in av_add_index_entry () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #2 0x00007fa3e5a7e356 in ?? () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #3 0x00007fa3e5a7df80 in ?? () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #4 0x00007fa3e5a7e933 in ?? () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #5 0x00007fa3e5af0cd7 in av_read_packet () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #6 0x00007fa3e5af1927 in ?? () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #7 0x00007fa3e5af31b9 in avformat_find_stream_info () from /tmp/binary-dist-ffmpeg- 6e6306c.us7i8a/gcc-4.6.0-glibc-2.13/libavformat.so.53 #8 0x000000000040e0c5 in opt_input_file (o=0x7fffc0ee2540, opt=, filename=) at ffmpeg.c:3137 #9 0x0000000000413257 in parse_option (optctx=0x7fffc0ee2540, opt=0x7fffc0ee481a "i", arg=0x7fffc0ee481c "/home/andrewr/local/bad-videos/flv-segfault- identify/251336914908174.flv", options=0x619060) at cmdutils.c:275 #10 0x00000000004133e5 in parse_options (optctx=0x7fffc0ee2540, argc=3, argv=0x7fffc0ee28a8, options=0x619060, parse_arg_function=0x40f420 ) at cmdutils.c:308 #11 0x0000000000404bf0 in main (argc=3, argv=0x7fffc0ee28a8) at ffmpeg.c:4369 (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x7fa3e5af16d8 to 0x7fa3e5af1718: 0x00007fa3e5af16d8 : mov %rbp,-0x28(%rsp) 0x00007fa3e5af16dd : mov %r12,-0x20(%rsp) 0x00007fa3e5af16e2 : mov %r13,-0x18(%rsp) 0x00007fa3e5af16e7 : mov %rdi,%rbp 0x00007fa3e5af16ea : mov %r15,-0x8(%rsp) 0x00007fa3e5af16ef : mov %r14,-0x10(%rsp) 0x00007fa3e5af16f4 : sub $0x48,%rsp => 0x00007fa3e5af16f8 : mov (%rbx),%eax 0x00007fa3e5af16fa : mov %rdx,%rsi 0x00007fa3e5af16fd : mov %rcx,%r13 0x00007fa3e5af1700 : mov %r8,%r12 0x00007fa3e5af1703 : mov %r9d,%r15d 0x00007fa3e5af1706 : add $0x1,%eax 0x00007fa3e5af1709 : cmp $0xaaaaaa9,%eax 0x00007fa3e5af170e : ja 0x7fa3e5af1850 0x00007fa3e5af1714 : cltq 0x00007fa3e5af1716 : mov (%rdi),%rdi End of assembler dump. (gdb) info all-registers rax 0xe63 3683 rbx 0x98 152 rcx 0xe63 3683 rdx 0x9c 156 rsi 0x98 152 rdi 0x90 144 rbp 0x90 0x90 rsp 0x7fffc0ee16e0 0x7fffc0ee16e0 r8 0x0 0 r9 0x0 0 r10 0x0 0 r11 0x0 0 r12 0x47d 1149 r13 0x1 1 r14 0x3 3 r15 0x7fffc0ee1a80 140736430217856 rip 0x7fa3e5af16f8 0x7fa3e5af16f8 eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 0 (raw 0x00000000000000000000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x26, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x60, 0x43, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x6000, 0x4043, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40436000, 0x0, 0x0}, v2_int64 = { 0x4043600000000000, 0x0}, uint128 = 0x00000000000000004043600000000000} xmm1 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x26, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x60, 0x43, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x6000, 0x4043, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40436000, 0x0, 0x0}, v2_int64 = { 0x4043600000000000, 0x0}, uint128 = 0x00000000000000004043600000000000} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0}, v8_int16 = {0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0xff00, 0x0}, v4_int32 = {0xff0000, 0x0, 0x0, 0xff00}, v2_int64 = {0xff0000, 0xff0000000000}, uint128 = 0x0000ff00000000000000000000ff0000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x0}, v16_int8 = {0x65, 0x73, 0x74, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x66, 0x6d, 0x74, 0x0, 0x38}, v8_int16 = { 0x7365, 0x5f74, 0x6173, 0x706d, 0x656c, 0x665f, 0x746d, 0x3800}, v4_int32 = {0x5f747365, 0x706d6173, 0x665f656c, 0x3800746d}, v2_int64 = { 0x706d61735f747365, 0x3800746d665f656c}, uint128 = 0x3800746d665f656c706d61735f747365} xmm5 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x6d, 0x7d, 0xbf, 0xbb, 0x27, 0xaf, 0xf5, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x7d6d, 0xbbbf, 0xaf27, 0x3ff5, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xbbbf7d6d, 0x3ff5af27, 0x0, 0x0}, v2_int64 = {0x3ff5af27bbbf7d6d, 0x0}, uint128 = 0x00000000000000003ff5af27bbbf7d6d} xmm6 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = { 0xffffffffffffffd2, 0x0}, v16_int8 = {0x5b, 0xaa, 0xa2, 0x2a, 0x9e, 0x6, 0x47, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xaa5b, 0x2aa2, 0x69e, 0xc047, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2aa2aa5b, 0xc047069e, 0x0, 0x0}, v2_int64 = {0xc047069e2aa2aa5b, 0x0}, uint128 = 0x0000000000000000c047069e2aa2aa5b} xmm7 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = { 0x3ff0000000000000, 0x0}, uint128 = 0x00000000000000003ff0000000000000} xmm8 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = { 0xffffffffffffffd2, 0x0}, v16_int8 = {0xe0, 0xe6, 0x35, 0x67, 0x9e, 0x6, 0x47, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xe6e0, 0x6735, 0x69e, 0xc047, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x6735e6e0, 0xc047069e, 0x0, 0x0}, v2_int64 = {0xc047069e6735e6e0, 0x0}, uint128 = 0x0000000000000000c047069e6735e6e0} xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x68, 0xc8, 0xbc, 0x3b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xc868, 0x3bbc, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3bbcc868, 0x0, 0x0}, v2_int64 = { 0x3bbcc86800000000, 0x0}, uint128 = 0x00000000000000003bbcc86800000000} xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 = {0x3ed6592484460000, 0x0}, uint128 = 0x00000000000000003ed6592484460000} xmm11 {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f, 0xbd, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0xff, 0xff}, v8_int16 = { 0xa26a, 0x5065, 0xeaf2, 0xbd8f, 0xffff, 0xffff, 0xff, 0xffff}, v4_int32 = {0x5065a26a, 0xbd8feaf2, 0xffffffff, 0xffff00ff}, v2_int64 = { 0xbd8feaf25065a26a, 0xffff00ffffffffff}, uint128 = 0xffff00ffffffffffbd8feaf25065a26a} xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3cc4, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3cc40000, 0x0, 0x0}, v2_int64 = { 0x3cc4000000000000, 0x0}, uint128 = 0x00000000000000003cc4000000000000} xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x59, 0xbc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0xbc59, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbc598000, 0x0, 0x0}, v2_int64 = { 0xbc59800000000000, 0x0}, uint128 = 0x0000000000000000bc59800000000000} xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 = {0x3c5324f0e883858e, 0x0}, uint128 = 0x00000000000000003c5324f0e883858e} xmm15 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0}, v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0x4046, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 = {0x4046dfb516f209c0, 0x0}, uint128 = 0x00000000000000004046dfb516f209c0} mxcsr 0x1fa2 [ DE PE IM DM ZM OM UM PM ] -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 23:07:50 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 21:07:50 -0000 Subject: [FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.91bb892073dd6fcc2695b1d9dd2786c5@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * component: undetermined => avformat Comment: Replying to [ticket:569 andrewr]: > This used to work. If you cannot provide a sample, please use git bisect to find the commit that introduced the crash, please provide complete output (including version etc) and please consider compiling with --disable-shared --disable-optimizations, that might improve the backtrace (and please use Code block to make the backtrace more readable) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 17 23:52:44 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 21:52:44 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.410beb0e1b690106495d938af33cee96@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): I ruled out recent changes to mpegts.c by reverting to changelist 2e15305b7088c9dfe1c8d29c248a9b49bcf0b0a3 which was checked in on 4/29/2011. I was able to reproduce the bug with this older version of mpegts.c. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 00:44:34 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 22:44:34 -0000 Subject: [FFmpeg-trac] #568(avcodec:open): H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder (was: H264 frame drop with the drop of one slice) In-Reply-To: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> References: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> Message-ID: <056.63b1336e359f4193beef012fa8a6d001@avcodec.org> #568: H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder --------------------------------------+----------------------------------- Reporter: hardiksharma | Owner: michael Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | --------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => open * version: unspecified => git-master * component: FFmpeg => avcodec * reproduced: 0 => 1 Comment: Complete, uncut output of the failing command missing (please consider using Code block) and please mention how you patched FFmpeg for your test (git diff >slices.diff and attach slices.diff). I can decode the first 39 frames of the sample with the reference decoder and while FFmpeg decodes the same 39 frames, only the first three and the last 20 (beginning with the second IDR frame) are bit-exact, the remaining 16 show visible artefacts with FFmpeg (that are not reproducible with the reference decoder). {{{ $ ffmpeg -i error_51.264 -t 1.25 -f framecrc outff ffmpeg version N-33734-g1de357d, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 00:33:06 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 [h264 @ 0x1306c00] concealing 47 DC, 47 AC, 47 MV errors [h264 @ 0x1306c00] Missing reference picture Last message repeated 13 times [h264 @ 0x1300780] max_analyze_duration 5000000 reached at 5000000 [h264 @ 0x1300780] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2) Input #0, h264, from 'error_51.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High), yuv420p, 352x288, 30 fps, 30 tbr, 1200k tbn, 60 tbc [buffer @ 0x1308d60] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: Output #0, framecrc, to 'outff': Metadata: encoder : Lavf53.16.0 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, q=2-31, 200 kb/s, 90k tbn, 30 tbc Stream mapping: Stream #0.0 -> #0.0 (h264 -> rawvideo) Press [q] to stop, [?] for help [h264 @ 0x1306c00] concealing 47 DC, 47 AC, 47 MV errors [h264 @ 0x1306c00] Missing reference picture Last message repeated 50 times frame= 39 fps= 0 q=0.0 Lsize= 1kB time=00:00:01.30 bitrate= 6.9kbits/s video:5792kB audio:0kB global headers:0kB muxing overhead -99.980963% }}} {{{ $ diff -uw outjm outff --- outjm 2011-10-18 00:02:15.900762160 +0200 +++ outff 2011-10-18 00:01:07.655762411 +0200 @@ -1,22 +1,22 @@ 0, 0, 152064, 0x653f8f51 0, 3000, 152064, 0x112eaae5 0, 6000, 152064, 0x5c3e3dc5 -0, 9000, 152064, 0x6c6e0c46 -0, 12000, 152064, 0x1df99fad -0, 15000, 152064, 0xfc99c44d -0, 18000, 152064, 0x173f883f -0, 21000, 152064, 0x2f4ec859 -0, 24000, 152064, 0xf90d56d4 -0, 27000, 152064, 0x9e641e1d -0, 30000, 152064, 0x355b78b2 -0, 33000, 152064, 0x32751de8 -0, 36000, 152064, 0xb4f1c60e -0, 39000, 152064, 0xa9431da3 -0, 42000, 152064, 0x4489996f -0, 45000, 152064, 0x3d2a7b4c -0, 48000, 152064, 0xc9d1fbb6 -0, 51000, 152064, 0xbd9cc699 -0, 54000, 152064, 0x8a6ae1ea +0, 9000, 152064, 0x0615eae0 +0, 12000, 152064, 0xaad687d7 +0, 15000, 152064, 0xe0c10d04 +0, 18000, 152064, 0x19a9814f +0, 21000, 152064, 0xf1528f3a +0, 24000, 152064, 0x57ff4c9e +0, 27000, 152064, 0xd0ab6ed9 +0, 30000, 152064, 0x631efdc4 +0, 33000, 152064, 0xba305bf0 +0, 36000, 152064, 0xe81e357b +0, 39000, 152064, 0xc192951e +0, 42000, 152064, 0x6182c0ff +0, 45000, 152064, 0x730500cb +0, 48000, 152064, 0x6d1b7fcb +0, 51000, 152064, 0xdd688063 +0, 54000, 152064, 0xe560656a 0, 57000, 152064, 0x9e7b0ae6 0, 60000, 152064, 0x3eb31b79 0, 63000, 152064, 0xf01c6764 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 00:57:01 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 22:57:01 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.6b9032bf625d7e4da7b06403bf252497@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): I can fix the problem with --analyzeduration 1000000000, does this also (always) work for you? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 01:30:55 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 17 Oct 2011 23:30:55 -0000 Subject: [FFmpeg-trac] #568(avcodec:open): H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder In-Reply-To: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> References: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> Message-ID: <056.be2663c8632b5ac4ba2048befb0ab6f6@avcodec.org> #568: H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder --------------------------------------+----------------------------------- Reporter: hardiksharma | Owner: michael Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | --------------------------------------+----------------------------------- Comment (by hardiksharma): {{{ Complete, uncut output of the failing command is- ffmpeg -b:v 512k -r 30 -i error_51.264 -b:v 512k -x264opts sar=352:288 -r 30 -y error51.yuv ffmpeg version N-33472-gfbb8468, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 10 2011 18:37:07 with gcc 4.4.5 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 20. 1 / 51. 20. 1 libavcodec 53. 20. 0 / 53. 20. 0 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 0xad3ffe0] concealing 47 DC, 47 AC, 47 MV errors [h264 @ 0xad3ffe0] Missing reference picture Last message repeated 13 times [h264 @ 0xad39c20] max_analyze_duration 5000000 reached at 5000000 [h264 @ 0xad39c20] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2) Input #0, h264, from 'error_51.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High), yuv420p, 352x288, 30 fps, 30 tbr, 1200k tbn, 60 tbc [buffer @ 0xad4a600] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: Output #0, rawvideo, to 'error51.yuv': Metadata: encoder : Lavf53.15.0 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, q=2-31, 512 kb/s, 90k tbn, 30 tbc Stream mapping: Stream #0.0 -> #0.0 (h264 -> rawvideo) Press [q] to stop, [?] for help [h264 @ 0xad3ffe0] concealing 47 DC, 47 AC, 47 MV errors [h264 @ 0xad3ffe0] Missing reference picture Last message repeated 50 times [h264 @ 0xad3ffe0] Possibly too many slices (52 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (55 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (56 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (57 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (16 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (17 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (20 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (21 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (22 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (23 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (24 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (25 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (26 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (27 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (28 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (29 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (30 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (31 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (32 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (33 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (34 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (35 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (36 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (37 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (38 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (39 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (40 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (41 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (42 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (43 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (44 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (45 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (46 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (47 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (48 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (49 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (50 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (51 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (52 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (53 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (56 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (57 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (61 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (65 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (69 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (73 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (77 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (16 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (17 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (18 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (19 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (20 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (21 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (22 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (23 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (24 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (25 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (26 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (27 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (28 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (29 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (30 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (31 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (32 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (33 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (34 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (35 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (36 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (37 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (38 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (39 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (40 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (41 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (42 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (43 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (44 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (45 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (46 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (47 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (48 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (49 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (50 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (51 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (52 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (53 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (54 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (56 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (57 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (58 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (61 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (62 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (63 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (66 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (67 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (68 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (70 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (71 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (72 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (74 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (75 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (79 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (16 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (17 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (18 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (19 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (20 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (21 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (22 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (23 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (24 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (25 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (26 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (27 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (28 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (29 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (30 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (31 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (32 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (33 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (34 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (35 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (36 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (37 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (38 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (39 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (40 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (41 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (42 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (43 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (44 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (45 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (46 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (47 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (48 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (49 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (50 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (51 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (52 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (53 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (54 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (55 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (56 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (58 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (59 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (60 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (63 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (64 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (65 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (67 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (68 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (69 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (70 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (71 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (72 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (73 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (74 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (75 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (76 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (77 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (78 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (79 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (81 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (82 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (83 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (87 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (91 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (95 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (16 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (17 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (18 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (19 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (20 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (21 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (22 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (23 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (24 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (25 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (26 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (27 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (28 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (29 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (30 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (31 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (32 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (33 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (34 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (35 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (36 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (37 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (38 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (39 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (40 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (41 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (42 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (43 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (44 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (45 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (46 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (47 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (48 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (49 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (50 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (51 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (54 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (55 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (56 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (59 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (60 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (61 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (63 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (64 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (65 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (67 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (68 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (69 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (72 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (73 >= 16), increase MAX_SLICES and recompile if there are artifacts [h264 @ 0xad3ffe0] Possibly too many slices (77 >= 16), increase MAX_SLICES and recompile if there are artifacts frame= 299 fps= 0 q=0.0 Lsize= 44402kB time=00:00:09.96 bitrate=36495.4kbits/s video:44402kB audio:0kB global headers:0kB muxing overhead 0.000000% }}} For the above warning I increased the MAX_SLICE value but still getting the same warning and from the decoder on different machine with increased MAX_SLICE value where I am not getting the above warning also getting same frame drop. following link is the place from where I installed the ffmpeg and x264 to test the stream- [http://ubuntuforums.org/showthread.php?t=786095] Replying to [comment:1 cehoyos]: > Complete, uncut output of the failing command missing (please consider using Code block) and please mention how you patched FFmpeg for your test (git diff >slices.diff and attach slices.diff). > > I can decode the first 39 frames of the sample with the reference decoder and while FFmpeg decodes the same 39 frames, only the first three and the last 20 (beginning with the second IDR frame) are bit-exact, the remaining 16 show visible artefacts with FFmpeg (that are not reproducible with the reference decoder). > {{{ > $ ffmpeg -i error_51.264 -t 1.25 -f framecrc outff > ffmpeg version N-33734-g1de357d, Copyright (c) 2000-2011 the FFmpeg developers > built on Oct 18 2011 00:33:06 with gcc 4.5.3 > configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc > libavutil 51. 21. 0 / 51. 21. 0 > libavcodec 53. 21. 0 / 53. 21. 0 > libavformat 53. 16. 0 / 53. 16. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 43. 6 / 2. 43. 6 > libswscale 2. 1. 0 / 2. 1. 0 > [h264 @ 0x1306c00] concealing 47 DC, 47 AC, 47 MV errors > [h264 @ 0x1306c00] Missing reference picture > Last message repeated 13 times > [h264 @ 0x1300780] max_analyze_duration 5000000 reached at 5000000 > [h264 @ 0x1300780] Estimating duration from bitrate, this may be inaccurate > > Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2) > Input #0, h264, from 'error_51.264': > Duration: N/A, bitrate: N/A > Stream #0:0: Video: h264 (High), yuv420p, 352x288, 30 fps, 30 tbr, 1200k tbn, 60 tbc > [buffer @ 0x1308d60] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: > Output #0, framecrc, to 'outff': > Metadata: > encoder : Lavf53.16.0 > Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, q=2-31, 200 kb/s, 90k tbn, 30 tbc > Stream mapping: > Stream #0.0 -> #0.0 (h264 -> rawvideo) > Press [q] to stop, [?] for help > [h264 @ 0x1306c00] concealing 47 DC, 47 AC, 47 MV errors > [h264 @ 0x1306c00] Missing reference picture > Last message repeated 50 times > frame= 39 fps= 0 q=0.0 Lsize= 1kB time=00:00:01.30 bitrate= 6.9kbits/s > video:5792kB audio:0kB global headers:0kB muxing overhead -99.980963% > }}} > {{{ > $ diff -uw outjm outff > --- outjm 2011-10-18 00:02:15.900762160 +0200 > +++ outff 2011-10-18 00:01:07.655762411 +0200 > @@ -1,22 +1,22 @@ > 0, 0, 152064, 0x653f8f51 > 0, 3000, 152064, 0x112eaae5 > 0, 6000, 152064, 0x5c3e3dc5 > -0, 9000, 152064, 0x6c6e0c46 > -0, 12000, 152064, 0x1df99fad > -0, 15000, 152064, 0xfc99c44d > -0, 18000, 152064, 0x173f883f > -0, 21000, 152064, 0x2f4ec859 > -0, 24000, 152064, 0xf90d56d4 > -0, 27000, 152064, 0x9e641e1d > -0, 30000, 152064, 0x355b78b2 > -0, 33000, 152064, 0x32751de8 > -0, 36000, 152064, 0xb4f1c60e > -0, 39000, 152064, 0xa9431da3 > -0, 42000, 152064, 0x4489996f > -0, 45000, 152064, 0x3d2a7b4c > -0, 48000, 152064, 0xc9d1fbb6 > -0, 51000, 152064, 0xbd9cc699 > -0, 54000, 152064, 0x8a6ae1ea > +0, 9000, 152064, 0x0615eae0 > +0, 12000, 152064, 0xaad687d7 > +0, 15000, 152064, 0xe0c10d04 > +0, 18000, 152064, 0x19a9814f > +0, 21000, 152064, 0xf1528f3a > +0, 24000, 152064, 0x57ff4c9e > +0, 27000, 152064, 0xd0ab6ed9 > +0, 30000, 152064, 0x631efdc4 > +0, 33000, 152064, 0xba305bf0 > +0, 36000, 152064, 0xe81e357b > +0, 39000, 152064, 0xc192951e > +0, 42000, 152064, 0x6182c0ff > +0, 45000, 152064, 0x730500cb > +0, 48000, 152064, 0x6d1b7fcb > +0, 51000, 152064, 0xdd688063 > +0, 54000, 152064, 0xe560656a > 0, 57000, 152064, 0x9e7b0ae6 > 0, 60000, 152064, 0x3eb31b79 > 0, 63000, 152064, 0xf01c6764 > }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 03:53:48 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 01:53:48 -0000 Subject: [FFmpeg-trac] #565(avformat:closed): Getting error when attempting to convert .avi file In-Reply-To: <035.6e325f0cd8e03e8cfd7e43f995be190a@avcodec.org> References: <035.6e325f0cd8e03e8cfd7e43f995be190a@avcodec.org> Message-ID: <050.7122452d5aa207800152f41c62009385@avcodec.org> #565: Getting error when attempting to convert .avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: This has been improved in current git head. If you believe it does not work well enough, please upload a much longer sample to http://www.datafilehost.com/ and post the link here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 12:37:26 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 10:37:26 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.955e308d2738228d02c5d2f11cf749ed@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by tungj): Replying to [comment:6 cehoyos]: > I can fix the problem with --analyzeduration 1000000000, does this also (always) work for you? Yes, thank you very much! I wasn't aware of that setting; it's listed in ffmpeg -h but not the man docs (unless I've compiled those incorrectly). The mpegts is correctly reported to have audio with {{{ ffprobe -analyzeduration 1000000000 initialSilence.ts }}} and the output .mp4 from further processing has an audio track. {{{ ffmpeg -analyzeduration 1000000000 -i initialSilence.ts -vcodec copy -acodec libfaac -ar 22050 -ab 40k initialSilence.mp4 }}} Looking at the code, ''avformat_find_stream_info'' checks up to ''max_analyze_duration'' which defaults to 5 * ''AV_TIME_BASE'' (defined as 1000000; 1 second); in my case I had more than 5 seconds of silence so it probably didn't find the start of the audio despite finding the audio track. I'm not sure why it correctly reports stereo audio when there's only silence though: {{{ ffmpeg -y -i 'initialSilence.mp4' -f mpegts -t 5 -acodec libfaac -ab 40k -ar 22050 initialSilence.ts; ffprobe initialSilence.ts }}} reports {{{Stream #0.1[0x101](und): Audio: aac, 22050 Hz, stereo, s16, 2 kb/s}}} I'm also not sure why ffprobe on the .ts created by libvo_aacenc correctly reports two channels without explicitly setting -analyzeduration; exporting the -acodec libvo_aacenc initialSilence.ts file to a .wav with {{{ ffmpeg -i initialSilence.ts -vn libvo_silence.wav }}} seems to just start with silence (a long sequence of null bytes after the RIFF...WAVEfmt...data header), slightly longer than the silence in the .wav from the exported -acodec libfaac. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 13:18:19 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 11:18:19 -0000 Subject: [FFmpeg-trac] #246(undetermined:closed): Add support for mdat-only 3GP In-Reply-To: <032.7685dd96fc6cb9c7375ccec57f257659@avcodec.org> References: <032.7685dd96fc6cb9c7375ccec57f257659@avcodec.org> Message-ID: <047.ce166415184b79310b5eeed8eee616e1@avcodec.org> #246: Add support for mdat-only 3GP -------------------------------------+------------------------------------- Reporter: jsd | Owner: Type: enhancement | Status: closed Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | needs_more_info Analyzed by developer: 0 | Blocked By: | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => needs_more_info Comment: Please re-open this ticket if a program can be found that plays the sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 13:22:05 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 11:22:05 -0000 Subject: [FFmpeg-trac] #236(avformat:open): Floating point exception error with -dcodec copy on QuickTime timecode track In-Reply-To: <036.ae45ecabf1d9eae444ed11e4bd095441@avcodec.org> References: <036.ae45ecabf1d9eae444ed11e4bd095441@avcodec.org> Message-ID: <051.ab85769f41349a7360eb45f16ed425cd@avcodec.org> #236: Floating point exception error with -dcodec copy on QuickTime timecode track ------------------------------------+------------------------------------ Reporter: dericed | Owner: Type: defect | Status: open Priority: important | Component: avformat Version: git-master | Resolution: Keywords: dcodec | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Still reproducible with {{{ ffmpeg -i fcp_export8.mov -dcodec copy -map 0:2 -an -vn out.mov }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 13:52:24 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 11:52:24 -0000 Subject: [FFmpeg-trac] #259(undetermined:open): framerate detection does not work properly. In-Reply-To: <036.8aefbddb64515a1e297c2d5f3ee6dbb8@avcodec.org> References: <036.8aefbddb64515a1e297c2d5f3ee6dbb8@avcodec.org> Message-ID: <051.71a0764ba3be88c0d76549470874d529@avcodec.org> #259: framerate detection does not work properly. -------------------------------------+------------------------------------- Reporter: mbosner | Owner: Type: defect | Status: open Priority: normal | Component: Version: unspecified | undetermined Keywords: vc1 | Resolution: pulldown | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: false framerate detection => vc1 pulldown * status: new => open Comment: Replying to [comment:3 mbosner]: > But with this file ffmpeg guesses the wrong frame rate and i convert the file from 24fps to ~29.97fps which lead to stutter movie playback. Which software shows 24fps for the sample you provided? mkvinfo reports "29.970 fps" The heavy stutter that was originally visible on playback and reencoding with every telecined VC1 sample should not be reproducible anymore, but encoding into mp4 still duplicates frames if -r 24 is not used. This is also reproducible for evo samples that correctly show 23.98 fps {{{ $ ffmpeg -i JerkyVC1Pulldown.EVO -qscale 2 -strict experimental -t 5 out.mp4 ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 03:46:14 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (60000/2002) Input #0, mpeg, from 'JerkyVC1Pulldown.EVO': Duration: 00:00:05.90, start: 0.036744, bitrate: 13875 kb/s Stream #0:0[0xfd55]: Video: vc1 (Advanced), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1[0xc4]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0xc3]: Audio: eac3, 48000 Hz, 5.1(side), s16, 768 kb/s Stream #0:3[0xc2]: Audio: eac3, 48000 Hz, 5.1(side), s16, 768 kb/s Stream #0:4[0x89]: Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s Stream #0:5[0xc0]: Audio: eac3, 48000 Hz, 5.1(side), s16, 1536 kb/s [buffer @ 0x1309d60] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [mpeg4 @ 0x1370ca0] removing common factors from framerate Output #0, mp4, to 'out.mp4': Metadata: encoder : Lavf53.16.1 Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30k tbn, 29.97 tbc Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), s16, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (vc1 -> mpeg4) Stream #0.2 -> #0.1 (eac3 -> aac) Press [q] to stop, [?] for help frame= 150 fps= 45 q=2.0 Lsize= 1971kB time=00:00:05.00 bitrate=3226.0kbits/s dup=30 drop=0 video:1923kB audio:43kB global headers:0kB muxing overhead 0.215599% }}} {{{ $ ffmpeg -i JerkyVC1Pulldown.EVO -qscale 2 -strict experimental -t 5 -r 24 out.mp4 ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 03:46:14 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (60000/2002) Input #0, mpeg, from 'JerkyVC1Pulldown.EVO': Duration: 00:00:05.90, start: 0.036744, bitrate: 13875 kb/s Stream #0:0[0xfd55]: Video: vc1 (Advanced), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1[0xc4]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0xc3]: Audio: eac3, 48000 Hz, 5.1(side), s16, 768 kb/s Stream #0:3[0xc2]: Audio: eac3, 48000 Hz, 5.1(side), s16, 768 kb/s Stream #0:4[0x89]: Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s Stream #0:5[0xc0]: Audio: eac3, 48000 Hz, 5.1(side), s16, 1536 kb/s [buffer @ 0x1309360] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Output #0, mp4, to 'out.mp4': Metadata: encoder : Lavf53.16.1 Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 24 tbn, 24 tbc Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), s16, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (vc1 -> mpeg4) Stream #0.2 -> #0.1 (eac3 -> aac) Press [q] to stop, [?] for help frame= 120 fps= 39 q=2.0 Lsize= 1817kB time=00:00:05.00 bitrate=2977.6kbits/s video:1770kB audio:43kB global headers:0kB muxing overhead 0.220256% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 14:04:27 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 12:04:27 -0000 Subject: [FFmpeg-trac] #370(undetermined:closed): Unable to decode packet capture into .AVI. In-Reply-To: <036.d0c0dca25b118ddd9a6102c13af15438@avcodec.org> References: <036.d0c0dca25b118ddd9a6102c13af15438@avcodec.org> Message-ID: <051.a64ca20b8d5dec6e751b5886f3a0e169@avcodec.org> #370: Unable to decode packet capture into .AVI. -------------------------------------+------------------------------------- Reporter: gogasca | Owner: michael Type: task | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | needs_more_info Analyzed by developer: 0 | Blocked By: | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => needs_more_info Comment: No updates for several months, please reopen if there is any problem left with this issue. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 14:11:40 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 12:11:40 -0000 Subject: [FFmpeg-trac] #67(undetermined:closed): grey images (and video) when using -ss In-Reply-To: <034.e82a5b2ad8dd40712053297e1bb439e5@avcodec.org> References: <034.e82a5b2ad8dd40712053297e1bb439e5@avcodec.org> Message-ID: <049.f427044a7cabde87b310b08be7b853a6@avcodec.org> #67: grey images (and video) when using -ss -------------------------------------+------------------------------------- Reporter: aphid | Owner: Type: defect | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by michael): * status: new => closed * resolution: => fixed * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 14:36:50 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 12:36:50 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.800d0f1bf188a9d44cf867cb278dd2d8@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by zauq): Thanks for the fix. I am using version N-33698-g6bca574 but getting the same issue. Can you post here the version where the fix has been placed? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 14:38:13 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 12:38:13 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.432acb78eafd68523f8e7063eb064a34@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): cehoyos: I was able to get permission from the content owner to upload the file to datafilehost. Here is the link: http://www.datafilehost.com/download-0160ff9a.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 14:47:33 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 12:47:33 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.204eefbd12d21a0cbb3f35525f5a2168@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by zauq): Replying to [comment:9 bf4648]: > Alright, so your saying even if I update to the current git head I still won't be able to remux into mp4? How can players like VLC and GOM player that use ffmpeg to decode videos decode the videos and then re-encode both audio and video streams into other formats as well as mp4? Could I remux into .avi format and performing the ffmpeg -i test2 -vcodec copy out.avi and then do another ffmpeg -i test2 -vcodec copy out.mp4? Sorry for all the questions but I'll got like 20,000 files to convert and I really need a solution. > > Thanks, So could you finally make it run? Does it work with the new build? Thanks. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 14:55:22 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 12:55:22 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.fcd05ce1e5395ff35776b8490cc8cf13@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Can't you reproduce with {{{ ffmpeg -threads 1 -i rehearsal.mp4 -qscale 1 -strict experimental -acodec aac out.ts }}} ? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 14:59:31 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 12:59:31 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.94edbab1ce62b126186ecb00fdb73757@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Yes, that will fail as well. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:01:01 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:01:01 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.fe118a04eccdb7be4a873ef143846430@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Please provide (your failing command line and) complete, uncut console output. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:01:11 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:01:11 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.1abc5763672970de4760f7ea655a2561@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): To be clear, when I say "fail" I mean that using libavformat's av_dump_format(..) will report {{{Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 0 channels}}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:02:57 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:02:57 -0000 Subject: [FFmpeg-trac] #563(undetermined:closed): Sorenson Spark: first frame is no keyframe In-Reply-To: <036.489f00a7aee168032480eea88ee5a9c5@avcodec.org> References: <036.489f00a7aee168032480eea88ee5a9c5@avcodec.org> Message-ID: <051.7dda1e65137710bfddc443c01786cad4@avcodec.org> #563: Sorenson Spark: first frame is no keyframe -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: closed Priority: normal | Component: Version: git-master | undetermined Keywords: flv1 | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by michael): * status: new => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:09:50 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:09:50 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.1474093b1f59d6eba0155c40d329ba0b@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): Sorry, I missed your inclusion of "-threads 1". With the latest head it is not just the simple command you listed that will reproduce. Using the following two settings seems to trigger the bug: -threads 0 -sc_threshold 40 -qmin 0 The exact command that fails is: {{{ threads 0 -s 1920x1080 -f mpegts -b:v 7000000 -qscale:v 1 -r 30.0 -g 30.0 -map_chapters -1 -vcodec libx264 -coder 0 -loop 1 -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 5 -me_range 16 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -wpredp 0 -vprofile baseline -acodec libfaac -b:a 48000 -ac 2 -ar 44100 }}} Changing this to the following also fails: {{{ threads 0 -s 1920x1080 -f mpegts -b:v 7000000 -qscale:v 1 -r 30.0 -g 30.0 -map_chapters -1 -vcodec libx264 -coder 0 -loop 1 -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 5 -me_range 16 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -wpredp 0 -vprofile baseline -strict experimental -acodec aac -b:a 48000 -ac 2 -ar 44100 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:17:28 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:17:28 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.3ec6747706c821170127d2ebc27d6a0d@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): No encoding problem afaict, the resulting file plays fine with mplayer -demuxer lavf, mplayer -demuxer mpegts -tsprobe 1000000000 and vlc. Difference to ticket #566 is that -analyzeduration 2000000000 does not help. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:19:24 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:19:24 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.9adaf9e4bdfe3d59200406fc845af9dd@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:44 terran]: > Sorry, I missed your inclusion of "-threads 1". With the latest head it is not just the simple command you listed that will reproduce. Then please post complete, uncut output of {{{ $ ffmpeg -threads 1 -i rehearsal.mp4 -qscale 1 -strict experimental -acodec aac out.ts $ ffmpeg -i out.ts }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:36:38 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:36:38 -0000 Subject: [FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0" In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.2c008b224409902affb034ddc1edb589@avcodec.org> #542: Missing audio when encoding to mpeg-ts with "-threads 0" -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): That command does reproduce the issue: {{{ ffmpeg -threads 1 -i ../rehearsal_short.mp4 -qscale 1 -strict experimental -acodec aac out.ts ffmpeg version N-33726-g0556eee, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 17:57:32 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-pthreads --enable-avfilter --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable- libfaac libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../rehearsal_short.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 2011-08-17 05:00:00 encoder : Lavf53.15.0 Duration: 00:00:05.03, start: 0.000000, bitrate: 9978 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 10015 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc Metadata: creation_time : 2011-08-17 05:00:00 Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 33 kb/s Metadata: creation_time : 2011-08-17 05:00:00 File 'out.ts' already exists. Overwrite ? [y/N] y w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [mpegts @ 0xc1223c0] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'out.ts': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 2011-08-17 05:00:00 encoder : Lavf53.16.0 Stream #0:0(eng): Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 30 tbc Metadata: creation_time : 2011-08-17 05:00:00 Stream #0:1(eng): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s Metadata: creation_time : 2011-08-17 05:00:00 Stream mapping: Stream #0.0 -> #0.0 (h264 -> mpeg2video) Stream #0.1 -> #0.1 (aac -> aac) Press [q] to stop, [?] for help frame= 150 fps= 30 q=1.0 Lsize= 12148kB time=00:00:04.96 bitrate=20036.6kbits/s video:11218kB audio:32kB global headers:0kB muxing overhead 7.977625% }}} {{{ ffmpeg -i out.ts ffmpeg version N-33726-g0556eee, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 17:57:32 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --enable-pthreads --enable-avfilter --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable- libfaac libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [NULL @ 0xe3e1140] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'out.ts': Duration: 00:00:04.96, start: 1.400000, bitrate: 20036 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 104857 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc Stream #0:1[0x101](eng): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 15:56:55 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 13:56:55 -0000 Subject: [FFmpeg-trac] #542(undetermined:open): Missing aac audio after encoding to mpeg-ts with very high video bitrate (was: Missing audio when encoding to mpeg-ts with "-threads 0") In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.5713fbe54960114fae1e7c9b1a5cf9cd@avcodec.org> #542: Missing aac audio after encoding to mpeg-ts with very high video bitrate -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 16:23:42 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 14:23:42 -0000 Subject: [FFmpeg-trac] #542(undetermined:open): Missing aac audio after encoding to mpeg-ts with very high video bitrate In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.264361706c1de6e7a814cf511410b433@avcodec.org> #542: Missing aac audio after encoding to mpeg-ts with very high video bitrate -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by terran): cehoyos: As the analyzeduration workaround doesn't work for this file, are there any other options to work around this problem? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 17:39:52 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 15:39:52 -0000 Subject: [FFmpeg-trac] #570(FFmpeg:new): Video flipped with inverted colors in flash after transcode Message-ID: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> #570: Video flipped with inverted colors in flash after transcode --------------------------------------+--------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: FFmpeg Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- When transcoding the sample video below, the resulting output file will play OK in ubuntu's video player, but in a flash player it will be flipped and having its colors inverted. We're currently running an ffmpeg from oct 2010 which does not have this problem. I've tested ffmpeg 0.8.3, 0.8.5 and the master branch from yesterday (libx264 dito) which do exhibit the problem. After some investigation, it turns out that the corruption only occurs on certain output video sizes, while it works with other sizes. Command line with output resolution that produces the corrupt output: {{{ ./ffmpeg -y -i '/tmp/in.mp4' -s 320x180 -vcodec libx264 -acodec libfaac /tmp/out.mp4 }}} 320x184 output size produces a valid video in flash: {{{ ./ffmpeg -y -i '/tmp/in.mp4' -s 320x184 -vcodec libx264 -acodec libfaac /tmp/out.mp4 }}} But 320x176 is also corrupted: {{{ ./ffmpeg -y -i '/tmp/in.mp4' -s 320x176 -vcodec libx264 -acodec libfaac /tmp/out.mp4 }}} The sample input video is uploaded to upload.ffmpeg.org as /upload/uploaded/flipped_in_flash_after_transcode.mp4 and can also be retrieved here: http://bram.name/flipped_in_flash_after_transcode.mp4 A sample output video with 320x180 dimensions that is corrupt in flash: http://bram.name/output_flipped_in_flash.mp4 You can test the corruption in flash on this jwplayer test page (corrupt output file already filled in): http://developer.longtailvideo.com/trac/testing/?player=v5&skin=&file=http%3A%2F%2Fbram.name%2Foutput_flipped_in_flash.mp4&height=260&width=500 Output for {{{ffmpeg -v 9 -loglevel 99 -i /tmp/in.mp4}}}: {{{ ffmpeg version N-33733-gfe87b2e, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 21:24:52 with gcc 4.3.2 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable- libfaac --enable-libgsm --enable-libmp3lame --enable-libx264 --enable- libvorbis --enable-libtheora --enable-avfilter --prefix=/home/botr/botr/localroot/opt/encoder --extra-cflags='-I /home/botr/botr/localroot/opt/encoder/include' --extra-ldflags='-L /home/botr/botr/localroot/opt/encoder/lib' --arch=x86_32 --enable-runtime- cpudetect --disabl e-ffplay --disable-ffserver --disable-ffprobe --disable-doc --enable- libvpx libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96ebaa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96ebaa0] ISO: File Type Major Brand: mp42 [aac @ 0x96f2bc0] Unsupported bit depth: 0 [h264 @ 0x96f1f90] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96ebaa0] All info found rfps: 0.083333 0.000541 rfps: 0.166667 0.002165 rfps: 0.250000 0.004871 rfps: 0.333333 0.008659 rfps: 0.416667 0.013530 rfps: 0.500000 0.019483 rfps: 29.500000 0.017218 Last message repeated 1 times rfps: 29.583333 0.011654 Last message repeated 1 times rfps: 29.666667 0.007172 Last message repeated 1 times rfps: 29.750000 0.003773 Last message repeated 1 times rfps: 29.833333 0.001456 Last message repeated 1 times rfps: 29.916667 0.000222 Last message repeated 1 times rfps: 30.000000 0.000070 rfps: 30.083333 0.001001 rfps: 30.166667 0.003013 rfps: 30.250000 0.006109 rfps: 30.333333 0.010286 rfps: 30.416667 0.015547 rfps: 59.500000 0.015092 Last message repeated 1 times rfps: 59.583333 0.009917 Last message repeated 1 times rfps: 59.666667 0.005825 Last message repeated 1 times rfps: 59.750000 0.002815 Last message repeated 1 times rfps: 59.833333 0.000888 Last message repeated 1 times rfps: 59.916667 0.000043 Last message repeated 1 times rfps: 29.970030 0.000000 Last message repeated 1 times rfps: 59.940060 0.000000 Last message repeated 1 times Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/in.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42isom creation_time : 2008-02-15 20:41:25 Duration: 00:03:11.72, start: 0.000000, bitrate: 181 kb/s Chapter #0.0: start 0.000000, end 191.724854 Metadata: title : Stream #0:0(eng), 30, 1/48000: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1001/60000, 1502 kb/s, SAR 9709:8192 DAR 29127:16384, 29.97 fps, 29.97 tbr, 48k tbn, 59.94 tbc Metadata: creation_time : 2008-02-15 20:41:25 Stream #0:1(und), 1, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 104 kb/s Metadata: creation_time : 2008-02-15 20:41:25 Stream #0:2(eng), 0, 1/48000: Subtitle: mov_text (text / 0x74786574) Metadata: creation_time : 2008-02-15 20:41:25 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 18:28:05 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 16:28:05 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message Message-ID: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> #571: Convert to mp4 from AVI error message ----------------------------------+-------------------------------------- Reporter: bf4648 | Type: defect Status: new | Priority: normal Component: avformat | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- Here's my ffmpeg version with configuration options: ffmpeg version N-33761-g73fb23d, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 09:02:35 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Here's my input: @ubuntu:~/Desktop/Q264$ ffmpeg -i sample -vcodec libx264 -vb 750k -acodec libmp3lame -ab 128k -ar 44100 -ac 2 -y output.mp4 Here are my error messages (over and over again): Error Message: "frame= 657 fps= 18 q=26.0 size= 2153kB time=00:00:20.46 bitrate= 861.8kbits/missing picture in access unit with size 56 [h264 @ 0x2779be0] no frame! Error while decoding stream #0.0 [h264 @ 0x2779be0] missing picture in access unit with size 56 [h264 @ 0x2779be0] no frame!" -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 18:54:35 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 16:54:35 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.cec327a5fdc54231c75d0ff85d56fafc@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): What's wrong with output.mp4? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 18:57:18 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 16:57:18 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.c46f99e37b6f817f60f4eb9abbf255ff@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Well, it is giving the following error messages over and over again and taking twice as long to convert to mp4: Error Message: "frame= 657 fps= 18 q=26.0 size= 2153kB time=00:00:20.46 bitrate= 861.8kbits/missing picture in access unit with size 56 [h264 @ 0x2779be0] no frame! Error while decoding stream #0.0 [h264 @ 0x2779be0] missing picture in access unit with size 56 [h264 @ 0x2779be0] no frame!" -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 19:39:27 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 17:39:27 -0000 Subject: [FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.66b483cceaf2b492a9033bdfbe169b85@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by andrewr): Sorry about the formatting, I haven't used trac much and I didn't know about the Code block, maybe you could add it to the bug reporting instructions (http://ffmpeg.org/bugreports.html). Unfortunately the difference between the working version and today's trunk is about 2 years, so it's not practical to bisect to find the offending commit. I have recompiled with --disable-shared and --disable- optimizations, which seems to have given more information: {{{ $ gdb /tmp/binary-dist-ffmpeg-107460c.MWfEKO/gcc-4.6.0-glibc-2.13/ffmpeg_g Detected executable built for fbcode's gcc-4.6.0-glibc-2.13 platform Running from "/usr/local/fbcode/gcc-4.6.0-glibc-2.13/bin/gdb" GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-facebook-linux". For bug reporting instructions, please see: ... Reading symbols from /tmp/binary-dist-ffmpeg- 107460c.MWfEKO/gcc-4.6.0-glibc-2.13/ffmpeg_g...done. = UINT_MAX / sizeof(AVIndexEntry)) (gdb) bt #0 ff_add_index_entry (index_entries=0x90, nb_index_entries=0x98, index_entries_allocated_size=0x9c, pos=3683, timestamp=0, size=0, distance=0, flags=1) at libavformat/utils.c:1462 #1 0x0000000000529526 in av_add_index_entry (st=, pos=, timestamp=, size=, distance=, flags=) at libavformat/utils.c:1503 #2 0x00000000004c45e5 in parse_keyframes_index (s=0x0, astream=0x11c4e40, vstream=0x0, key=, max_pos=1149, depth=1) at libavformat/flvdec.c:196 #3 amf_parse_object (s=0x0, astream=0x11c4e40, vstream=0x0, key=, max_pos=1149, depth=1) at libavformat/flvdec.c:232 #4 0x00000000004c424b in amf_parse_object (s=0x11c4780, astream=0x11c4e40, vstream=0x0, key=0x7fff9d966920 "onMetaData", max_pos=1149, depth=0) at libavformat/flvdec.c:252 #5 0x00000000004c4cf3 in flv_read_metabody (s=0x11c4780, pkt=0x7fff9d966a30) at libavformat/flvdec.c:343 #6 flv_read_packet (s=0x11c4780, pkt=0x7fff9d966a30) at libavformat/flvdec.c:452 #7 0x0000000000528bb7 in av_read_packet (s=0x11c4780, pkt=0x7fff9d966a30) at libavformat/utils.c:744 #8 0x00000000005295b9 in read_frame_internal (s=0x11c4780, pkt=0x7fff9d966cb0) at libavformat/utils.c:1219 #9 0x000000000052ad66 in avformat_find_stream_info (ic=0x11c4780, options=0x11cb0a0) at libavformat/utils.c:2412 #10 0x000000000045eeb6 in opt_input_file (o=0x7fff9d9670c0, opt=, filename=) at ffmpeg.c:3146 #11 0x000000000046940c in parse_option (optctx=0x7fff9d9670c0, opt=0x7fff9d967808 "i", arg=0x7fff9d96780a "/home/andrewr/local/bad-videos/flv-segfault- identify/251336914908174.flv", options=) at cmdutils.c:275 #12 0x0000000000469584 in parse_options (optctx=0x7fff9d9670c0, argc=3, argv=0x7fff9d967428, options=0xc137c0, parse_arg_function=0x465bf0 ) at cmdutils.c:308 #13 0x000000000045bb20 in main (argc=3, argv=0x7fff9d967428) at ffmpeg.c:4378 (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x529368 to 0x5293a8: 0x0000000000529368 : mov %rbp,-0x28(%rsp) 0x000000000052936d : mov %r12,-0x20(%rsp) 0x0000000000529372 : mov %r13,-0x18(%rsp) 0x0000000000529377 : mov %rdi,%rbp 0x000000000052937a : mov %r15,-0x8(%rsp) 0x000000000052937f : mov %r14,-0x10(%rsp) 0x0000000000529384 : sub $0x48,%rsp => 0x0000000000529388 : mov (%rbx),%eax 0x000000000052938a : mov %rdx,%rsi 0x000000000052938d : mov %rcx,%r13 0x0000000000529390 : mov %r8,%r12 0x0000000000529393 : mov %r9d,%r15d 0x0000000000529396 : add $0x1,%eax 0x0000000000529399 : cmp $0xaaaaaa9,%eax 0x000000000052939e : ja 0x5294e0 0x00000000005293a4 : cltq 0x00000000005293a6 : mov (%rdi),%rdi End of assembler dump. (gdb) info all-registers rax 0xe63 3683 rbx 0x98 152 rcx 0xe63 3683 rdx 0x9c 156 rsi 0x98 152 rdi 0x90 144 rbp 0x90 0x90 rsp 0x7fff9d9662a0 0x7fff9d9662a0 r8 0x0 0 r9 0x0 0 r10 0x0 0 r11 0x0 0 r12 0x47d 1149 r13 0x1 1 r14 0x3 3 r15 0x7fff9d966660 140735837267552 rip 0x529388 0x529388 eflags 0x10206 [ PF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 0 (raw 0x00000000000000000000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x26, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x60, 0x43, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x6000, 0x4043, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40436000, 0x0, 0x0}, v2_int64 = { 0x4043600000000000, 0x0}, uint128 = 0x00000000000000004043600000000000} xmm1 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x26, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x60, 0x43, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x6000, 0x4043, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40436000, 0x0, 0x0}, v2_int64 = { 0x4043600000000000, 0x0}, uint128 = 0x00000000000000004043600000000000} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xff, 0x0, 0xff, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xff, 0xff, 0x0}, v2_int64 = {0xff00000000, 0xff}, uint128 = 0x00000000000000ff000000ff00000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x66, 0x6d, 0x74, 0x0, 0x38, 0x2d, 0x62, 0x69}, v8_int16 = {0x735f, 0x6d61, 0x6c70, 0x5f65, 0x6d66, 0x74, 0x2d38, 0x6962}, v4_int32 = {0x6d61735f, 0x5f656c70, 0x746d66, 0x69622d38}, v2_int64 = {0x5f656c706d61735f, 0x69622d3800746d66}, uint128 = 0x69622d3800746d665f656c706d61735f} xmm5 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x6d, 0x7d, 0xbf, 0xbb, 0x27, 0xaf, 0xf5, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x7d6d, 0xbbbf, 0xaf27, 0x3ff5, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xbbbf7d6d, 0x3ff5af27, 0x0, 0x0}, v2_int64 = {0x3ff5af27bbbf7d6d, 0x0}, uint128 = 0x00000000000000003ff5af27bbbf7d6d} xmm6 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = { 0xffffffffffffffd2, 0x0}, v16_int8 = {0x5b, 0xaa, 0xa2, 0x2a, 0x9e, 0x6, 0x47, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xaa5b, 0x2aa2, 0x69e, 0xc047, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2aa2aa5b, 0xc047069e, 0x0, 0x0}, v2_int64 = {0xc047069e2aa2aa5b, 0x0}, uint128 = 0x0000000000000000c047069e2aa2aa5b} xmm7 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = { 0x3ff0000000000000, 0x0}, uint128 = 0x00000000000000003ff0000000000000} xmm8 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = { 0xffffffffffffffd2, 0x0}, v16_int8 = {0xe0, 0xe6, 0x35, 0x67, 0x9e, 0x6, 0x47, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xe6e0, 0x6735, 0x69e, 0xc047, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x6735e6e0, 0xc047069e, 0x0, 0x0}, v2_int64 = {0xc047069e6735e6e0, 0x0}, uint128 = 0x0000000000000000c047069e6735e6e0} xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x68, 0xc8, 0xbc, 0x3b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xc868, 0x3bbc, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3bbcc868, 0x0, 0x0}, v2_int64 = { 0x3bbcc86800000000, 0x0}, uint128 = 0x00000000000000003bbcc86800000000} xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 = {0x3ed6592484460000, 0x0}, uint128 = 0x00000000000000003ed6592484460000} xmm11 {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f, 0xbd, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0xff, 0xff}, v8_int16 = { 0xa26a, 0x5065, 0xeaf2, 0xbd8f, 0xffff, 0xffff, 0xff, 0xffff}, v4_int32 = {0x5065a26a, 0xbd8feaf2, 0xffffffff, 0xffff00ff}, v2_int64 = { 0xbd8feaf25065a26a, 0xffff00ffffffffff}, uint128 = 0xffff00ffffffffffbd8feaf25065a26a} xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3cc4, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3cc40000, 0x0, 0x0}, v2_int64 = { 0x3cc4000000000000, 0x0}, uint128 = 0x00000000000000003cc4000000000000} xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x59, 0xbc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0xbc59, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbc598000, 0x0, 0x0}, v2_int64 = { 0xbc59800000000000, 0x0}, uint128 = 0x0000000000000000bc59800000000000} xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 = {0x3c5324f0e883858e, 0x0}, uint128 = 0x00000000000000003c5324f0e883858e} xmm15 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0}, v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0x4046, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 = {0x4046dfb516f209c0, 0x0}, uint128 = 0x00000000000000004046dfb516f209c0} mxcsr 0x1fa2 [ DE PE IM DM ZM OM UM PM ] }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 19:57:25 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 17:57:25 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.f3cbf6148f6f8ee786e5794d25aaccc8@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): It is also dropping a frame or something because when I play it back the picture is jerky on throughout.... -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 20:30:58 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 18:30:58 -0000 Subject: [FFmpeg-trac] #472(undetermined:closed): Initial gray frames when first frame is no keyframe In-Reply-To: <036.cf65595cb7e3b4947068af031b346e1f@avcodec.org> References: <036.cf65595cb7e3b4947068af031b346e1f@avcodec.org> Message-ID: <051.a5ca4ef526264d7cea1de28eab72cb1b@avcodec.org> #472: Initial gray frames when first frame is no keyframe -------------------------------------+------------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by DonMoir): I still get an initial gray frame with trains_cut.flv. In my app using ffmpeg-HEAD-9be937d still occurs. Using ffplay with the following details: C:\ffmpeg-dev\bin>ffplay c:\flashfiles\trains_cut.flv ffplay version N-33698-g6bca574, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 16 2011 13:35:21 with gcc 4.6.1 configuration: --disable-static --enable-shared --enable-gpl --enable- version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable- frei0r --e nable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable -libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libsc hroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-l ibvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxa vs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [flv @ 011308E0] warning: first frame is no keyframe Input #0, flv, from 'c:\flashfiles\trains_cut.flv': Metadata: datasize : 14613960 lasttimestamp : 212960 audiosize : 1802309 videosize : 12811397 metadatacreator : inlet media - FLVTool2 encoder : Riva FLV Encoder Duration: 00:03:33.00, start: 0.000000, bitrate: 78 kb/s Stream #0:0: Video: flv1, yuv420p, 640x480, 490 kb/s, 25 tbr, 1k tbn, 1k tbc Stream #0:1: Audio: mp3, 44100 Hz, mono, s16, 64 kb/s [flv @ 011308E0] warning: first frame is no keyframe5KB sq= 0B f=0/0 16.59 A-V: 0.099 s:0.0 aq= 99KB vq= 611KB sq= 0B f=0/0 f=0/0 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 22:13:04 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 20:13:04 -0000 Subject: [FFmpeg-trac] #542(undetermined:open): Missing aac audio after encoding to mpeg-ts with very high video bitrate In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.e302406e2ce274e8d0ec9c3154414ff9@avcodec.org> #542: Missing aac audio after encoding to mpeg-ts with very high video bitrate -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:49 terran]: > cehoyos: As the analyzeduration workaround doesn't work for this file, are there any other options to work around this problem? Lower video bitrate, different audio codec? The tests in ticket #566 suggest libvo-aacenc as an alternative. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 22:16:37 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 20:16:37 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.3246d346e807c7971a2c509f4b19f79f@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * component: FFmpeg => undetermined Comment: Replying to [ticket:570 brama]: > You can test the corruption in flash on this jwplayer test page (corrupt output file already filled in): http://developer.longtailvideo.com/trac/testing/?player=v5&skin=&file=http%3A%2F%2Fbram.name%2Foutput_flipped_in_flash.mp4&height=260&width=500 Does not look corrupted to me... For mp4 files, I would suggest QuickTime as reference application, certainly not FlashPlayer. Do the output files play correctly with current QuickTime player? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 22:25:41 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 20:25:41 -0000 Subject: [FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.3bcf9b98a701d0d567efde10fd0e4a47@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by cehoyos): Replying to [comment:2 andrewr]: > Unfortunately the difference between the working version and today's trunk is about 2 years, so it's not practical to bisect to find the offending commit. I believe c76d1bb29f2d1dddbe633e701ca5252f26b65e3e is a good version to start. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 22:29:33 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 20:29:33 -0000 Subject: [FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.496d79f3eb73322813c31602204249cd@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by cehoyos): Replying to [comment:2 andrewr]: >{{{built on Oct 18 2011 10:21:12 with gcc 4.6.0 20110331 (Red Hat 4.6.0-2)}}} And I completely missed: Please test a decent compiler (I would suggest gcc-4.5.3), unfortunately 4.6.0 is known to be buggy. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 23:34:23 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 21:34:23 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.432d5859cd3efb56176735a8e72f8ee6@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by brama): The intro text of that vid is not mirrored for you in the flash player? I've verified this on osx and linux. It does indeed play fine in QuickTime. The issue is that it must work in flash, and a previous version of ffmpeg that we run on production does produce videos without the corruption on the exact same input file with the exact same cmd line. So somewhere along the line this must have been introduced. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 18 23:51:25 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 21:51:25 -0000 Subject: [FFmpeg-trac] #572(undetermined:new): Video conversion fails with error " Application provided invalid, non monotonically increasing dts to muxer in stream" Message-ID: <040.fc0b6b0fa6cd4e4aa99405d5e4fcc5ec@avcodec.org> #572: Video conversion fails with error " Application provided invalid, non monotonically increasing dts to muxer in stream" -------------------------------------+------------------------------------- Reporter: pranav_garg | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- While trying to convert a video to h264 format it fails. The command used for converting the video to mp4 format: {{{ export LD_LIBRARY_PATH=/usr/local/lib; /usr/local/bin/ffmpeg -y -i /var/www/crittermedia/data/tmp/dbd6a2885ae30bf736377d6b02465fe9 -acodec copy -ar 44100 -ab 96k -vcodec libx264 -level 41 -bufsize 20000k -threads 2 -maxrate 25000k -g 250 -r 20 -s 320x240 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +dct8x8+bpyramid -me_method umh -subq 7 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -bf 16 -b_strategy 1 -bidir_refine 1 -refs 6 -crf 25 -deblockalpha 0 -deblockbeta 0 /var/www/crittermedia/data/videos/dbd6a2885ae30bf736377d6b02465fe9.mp4 }}} The output of the ffmpeg is {{{ ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 15:11:02 with gcc 4.5.2 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable- postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable- libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable- pthreads libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 30.00 (30/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/crittermedia/data/tmp/dbd6a2885ae30bf736377d6b02465fe9': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-10-16 18:24:30 Duration: 00:29:45.23, start: 0.200000, bitrate: 453 kb/s Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 99 kb/s Metadata: creation_time : 2011-10-16 18:24:30 Stream #0.1(und): Video: h264 (Main), yuv420p, 320x240 [PAR 1:1 DAR 4:3], 348 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc Metadata: creation_time : 2011-10-16 18:24:30 [buffer @ 0x23cf660] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [libx264 @ 0x23c4b00] Default settings detected, using medium profile [libx264 @ 0x23c4b00] using SAR=1/1 [libx264 @ 0x23c4b00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x23c4b00] profile High, level 4.1 [libx264 @ 0x23c4b00] 264 - core 116 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=20 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=25000 vbv_bufsize=20000 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/var/www/crittermedia/data/videos/dbd6a2885ae30bf736377d6b02465fe9.mp4': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-10-16 18:24:30 encoder : Lavf53.4.0 Stream #0.0(und): Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 20 tbn, 20 tbc Metadata: creation_time : 2011-10-16 18:24:30 Stream #0.1(und): Audio: libfaac, 44100 Hz, stereo, 99 kb/s Metadata: creation_time : 2011-10-16 18:24:30 Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop, [?] for help [mp4 @ 0x23c2e80] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 78726784 >= 78726784 av_interleaved_write_frame(): Invalid argument {{{ -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 00:12:55 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 22:12:55 -0000 Subject: [FFmpeg-trac] #472(undetermined:closed): Initial gray frames when first frame is no keyframe In-Reply-To: <036.cf65595cb7e3b4947068af031b346e1f@avcodec.org> References: <036.cf65595cb7e3b4947068af031b346e1f@avcodec.org> Message-ID: <051.71dcf108a20eced748587aab3316f978@avcodec.org> #472: Initial gray frames when first frame is no keyframe -------------------------------------+------------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by DonMoir): This seems fixed and all good now with ffmpeg-HEAD-ffb7c6e. Thanks -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 01:23:22 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 23:23:22 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.a894825b5f6ccb25fbe76bfbdeb8b452@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): If you believe there is a regression, please find the revision introducing it with git bisect. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 01:27:02 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 18 Oct 2011 23:27:02 -0000 Subject: [FFmpeg-trac] #572(undetermined:new): Video conversion fails with error " Application provided invalid, non monotonically increasing dts to muxer in stream" In-Reply-To: <040.fc0b6b0fa6cd4e4aa99405d5e4fcc5ec@avcodec.org> References: <040.fc0b6b0fa6cd4e4aa99405d5e4fcc5ec@avcodec.org> Message-ID: <055.8a6c865ebb8d119c189f276e3e57c75b@avcodec.org> #572: Video conversion fails with error " Application provided invalid, non monotonically increasing dts to muxer in stream" -------------------------------------+------------------------------------- Reporter: pranav_garg | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Please upload or attach a sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 03:41:20 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 01:41:20 -0000 Subject: [FFmpeg-trac] #539(avcodec:closed): Some MPEG-2 streams produce corrupted video output In-Reply-To: <038.7f73dc9d6c3a7778e1c9652e7b575727@avcodec.org> References: <038.7f73dc9d6c3a7778e1c9652e7b575727@avcodec.org> Message-ID: <053.f9a1261a2f51844a182b660d14fc1b0b@avcodec.org> #539: Some MPEG-2 streams produce corrupted video output -------------------------------------+------------------------------------- Reporter: STaRGaZeR | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: MPEG-2 | Blocked By: MPEG2 corruption | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 06:53:51 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 04:53:51 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.68b41b05564933fac838207bce99f983@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by zauq): Replying to [comment:13 cehoyos]: > Please provide (your failing command line and) complete, uncut console output. Thanks for the response. Command Line:: ffmpeg -i test.avi -vcodec copy out.avi and this is what I'm getting on console: ffmpeg version N-33698-g6bca574, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 16 2011 13:37:16 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 16. 0 / 53. 16. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0000000001BBD020] Something went wrong during header parsing, I will igno re it and try to continue anyway. [avi @ 0000000001BBD020] parser not found for codec none, packets or times may b e invalid. [avi @ 0000000001BBD020] max_analyze_duration 5000000 reached at 5000000 Input #0, avi, from 'test.avi': Duration: 00:04:59.93, start: 0.000000, bitrate: 3172 kb/s Stream #0:0: Video: none (8[0][0][0] / 0x0038), 94x1819440243, 30 fps, 30 tb r, 30 tbn, 30 tbc Output #0, avi, to 'out.avi': -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 08:08:52 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 06:08:52 -0000 Subject: [FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.e16855dd0e59440d2944cc372f22118d@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by andrewr): The other compiler I have ready access to is gcc 4.4.5. I built with that and got a segfault in the same exact place. The traceback is virtually identical, I can paste it though in if that might help. c76d1bb29f2d1dddbe633e701ca5252f26b65e3e corresponds to version r17723 (Mar 2 2009). I've confirmed that version r19369, or 5c56e7469799c2b820bfc24f952931ead77e053b (Jul 7 2009). There have been 13,570 git commits since 5c56e74. So I built a test script to binary- search through them, compiling and testing at each rev. Here's what I found. It looks like the problem was introduced in cb7e2c1ca864a2ff44c851689ba8a2d4a81dfd27, worked again in 1caa4123bd83f8b1f8a4e11a8d8539be7d54b105, and fails from 7f6e05cdfd1242a6774e89283b6e2cefde191590 onwards. ... everything after this fails with segv... commit 7087ce08c84dd20404ba258096530cc547d25c15 fail commit 2f97b12eaf8ada30b3884604d66dbdf51e727b67 fail commit 7f6e05cdfd1242a6774e89283b6e2cefde191590 fail commit 1caa4123bd83f8b1f8a4e11a8d8539be7d54b105 works commit cb7e2c1ca864a2ff44c851689ba8a2d4a81dfd27 fail commit 9dd94f8379a0f7b3c820bf73c45fa888971c7432 works commit 8b8bf89e52bc3bf4be1a9f10eb1eb153a443172f works commit 93dfda88968c5e4d3f596f35a446fb7c238e96b2 works ...everything before this succeeds... -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 10:51:00 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 08:51:00 -0000 Subject: [FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.4df7828e6b6d69c5ffaa98def7f95d35@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by reimar): Could you try this patch please? {{{ --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -228,7 +228,7 @@ static int amf_parse_object(AVFormatContext *s, AVStream *as case AMF_DATA_TYPE_OBJECT: { unsigned int keylen; - if (ioc->seekable && key && !strcmp(KEYFRAMES_TAG, key) && depth == + if (vstream && ioc->seekable && key && !strcmp(KEYFRAMES_TAG, key) if (parse_keyframes_index(s, ioc, vstream, max_pos) < 0) av_log(s, AV_LOG_ERROR, "Keyframe index parsing failed\n"); }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 11:08:14 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 09:08:14 -0000 Subject: [FFmpeg-trac] #557(avformat:closed): FFMEG can't decode avi file In-Reply-To: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> References: <035.4dc7a079d6a79e7fdcf019c1ff2c26a9@avcodec.org> Message-ID: <050.29d896ba3bc4662d5a297a9db96a8da0@avcodec.org> #557: FFMEG can't decode avi file ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: h264 avi | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Replying to [comment:14 zauq]: > ffmpeg version N-33698-g6bca574, Copyright (c) 2000-2011 the FFmpeg developers Please test current git head. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 11:24:40 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 09:24:40 -0000 Subject: [FFmpeg-trac] #550(avformat:closed): Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 In-Reply-To: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> References: <035.893870c1bde37d903db8957e41aac9b3@avcodec.org> Message-ID: <050.cc4512a9d7915c6d78436b612e95ebf8@avcodec.org> #550: Can not store AMR mode 15 (no data) packet through avformat - ffmpeg 0.6.3 ------------------------------------+------------------------------------ Reporter: ilevin | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: mov AMR | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: I committed a patch to current git head, please reopen if this does not fix the issue you saw. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 16:31:23 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 14:31:23 -0000 Subject: [FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.a72f9c5a2680f7523c7aa77ec2f83565@avcodec.org> #569: segfault trying to identify flv with no audio channels -------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by andrewr): The above patch doesn't apply cleanly. But this modified one does, is this what you meant? In particular there was a missing parens and I'm not sure if the '&& depth == 1' needs to be preserved. This patch below does fix the issue! {{{ --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -228,7 +228,7 @@ static int amf_parse_object(AVFormatContext *s, AVStream *as case AMF_DATA_TYPE_OBJECT: { unsigned int keylen; - if (ioc->seekable && key && !strcmp(KEYFRAMES_TAG, key) && depth == 1) + if (vstream && ioc->seekable && key && !strcmp(KEYFRAMES_TAG, key)) if (parse_keyframes_index(s, ioc, vstream, max_pos) < 0) av_log(s, AV_LOG_ERROR, "Keyframe index parsing failed\n"); }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 23:22:37 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 21:22:37 -0000 Subject: [FFmpeg-trac] #573(FFmpeg:new): rtp streaming problem Message-ID: <040.38395368d14a1c24709a61cbe8ae1079@avcodec.org> #573: rtp streaming problem -------------------------------------+------------------------------------- Reporter: | Owner: michael apolychrono | Status: new Type: defect | Component: FFmpeg Priority: important | Keywords: rtp h264 Version: git- | muxing streaming master | Blocking: Blocked By: | Analyzed by developer: 0 Reproduced by developer: 0 | -------------------------------------+------------------------------------- I am trying to encode (in h264/Baseline) and stream a yuv420p file but i am getting some errors see bellow: {{{ ffmpeg -re -s 352x288 -f rawvideo -pix_fmt yuv420p -r 10 -i sample_352x288 at 10_YUV420p.yuv -an -vcodec libx264 -preset fast -profile baseline -threads 0 -r 10 -s 352x288 -b 200k -flags global_header -f rtp rtp://127.0.0.1:9999 ; ffmpeg version N-33240-ga5dfeb6, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 3 2011 10:48:31 with gcc 4.4.3 configuration: --enable-static --enable-gpl --enable-nonfree --enable- postproc --enable-runtime-cpudetect --enable-libfaac --enable-libx264 --enable-protocol=rtp --enable-muxer=rtp --enable-ffplay libavutil 51. 19. 0 / 51. 19. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [rawvideo @ 0x262cac0] Estimating duration from bitrate, this may be inaccurate Input #0, rawvideo, from 'sample_352x288 at 10_YUV420p.yuv': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 10 tbr, 10 tbn, 10 tbc Please use -b:a or -b:v, -b is ambiguous Output #0, rtp, to 'rtp://127.0.0.1:9999': Output file #0 does not contain any stream }}} there is also a post at ffmpeg-forum: [http://ffmpeg.test- lab.ch/viewtopic.php?f=12&t=24] thanks -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 19 23:23:43 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 21:23:43 -0000 Subject: [FFmpeg-trac] #569(avformat:closed): segfault trying to identify flv with no audio channels In-Reply-To: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> References: <036.db43a24038cf3ab7d75506dca168dc54@avcodec.org> Message-ID: <051.e7a8825878e283f4d66fa426be8470bd@avcodec.org> #569: segfault trying to identify flv with no audio channels ------------------------------------+------------------------------------ Reporter: andrewr | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: new => closed * version: unspecified => git-master * resolution: => fixed Comment: This should be fixed iiuc. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 00:30:20 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 19 Oct 2011 22:30:20 -0000 Subject: [FFmpeg-trac] #573(FFmpeg:new): rtp streaming problem In-Reply-To: <040.38395368d14a1c24709a61cbe8ae1079@avcodec.org> References: <040.38395368d14a1c24709a61cbe8ae1079@avcodec.org> Message-ID: <055.3d7b71a5952f111c068bad1a8c5a2d5d@avcodec.org> #573: rtp streaming problem -------------------------------------+------------------------------------- Reporter: apolychrono | Owner: michael Type: defect | Status: new Priority: important | Component: FFmpeg Version: git-master | Resolution: Keywords: rtp h264 | Blocked By: muxing streaming | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Is this also reproducible without an external library (without libx264)? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 07:18:11 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 05:18:11 -0000 Subject: [FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate In-Reply-To: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> References: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> Message-ID: <049.1da45f56b5cc48a199696356a0514ed2@avcodec.org> #527: NellyMoser codec reports zero frame size and bitrate -------------------------------------+------------------------------------- Reporter: DrLex | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: nellymoser | Blocked By: codec | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by jjlee3): I found the same problem. I modified the ffmpeg/doc/eamples/decoding_encoding.c function audio_decode_example to test it. {{{ #define AUDIO_PACKET(x) { x, sizeof(x) } static uint8_t audioData01[] = { 0x3A,0x0B,0x6D,0x29,0xCB,0x6B,0x5E,0x6B,0x10,0xFB,0x54,0x95,0xB5,0x65,0x94,0x66, 0x12,0x6A,0xDE,0x30,0x60,0x6F,0xDD,0x71,0x31,0xCB,0xA5,0xBB,0x14,0x82,0xA7,0x22, 0xE9,0x5C,0x55,0x89,0x9A,0x12,0x64,0x4D,0x3E,0x11,0xE1,0x2C,0x35,0x3A,0x8E,0xCA, 0x4D,0x2B,0xC3,0xEE,0xC5,0x03,0x70,0xD8,0xDD,0x33,0x9B,0x8A,0x53,0x0D,0xD2,0x54, 0xB9,0x0C,0x45,0xB6,0xD4,0xB7,0x3D,0xD0,0x88,0x1A,0x5F,0x93,0x76,0x69,0x64,0x2D, 0x89,0x37,0xB9,0x54,0x48,0x74,0x6E,0x29,0xFE,0x50,0x64,0xD4,0x29,0x4C,0xDD,0xF2, 0x21,0xBA,0xB9,0x59,0x59,0xEA,0xC0,0x9F,0x3B,0x11,0xDE,0x9E,0xA0,0xA5,0x3F,0x3B, 0x33,0xE5,0x45,0xE9,0x8A,0x44,0x06,0x37,0x5A,0xED,0x36,0xA5,0x6A,0x53,0xD3,0xD4, 0xFB,0x1A,0xC6,0xD4,0xD9,0xF1,0x5C,0x09,0x09,0xEB,0x9A,0x7C,0x58,0xE9,0x14,0x09, 0x43,0x46,0xDE,0xC9,0xC6,0x3A,0x50,0x63,0x21,0xD3,0x51,0x6B,0x62,0x06,0xD8,0xE0, 0x0F,0x80,0x52,0x55,0xA3,0xFC,0xDF,0xCF,0x22,0x34,0xC7,0x31,0xB2,0x46,0xCB,0xBC, 0xCC,0x97,0xD0,0xC9,0xE5,0x32,0x94,0xB7,0xA8,0x5E,0xD2,0xCC,0x46,0x6D,0xA2,0x74, 0x3C,0x13,0x67,0x49,0xC9,0xB5,0x44,0x2C,0x85,0xFB,0x9E,0x6C,0xB8,0xE1,0x06,0x25, 0x31,0xD7,0x85,0xDD,0xE6,0xE4,0xF3,0x5E,0xB2,0x21,0xA7,0xAA,0x4C,0xD3,0xE4,0x02, 0x60,0x02,0x35,0x55,0x03,0xC0,0xFF,0xD8,0x59,0x1F,0x66,0xAF,0xC7,0xB2,0x6A,0x15, 0x3F,0xFE,0xC4,0x0D,0xCD,0xF9,0xBB,0xB6,0x76,0xA9,0x2A,0x33,0x3B,0x8B,0x9E,0x3A, 0xB9,0x14,0xE6,0x35,0x7C,0x77,0x4D,0xAD,0x90,0xE9,0xE0,0x8B,0x76,0xE9,0x56,0x6C, 0x7C,0xAA,0x68,0x56,0x23,0xCB,0x22,0xC4,0xBB,0xFE,0xD9,0xA2,0xBD,0x3B,0x48,0xFB, 0x30,0x8F,0xA6,0x41,0x1A,0x7C,0x87,0xE1,0x26,0x5E,0xB1,0xD0,0x02,0x6D,0x9A,0x56, 0xAC,0x33,0x5B,0x07,0x31,0x46,0x36,0x9E,0xC6,0xDE,0xA5,0x9A,0x65,0x26,0x53,0xE4, 0xFB,0x22,0x06,0xBD,0x8D,0x35,0x4D,0xCD,0x14,0xF7,0xD4,0xA4,0xB5,0x65,0xC5,0xEC, 0xBB,0x85,0x0A,0x4A,0xA3,0x8C,0x6E,0x17,0x46,0xED,0x5D,0xC2,0x0D,0xA8,0x97,0x63, 0xD8,0x9C,0x69,0xBE,0x4A,0xDF,0x73,0xB9,0x22,0xD3,0xA5,0x77,0xA2,0xA0,0xBA,0x66, 0xAE,0xB3,0xA5,0x49,0x75,0x81,0x6E,0x21,0x99,0xE4,0xAA,0xA6,0xAD,0xA6,0xAE,0xB2, 0xFC,0x13,0x8C,0xCC,0xCB,0x69,0x4D,0xCE,0x88,0xFA,0xDA,0x8C,0x55,0xED,0x34,0xED, 0x88,0x35,0xE7,0x27,0xB7,0x44,0xAF,0x3C,0xB2,0xC0,0xF0,0x2A,0x2F,0xF3,0x1A,0xD2, 0xD8,0xB2,0x55,0xC5,0xB3,0x4E,0x36,0x91,0x0D,0xD2,0x8D,0x64,0xA1,0x2D,0xA7,0x25, 0x55,0xE8,0x46,0x3A,0x47,0xFC,0x74,0x5B,0xB7,0xF7,0xC1,0x2A,0xED,0x4C,0x81,0xD1, 0xFC,0x13,0x08,0xC5,0xD9,0x6B,0x35,0x91,0x8C,0xCB,0x9E,0x84,0x57,0x69,0xF6,0xCD, 0xC4,0x89,0x27,0x68,0x2A,0x5A,0x25,0xB8,0xF5,0x6F,0xCB,0xAF,0x9B,0x7B,0x29,0xB5, 0x3C,0x31,0x53,0xC3,0x64,0x28,0xED,0x5F,0xC3,0x73,0x25,0xDD,0x01,0x95,0x81,0x4F, 0x88,0x69,0xA0,0x51,0xAF,0x5E,0x5B,0xCF,0xAD,0x07,0x40,0x35,0x3B,0xDD,0x3F,0xE0, }; // you can defined audioData02, audioData03, ... struct AudioPacket { uint8_t* data; int size; }; AudioPacket audioPacket[] = { AUDIO_PACKET(audioData01), }; static void audio_decode_example() { AVCodec* codec; AVCodecContext* c; uint8_t inbuf[AUDIO_INBUF_SIZE + FF_INPUT_BUFFER_PADDING_SIZE]; AVPacket avpkt; int outbuf_size, out_size, len; uint8_t* outbuf; codec = avcodec_find_decoder(CODEC_ID_NELLYMOSER); assert(codec); c = avcodec_alloc_context3(codec); assert(c); if (avcodec_open2(c, codec, NULL) < 0) { assert(false); } outbuf_size = AVCODEC_MAX_AUDIO_FRAME_SIZE; outbuf = (uint8_t*)av_malloc(outbuf_size); for (int i = 0; i < _countof(audioPacket); ++i) { av_init_packet(&avpkt); memcpy(inbuf, audioPacket[i].data, audioPacket[i].size); memset(&inbuf[audioPacket[i].size], 0, FF_INPUT_BUFFER_PADDING_SIZE); avpkt.data = inbuf; avpkt.size = audioPacket[i].size; out_size = AVCODEC_MAX_AUDIO_FRAME_SIZE; len = avcodec_decode_audio3(c, reinterpret_cast(outbuf), &out_size, &avpkt); assert (len >= 0); assert(len == avpkt.size); // only for nellymoser assert(c->frame_size); } av_free(outbuf); avcodec_close(c); av_free(c); } }}} I always got an assert for "assert(c->frame_size);". -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 08:10:31 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 06:10:31 -0000 Subject: [FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate In-Reply-To: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> References: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> Message-ID: <049.3407cd6747a4ab90a8641e583817e7c8@avcodec.org> #527: NellyMoser codec reports zero frame size and bitrate -------------------------------------+------------------------------------- Reporter: DrLex | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: nellymoser | Blocked By: codec | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by jjlee3): Add the following code before avcodec_open2 doesn't help. {{{ c->sample_rate = 44100; c->channels = 1; c->sample_fmt = AV_SAMPLE_FMT_S16; }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 11:28:33 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 09:28:33 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.261d50b8dbebd9e33c5c8cd21fc0c5dc@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Afaict, this is a regression in Adobe's Flash Player (it is not reproducible with old versions). Or can you point to a FFmpeg revision that introduced the problem? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 15:31:25 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 13:31:25 -0000 Subject: [FFmpeg-trac] #542(undetermined:open): Missing aac audio after encoding to mpeg-ts with very high video bitrate In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.b4365e91f38e4d034ad25896c9a7c0e2@avcodec.org> #542: Missing aac audio after encoding to mpeg-ts with very high video bitrate -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by terran): Reverting the following checkin is also a workaround for the bug: {{{ commit 2c5168afed8ddd798dae5909dba85ae3b611f894 Author: Jason Garrett-Glaser Date: Thu Nov 11 14:34:27 2010 +0000 Remove bitrate tolerance from libx264 interface Nobody ever uses it correctly, and ffmpeg sets it incorrectly, so we'll just leave it out. Originally committed as revision 25720 to svn://svn.ffmpeg.org/ffmpeg/trunk diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 6da7f2a..f550c6a 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -273,9 +273,6 @@ static av_cold int X264_init(AVCodecContext *avctx) if (avctx->level > 0) x4->params.i_level_idc = avctx->level; - x4->params.rc.f_rate_tolerance = - (float)avctx->bit_rate_tolerance/avctx->bit_rate; - if ((avctx->rc_buffer_size != 0) && (avctx->rc_initial_buffer_occupancy <= avctx->rc_buffer_size)) { x4->params.rc.f_vbv_buffer_init = }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 15:32:49 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 13:32:49 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.eec386d3b2cefcdff1cbcc744556dc1a@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by terran): This ticket seems to be closely related to #543. We found that reverting a change from last November also provides a workaround. See the ticket fore more details: https://ffmpeg.org/trac/ffmpeg/ticket/542 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 15:37:54 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 13:37:54 -0000 Subject: [FFmpeg-trac] #424(avcodec:open): A/V desync on transport stream In-Reply-To: <036.b7146292c0ed516b420af23102934d86@avcodec.org> References: <036.b7146292c0ed516b420af23102934d86@avcodec.org> Message-ID: <051.fa1250e061aca4a7fef861001061a7a6@avcodec.org> #424: A/V desync on transport stream ------------------------------------+----------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | ------------------------------------+----------------------------------- Changes (by mjs973): * analyzed: 0 => 1 * cc: mjs973@? (added) * component: undetermined => avcodec * reproduced: 0 => 1 Comment: I analyzed this file in greater depth. The ffmpeg h264 decoder is doing the right thing, it is the bitstream that is wrong. I see two problems, which are completely unrelated. 1. The video stream was re-muxed at the the wrong frame rate. The original h264 elementary stream is 60.0 frames per second, but the .ts container was created using 30.0 frames per second. 2. This h264 elementary stream contains "buffering period SEI" and "pic timing SEI". The value in the pic timing dpb_output_delay field is completely wrong. It is typically a small interger value like "2", but in this sample it is 15628 (and it increments by 2 for each frame.) I'd guess this is a firmware error in the camcorder that created the compressed video stream. These SEI are optional in h264, and they are not needed for this stream. So, a workaround for this camcorder bug would be to re-mux the stream and tell the re-muxer to remove all the pic timing SEI NALs. I don't see an easy way for the h264 decoder to work around this bug. The way I read the h.264 spec, such a large value for dpb_output_buffer is legal, but it is very, very unusual. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 15:41:56 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 13:41:56 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.65e2cef70d3e6cd5d7197bc44e7463fc@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by brama): I believe this is a regression somewhere in ffmpeg/x264. Using the older ffmpeg I can still produce a non-corrupted video that will work with the latest adobe flash plugin from the same input file and the same cmd. I will have to spend some time figuring out how to locate the regression as I'm not very experienced in that field. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 15:48:56 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 13:48:56 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.4e2ab8dfb2ace1efa0e470dbc961d690@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by brama): I will investigate the approximate time where this change has occurred. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 18:03:35 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 16:03:35 -0000 Subject: [FFmpeg-trac] #542(undetermined:open): Missing aac audio after encoding to mpeg-ts with very high video bitrate In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.6e6b4755be19620686407ed450a094e1@avcodec.org> #542: Missing aac audio after encoding to mpeg-ts with very high video bitrate -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:51 terran]: > Reverting the following checkin is also a workaround for the bug: Given that we were both able to reproduce the problem without using libx264 (and, in my case, without even compiling libx264.c). this seems very unlikely. What is very likely, though, is that when reverting that patch, the original problem is not triggered any more because the bit rate changes for x264 encoding. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 18:05:20 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 16:05:20 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.4e2592f82f86ec3af93b0bc8a3a6b23d@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): git bisect will show you very fast the version introducing your problem. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 18:16:27 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 16:16:27 -0000 Subject: [FFmpeg-trac] #542(undetermined:open): Missing aac audio after encoding to mpeg-ts with very high video bitrate In-Reply-To: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> References: <035.de45c97b35341750bfe1134dc5367938@avcodec.org> Message-ID: <050.63337b18b028245cc98ed0425b704c10@avcodec.org> #542: Missing aac audio after encoding to mpeg-ts with very high video bitrate -------------------------------------+------------------------------------- Reporter: terran | Owner: michael Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by terran): If you follow the code that relates to that change, it later touoches code that affects the threading model. Since we know that lowering the number of threads does work around the bug, it seems likely that there is a correlation. Also, lowering the target bitrate from 7Mbps to, say, 5Mbps doesnt work around the bug for me. I can try other bitrates as well. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 18:45:13 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 16:45:13 -0000 Subject: [FFmpeg-trac] #534(avcodec:closed): Ut Video Support In-Reply-To: <035.4bf49dd78effe99f50e77c43b11dbffd@avcodec.org> References: <035.4bf49dd78effe99f50e77c43b11dbffd@avcodec.org> Message-ID: <050.277dcc855dfee3ce63916826f1d56cc2@avcodec.org> #534: Ut Video Support -------------------------------------+----------------------------------- Reporter: llogan | Owner: Type: enhancement | Status: closed Priority: wish | Component: avcodec Version: git-master | Resolution: fixed Keywords: utvideo | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed * component: undetermined => avcodec Comment: Internal and external decoder that play above samples were committed, a patch to support encoding via external library is certainly welcome! -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 19:21:20 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 17:21:20 -0000 Subject: [FFmpeg-trac] #574(avcodec:new): latm_aac decoding regression (corrupted audio) Message-ID: <038.8939471aa8e5e8f864b426df35e7b6e8@avcodec.org> #574: latm_aac decoding regression (corrupted audio) -----------------------------------+-------------------------------------- Reporter: heleppkes | Type: defect Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: latm aac | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+-------------------------------------- Hi, Attached latm_aac file decodes rather corrupted after the fix for Ticket200. Its a recoding from DVB-T, demuxed from mpeg-ts. Reverting the change in question fixes the problem. For reference, this commit: http://git.videolan.org/?p=ffmpeg.git;a=commit;h=0bc5d4fd8bbb63be172978e888834a88a1e64fb0 FWIW, i rather similar change was applied before, and reverted after, because it also broke decoding of some samples, see here: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=d6f66edd65992c1275f8e4271be212e1a4808425 ffmpeg log: command:ffmpeg -i Issue200Regression.latm out.ac3 ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 17:47:31 with gcc 4.6.1 configuration: --extra-cflags='-mmmx -msse' --enable-shared --enable- memalign-hack --enable-gpl --enable-w32threads -- enable-runtime-cpudetect --enable-asm --disable-postproc --enable-zlib --disable-static --disable-altivec --enable-muxer s --enable-encoders --enable-debug --enable-ffplay --disable-avconv --disable-ffserver --enable-ffmpeg --enable-ffprobe --disable-devices --disable-filters --disable-avfilter --enable-swscale --disable-avdevice --disable-hwaccels --enable-b sfs --disable-network --arch=x86 --cpu=i686 --target-os=mingw32 libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libswscale 2. 1. 0 / 2. 1. 0 [loas @ 00499040] max_analyze_duration 5000000 reached at 5034667 [loas @ 00499040] Estimating duration from bitrate, this may be inaccurate Input #0, loas, from 'Issue200Regression.latm': Duration: N/A, bitrate: N/A Stream #0:0: Audio: aac_latm, 48000 Hz, 2 channels (FC), s16 Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [ac3 @ 00680a60] channel_layout not specified [ac3 @ 00680a60] No channel layout specified. The encoder will guess the layout, but it might be incorrect. Output #0, ac3, to 'out.ac3': Metadata: encoder : Lavf53.16.1 Stream #0:0: Audio: ac3, 48000 Hz, stereo, flt, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 (aac_latm -> ac3) Press [q] to stop, [?] for help [SWR @ 00670ec0] Input channel layout has a different number of channels than there actually is, ignoring layout size= 212kB time=00:00:13.56 bitrate= 128.0kbits/s video:0kB audio:212kB global headers:0kB muxing overhead 0.000000% -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 19:22:33 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 17:22:33 -0000 Subject: [FFmpeg-trac] #200(avcodec:closed): aac - failure decoding audio stream when audio configuration changes In-Reply-To: <037.90fe1078087a6ef043b9907feae8da43@avcodec.org> References: <037.90fe1078087a6ef043b9907feae8da43@avcodec.org> Message-ID: <052.ef9084d142a87339c3da8c7f798b7906@avcodec.org> #200: aac - failure decoding audio stream when audio configuration changes ------------------------------------+----------------------------------- Reporter: gmcallow | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by heleppkes): Sadly the fix for this issue caused some other files to decode corrupted. See Issue574 for details. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 20:16:23 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 18:16:23 -0000 Subject: [FFmpeg-trac] #574(avcodec:open): latm_aac decoding regression (corrupted audio) In-Reply-To: <038.8939471aa8e5e8f864b426df35e7b6e8@avcodec.org> References: <038.8939471aa8e5e8f864b426df35e7b6e8@avcodec.org> Message-ID: <053.5ba96fd2851aab269d4a6b8533a1c9f5@avcodec.org> #574: latm_aac decoding regression (corrupted audio) -------------------------------------+------------------------------------- Reporter: heleppkes | Owner: Type: defect | Status: open Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: latm aac | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: latm aac => latm aac regression * priority: normal => important * status: new => open * reproduced: 0 => 1 Comment: out.wav sounds distorted. {{{ $ ffmpeg -i Issue200Regression.latm out.wav ffmpeg version N-33822-ge6e86e6, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 20 2011 18:14:22 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 22. 0 / 53. 22. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 [loas @ 0x1304780] max_analyze_duration 5000000 reached at 5034667 [loas @ 0x1304780] Estimating duration from bitrate, this may be inaccurate Input #0, loas, from 'Issue200Regression.latm': Duration: N/A, bitrate: N/A Stream #0:0: Audio: aac_latm, 48000 Hz, 2 channels (FC), s16 Output #0, wav, to 'out.wav': Metadata: encoder : Lavf53.17.0 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s Stream mapping: Stream #0.0 -> #0.0 (aac_latm -> pcm_s16le) Press [q] to stop, [?] for help size= 2544kB time=00:00:13.56 bitrate=1536.0kbits/s video:0kB audio:2544kB global headers:0kB muxing overhead 0.001766% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 20:50:55 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 18:50:55 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.163df8fa68be4dd94a210b76bcb4d368@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Is there any update on this problem yet? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 20:59:49 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 18:59:49 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.a9953aeecdc8903b0d470bd67fcee211@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): So far, I have not been able to reproduce a frame drop, can you elaborate? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 21:06:52 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 19:06:52 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.58c2d268095868c87d2a061880651e84@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Alright, this is the command that I am using on the sample find included in the attachment: ubuntu:~/Desktop$ ffmpeg -i sample -vf "scale=0:0,setdar=4:3" -vcodec libx264 -vb 750k -coder 1 -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -flags2 +fastpskip -acodec libmp3lame -ab 128k -ar 44100 -ac 2 -y output.mp4 If I use the above command I get the following error messages over and over again: missing picture in access unit with size 56 [h264 @ 0x1571be0] no frame! Error while decoding stream #0.0 [h264 @ 0x1571be0] missing picture in access unit with size 56 [h264 @ 0x1571be0] no frame! Error while decoding stream #0.0 It does output a mp4 file though but on files that are larger sizes (because the sample file is just a sample), it is taking a long time (like 5 minutes for a 5 minute video) and the result file is a lot larger than the other files I've converted. I think it has something to do with the Q264 codec that was used to encode the videos originally. I can encode other videos using the QIVG codec with the above command and I get no error messages and a 5 minute video is encoded in under a minute. I'd like the videos encoded in the Q264 codec to be re-encoded in under 1 minute just like the videos encoded in the QIVG codec if that is possible. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 21:59:04 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 19:59:04 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.b04e7613edbc2f513f36ebfea791a2af@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): So you do not experience frame drop, only warnings on the console, is that correct? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 22:05:27 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 20:05:27 -0000 Subject: [FFmpeg-trac] #574(avcodec:closed): latm_aac decoding regression (corrupted audio) In-Reply-To: <038.8939471aa8e5e8f864b426df35e7b6e8@avcodec.org> References: <038.8939471aa8e5e8f864b426df35e7b6e8@avcodec.org> Message-ID: <053.3f2f3fd754d69d27e238bbdb6d731725@avcodec.org> #574: latm_aac decoding regression (corrupted audio) -------------------------------------+------------------------------------- Reporter: heleppkes | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: latm aac | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed Comment: Fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 22:09:34 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 20:09:34 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.1c1ccc6ea4fe839e490d0306506f75db@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by bf4648): Well, if you use the command listed above on the sample video, it doesn't drop any frames in the output.mp4 file (not to my knowledge). It I do use the above command on other file though, it is taking twice as long and the output is much larger. I would just like to know why it is taking twice as long as opposed to other files encoded with a different codec and why I continue to get error messages like the one listed above over and over again. By the way here is my ffmpeg version: ffmpeg version N-33795-g891f76b, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 19 2011 09:10:42 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 0 / 2. 44. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 20 23:51:26 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 21:51:26 -0000 Subject: [FFmpeg-trac] #575(avformat:new): https apple live streams not supported Message-ID: <035.2ea2f2dd764e258ccb438bb9798e0eb0@avcodec.org> #575: https apple live streams not supported ----------------------------------+--------------------------------------- Reporter: kyl416 | Type: enhancement Status: new | Priority: normal Component: avformat | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- FFmpeg doesn't support applehttp live streams that use https Output: ffplay https://***/***/playlist.m3u8 ffplay version N-33818-gd049257, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 19 2011 20:55:51 with gcc 4.6.1 configuration: --prefix=/usr --enable-gpl --enable-version3 --enable- nonfree --enable-shared --enable-postproc --enable-libx264 --enable-frei0r --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable- libopenjpeg --enable-libdirac --enable-libvpx --enable-libgsm --enable- libschroedinger --enable-libspeex --enable-libvorbis --enable-libxvid --enable-libfaac --cpu=amdfam10 --arch=x86_64 --enable-x11grab --enable- libxavs --enable-libnut --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libcelt --enable-openal --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-libutvideo libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 22. 0 / 53. 22. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 https://***/***/playlist.m3u8: No such file or directory This is a hidden stream so I have to hide the actual URL, upon request I can setup a public clone if needed. The same url works on my 2nd generation iPod Touch when manually entered in Safari. I'm guessing this would involve either coding a custom https client or adding support for https via GnuTLS, OpenSSL or PolarSSl so I filed this under enhancement instead of defect. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 00:21:50 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 22:21:50 -0000 Subject: [FFmpeg-trac] #576(swscale:new): sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 Message-ID: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> #576: sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 -------------------------------------+------------------------------------- Reporter: rich99 | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: git- | Keywords: swscale master | crash pixelformat Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 -------------------------------------+------------------------------------- Last ffmpeg built from git, 10/20/2011 10:22:50AM. Win7 x64, VS2010, built using migGW and msys, gcc 4.5.2. Build options: ./configure --enable-shared --disable-static --enable-memalign-hack --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth --enable-zlib --enable-bzlib --enable-pthreads --enable-runtime-cpudetect --disable- encoders --enable-swscale --extra-cflags=-U__STRICT_ANSI__ Everything works fine with playback except some crashes when using sws_scale and certain video files. Here is an example that always crashes with a sample code provided. I have stripped all checks to simplify the code to the maximum. The sample video is also attached. If I don't use sws_scale, everything works fine. main.cpp --------------------------------- #define __STDC_CONSTANT_MACROS #pragma warning(disable:4244) extern "C" { #include #include #include "libavformat/avformat.h" #include "libswscale/swscale.h" #include "libavcodec/avcodec.h" #include } int main() { av_register_all(); AVFormatContext* pFormatCtx; av_open_input_file(&pFormatCtx, "ffdmjpeg.avi", NULL, 0, NULL); av_find_stream_info(pFormatCtx); dump_format(pFormatCtx, 0, "test", 0); AVCodecContext* pCodecCtx; // i know first stream is at index 0, simplified here unsigned int videoStream = 0; pCodecCtx = pFormatCtx->streams[videoStream]->codec; AVCodec* pCodec = avcodec_find_decoder(pCodecCtx->codec_id); avcodec_open(pCodecCtx, pCodec); AVFrame* pFrame = avcodec_alloc_frame(); AVFrame* pFrameRGB = avcodec_alloc_frame(); PixelFormat destFormat = PIX_FMT_RGB24; // Determine required buffer size and allocate buffer int numBytes = avpicture_get_size(destFormat, pCodecCtx->width, pCodecCtx->height); uint8_t* buffer = (uint8_t *)av_malloc(numBytes*sizeof(uint8_t)); avpicture_fill((AVPicture *)pFrameRGB, buffer, destFormat, pCodecCtx->width, pCodecCtx->height); int frameFinished; AVPacket packet; SwsContext* swsContext = sws_alloc_context(); //AVOption options; av_opt_set_defaults(swsContext); av_set_int(swsContext, "sws_flags", SWS_POINT); av_set_int(swsContext, "srcw", pCodecCtx->width); av_set_int(swsContext, "srch", pCodecCtx->height); av_set_int(swsContext, "dstw", pCodecCtx->width); av_set_int(swsContext, "dsth", pCodecCtx->height); av_set_int(swsContext, "src_format", pCodecCtx->pix_fmt); av_set_int(swsContext, "dst_format", destFormat); av_set_int(swsContext, "src_range", 1); av_set_int(swsContext, "dst_range", 1); sws_init_context(swsContext, NULL, NULL); //success while(av_read_frame(pFormatCtx, &packet) >= 0) { // Is this a packet from the video stream? if(packet.stream_index == videoStream) { // Decode video frame avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet); // Did we get a video frame? if(frameFinished) { AVPicture &pic = *(AVPicture*)pFrame; AVPicture &picDst = *(AVPicture*)pFrameRGB; // [CRASH HERE] sws_scale(swsContext, &pic.data[0], &pic.linesize[0], 0, pCodecCtx->height, &picDst.data[0], &picDst.linesize[0]); // printf("."); } } // Free the packet that was allocated by av_read_frame av_free_packet(&packet); } av_free(buffer); av_free(pFrameRGB); av_free(pFrame); sws_freeContext(swsContext); avcodec_close(pCodecCtx); av_close_input_file(pFormatCtx); return 0; } -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 00:27:08 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 20 Oct 2011 22:27:08 -0000 Subject: [FFmpeg-trac] #576(swscale:new): sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 In-Reply-To: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> References: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> Message-ID: <050.256a342add4bb47261012456d0985216@avcodec.org> #576: sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 -------------------------------------+------------------------------------- Reporter: rich99 | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: swscale | Blocked By: crash pixelformat | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by rich99): Crash also happens with older versions of sws_scale and ffmpeg. Source code has been attached and was compiled and run with VS2010 on intel i7 2600K. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 06:28:21 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 04:28:21 -0000 Subject: [FFmpeg-trac] #527(avcodec:new): NellyMoser codec reports zero frame size and bitrate In-Reply-To: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> References: <034.24bf769cbc763745bdad682a9e7cecf0@avcodec.org> Message-ID: <049.74d6016c7e5b11aa67111dc9a6d587dd@avcodec.org> #527: NellyMoser codec reports zero frame size and bitrate -------------------------------------+------------------------------------- Reporter: DrLex | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: nellymoser | Blocked By: codec | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by jjlee3): Sorry for confusion, I should check 3rd output parameter of avcodec_decode_audio3 not c->frame_size. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 10:57:02 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 08:57:02 -0000 Subject: [FFmpeg-trac] #576(swscale:new): sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 In-Reply-To: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> References: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> Message-ID: <050.2a83dd084cd1c1e8bcd4e9c8cf3abfda@avcodec.org> #576: sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 ------------------------------------+----------------------------------- Reporter: rich99 | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * keywords: swscale crash pixelformat => Comment: Please provide backtrace etc. as explained on http://ffmpeg.org/bugreports.html and please confirm that the crash also happens if you use gcc. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 10:58:05 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 08:58:05 -0000 Subject: [FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message In-Reply-To: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> References: <035.9d22b38eb00beb288e45c837948600c8@avcodec.org> Message-ID: <050.ce300b1096f4f779a6f8846f54f295fb@avcodec.org> #571: Convert to mp4 from AVI error message ------------------------------------+------------------------------------ Reporter: bf4648 | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Replying to [comment:8 bf4648]: > Well, if you use the command listed above on the sample video, it doesn't drop any frames in the output.mp4 file (not to my knowledge). If a longer sample is needed to reproduce the frame dropping, please upload to http://www.datafilehost.com/ and post the link here -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 12:50:18 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 10:50:18 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.b591e7bbb5cd32de0f2b6c774bd716f5@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by tungj): Replying to [comment:8 terran]: > This ticket seems to be closely related to #542. We found that reverting a change from last November also provides a workaround. See the ticket fore more details: > > https://ffmpeg.org/trac/ffmpeg/ticket/542 Thanks for the suggestion, but it seems the problem is still reproducible after adding back the rate tolerance from change 2c5168afed8ddd798dae5909dba85ae3b611f894 as mentioned on comment 51 of #542. {{{ diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 7410112..eeaad71 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -296,6 +296,9 @@ static av_cold int X264_init(AVCodecContext *avctx) if (avctx->level > 0) x4->params.i_level_idc = avctx->level; + x4->params.rc.f_rate_tolerance = + (float)avctx->bit_rate_tolerance/avctx->bit_rate; + x4->params.pf_log = X264_log; x4->params.p_log_private = avctx; x4->params.i_log_level = X264_LOG_DEBUG; }}} {{{ ffprobe initialSilence.ts }}} still returns (0 channels) after recompiling and rerunning {{{ ffmpeg -y -i '../initialSilence.mp4' -f mpegts -t 10 -acodec libfaac -ab 40k -ar 22050 initialSilence.ts }}}; and the audio track is lost when running {{{ffmpeg -y -i 'initialSilence.ts' -vcodec copy -acodec libfaac -ab 40k -ar 22050 output.mp4}}}. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 13:24:45 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 11:24:45 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.6014ad8a807853747386b9814452bb6c@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Of course the mentioned patch is not responsible for the problem: It is not even necessary to compile the file in question to reproduce the problem. Isn't using libvo-aacenc sufficient as a work-around? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 13:38:57 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 11:38:57 -0000 Subject: [FFmpeg-trac] #566(undetermined:new): Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. In-Reply-To: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> References: <034.27835f075750347390f0cfbd89ccbac5@avcodec.org> Message-ID: <049.b7f7fd4b3feb7f1b19a64f85923ba26c@avcodec.org> #566: Encoding AAC stereo audio which starts silently to mpeg-ts causes 0-channel audio output. -------------------------------------+------------------------------------- Reporter: tungj | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by tungj): Replying to [comment:10 cehoyos]: > Of course the mentioned patch is not responsible for the problem: It is not even necessary to compile the file in question to reproduce the problem. > > Isn't using libvo-aacenc sufficient as a work-around? Yes, thanks, both of your suggestions libvo-aacenc on encoding or -analyzeduration 1000000000 on ffprobe/further encoding are good workarounds (I'm using the latter). I was just posting results of testing the suggestion in comment 8. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 15:18:49 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 13:18:49 -0000 Subject: [FFmpeg-trac] #577(avformat:new): LATM AAC in MPEG-TS wrongly probed as MP1 Message-ID: <038.a45462d5292bfb371af05a5f4d378705@avcodec.org> #577: LATM AAC in MPEG-TS wrongly probed as MP1 -----------------------------------+-------------------------------------- Reporter: heleppkes | Type: defect Status: new | Priority: normal Component: avformat | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+-------------------------------------- Hi, the attached sample is wrongly probed as MP1 while the audio is actually AAC LATM. The stream is properly flagged as stream type 0x11, which means reverting http://git.videolan.org/?p=ffmpeg.git;a=commit;h=c41bf905f425c1f749dfeb23d11aa377a5104135 does fix playback. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 15:30:31 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 13:30:31 -0000 Subject: [FFmpeg-trac] #577(avformat:new): LATM AAC in MPEG-TS wrongly probed as MP1 In-Reply-To: <038.a45462d5292bfb371af05a5f4d378705@avcodec.org> References: <038.a45462d5292bfb371af05a5f4d378705@avcodec.org> Message-ID: <053.c309233a8e650c4fcb147b1d9f3e65fb@avcodec.org> #577: LATM AAC in MPEG-TS wrongly probed as MP1 ------------------------------------+------------------------------------ Reporter: heleppkes | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by heleppkes): Actually, i was wrong, the stream is not LATM, its regular AAC For some reason, the revert i mentioned still fixes it, however. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 20:50:31 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 18:50:31 -0000 Subject: [FFmpeg-trac] #578(undetermined:new): av_open_input_file fails open - regression Message-ID: <036.3fe624efb662c7b69ce8de5f4026e0c7@avcodec.org> #578: av_open_input_file fails open - regression -------------------------------------+------------------------------------- Reporter: DonMoir | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- I have 4 f4v files. 3 of them fail on open with the latest build. To test, fails_open_cut.f4v (8 MB) is here: http://sms.pangolin.com/temp/fails_open_cut.f4v Attempting to cut the file smaller resulted in failure on older builds. The last known good on this file and others is: ffplay version N-32962-gcbf914c, Copyright (c) 2003-2011 the FFmpeg developers built on Sep 25 2011 21:37:29 with gcc 4.6.1 configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 17. 0 / 51. 17. 0 libavcodec 53. 17. 0 / 53. 17. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 5 / 2. 43. 5 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 With Latest Build: gdb ffmpeg_g (gdb) r -i c:\flashfiles\fails_open_cut.f4v -f null - Starting program: c:\work\ffmpeg_deb/ffmpeg_g.exe -i c:\flashfiles\fails_open_cut.f4v -f null - [New Thread 3768.0x177c] ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 21 2011 13:20:54 with gcc 4.5.2 configuration: --target-os=mingw32 --disable-yasm --disable-doc libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 03549f60] error reading header: -1 c:\flashfiles\fails_open_cut.f4v: Operation not permitted Program exited with code 01. (gdb) disass $pc-32,$pc+32 No registers. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 22:49:29 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 20:49:29 -0000 Subject: [FFmpeg-trac] #579(undetermined:new): Unable to decode MPEG-1 video in mov Message-ID: <035.7806a9ebfa9a6e1cb56d2ded219a19db@avcodec.org> #579: Unable to decode MPEG-1 video in mov -------------------------------------+------------------------------------- Reporter: llogan | Owner: Type: defect | Status: new Priority: normal | Component: Version: git- | undetermined master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 -------------------------------------+------------------------------------- Quicktime 7.7 in Windows 7 is able to decode the video and claims it is "MPEG1 Video, 720x480, 29.97". Samples: http://pubs.usgs.gov/ds/521/ds521_movies/ {{{ $ ffmpeg -loglevel 99 -i cam02_2.mov -y out.mpg ffmpeg version N-33885-gdb1347f, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 21 2011 12:08:42 with gcc 4.6.1 20110819 (prerelease) configuration: --prefix=/usr --enable-gpl libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x17da780] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x17da780] ISO: File Type Major Brand: qt [mov,mp4,m4a,3gp,3g2,mj2 @ 0x17da780] All info found Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'cam02_2.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2010-12-14 22:10:52 Duration: 00:00:13.01, bitrate: 9323 kb/s Stream #0:0(eng), 0, 1/90000: Data: none (m1v / 0x2076316D) Metadata: creation_time : 2010-12-14 22:10:52 Output #0, mpeg, to 'out.mpg': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2010-12-14 22:10:52 Output file #0 does not contain any stream }}} Brought to attention by truk77 in #ffmpeg-user. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 21 23:27:34 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 21:27:34 -0000 Subject: [FFmpeg-trac] #570(undetermined:new): Video flipped with inverted colors in flash after transcode In-Reply-To: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> References: <034.a17f3ff2e0b8b3e45d950966fed76710@avcodec.org> Message-ID: <049.ebfb2cdcafc35f9ab9d0d8d46c4fc9ef@avcodec.org> #570: Video flipped with inverted colors in flash after transcode -------------------------------------+------------------------------------- Reporter: brama | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by brama): Found the culprit, it's commit c8868f28e357e7e6ffe3254d0056b3e8033fe8e5 With just this commit I can repeatedly and without fail confirm that the video will show up corrupted in flash. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 00:49:38 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 22:49:38 -0000 Subject: [FFmpeg-trac] #577(avformat:open): LATM AAC in MPEG-TS wrongly probed as MP1 In-Reply-To: <038.a45462d5292bfb371af05a5f4d378705@avcodec.org> References: <038.a45462d5292bfb371af05a5f4d378705@avcodec.org> Message-ID: <053.92c787a3751e8d1561b0796a94e33551@avcodec.org> #577: LATM AAC in MPEG-TS wrongly probed as MP1 -------------------------------------+------------------------------------- Reporter: heleppkes | Owner: Type: defect | Status: open Priority: important | Component: avformat Version: git-master | Resolution: Keywords: aac | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => aac regression * priority: normal => important * status: new => open * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 01:51:51 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 21 Oct 2011 23:51:51 -0000 Subject: [FFmpeg-trac] #578(avformat:open): av_open_input_file fails open - regression In-Reply-To: <036.3fe624efb662c7b69ce8de5f4026e0c7@avcodec.org> References: <036.3fe624efb662c7b69ce8de5f4026e0c7@avcodec.org> Message-ID: <051.28a01c2a2ce346f0be6f0f66f15e9d0f@avcodec.org> #578: av_open_input_file fails open - regression -------------------------------------+------------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: open Priority: important | Component: avformat Version: git-master | Resolution: Keywords: regression | Blocked By: mov | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 * component: undetermined => avformat * priority: normal => important * version: unspecified => git-master * keywords: => regression mov -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 02:53:55 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 22 Oct 2011 00:53:55 -0000 Subject: [FFmpeg-trac] #580(avformat:new): mpegts autodetection Message-ID: <036.bc0e2c0dbfa88a794567b808ffc07675@avcodec.org> #580: mpegts autodetection --------------------------------------+---------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+---------------------------------- Attached sample (first 2,5MB of a 1GB sample) is correctly autodetected as mpeg-ts by MPlayer's native demuxer, FFmpeg's mpegts probe function does not return a positive value. {{{ $ ffmpeg -loglevel 99 -i dump.ts ffmpeg version N-33932-g415f3ce, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 22 2011 02:35:58 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 [mpeg @ 0x1379780] Format mpeg probed with size=524288 and score=52 [mp1 @ 0x137fc80] Header missing Last message repeated 23 times [mpeg @ 0x1379780] pes_ext 4B is invalid [mp1 @ 0x137fc80] Header missing Last message repeated 26 times [mpeg @ 0x1379780] pes_ext FF is invalid [mp1 @ 0x137fc80] Header missing Last message repeated 76 times [mpeg @ 0x1379780] Invalid timestamps stream=0, pts=5751558783, dts=8589934591, size=5809 [mp1 @ 0x137fc80] Header missing Last message repeated 49 times ... [mpeg @ 0x1379780] pes_ext FD is invalid [mpeg @ 0x1379780] Invalid timestamps stream=0, pts=6130997887, dts=8589934591, size=5809 [mpeg @ 0x1379780] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'dump.ts': Duration: N/A, start: 47721.858833, bitrate: N/A Stream #0:0[0x1d3], 3340, 1/90000: Audio: mp1, 48000 Hz, stereo, s16, 128 kb/s At least one output file must be specified }}} {{{ $ ffmpeg -loglevel 99 -f mpegts -i dump.ts ffmpeg version N-33932-g415f3ce, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 22 2011 02:35:58 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 [mpegts @ 0x13797c0] stream=0 stream_type=1b pid=6e prog_reg_desc=CUEI [mpegts @ 0x13797c0] stream=1 stream_type=86 pid=8c prog_reg_desc=CUEI [mpegts @ 0x13797c0] stream=2 stream_type=81 pid=64 prog_reg_desc=CUEI [ac3 @ 0x13a7d80] Unsupported bit depth: 0 [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] non-existing PPS referenced [h264 @ 0x139b3c0] non-existing PPS 0 referenced [h264 @ 0x139b3c0] decode_slice_header error [h264 @ 0x139b3c0] no frame! [h264 @ 0x139b3c0] Frame num gap 2 0 [mpegts @ 0x13797c0] max_analyze_duration 5000000 reached at 5024000 rfps: 59.940060 0.000000 [NULL @ 0x13a18a0] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'dump.ts': Duration: 00:00:52.20, start: 72733.803344, bitrate: 49034 kb/s Program 1 Metadata: service_name : Reelz Channel service_provider: Stream #0:0[0x6e], 309, 1/90000: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1001/120000, 61.56 fps, 59.94 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x8c], 0, 1/90000: Unknown: none ([134][0][0][0] / 0x0086) Stream #0:2[0x64], 159, 1/90000: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, s16, 192 kb/s At least one output file must be specified }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 11:06:18 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 22 Oct 2011 09:06:18 -0000 Subject: [FFmpeg-trac] #579(avformat:open): Unable to decode MPEG-1 video in mov In-Reply-To: <035.7806a9ebfa9a6e1cb56d2ded219a19db@avcodec.org> References: <035.7806a9ebfa9a6e1cb56d2ded219a19db@avcodec.org> Message-ID: <050.b171a0560fe64b20c96dcec354c441bd@avcodec.org> #579: Unable to decode MPEG-1 video in mov ------------------------------------+------------------------------------ Reporter: llogan | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: new => open * component: undetermined => avformat * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 11:09:40 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 22 Oct 2011 09:09:40 -0000 Subject: [FFmpeg-trac] #561(avcodec:reopened): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.1c2d2dd23c90c646a32af23339972aee@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. ------------------------------------+------------------------------------ Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: H264 TS | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: H264 TS NOT PLAYED 1080P => H264 TS * priority: important => normal Comment: Please upload your longer sample to http://www.datafilehost.com/ and post the link here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 16:01:26 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 22 Oct 2011 14:01:26 -0000 Subject: [FFmpeg-trac] #581(avformat:new): matroskadec errors on blocks with zero data Message-ID: <036.98ec88c2b2d93cf29e06b69f8fdc7d80@avcodec.org> #581: matroskadec errors on blocks with zero data -------------------------------------+------------------------------------- Reporter: crwulff | Type: defect Status: new | Priority: normal Component: avformat | Version: git- Keywords: matroskadec | master Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- When the lacing mode is "no lacing", it is valid to have an empty block. Some subtitle tracks end up with these for some reason. The attached patch corrects this issue. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 16:40:05 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 22 Oct 2011 14:40:05 -0000 Subject: [FFmpeg-trac] #581(avformat:new): matroskadec errors on blocks with zero data In-Reply-To: <036.98ec88c2b2d93cf29e06b69f8fdc7d80@avcodec.org> References: <036.98ec88c2b2d93cf29e06b69f8fdc7d80@avcodec.org> Message-ID: <051.581de4c5d0226c7fad256e00746320ab@avcodec.org> #581: matroskadec errors on blocks with zero data ------------------------------------+------------------------------------ Reporter: crwulff | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: mkv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: matroskadec => mkv Comment: Do you have a sample? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 22 17:12:42 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 22 Oct 2011 15:12:42 -0000 Subject: [FFmpeg-trac] #581(avformat:new): matroskadec errors on blocks with zero data In-Reply-To: <036.98ec88c2b2d93cf29e06b69f8fdc7d80@avcodec.org> References: <036.98ec88c2b2d93cf29e06b69f8fdc7d80@avcodec.org> Message-ID: <051.bd0404e3f30ca4fda19398d5784cc3f2@avcodec.org> #581: matroskadec errors on blocks with zero data ------------------------------------+------------------------------------ Reporter: crwulff | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: mkv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by crwulff): I don't have an easy way to snip out the portion of the video that is causing problems it was muxed with a fairly old version of mkvmerge (and is over 4 gig). Slicing the clip with the current version of mkvmerge strips out the zero length blocks (they really aren't very useful.) Here's a couple segments from the mkvinfo dump. I can try to go build the referenced version of mkvmerge & libs if you really need a sample, but I don't know how involved that is going to be. + EBML head |+ Doc type: matroska |+ Doc type version: 1 |+ Doc type read version: 1 + Segment, size 4685769202 |+ Seek head (subentries will be skipped) |+ EbmlVoid (size: 4025) |+ Segment information | + Timecode scale: 1000000 | + Muxing application: libebml v0.7.7 + libmatroska v0.8.1 | + Writing application: mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07 | + Duration: 6593.045s (01:49:53.045) | + Date: Tue Dec 25 21:37:57 2007 UTC | + Segment UID: 0xb2 0x9f 0xec 0xff 0x0e 0xf5 0xa6 0xf4 0x84 0xca 0xbb 0xd2 0x9c 0x09 0x89 0x68 |+ Segment tracks | + A track | + Track number: 1 | + Track UID: 1 | + Track type: video | + Enabled: 1 | + Default flag: 1 | + Forced flag: 0 | + Lacing flag: 0 | + MinCache: 1 | + Timecode scale: 1 | + Max BlockAddition ID: 0 | + Codec ID: V_MPEG4/ISO/AVC | + Codec decode all: 1 | + CodecPrivate, length 39 (h.264 profile: High @L5.1) hexdump 01 64 00 33 ff e1 00 18 67 64 00 33 ac 34 e2 c0 | + Default duration: 41.708ms (23.976 fps for a video track) | + Language: eng | + Video track | + Pixel width: 1280 | + Pixel height: 720 | + Interlaced: 0 | + Display width: 16 | + Display height: 9 | + A track | + Track number: 2 | + Track UID: 973961 | + Track type: audio | + Enabled: 1 | + Default flag: 1 | + Forced flag: 0 | + Lacing flag: 1 | + MinCache: 0 | + Timecode scale: 1 | + Max BlockAddition ID: 0 | + Codec ID: A_AC3 | + Codec decode all: 1 | + Default duration: 32.000ms (31.250 fps for a video track) | + Language: eng | + Audio track | + Sampling frequency: 48000 | + Channels: 6 | + A track | + Track number: 3 | + Track UID: 49478588 | + Track type: subtitles | + Enabled: 1 | + Default flag: 1 | + Forced flag: 0 | + Lacing flag: 0 | + MinCache: 0 | + Timecode scale: 1 | + Max BlockAddition ID: 0 | + Codec ID: S_TEXT/UTF8 | + Codec decode all: 1 | + Language: eng |+ EbmlVoid (size: 1024) |+ Cluster ... | + Block group | + Block (track number 1, 1 frame(s), timecode 337.337s = 00:05:37.337) | + Frame with size 16817 hexdump 00 00 41 ad 41 9a 5b 50 27 21 5f ea d5 c3 59 16 | + Reference block: -83.000000ms | + Block group | + Block (track number 3, 1 frame(s), timecode 337.337s = 00:05:37.337) | + Frame with size 24 hexdump c2 b6 20 53 55 43 48 20 41 20 43 4f 4c 44 20 46 | + Block duration: 32.000000ms | + Block group | + Block (track number 3, 1 frame(s), timecode 337.370s = 00:05:37.370) | + Frame with size 0 hexdump **<------------- This is the frame that errors** | + Block duration: 3903.000000ms | + Block group | + Block (track number 2, 8 frame(s), timecode 337.408s = 00:05:37.408) | + Frame with size 1536 hexdump 0b 77 eb d0 1c 30 e1 ff e0 ec 92 40 00 03 fe ff | + Frame with size 1536 hexdump 0b 77 bd 9b 1c 30 e1 ff e0 ec 92 40 00 03 ff 0f | + Frame with size 1536 hexdump 0b 77 ef aa 1c 30 e1 ff e0 ec 92 40 00 03 ff 0f | + Frame with size 1536 hexdump 0b 77 4a 2b 1c 30 e1 ff e0 ec 92 40 00 03 ff 0f | + Frame with size 1536 hexdump 0b 77 dd 00 1c 30 e1 ff dc ec 92 40 00 03 fe ff | + Frame with size 1536 hexdump 0b 77 26 40 1c 30 e1 ff dc ec 92 40 00 03 fe ff | + Frame with size 1536 hexdump 0b 77 75 6b 1c 30 e1 ff dc ec 92 40 00 03 fe ff | + Frame with size 1536 hexdump 0b 77 00 f9 1c 30 e1 ff dc ec 92 40 00 03 fe ff -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 23 01:01:12 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 22 Oct 2011 23:01:12 -0000 Subject: [FFmpeg-trac] #578(avformat:closed): av_open_input_file fails open - regression In-Reply-To: <036.3fe624efb662c7b69ce8de5f4026e0c7@avcodec.org> References: <036.3fe624efb662c7b69ce8de5f4026e0c7@avcodec.org> Message-ID: <051.83596a3249237efdd8d6f27f468bae22@avcodec.org> #578: av_open_input_file fails open - regression -------------------------------------+------------------------------------- Reporter: DonMoir | Owner: Type: defect | Status: closed Priority: important | Component: avformat Version: git-master | Resolution: fixed Keywords: regression | Blocked By: mov | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 23 15:43:48 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 23 Oct 2011 13:43:48 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 Message-ID: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- I was trying to transcode a movie from h264 to mp4. command line: ffmpeg -i Crouching.Tiger.Hidden.Dragon.\(Wo.hu.cang.long\).2000.1080p.Bluray.DTS.x264-SHiTSoNy.mkv -vcodec mpeg4 -pass 2 -threads 2 -acodec ac3 -ab 384000 -b 10000000 -f mp4 Tiger.mp4 error: ffmpeg: libavcodec/ratecontrol.c:693: ff_rate_estimate_qscale: Assertion `picture_numbernum_entries' failed. Aborted output as requested: $ffmpeg -v 9 -loglevel 99 -i Crouching.Tiger.Hidden.Dragon.\(Wo.hu.cang.long\).2000.1080p.Bluray.DTS.x264-SHiTSoNy.mkv ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 11 2011 23:20:55 with gcc 4.5.2 configuration: libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 [matroska,webm @ 0x17e6400] Format matroska,webm probed with size=2048 and score=100 st:0 removing common factor 1000000 from timebase st:1 removing common factor 1000000 from timebase st:2 removing common factor 1000000 from timebase st:3 removing common factor 1000000 from timebase [h264 @ 0x1800320] Unsupported bit depth: 0 [h264 @ 0x1800320] no picture [dca @ 0x1802220] Stream with high frequencies VQ coding [h264 @ 0x1800320] no picture [matroska,webm @ 0x17e6400] max_analyze_duration 5000000 reached at 5002000 [matroska,webm @ 0x17e6400] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 23.98 (24000/1001) Input #0, matroska,webm, from 'Crouching.Tiger.Hidden.Dragon.(Wo.hu.cang.long).2000.1080p.Bluray.DTS.x264-SHiTSoNy.mkv': Duration: 02:00:14.20, start: 0.000000, bitrate: 1536 kb/s Chapter #0.0: start 0.000000, end 500.500000 Metadata: title : 00:00:00.000 Chapter #0.1: start 500.500000, end 922.171000 Metadata: title : 00:08:20.500 Chapter #0.2: start 922.171000, end 1431.179000 Metadata: title : 00:15:22.171 Chapter #0.3: start 1431.179000, end 1986.943000 Metadata: title : 00:23:51.179 Chapter #0.4: start 1986.943000, end 2231.395000 Metadata: title : 00:33:06.943 Chapter #0.5: start 2231.395000, end 2587.209000 Metadata: title : 00:37:11.395 Chapter #0.6: start 2587.209000, end 2949.571000 Metadata: title : 00:43:07.209 Chapter #0.7: start 2949.571000, end 3223.762000 Metadata: title : 00:49:09.571 Chapter #0.8: start 3223.762000, end 4404.900000 Metadata: title : 00:53:43.762 Chapter #0.9: start 4404.900000, end 4814.976000 Metadata: title : 01:13:24.900 Chapter #0.10: start 4814.976000, end 5398.935000 Metadata: title : 01:20:14.976 Chapter #0.11: start 5398.935000, end 5722.717000 Metadata: title : 01:29:58.935 Chapter #0.12: start 5722.717000, end 6239.691000 Metadata: title : 01:35:22.717 Chapter #0.13: start 6239.691000, end 6463.165000 Metadata: title : 01:43:59.691 Chapter #0.14: start 6463.165000, end 6737.230000 Metadata: title : 01:47:43.165 Chapter #0.15: start 6737.230000, end 7214.207000 Metadata: title : 01:52:17.230 Stream #0.0, 124, 1/1000: Video: h264 (High), yuv420p, 1920x800, 125/5994, PAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0.1(chi), 496, 1/1000: Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default) Stream #0.2(dut), 0, 1/1000: Subtitle: [0][0][0][0] / 0x0000 (default) Stream #0.3(eng), 0, 1/1000: Subtitle: [0][0][0][0] / 0x0000 At least one output file must be specified -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 23 17:53:41 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 23 Oct 2011 15:53:41 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.8b8c97add8a8a950cbc7e7100d185026@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Please provide a sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 23 19:13:21 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 23 Oct 2011 17:13:21 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.b325c351cd0c71c0a909bccd1e5fcf1b@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by graylion): that is a thundering big file and it happened somewhere in the middle. Any good idea on how to get 7.9 GiB of video to you? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 23 20:29:10 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 23 Oct 2011 18:29:10 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.8ee988834fe5c7d5852fc690e82e22b6@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Is the problem also reproducible with current git head? Does gdb show a backtrace etc.? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 01:30:05 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 23 Oct 2011 23:30:05 -0000 Subject: [FFmpeg-trac] #149(undetermined:closed): ffplay: Broken sound in rtmp / rtsp streams In-Reply-To: <042.f386495a926596b8a6eb74cf61aad716@avcodec.org> References: <042.f386495a926596b8a6eb74cf61aad716@avcodec.org> Message-ID: <057.c2e7d906412ea125a34704a499d1a665@avcodec.org> #149: ffplay: Broken sound in rtmp / rtsp streams -------------------------------------+------------------------------------- Reporter: | Owner: alexandru_mg3 | Status: closed Type: defect | Component: Priority: normal | undetermined Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by alexandru_mg3): Could you tell me the git version and eventually the file where this fix was done? Thanks? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 01:30:19 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 23 Oct 2011 23:30:19 -0000 Subject: [FFmpeg-trac] #149(undetermined:closed): ffplay: Broken sound in rtmp / rtsp streams In-Reply-To: <042.f386495a926596b8a6eb74cf61aad716@avcodec.org> References: <042.f386495a926596b8a6eb74cf61aad716@avcodec.org> Message-ID: <057.8d1a600a59d28d42c53ba63c0bb8be68@avcodec.org> #149: ffplay: Broken sound in rtmp / rtsp streams -------------------------------------+------------------------------------- Reporter: | Owner: alexandru_mg3 | Status: closed Type: defect | Component: Priority: normal | undetermined Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by alexandru_mg3): Sorry...Thanks! -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 04:49:21 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 02:49:21 -0000 Subject: [FFmpeg-trac] #583(FFmpeg:new): Error: unsupported for `mov' Message-ID: <038.153323404db464f822786abba7da3684@avcodec.org> #583: Error: unsupported for `mov' --------------------------------------+--------------------------------- Reporter: KSHawkEye | Owner: michael Type: defect | Status: new Priority: critical | Component: FFmpeg Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- Hello, I'm getting this error: {{{ x86_64-w64-mingw32-gcc -I. -I/home/kyle/software/ffmpeg/source/ffmpeg-git/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -DPIC -DHAVE_AV_CONFIG_H -I/home/kyle/software/ffmpeg/packages/sdl/sdl-1.2.14-win64/include -I/home/kyle/software/ffmpeg/packages/bzlib/bzlib-1.0.6-win64/include -I/home/kyle/software/ffmpeg/packages/frei0r/frei0r-1.3-win64/include -I/home/kyle/software/ffmpeg/packages/opencore-amr/opencore- amr-0.1.2-win64/include -I/home/kyle/software/ffmpeg/packages/freetype/freetype-2.4.6-win64/include -I/home/kyle/software/ffmpeg/packages/gsm/gsm-1.0.13-win64/include -I/home/kyle/software/ffmpeg/packages/lame/lame-3.98.4-win64/include -I/home/kyle/software/ffmpeg/packages/openjpeg/openjpeg-1.4-win64/include -I/home/kyle/software/ffmpeg/packages/rtmpdump/rtmpdump-git-60218d0a- win64/include -I/home/kyle/software/ffmpeg/packages/openssl/openssl-1.0 .0e-win64/include -I/home/kyle/software/ffmpeg/packages/schroedinger/schroedinger-1.0.10-win64/include -I/home/kyle/software/ffmpeg/packages/orc/orc-0.4.10-win64/include -I/home/kyle/software/ffmpeg/packages/speex/speex-1.2rc1-win64/include -I/home/kyle/software/ffmpeg/packages/libogg/libogg-1.3.0-win64/include -I/home/kyle/software/ffmpeg/packages/libtheora/libtheora-1.1.1-win64/include -I/home/kyle/software/ffmpeg/packages/vo-aacenc/vo- aacenc-0.1.1-win64/include -I/home/kyle/software/ffmpeg/packages/vo- amrwbenc/vo-amrwbenc-0.1.1-win64/include -I/home/kyle/software/ffmpeg/packages/libvorbis/libvorbis-1.3.2-win64/include -I/home/kyle/software/ffmpeg/packages/libvpx/libvpx-v0.9.7-p1-win64/include -I/home/kyle/software/ffmpeg/packages/x264/x264-git-8a62835-win64/include -I/home/kyle/software/ffmpeg/packages/xavs/xavs-svn-r55-win64/include -I/home/kyle/software/ffmpeg/packages/xvid/xvid-1.3.2-win64/include -I/home/kyle/software/ffmpeg/packages/zlib/zlib-1.2.5-win64/include -std=c99 -fno-common -fomit-frame-pointer -fPIC -I/home/kyle/software/ffmpeg/packages/freetype/freetype-2.4.6-win64/include/freetype2 -I/home/kyle/software/ffmpeg/packages/freetype/freetype-2.4.6-win64/include -I/home/kyle/software/ffmpeg/packages/rtmpdump/rtmpdump-git-60218d0a- win64/include -I/home/kyle/software/ffmpeg/packages/openssl/openssl-1.0 .0e-win64/include -I/home/kyle/software/ffmpeg/packages/schroedinger/schroedinger-1.0.10-win64/include/schroedinger-1.0 -I/home/kyle/software/ffmpeg/packages/orc/orc-0.4.10-win64/include/orc-0.4 -D_GNU_SOURCE=1 -Dmain=SDL_main -I/home/kyle/software/ffmpeg/packages/sdl/sdl-1.2.14-win64/include/SDL -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno- format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant- decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit- function-declaration -Werror=missing-prototypes -mno-red-zone -MMD -MF libswscale/x86/swscale_mmx.d -MT libswscale/x86/swscale_mmx.o -c -o libswscale/x86/swscale_mmx.o /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_mmx.c /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_mmx.c:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] In file included from /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_mmx.c:89:0: /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c: In function 'sws_init_swScale_MMX': /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1898:21: warning: unused variable 'should_dither' [-Wunused-variable] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1968:44: warning: assignment from incompatible pointer type [enabled by default] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1969:44: warning: assignment from incompatible pointer type [enabled by default] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1980:42: warning: assignment from incompatible pointer type [enabled by default] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1981:42: warning: assignment from incompatible pointer type [enabled by default] In file included from /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_mmx.c:98:0: /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c: In function 'sws_init_swScale_MMX2': /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1898:21: warning: unused variable 'should_dither' [-Wunused-variable] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1968:44: warning: assignment from incompatible pointer type [enabled by default] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1969:44: warning: assignment from incompatible pointer type [enabled by default] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1980:42: warning: assignment from incompatible pointer type [enabled by default] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_template.c:1981:42: warning: assignment from incompatible pointer type [enabled by default] /home/kyle/software/ffmpeg/source/ffmpeg-git/libswscale/x86/swscale_mmx.c: In function 'updateMMXDitherTables': /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_mmx.c:131:36: warning: to be safe all intermediate pointers in cast from 'int16_t **' to 'const int16_t **' must be 'const' qualified [-Wcast-qual] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_mmx.c:132:37: warning: to be safe all intermediate pointers in cast from 'int16_t **' to 'const int16_t **' must be 'const' qualified [-Wcast-qual] /home/kyle/software/ffmpeg/source/ffmpeg- git/libswscale/x86/swscale_mmx.c:133:74: warning: to be safe all intermediate pointers in cast from 'int16_t **' to 'const int16_t **' must be 'const' qualified [-Wcast-qual] /tmp/ccPDfwC9.s: Assembler messages: /tmp/ccPDfwC9.s:168: Error: unsupported for `mov' /tmp/ccPDfwC9.s:5162: Error: unsupported for `mov' make: *** [libswscale/x86/swscale_mmx.o] Error 1 }}} When trying to compile the latest FFmpeg for Win64. Any ideas? This bug effects the build processes and the Win64 builds can not be made until it is resolved, so I gave it critical. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 07:53:29 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 05:53:29 -0000 Subject: [FFmpeg-trac] #584(avformat:new): WTV MUX generates malformed files Message-ID: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> #584: WTV MUX generates malformed files ----------------------------------+--------------------------------------- Reporter: ianken | Type: defect Status: new | Priority: normal Component: avformat | Version: unspecified Keywords: wtv,mux | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- re-muxing from one WTV file to another results in unplayable WTV file... d:\Convert\BIN\FFMPEG32\bin>ffmpeg -threads 6 -i "test2.wtv" -sn -vcodec copy -acodec copy "test.wtv" ffmpeg version N-33818-gd049257, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 19 2011 22:57:39 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 22. 0 / 53. 22. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [wtv @ 01B889C0] unsupported chunk:f71002b9ee7ced4ebd7f0540358618a1 [wtv @ 01B889C0] parser not found for codec dvb_teletext, packets or times may b e invalid. [mpeg2video @ 01A97180] mpeg_decode_postinit() failure Last message repeated 12 times Seems stream 2 codec frame rate differs from container frame rate: 119.88 (12000 0/1001) -> 59.17 (355/6) Input #0, wtv, from 'test2.wtv': Metadata: WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e Title : Dinosaur Big City WM/SubTitleDescription: Buddy and his family go to the city for the Theropod Club Convention. genre : Special;Other WM/OriginalReleaseTime: 0 WM/MediaCredits : ;;; service_provider: KCTSDT service_name : KCTSDT (KCTS-DT) WM/MediaNetworkAffiliation: PBS Affiliate WM/MediaOriginalChannel: 509 WM/MediaOriginalChannelSubNumber: 0 WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z WM/MediaOriginalRunTime: 38967188000 WM/MediaIsStereo: true WM/MediaIsRepeat: false WM/MediaIsLive : false WM/MediaIsTape : false WM/MediaIsDelay : false WM/MediaIsSubtitled: false WM/MediaIsMovie : false WM/MediaIsPremiere: false WM/MediaIsFinale: false WM/MediaIsSAP : true WM/MediaIsSport : false WM/ParentalRating: TV-Y WM/Provider : MediaCenterDefault WM/VideoClosedCaptioning: true WM/WMRVEncodeTime: 2011-08-27 14:58:03 WM/WMRVSeriesUID: !GenericSeries!Dinosaur Big City WM/WMRVServiceID: !MCService!28458100 WM/WMRVProgramID: !MCProgram!262554684 WM/WMRVRequestID: 0 WM/WMRVScheduleItemID: 0 WM/WMRVQuality : 0 WM/WMRVOriginalSoftPrePadding: 420 WM/WMRVOriginalSoftPostPadding: 180 WM/WMRVHardPrePadding: -300 WM/WMRVHardPostPadding: 0 WM/WMRVATSCContent: true WM/WMRVDTVContent: true WM/WMRVHDContent: true WM/MediaThumbWidth: 352 WM/MediaThumbHeight: 198 WM/MediaThumbStride: 1056 WM/MediaThumbRet: 0 WM/MediaThumbRatingSystem: 9 WM/MediaThumbRatingLevel: 2 WM/MediaThumbRatingAttributes: 0 WM/MediaThumbAspectRatioX: 16 WM/MediaThumbAspectRatioY: 9 WM/MediaThumbTimeStamp: 4646639520060800336 WM/MediaThumbType: 3 Duration : 38991400000 WM/WMRVEndTime : 2011-08-27 16:03:02 WM/WMRVBitrate : 11.647139 WM/WMRVKeepUntil: -1 WM/WMRVActualSoftPrePadding: 416 WM/WMRVActualSoftPostPadding: 182 WM/WMRVContentProtected: false WM/WMRVContentProtectedPercent: 0 WM/WMRVExpirationSpan: 9223372036854775807 WM/WMRVInBandRatingSystem: 255 WM/WMRVInBandRatingLevel: 255 WM/WMRVInBandRatingAttributes: 0 WM/WMRVWatched : true Duration: 01:04:47.33, start: 12.485306, bitrate: 11682 kb/s Stream #0:0[0x26]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s Stream #0:1[0x27]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x28]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 19392 kb/s, 133.20 fps, 59.17 tbr, 10000k tbn, 119.88 tbc Stream #0:3[0x29]: Subtitle: dvb_teletext Stream #0:4[0x0]: Attachment: mjpeg Metadata: title : TV Thumbnail File 'test.wtv' already exists. Overwrite ? [y/N] y Output #0, wtv, to 'test.wtv': Metadata: WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e Title : Dinosaur Big City WM/SubTitleDescription: Buddy and his family go to the city for the Theropod Club Convention. genre : Special;Other WM/OriginalReleaseTime: 0 WM/MediaCredits : ;;; service_provider: KCTSDT service_name : KCTSDT (KCTS-DT) WM/MediaNetworkAffiliation: PBS Affiliate WM/MediaOriginalChannel: 509 WM/MediaOriginalChannelSubNumber: 0 WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z WM/MediaOriginalRunTime: 38967188000 WM/MediaIsStereo: true WM/MediaIsRepeat: false WM/MediaIsLive : false WM/MediaIsTape : false WM/MediaIsDelay : false WM/MediaIsSubtitled: false WM/MediaIsMovie : false WM/MediaIsPremiere: false WM/MediaIsFinale: false WM/MediaIsSAP : true WM/MediaIsSport : false WM/ParentalRating: TV-Y WM/Provider : MediaCenterDefault WM/VideoClosedCaptioning: true WM/WMRVEncodeTime: 2011-08-27 14:58:03 WM/WMRVSeriesUID: !GenericSeries!Dinosaur Big City WM/WMRVServiceID: !MCService!28458100 WM/WMRVProgramID: !MCProgram!262554684 WM/WMRVRequestID: 0 WM/WMRVScheduleItemID: 0 WM/WMRVQuality : 0 WM/WMRVOriginalSoftPrePadding: 420 WM/WMRVOriginalSoftPostPadding: 180 WM/WMRVHardPrePadding: -300 WM/WMRVHardPostPadding: 0 WM/WMRVATSCContent: true WM/WMRVDTVContent: true WM/WMRVHDContent: true WM/MediaThumbWidth: 352 WM/MediaThumbHeight: 198 WM/MediaThumbStride: 1056 WM/MediaThumbRet: 0 WM/MediaThumbRatingSystem: 9 WM/MediaThumbRatingLevel: 2 WM/MediaThumbRatingAttributes: 0 WM/MediaThumbAspectRatioX: 16 WM/MediaThumbAspectRatioY: 9 WM/MediaThumbTimeStamp: 4646639520060800336 WM/MediaThumbType: 3 Duration : 38991400000 WM/WMRVEndTime : 2011-08-27 16:03:02 WM/WMRVBitrate : 11.647139 WM/WMRVKeepUntil: -1 WM/WMRVActualSoftPrePadding: 416 WM/WMRVActualSoftPostPadding: 182 WM/WMRVContentProtected: false WM/WMRVContentProtectedPercent: 0 WM/WMRVExpirationSpan: 9223372036854775807 WM/WMRVInBandRatingSystem: 255 WM/WMRVInBandRatingLevel: 255 WM/WMRVInBandRatingAttributes: 0 WM/WMRVWatched : true encoder : Lavf53.17.0 Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 1280x720 [SAR 1 :1 DAR 16:9], q=2-31, 19392 kb/s, 10000k tbn, 59.94 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), 384 kb/s Stream mapping: Stream #0.2 -> #0.0 (copy) Stream #0.0 -> #0.1 (copy) Press [q] to stop, [?] for help frame= 9114 fps= 0 q=-1.0 size= 207411kB time=00:02:32.16 bitrate=11166.6kbits frame=19052 fps=19051 q=-1.0 size= 431091kB time=00:05:17.92 bitrate=11108.1kbi ...delete... frame=232981 fps=8760 q=-1.0 Lsize= 5380214kB time=01:04:46.97 bitrate=11339.1kbits/s video:5155325kB audio:182202kB global headers:0kB muxing overhead 0.799760% -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 09:11:50 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 07:11:50 -0000 Subject: [FFmpeg-trac] #584(avformat:new): WTV MUX generates malformed files In-Reply-To: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> References: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> Message-ID: <050.cd7dbf9839fc2c5e93e7bafc78bc9b4f@avcodec.org> #584: WTV MUX generates malformed files ------------------------------------+------------------------------------ Reporter: ianken | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: wtv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: wtv,mux => wtv * version: unspecified => git-master Comment: Do the following work? ffmpeg -i test2.wtv -sn -qscale 5 out1.wtv ffmpeg -i test2.wtv -sn -vcodec copy out2.wtv ffmpeg -i test2.wtv -sn -qscale 5 -acodec ac3 -ab 256k out3.wtv And for those outX.wtv that work, please try: ffmpeg -i outX.wtv -vcodec copy -acodec copy out.wtv -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 09:19:55 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 07:19:55 -0000 Subject: [FFmpeg-trac] #583(swscale:new): Error: unsupported for `mov' In-Reply-To: <038.153323404db464f822786abba7da3684@avcodec.org> References: <038.153323404db464f822786abba7da3684@avcodec.org> Message-ID: <053.9a05aee3a5984eb6b6e984c24cd6054a@avcodec.org> #583: Error: unsupported for `mov' ------------------------------------+----------------------------------- Reporter: KSHawkEye | Owner: michael Type: defect | Status: new Priority: important | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * priority: critical => important * component: FFmpeg => swscale Comment: Compilation works fine for me with {{{ $ gcc -v Using built-in specs. COLLECT_GCC=c:\mingw64\bin\gcc.exe COLLECT_LTO_WRAPPER=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0 /lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../../../build/gcc/src/configure --target=x86_64-w64-mingw32 --prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --with- sysroot=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --enable- languages=all,obj-c++ --enable-fully-dynamic-tring --disable-multilib Thread model: win32 gcc version 4.7.0 20110827 (experimental) (GCC) ./configure && make }}} Please provide the exact change that introduces the regression for you (or the compilation option I am missing). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 09:29:12 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 07:29:12 -0000 Subject: [FFmpeg-trac] #583(swscale:open): Error: unsupported for `mov' In-Reply-To: <038.153323404db464f822786abba7da3684@avcodec.org> References: <038.153323404db464f822786abba7da3684@avcodec.org> Message-ID: <053.dcf88d6385c5f8ca4ce4228baf9b7aae@avcodec.org> #583: Error: unsupported for `mov' ------------------------------------+----------------------------------- Reporter: KSHawkEye | Owner: michael Type: defect | Status: open Priority: important | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 Comment: Regression since 4d31f4202031e468005d2ca2f5bcc905023bc002 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 12:13:11 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 10:13:11 -0000 Subject: [FFmpeg-trac] #584(avformat:new): WTV MUX generates malformed files In-Reply-To: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> References: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> Message-ID: <050.8751c81256f839f97c64b4cf795e0b66@avcodec.org> #584: WTV MUX generates malformed files ------------------------------------+------------------------------------ Reporter: ianken | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: wtv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Replying to [comment:1 cehoyos]: > Do the following work? > ffmpeg -i test2.wtv -sn -qscale 5 out1.wtv > ffmpeg -i test2.wtv -sn -vcodec copy out2.wtv This should be: ffmpeg -i test2.wtv -sn -ac 2 -qscale 5 out1.wtv ffmpeg -i test2.wtv -sn -ac 2 -vcodec copy out2.wtv -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 12:27:00 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 10:27:00 -0000 Subject: [FFmpeg-trac] #583(swscale:closed): Error: unsupported for `mov' In-Reply-To: <038.153323404db464f822786abba7da3684@avcodec.org> References: <038.153323404db464f822786abba7da3684@avcodec.org> Message-ID: <053.10d1e4df26ddacb6df0eae94c2a708ab@avcodec.org> #583: Error: unsupported for `mov' ------------------------------------+----------------------------------- Reporter: KSHawkEye | Owner: michael Type: defect | Status: closed Priority: important | Component: swscale Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed Comment: should be fixed locally, will be in master in a moment -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 24 23:12:46 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 21:12:46 -0000 Subject: [FFmpeg-trac] #585(FFmpeg:new): libx264 enc doesn't autoselect compatible pix fmt so returns error Message-ID: <034.d4d59a84c5fdbdc59ad8e53d8b5c7c12@avcodec.org> #585: libx264 enc doesn't autoselect compatible pix fmt so returns error --------------------------------------+--------------------------------- Reporter: MattE | Owner: michael Type: defect | Status: new Priority: normal | Component: FFmpeg Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- Hi, When I tried to compress an uncompressed avi file with ffmpeg using the latest zeranoe exe it failed with this error: Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height. However, the same command works with a two month old exe (also from zeranoe). The problem is obvious that in the older version this line appears: Incompatible pixel format 'bgr24' for codec 'libx264', auto-selecting format 'yuv420p'. While in the new version it doesn't consequently, the newer version tries to open libx264 with bgr24 which is incompatible with libx264. I'm not sure what other checks it misses in the new version. Full output below. Command: {{{ C:\FFmpeg Video Converter - x64\data\ffmpeg.exe -i "D:\Logs\R43\CondD1\Trial1\DcondR43C1T1CamB.avi" -profile high -vcodec libx264 -noy -an -threads 0 "C:\Logs\DcondR43C1T1CamB.mp4" }}} Older exe output (working): {{{ ffmpeg version N-32138-g312645e, Copyright (c) 2000-2011 the FFmpeg developers built on Aug 28 2011 21:15:09 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable- frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable- libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable- libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable- libxavs --enable-libxvid --enable-zlib libavutil 51. 14. 0 / 51. 14. 0 libavcodec 53. 12. 0 / 53. 12. 0 libavformat 53. 10. 0 / 53. 10. 0 libavdevice 53. 3. 0 / 53. 3. 0 libavfilter 2. 35. 0 / 2. 35. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 000000000039F5A0] parser not found for codec rawvideo, packets or times may be invalid. Input #0, avi, from 'D:\Logs\R43\CondD1\Trial1\DcondR43C1T1CamB.avi': Metadata: encoder : Lavf53.10.0 Duration: 00:00:31.49, start: 0.000000, bitrate: 220970 kb/s Stream #0.0: Video: rawvideo, bgr24, 640x480, 29.97 tbr, 29.97 tbn, 29.97 tbc Incompatible pixel format 'bgr24' for codec 'libx264', auto-selecting format 'yuv420p' [buffer @ 00000000019BE940] w:640 h:480 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param: [buffersink @ 00000000019D2B80] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out' [scale @ 00000000019C9540] w:640 h:480 fmt:bgr24 -> w:640 h:480 fmt:yuv420p flags:0x4 [libx264 @ 000000000039DE20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 000000000039DE20] profile High, level 3.0 [libx264 @ 000000000039DE20] 264 - core 116 r2044 392e762 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'C:\Logs\DcondR43C1T1CamB.mp4': Metadata: encoder : Lavf53.10.0 Stream #0.0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 640x480, q=2-31, 2997 tbn, 29.97 tbc Stream mapping: Stream #0.0 -> #0.0: rawvideo -> libx264 Press [q] to stop, [?] for help frame= 82 fps= 7 q=29.0 size= 99kB time=00:00:00.80 bitrate=1017.3kbits/s frame= 172 fps= 15 q=29.0 size= 293kB time=00:00:03.80 bitrate= 631.8kbits/s frame= 277 fps= 23 q=29.0 size= 512kB time=00:00:07.30 bitrate= 573.6kbits/s frame= 368 fps= 29 q=29.0 size= 787kB time=00:00:10.34 bitrate= 623.5kbits/s frame= 471 fps= 36 q=29.0 size= 1018kB time=00:00:13.78 bitrate= 605.4kbits/s frame= 535 fps= 28 q=29.0 size= 1165kB time=00:00:15.91 bitrate= 599.4kbits/s frame= 625 fps= 32 q=29.0 size= 1415kB time=00:00:18.91 bitrate= 612.7kbits/s frame= 719 fps= 36 q=29.0 size= 1616kB time=00:00:22.05 bitrate= 600.2kbits/s frame= 795 fps= 29 q=29.0 size= 1783kB time=00:00:24.59 bitrate= 594.0kbits/s frame= 885 fps= 32 q=29.0 size= 2050kB time=00:00:27.59 bitrate= 608.6kbits/s frame= 944 fps= 34 q=-1.0 Lsize= 2322kB time=00:00:31.43 bitrate= 605.2kbits/s video:2307kB audio:0kB global headers:0kB muxing overhead 0.672759% frame I:4 Avg QP:22.87 size: 38653 [libx264 @ 000000000039DE20] frame P:323 Avg QP:25.00 size: 5818 [libx264 @ 000000000039DE20] frame B:617 Avg QP:28.52 size: 531 [libx264 @ 000000000039DE20] consecutive B-frames: 0.7% 4.9% 94.4% 0.0% [libx264 @ 000000000039DE20] mb I I16..4: 5.5% 70.6% 23.8% [libx264 @ 000000000039DE20] mb P I16..4: 0.0% 0.1% 0.0% P16..4: 56.0% 9.8% 9.8% 0.0% 0.0% skip:24.2% [libx264 @ 000000000039DE20] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 36.5% 0.3% 0.0% direct: 0.2% skip:63.0% L0:68.8% L1:29.7% BI: 1.5% [libx264 @ 000000000039DE20] 8x8 transform intra:72.0% inter:67.0% [libx264 @ 000000000039DE20] coded y,uvDC,uvAC intra: 90.4% 87.2% 59.8% inter: 8.8% 20.1% 1.2% [libx264 @ 000000000039DE20] i16 v,h,dc,p: 34% 12% 7% 47% [libx264 @ 000000000039DE20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 16% 16% 5% 8% 9% 6% 7% 9% [libx264 @ 000000000039DE20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 13% 10% 7% 10% 11% 9% 8% 9% [libx264 @ 000000000039DE20] i8c dc,h,v,p: 56% 23% 17% 4% [libx264 @ 000000000039DE20] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 000000000039DE20] ref P L0: 35.2% 6.3% 42.2% 16.3% [libx264 @ 000000000039DE20] ref B L0: 33.4% 46.3% 20.4% [libx264 @ 000000000039DE20] ref B L1: 58.8% 41.2% [libx264 @ 000000000039DE20] kb/s:599.74 }}} Latest ffmpeg output: {{{ ffmpeg version N-33818-gd049257, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 19 2011 23:06:04 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable- libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable- libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 22. 0 / 53. 22. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0000000001EDD840] parser not found for codec rawvideo, packets or times may be invalid. Input #0, avi, from 'D:\Logs\R43\CondD1\Trial1\DcondR43C1T1CamB.avi': Metadata: encoder : Lavf53.10.0 Duration: 00:00:31.49, start: 0.000000, bitrate: 220970 kb/s Stream #0:0: Video: rawvideo, bgr24, 640x480, 29.97 tbr, 29.97 tbn, 29.97 tbc [buffer @ 0000000000347810] w:640 h:480 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param: x264 [error]: high profile doesn't support 4:4:4 [libx264 @ 00000000042019D0] Error setting profile high. Output #0, mp4, to 'C:\Logs\DcondR43C1T1CamB.mp4': Metadata: encoder : Lavf53.10.0 Stream #0:0: Video: h264, bgr24, 640x480, q=-1--1, 90k tbn, 29.97 tbc Stream mapping: Stream #0.0 -> #0.0 (rawvideo -> libx264) Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height }}} M -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 00:35:59 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 24 Oct 2011 22:35:59 -0000 Subject: [FFmpeg-trac] #576(swscale:new): sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 In-Reply-To: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> References: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> Message-ID: <050.b01dbb84145a86e53f4e16ce7ac4badd@avcodec.org> #576: sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 ------------------------------------+----------------------------------- Reporter: rich99 | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by rich99): The bug still happens with gdb. Compilation command used was the following: gcc -g -ID:\devel\dependencies\ffmpeg_git\include sws_scale_test.cpp -o sws_d.exe -lavcodec -lavdevice -lavutil -lavformat -lswscale -LD:\devel\dependencies\ffmpeg_git\liblin The backtrace was included in the attachment ffdmjpeg_crash_swscale.txt. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 02:28:33 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 00:28:33 -0000 Subject: [FFmpeg-trac] #585(avcodec:closed): libx264 enc doesn't autoselect compatible pix fmt so returns error In-Reply-To: <034.d4d59a84c5fdbdc59ad8e53d8b5c7c12@avcodec.org> References: <034.d4d59a84c5fdbdc59ad8e53d8b5c7c12@avcodec.org> Message-ID: <049.f66f2fae0f98ae5a6d9bfaaaf7e7ebf5@avcodec.org> #585: libx264 enc doesn't autoselect compatible pix fmt so returns error ------------------------------------+----------------------------------- Reporter: MattE | Owner: michael Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by llogan): * status: new => closed * resolution: => invalid * component: FFmpeg => avcodec Comment: Remove ''-profile high'' or change it to ''-profile high444'' if you want bgr24, or add ''-pix_fmt yuv420'' if you want yuv420. This is the default behavior of x264 if you attempt to use 4:4:4 input with high profile: {{{ $ x264 --output-csp rgb --profile high -o output.mkv input.mkv x264 [error]: high profile doesn't support 4:4:4 }}} Please reopen this ticket if you believe the default behavior of FFmpeg should be changed. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 02:32:32 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 00:32:32 -0000 Subject: [FFmpeg-trac] #576(swscale:new): sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 In-Reply-To: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> References: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> Message-ID: <050.c4bfb0872eb2d9d8c657fafaeb2e0987@avcodec.org> #576: sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 ------------------------------------+----------------------------------- Reporter: rich99 | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by rich99): Compiled again with latest git version with following command and still crash. Files have been updated for git 10/24/2011 5:45:44PM. gcc sws_scale_test.cpp -o ffdmjpeg -ID:/devel/dependencies/ffmpeg/ -LD:/devel/dependencies/ffmpeg/liblin -lavcodec -lavdevice -lavutil -lavformat -lswscale -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 02:58:20 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 00:58:20 -0000 Subject: [FFmpeg-trac] #561(avcodec:reopened): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.9bf4d67194936e2f7bcb68d2098b8ede@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. ------------------------------------+------------------------------------ Reporter: wanderman | Owner: Type: defect | Status: reopened Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: H264 TS | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by wanderman): have uploaded to http://www.datafilehost.com/download-2871f2d9.html . -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 05:16:55 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 03:16:55 -0000 Subject: [FFmpeg-trac] #586(avcodec:new): av_resample takes (short) samples not bytes Message-ID: <036.9b0656ba9feab21dc1fee79c63da23cb@avcodec.org> #586: av_resample takes (short) samples not bytes ----------------------------------+-------------------------------------- Reporter: radford | Type: defect Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: resample | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- When audio_resample calls av_resample it passes the dst_size arg with a byte size (lenout) whereas it should pass (short) samples (lenout/2). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 05:40:46 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 03:40:46 -0000 Subject: [FFmpeg-trac] #587(avcodec:new): Avoid integer overflow in av_resample's rate calculation Message-ID: <036.41f07fe66a3fa359419ccdd2309d1c18@avcodec.org> #587: Avoid integer overflow in av_resample's rate calculation ----------------------------------+-------------------------------------- Reporter: radford | Type: defect Status: new | Priority: normal Component: avcodec | Version: git-master Keywords: resample | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- The attached patch tries to avoid an overflow in av_resample's rate calculation (when scaling by the phase) by reducing by the gcd if possible and failing if it's not possible (avoiding scribbling on memory). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 09:13:52 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 07:13:52 -0000 Subject: [FFmpeg-trac] #584(avformat:new): WTV MUX generates malformed files In-Reply-To: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> References: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> Message-ID: <050.b08da3e196b949e821cd0e48fc6b3578@avcodec.org> #584: WTV MUX generates malformed files ------------------------------------+------------------------------------ Reporter: ianken | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: wtv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by ianken): I ran all three conversions as directed. Each resulted in a file that would not render in MPC-HC, WMP, Media Center or Graphedt. If needed I can provide some sample content... -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 16:34:11 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 14:34:11 -0000 Subject: [FFmpeg-trac] #588(FFmpeg:new): FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine Message-ID: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> #588: FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine ---------------------------------------+--------------------------------- Reporter: eiljoe | Owner: michael Type: defect | Status: new Priority: critical | Component: FFmpeg Version: unspecified | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ---------------------------------------+--------------------------------- Any attemot to transcode the movie file ffmpeg-crash-around-frame-60.wmv, which was uploaded to http://upload.ffmpeg.org/upload/, causes ffmpeg to crash around frame 60. This happens on a 64bit windows7 machine running ffmpeg downloaded from http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg- git-d049257-win32-static.7z as well as earlier versions of ffmpeg (like ffmpeg version N-31932-g41bf67d, built on Aug 16 2011 18:54:12 with gcc 4.6.1). Any of the following commands replicates the crash: ffmpeg.exe -i ffmpeg-crash-around-frame-60.wmv -y video.wmv ffmpeg.exe -i ffmpeg-crash-around-frame-60.wmv -y video.mp4 ffmpeg.exe -i ffmpeg-crash-around-frame-60.wmv -vcodec libx264 -s 960x540 -r 25 -ar 22050 -b 1993846 -y video.flv You can also download the original, full sized, video (around 50MB) from our servers at: http://media.webcollage.net/rwvfp/wc/cp/3493374/module/instantupdatetest/_cp/products/1318977439061 /tab-da6bd996-030a-4d8d-b4a7-105c57117116/resource-3c1aaa56-90fd- 4fb5-9383-e0606761a4ca.wmv Note: ffplay does play the movie to its end. Running ffmpeg -v 9 -loglevel 99 -i on the movie produces the following output: ffmpeg version N-33818-gd049257, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 19 2011 22:57:39 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable- libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable- libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 22. 0 / 53. 22. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [asf @ 00378960] Format asf probed with size=2048 and score=100 [asf @ 00378960] gpos mismatch our pos=24, end=26 [asf @ 00378960] gpos mismatch our pos=24, end=3541 [asf @ 00378960] gpos mismatch our pos=24, end=38 [asf @ 00378960] Unsupported value type 1 in tag ASFLeakyBucketPairs. [asf @ 00378960] gpos mismatch our pos=24, end=246 [asf @ 00378960] gpos mismatch our pos=24, end=38 [wmav2 @ 00379580] Unsupported bit depth: 0 [wmv2 @ 0037F980] Unsupported bit depth: 0 [asf @ 00378960] parser not found for codec wmav2, packets or times may be invalid. [asf @ 00378960] All info found rfps: 0.083333 0.001480 Last message repeated 1 times rfps: 0.166667 0.005922 Last message repeated 1 times rfps: 0.250000 0.013324 rfps: 24.750000 0.013445 rfps: 24.833333 0.006008 Last message repeated 1 times rfps: 24.916667 0.001531 Last message repeated 1 times rfps: 25.000000 0.000015 rfps: 25.083333 0.001460 Last message repeated 1 times rfps: 25.166667 0.005866 Last message repeated 1 times rfps: 25.250000 0.013233 rfps: 49.750000 0.013597 rfps: 49.833333 0.006124 Last message repeated 1 times rfps: 49.916667 0.001612 Last message repeated 1 times rfps: 50.000000 0.000061 Last message repeated 1 times rfps: 50.083333 0.001471 Last message repeated 1 times rfps: 50.166667 0.005841 Last message repeated 1 times rfps: 50.250000 0.013173 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, asf, from 'ffmpeg-crash-around-frame-60.wmv': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 84640.0000 Buffer Average : 85140.0000 Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze Duration: 00:01:20.02, start: 0.000000, bitrate: 307 kb/s Stream #0:0, 9, 1/1000: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 channels, s16, 128 kb/s Stream #0:1, 41, 1/1000: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 1280x720, 1/1000, 18000 kb/s, 25 tbr, 1k tbn, 1k tbc At least one output file must be specified -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 17:09:47 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 15:09:47 -0000 Subject: [FFmpeg-trac] #589(FFmpeg:new): Segfault with libx264+aac+ffserver Message-ID: <034.daa57dc1865fdc6f068ac3f2044de9b7@avcodec.org> #589: Segfault with libx264+aac+ffserver --------------------------------------+--------------------------------- Reporter: burek | Owner: michael Type: defect | Status: new Priority: normal | Component: FFmpeg Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- Hi, I wanted to create a live stream of my webcam using ffmpeg+ffserver, using: {{{ ffmpeg -y\ -f video4linux2 -r 25 -s qvga -i /dev/video0\ -f alsa -ac 1 -i hw:0\ -f ffm\ http://localhost:8090/feed1.ffm }}} and with ffserver.conf file (attached). I've got segfault, which I then logged with gdb and placed the result into gdb.txt file. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 19:24:37 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 17:24:37 -0000 Subject: [FFmpeg-trac] #358(undetermined:new): MMS(MMSH) seeking/skipping freezes video In-Reply-To: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> References: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> Message-ID: <050.9ff0e6f70906b303b735ad256f6fcfd0@avcodec.org> #358: MMS(MMSH) seeking/skipping freezes video -------------------------------------+------------------------------------- Reporter: arnova | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: mms | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by michael): the quoted mmsh URL just gives me a Input/output error, so i dont know how to reproduce this -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 20:31:51 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 18:31:51 -0000 Subject: [FFmpeg-trac] #590(undetermined:new): commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc Message-ID: <036.21d64c4c38a9f8d35218beeb2fe03909@avcodec.org> #590: commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc -------------------------------------+------------------------------------- Reporter: ivanich | Type: defect Status: new | Priority: normal Component: | Version: git- undetermined | master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- commit 'commit 35075dc65041899eb6049dc80095b3f26847469e Author: Michael Niedermayer Date: Mon Oct 24 12:17:24 2011 +0200 h264: Calculate a tighter recovery_frame. Reduces delay with mplayers TS demuxer. Signed-off-by: Michael Niedermayer ' breaks h264 video playback in vlc(no error messages in vlc just empty video window, other video(avi, etc. works fine)) - reverting it helps. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 22:10:22 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 20:10:22 -0000 Subject: [FFmpeg-trac] #590(avcodec:new): commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc In-Reply-To: <036.21d64c4c38a9f8d35218beeb2fe03909@avcodec.org> References: <036.21d64c4c38a9f8d35218beeb2fe03909@avcodec.org> Message-ID: <051.5f86978f48d97a5f700e8b4ff33da49f@avcodec.org> #590: commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc ------------------------------------+----------------------------------- Reporter: ivanich | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * component: undetermined => avcodec Comment: Could you test current git head? This may have been fixed. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 22:16:27 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 20:16:27 -0000 Subject: [FFmpeg-trac] #590(avcodec:new): commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc In-Reply-To: <036.21d64c4c38a9f8d35218beeb2fe03909@avcodec.org> References: <036.21d64c4c38a9f8d35218beeb2fe03909@avcodec.org> Message-ID: <051.ba921d207798ea5cbe8565a870a1c1eb@avcodec.org> #590: commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc ------------------------------------+----------------------------------- Reporter: ivanich | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by ivanich): Thank you,now it's working. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 22:41:26 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 20:41:26 -0000 Subject: [FFmpeg-trac] #591(undetermined:new): svq1: ffmpeg crashes with enabled lowres Message-ID: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> #591: svq1: ffmpeg crashes with enabled lowres -------------------------------------+------------------------------------- Reporter: ami_stuff | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- seems to be related to: {{{ diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 95fb65a..0ac81ba 100644 (file) --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -601,10 +601,9 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD } if (avctx->codec->max_lowres < avctx->lowres || avctx->lowres < 0) { - av_log(avctx, AV_LOG_ERROR, "The maximum value for lowres supported by the decoder is %d\n", + av_log(avctx, AV_LOG_WARNING, "The maximum value for lowres supported by the decoder is %d\n", avctx->codec->max_lowres); - ret = AVERROR(EINVAL); - goto free_and_end; + avctx->lowres = avctx->codec->max_lowres; } if (avctx->codec->encode) { int i; }}} {{{ C:\>ffmpeg -lowres 1 -i C:\QT-Sorenson.mov -vcodec msmpeg4v2 out.avi ffmpeg version N-34031-ge403a97, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 25 2011 15:06:47 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [adpcm_ima_qt @ 020990C0] The maximum value for lowres supported by the decoder is 0 [svq1 @ 0209A0A0] The maximum value for lowres supported by the decoder is 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 02092320] max_analyze_duration 5000000 reached at 500 3900 Seems stream 1 codec frame rate differs from container frame rate: 1000000.00 (1 000000/1) -> 24.00 (1000000/41667) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\QT-Sorenson.mov': Metadata: creation_time : 2002-10-02 22:42:43 Duration: 00:00:05.95, start: 0.000000, bitrate: 785 kb/s Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 11025 Hz, 2 chann els, s16, 88 kb/s Metadata: creation_time : 2002-10-02 22:42:43 Stream #0:1(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 96x64, 688 kb/s, 24 fps, 24 tbr, 1000k tbn, 1000k tbc Metadata: creation_time : 2002-10-02 22:42:43 Incompatible pixel format 'yuv410p' for codec 'msmpeg4v2', auto-selecting format 'yuv420p' [buffer @ 020A8F20] w:96 h:64 pixfmt:yuv410p tb:1/1000000 sar:0/1 sws_param: [buffersink @ 020A9320] auto-inserting filter 'auto-inserted scale 0' between th e filter 'src' and the filter 'out' [scale @ 020A9720] w:96 h:64 fmt:yuv410p -> w:96 h:64 fmt:yuv420p flags:0x4 [adpcm_ima_qt @ 020990C0] The maximum value for lowres supported by the decoder is 0 [svq1 @ 0209A0A0] The maximum value for lowres supported by the decoder is 0 Output #0, avi, to 'out.avi': Metadata: creation_time : 2002-10-02 22:42:43 ISFT : Lavf53.17.0 Stream #0:0(eng): Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 96x64, q=2- 31, 200 kb/s, 24 tbn, 24 tbc Metadata: creation_time : 2002-10-02 22:42:43 Stream #0:1(eng): Audio: mp3 (U[0][0][0] / 0x0055), 11025 Hz, 2 channels, s1 6, 128 kb/s Metadata: creation_time : 2002-10-02 22:42:43 Stream mapping: Stream #0.1 -> #0.0 (svq1 -> msmpeg4v2) Stream #0.0 -> #0.1 (adpcm_ima_qt -> libmp3lame) Press [q] to stop, [?] for help C:\> }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 22:59:02 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 20:59:02 -0000 Subject: [FFmpeg-trac] #590(avcodec:closed): commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc In-Reply-To: <036.21d64c4c38a9f8d35218beeb2fe03909@avcodec.org> References: <036.21d64c4c38a9f8d35218beeb2fe03909@avcodec.org> Message-ID: <051.f0ed38e66a487cf46169af5f6b044caf@avcodec.org> #590: commit 35075dc65041899eb6049dc80095b3f26847469e breaks h264 video playback in vlc ------------------------------------+----------------------------------- Reporter: ivanich | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => fixed -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Tue Oct 25 23:38:51 2011 From: trac at avcodec.org (FFmpeg) Date: Tue, 25 Oct 2011 21:38:51 -0000 Subject: [FFmpeg-trac] #591(undetermined:open): svq1: ffmpeg crashes with enabled lowres In-Reply-To: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> References: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> Message-ID: <053.37f5ffe8ee1229d082b00087cd35a4bc@avcodec.org> #591: svq1: ffmpeg crashes with enabled lowres -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: Type: defect | Status: open Priority: normal | Component: Version: unspecified | undetermined Keywords: regression | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => regression * status: new => open * reproduced: 0 => 1 Comment: The crash with ffplay is a regression since 125ea3ee06c4d71082bee3fc03c65d7c8c10d68c. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 04:36:10 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 02:36:10 -0000 Subject: [FFmpeg-trac] #588(avcodec:open): FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine In-Reply-To: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> References: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> Message-ID: <050.9380a6fe6aa8522351bf925f61d8817f@avcodec.org> #588: FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine -------------------------------------+----------------------------------- Reporter: eiljoe | Owner: michael Type: defect | Status: open Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: win64 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * keywords: => win64 * priority: critical => important * status: new => open * component: FFmpeg => avcodec * reproduced: 0 => 1 Comment: {{{ (gdb) r -i ffmpeg-crash-around-frame-60.wmv -vn -f null - ffmpeg version N-34060-g51bfaa2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 04:00:05 with gcc 4.7.0 20110827 (experimental) configuration: libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 [wmav2 @ 00000000003AC980] Warning: not compiled with thread support, using thread emulation [wmv2 @ 0000000005E26260] Warning: not compiled with thread support, using thread emulation [asf @ 00000000003ABA90] parser not found for codec wmav2, packets or times may be invalid. Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, asf, from 'ffmpeg-crash-around-frame-60.wmv': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 8464 ???X??????????????????????? Buffer Average : 8514 ???X??????????????????????? Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze Duration: 00:01:20.02, start: 0.000000, bitrate: 153 kb/s Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 channels, s16, 128 kb/s Stream #0:1: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 1280x720, 18000 kb/s, 25 tbr, 1k tbn, 1k tbc [pcm_s16le @ 0000000005E275B0] Warning: not compiled with thread support, using thread emulation [wmav2 @ 00000000003AC980] Warning: not compiled with thread support, using thread emulation Output #0, null, to 'pipe:': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 8464 ???X??????????????????????? Buffer Average : 8514 ???X??????????????????????? Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze encoder : Lavf53.17.0 Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Stream mapping: Stream #0.0 -> #0.0 (wmav2 -> pcm_s16le) Press [q] to stop, [?] for help Program received signal SIGSEGV, Segmentation fault. 0x00000000009d5712 in ff_imdct_half_sse.pre () (gdb) bt #0 0x00000000009d5712 in ff_imdct_half_sse.pre () #1 0x0000000000000029 in ?? () #2 0x0000000000000000 in ?? () (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x9d56f2 to 0x9d5732: 0x00000000009d56f2 : pop %rcx 0x00000000009d56f3 : and %cl,0x61(%rbx,%rcx,4) 0x00000000009d56f7 : sub %cl,0x1(%rbp) 0x00000000009d56fa : lret 0x00000000009d56fb : add %r9,%r12 0x00000000009d56fe : shr %r9 0x00000000009d5701 : mov 0x8(%rcx),%r10 0x00000000009d5705 : add %r9,%r10 0x00000000009d5708 : sub $0x4,%r9 0x00000000009d570c : xor %rdi,%rdi 0x00000000009d570f : sub %r9,%rdi => 0x00000000009d5712 : movaps (%r8,%r9,4),%xmm0 0x00000000009d5717 : movaps -0x10(%r8,%rdi,4),%xmm1 0x00000000009d571d : movaps %xmm0,%xmm2 0x00000000009d5720 : shufps $0x88,%xmm1,%xmm0 0x00000000009d5724 : shufps $0x77,%xmm2,%xmm1 0x00000000009d5728 : movlps (%r11,%r9,2),%xmm4 0x00000000009d572d : movlps (%r12,%r9,2),%xmm5 End of assembler dump. (gdb) info all-registers rax 0x5ee42b0 99500720 rbx 0x5ee12ac 99488428 rcx 0x5ee42b0 99500720 rdx 0x5ee12ac 99488428 rsi 0x400 1024 rdi 0xfffffffffffffc04 -1020 rbp 0x5ee02ac 0x5ee02ac rsp 0x22dd30 0x22dd30 r8 0x5edd2ac 99472044 r9 0x3fc 1020 r10 0x5efd580 99603840 r11 0x5e5f540 98956608 r12 0x5e60540 98960704 r13 0x0 0 r14 0x29 41 r15 0x5ed3dd0 99433936 rip 0x9d5712 0x9d5712 eflags 0x10293 [ CF AF SF IF RF ] cs 0x33 51 ss 0x293002b 43188267 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x2b0000 2818048 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 9 (raw 0x40029000000000000000) st5 1 (raw 0x3fff8000000000000000) st6 1584.893192461114 (raw 0x4009c61c95085b309b42) st7 3.2000000000000002 (raw 0x4000ccccccccccccd000) fctrl 0x420037f 69206911 fstat 0x420 1056 ftag 0x5d80000 98041856 fiseg 0x33 51 fioff 0xa55c40 10837056 foseg 0x2b 43 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 13:22:25 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 11:22:25 -0000 Subject: [FFmpeg-trac] #592(FFplay:new): ffplay crashes when playing snow Message-ID: <036.39f20e86353c26650e8c1ec7facd8b03@avcodec.org> #592: ffplay crashes when playing snow -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: new Priority: normal | Component: FFplay Version: git- | Keywords: regression master | snow Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 -------------------------------------+------------------------------------- This is a regression since f6d71b3942ae994ed576de81c9ddba2a08cb6f90 {{{ $ make fate-vsynth1-snow ... (gdb) r tests/data/vsynth1/snow.avi Starting program: ffplay_g tests/data/vsynth1/snow.avi [Thread debugging using libthread_db enabled] ffplay version N-34060-g51bfaa2, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 26 2011 13:15:36 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 [New Thread 0x7ffff5299910 (LWP 18242)] [New Thread 0x7ffff48e0910 (LWP 18243)] [avi @ 0x13b00c0] parser not found for codec snow, packets or times may be invalid. Input #0, avi, from 'tests/data/vsynth1/snow.avi': Duration: 00:00:02.00, start: 0.000000, bitrate: 544 kb/s Stream #0:0: Video: snow (SNOW / 0x574F4E53), yuv420p, 128x64, 25 tbr, 25 tbn, 25 tbc [New Thread 0x7ffff40df910 (LWP 18244)] [New Thread 0x7ffff38de910 (LWP 18245)] 1319627935.86 A-V: 0.000 fd= 0 aq= 0KB vq= 14KB sq= 0B f=0/0 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff40df910 (LWP 18244)] 0x000000000041a9e0 in avfilter_default_get_video_buffer (link=0x13f7360, perms=7, w=128, h=64) at libavfilter/defaults.c:48 48 if (picref && picref->buf->format == link->format && picref->buf->w == w && picref->buf->h == h) { (gdb) bt #0 0x000000000041a9e0 in avfilter_default_get_video_buffer (link=0x13f7360, perms=7, w=128, h=64) at libavfilter/defaults.c:48 #1 0x0000000000417ef8 in avfilter_get_video_buffer (link=0x13f7360, perms=7, w=128, h=64) at libavfilter/avfilter.c:406 #2 0x00000000004063dd in input_get_buffer (codec=0x13edcc0, pic=0x1417a70) at ffplay.c:1565 #3 0x00000000007f55f4 in frame_start (s=0x1415f60) at libavcodec/snow.c:1707 #4 0x000000000080a5c8 in decode_frame (avctx=, data=0x13ef0c0, data_size=0x7ffff40deebc, avpkt=) at libavcodec/snow.c:1793 #5 0x0000000000832b47 in avcodec_decode_video2 (avctx=0x13edcc0, picture=0x13ef0c0, got_picture_ptr=0x7ffff40deebc, avpkt=0x7ffff40dee60) at libavcodec/utils.c:817 #6 0x0000000000409649 in get_video_frame (pkt=0x7ffff40dee60, pts=, frame=0x13ef0c0, is=0x7ffff48e1040) at ffplay.c:1482 #7 input_request_frame (pkt=0x7ffff40dee60, pts=, frame=0x13ef0c0, is=0x7ffff48e1040) at ffplay.c:1655 #8 0x00000000004183d0 in avfilter_request_frame (link=) at libavfilter/avfilter.c:520 #9 0x000000000041ca94 in av_buffersink_get_buffer_ref (ctx=, bufref=0x7ffff40df080, flags=0) at libavfilter/sink_buffer.c:128 #10 0x0000000000408ff3 in video_thread (arg=0x7ffff48e1040) at ffplay.c:1821 #11 0x00007ffff743f3b5 in ?? () from /usr/lib64/libSDL-1.2.so.0 #12 0x00007ffff7482539 in ?? () from /usr/lib64/libSDL-1.2.so.0 #13 0x00007ffff721565d in start_thread () from /lib64/libpthread.so.0 #14 0x00007ffff690aecd in clone () from /lib64/libc.so.6 #15 0x0000000000000000 in ?? () (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x41a9c0 to 0x41aa00: 0x000000000041a9c0 : xor %edx,%edx 0x000000000041a9c2 : jmp 0x41a9d8 0x000000000041a9c4 : nopl 0x0(%rax) 0x000000000041a9c8 : add $0x1,%edx 0x000000000041a9cb : add $0x8,%rax 0x000000000041a9cf : cmp $0x20,%edx 0x000000000041a9d2 : je 0x41aac0 0x000000000041a9d8 : mov (%rax),%rcx 0x000000000041a9db : test %rcx,%rcx 0x000000000041a9de : je 0x41a9c8 0x000000000041a9e0 : mov (%rcx),%rsi 0x000000000041a9e3 : cmp %r8d,0x78(%rsi) 0x000000000041a9e7 : jne 0x41a9c8 0x000000000041a9e9 : cmp %ebx,0x7c(%rsi) 0x000000000041a9ec : jne 0x41a9c8 0x000000000041a9ee : cmp %ebp,0x80(%rsi) 0x000000000041a9f4 : jne 0x41a9c8 0x000000000041a9f6 : mov 0x88(%rcx),%rax 0x000000000041a9fd : movslq %edx,%rdx End of assembler dump. (gdb) info register rax 0x1630900 23267584 rbx 0x80 128 rcx 0xacd9c9b49f928676 -5991536051631257994 rdx 0x0 0 rsi 0x7 7 rdi 0x13f7360 20935520 rbp 0x40 0x40 rsp 0x7ffff40de630 0x7ffff40de630 r8 0x0 0 r9 0xfffffff0 4294967280 r10 0x0 0 r11 0x10 16 r12 0x13f7360 20935520 r13 0x1630900 23267584 r14 0xffffffff 4294967295 r15 0x7ffff40deebc 140737287941820 rip 0x41a9e0 0x41a9e0 eflags 0x10282 [ SF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 fctrl 0x37f 895 fstat 0x0 0 ftag 0xaaaa 43690 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 13:30:46 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 11:30:46 -0000 Subject: [FFmpeg-trac] #591(undetermined:open): svq1: ffmpeg crashes with enabled lowres In-Reply-To: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> References: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> Message-ID: <053.c42590a1376853159e25986b872a77b9@avcodec.org> #591: svq1: ffmpeg crashes with enabled lowres -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: Type: defect | Status: open Priority: normal | Component: Version: unspecified | undetermined Keywords: regression | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by cehoyos): Since I cannot reproduce a crash with ffmpeg, please provide backtrace etc. as explained on http://ffmpeg.org/bugreports.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 14:05:43 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 12:05:43 -0000 Subject: [FFmpeg-trac] #593(undetermined:new): ffmpeg + libx264: Input picture width is greater than stride Message-ID: <039.889b32716ea7791cb7a048eed60e59db@avcodec.org> #593: ffmpeg + libx264: Input picture width is greater than stride -------------------------------------+------------------------------------- Reporter: whitemagic | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: libx264 | Blocked By: multiple output resolution stride | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- I receive raw video from a Blackmagic Decklink card through a pipe and would like to encode it to two or more different resolution/quality H.264 streams with AAC audio (e.g. encode a full HD and a 640x360 version) using a single command line. Everything fine if only a single output 1920x1080 stream is defined. If I add an other one (say 640x360), then I get this error from libx264: [libx264 @ 0x146ff80] Input picture width (1920) is greater than stride (640) Although, if the second stream has the same resolution (ie. 1920x1080) then it is ok. But this is not my intention to encode two of the same quality. I cannot find anything useful on this problem. I am using this version of ffmpeg: FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 20 2011 17:00:01 with gcc 4.4.5 Video encoding failed My command line is: ffmpeg -v 9 -loglevel 99 -pix_fmt yuv422p -s ${video_res} -r ${video_fps} -i - \ -ar 48000 -f s16le -ac 2 -i - -vol 2048 -acodec libfaac -ac 2 -ab 128k -ar 48000 -async 1 \ -vcodec libx264 -vpre fast -vpre baseline -threads 0 -s ${video_res} -b 2000k -bt 100k -y -f mp4 test.mp4 \ -ar 48000 -f s16le -ac 2 -i - -vol 2048 -acodec libfaac -ac 2 -ab 128k -ar 48000 -async 1 \ -vcodec libx264 -vpre fast -vpre baseline -threads 0 -s 640x360 -b 500k -bt 50k -f mp4 test_lq.mp4 (input is a pipe, so cannot provide the input itself) I am attaching the full output of my ffmpeg. Please help me to localize the problem whether ffmpeg or libx264 is causing it. Thanks. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 14:41:30 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 12:41:30 -0000 Subject: [FFmpeg-trac] #561(avcodec:closed): can not play my H264-TS 1080P file, audio is OK, but video is not OK. In-Reply-To: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> References: <038.c64dd559b76c54bc0dd3c0022e1e8c50@avcodec.org> Message-ID: <053.ab8950a52922e8316767bb8100f18254@avcodec.org> #561: can not play my H264-TS 1080P file, audio is OK,but video is not OK. ------------------------------------+----------------------------------- Reporter: wanderman | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: H264 TS | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by michael): * status: reopened => closed * resolution: => fixed * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 14:51:19 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 12:51:19 -0000 Subject: [FFmpeg-trac] #593(undetermined:new): ffmpeg + libx264: Input picture width is greater than stride In-Reply-To: <039.889b32716ea7791cb7a048eed60e59db@avcodec.org> References: <039.889b32716ea7791cb7a048eed60e59db@avcodec.org> Message-ID: <054.925bf129fb67198f591090f75bed6948@avcodec.org> #593: ffmpeg + libx264: Input picture width is greater than stride -------------------------------------+------------------------------------- Reporter: whitemagic | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: libx264 | Resolution: multiple output resolution stride | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Please test current git head and please provide complete, uncut output of your failing command line (including the command line). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 14:57:55 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 12:57:55 -0000 Subject: [FFmpeg-trac] #358(undetermined:new): MMS(MMSH) seeking/skipping freezes video In-Reply-To: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> References: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> Message-ID: <050.a7b5f62a363f634f5fa1d52c6ae806a7@avcodec.org> #358: MMS(MMSH) seeking/skipping freezes video -------------------------------------+------------------------------------- Reporter: arnova | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: mms | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by spiff): you can use e.g. mmsh://straumod.nrk.no/disk11/Supermorgen/2011-03-11 /MSUS54000411AA-1Mbit.wmv?UseSilverlight=1 in fact any mmsh url will exhibit it. this one should not be volatile -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 15:41:12 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 13:41:12 -0000 Subject: [FFmpeg-trac] #358(undetermined:new): MMS(MMSH) seeking/skipping freezes video In-Reply-To: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> References: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> Message-ID: <050.d152a6d5b26b4c386bd6372649498237@avcodec.org> #358: MMS(MMSH) seeking/skipping freezes video -------------------------------------+------------------------------------- Reporter: arnova | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: mms | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by spiff): if you need it for reference or the likes; see l848+ at http://libmms.git.sourceforge.net/git/gitweb.cgi?p=libmms/libmms;a=blob;f=src/mmsh.c;h=f7cee4a7deb4a6a168992426a1bd8fbd11a0b7cb;hb=HEAD -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 15:50:05 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 13:50:05 -0000 Subject: [FFmpeg-trac] #592(FFplay:closed): ffplay crashes when playing snow In-Reply-To: <036.39f20e86353c26650e8c1ec7facd8b03@avcodec.org> References: <036.39f20e86353c26650e8c1ec7facd8b03@avcodec.org> Message-ID: <051.23476f0751ac32f99557e77b891781e2@avcodec.org> #592: ffplay crashes when playing snow -------------------------------------+------------------------------------- Reporter: cehoyos | Owner: Type: defect | Status: closed Priority: normal | Component: FFplay Version: git-master | Resolution: fixed Keywords: regression | Blocked By: snow | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by michael): * status: new => closed * resolution: => fixed * reproduced: 0 => 1 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 17:03:17 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 15:03:17 -0000 Subject: [FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault Message-ID: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault --------------------------------------+---------------------------------- Reporter: ignat | Type: defect Status: new | Priority: normal Component: undetermined | Version: 0.8.5 Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------------+---------------------------------- Hi, when I am trying to execute following transcode I receive segmentation fault. ( I am trying to rotate initial video and then scale it down, adding two equal vertical black stripes on the left and right). What is most peculiar is that if I change pad to pad=152,270,0,0 this segfault does not happen. Please find ffmpeg output below: ffmpeg -v 9 -loglevel 99 -i rotation_-90.MOV -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 15:23:13 with gcc 4.1.2 20071124 (Red Hat 4.1.2-42) configuration: --prefix=/usr/local/media-utils --enable-libx264 --enable-libmp3lame --enable-shared --enable-libfaac --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-small --disable-ffserver --disable-ffplay --enable-memalign-hack --enable-gpl --enable-pthreads --extra-cflags=-I/usr/local/media-utils/include --extra- ldflags=-L/usr/local/media-utils/lib --enable-nonfree --enable-version3 --disable-decoder=amrnb libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] ISO: File Type Major Brand: qt [h264 @ 0x92baa60] Unsupported bit depth: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] All info found Seems stream 0 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotation_-90.MOV': Metadata: major_brand : qt minor_version : 0 compatible_brands: qt creation_time : 2011-10-25 10:56:51 encoder : 5.0 encoder-eng : 5.0 date : 2011-10-25T11:56:51+0100 date-eng : 2011-10-25T11:56:51+0100 Duration: 00:00:06.84, start: 0.000023, bitrate: 10871 kb/s Stream #0.0(und), 41, 1/600: Video: h264, yuv420p, 1280x720, 1/1200, 10815 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc Metadata: creation_time : 2011-10-25 10:56:51 Stream #0.1(und), 101, 1/44100: Audio: aac, 44100 Hz, mono, s16, 63 kb/s Metadata: creation_time : 2011-10-25 10:56:51 [buffer @ 0x92c05e0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x92bd620] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4 [transpose @ 0x92b75c0] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1 [scale @ 0x92b7540] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4 [pad @ 0x92b7cc0] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva] [libx264 @ 0x92bdda0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x92bdda0] profile Constrained Baseline, level 2.1 Output #0, rawvideo, to '/dev/null': Metadata: major_brand : qt minor_version : 0 compatible_brands: qt creation_time : 2011-10-25 10:56:51 date-eng : 2011-10-25T11:56:51+0100 encoder-eng : 5.0 date : 2011-10-25T11:56:51+0100 encoder : Lavf53.4.0 Stream #0.0(und), 0, 1/90000: Video: libx264, yuv420p, 480x270, 1/20, q=2-31, pass 1, 768 kb/s, 90k tbn, 20 tbc Metadata: creation_time : 2011-10-25 10:56:51 Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help Segmentation fault -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 17:14:39 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 15:14:39 -0000 Subject: [FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.1de21f4b0a364116838df6da5d3dd2a1@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault --------------------------------+---------------------------------------- Reporter: ignat | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by ignat): Ffmpeg output with attached file: ffmpeg -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 17 2011 15:23:13 with gcc 4.1.2 20071124 (Red Hat 4.1.2-42) configuration: --prefix=/usr/local/media-utils --enable-libx264 --enable-libmp3lame --enable-shared --enable-libfaac --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-small --disable-ffserver --disable-ffplay --enable-memalign-hack --enable-gpl --enable-pthreads --extra-cflags=-I/usr/local/media-utils/include --extra- ldflags=-L/usr/local/media-utils/lib --enable-nonfree --enable-version3 --disable-decoder=amrnb libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] ISO: File Type Major Brand: 3gp4 [h264 @ 0x89d4a00] Unsupported bit depth: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] All info found Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 30000.00 (60000/2) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s Stream #0.0(eng), 1, 1/16000: Audio: aac, 16000 Hz, mono, s16, 27 kb/s Stream #0.1(eng), 27, 1/30000: Video: h264, yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 30k tbr, 30k tbn, 60k tbc [buffer @ 0x89d0d40] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x89e5cc0] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4 [transpose @ 0x89d7160] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1 [scale @ 0x89d70c0] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4 [pad @ 0x89d7820] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva] [libx264 @ 0x89d14a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x89d14a0] profile Constrained Baseline, level 2.1 Output #0, rawvideo, to '/dev/null': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 encoder : Lavf53.4.0 Stream #0.0(eng), 0, 1/90000: Video: libx264, yuv420p, 480x270, 1/20, q=2-31, pass 1, 768 kb/s, 90k tbn, 20 tbc Stream mapping: Stream #0.1 -> #0.0 Press [q] to stop, [?] for help Segmentation fault -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 18:13:06 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 16:13:06 -0000 Subject: [FFmpeg-trac] #591(undetermined:open): svq1: ffmpeg crashes with enabled lowres In-Reply-To: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> References: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> Message-ID: <053.8aafe65399671823028b90e0ba115407@avcodec.org> #591: svq1: ffmpeg crashes with enabled lowres -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: Type: defect | Status: open Priority: normal | Component: Version: unspecified | undetermined Keywords: regression | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by ami_stuff): {{{ $ gdb ffmpeg_g.exe GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: ... Reading symbols from f:\MinGW\bin/ffmpeg_g.exe...done. (gdb) r -lowres 1 -i QT-Sorenson.mov -vcodec msmpeg4v2 out.avi Starting program: f:\MinGW\bin/ffmpeg_g.exe -lowres 1 -i QT-Sorenson.mov -vcodec msmpeg4v2 out.avi [New Thread 5836.0x12bc] ffmpeg version 0.8.5.git-4416931, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 18:05:33 with gcc 4.5.2 configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs erver --disable-yasm libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 [adpcm_ima_qt @ 03ca9020] The maximum value for lowres supported by the decoder is 0 [svq1 @ 03caf440] The maximum value for lowres supported by the decoder is 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 03ca8b20] max_analyze_duration 5000000 reached at 500 3900 Seems stream 1 codec frame rate differs from container frame rate: 1000000.00 (1 000000/1) -> 24.00 (1000000/41667) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'QT-Sorenson.mov': Metadata: creation_time : 2002-10-02 22:42:43 Duration: 00:00:05.95, start: 0.000000, bitrate: 785 kb/s Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 11025 Hz, 2 chann els, s16, 88 kb/s Metadata: creation_time : 2002-10-02 22:42:43 Stream #0:1(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 96x64, 688 kb/s, 24 fps, 24 tbr, 1000k tbn, 1000k tbc Metadata: creation_time : 2002-10-02 22:42:43 Incompatible pixel format 'yuv410p' for codec 'msmpeg4v2', auto-selecting format 'yuv420p' [buffer @ 03cb8f20] w:96 h:64 pixfmt:yuv410p tb:1/1000000 sar:0/1 sws_param: [buffersink @ 03cb9320] auto-inserting filter 'auto-inserted scale 0' between th e filter 'src' and the filter 'out' [scale @ 03cb9720] w:96 h:64 fmt:yuv410p -> w:96 h:64 fmt:yuv420p flags:0x4 Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [ac3 @ 03ca7460] channel_layout not specified [ac3 @ 03ca7460] No channel layout specified. The encoder will guess the layout, but it might be incorrect. [adpcm_ima_qt @ 03ca9020] The maximum value for lowres supported by the decoder is 0 [svq1 @ 03caf440] The maximum value for lowres supported by the decoder is 0 Output #0, avi, to 'out.avi': Metadata: creation_time : 2002-10-02 22:42:43 ISFT : Lavf53.17.0 Stream #0:0(eng): Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 96x64, q=2- 31, 200 kb/s, 24 tbn, 24 tbc Metadata: creation_time : 2002-10-02 22:42:43 Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 11025 Hz, stereo, flt, 1 28 kb/s Metadata: creation_time : 2002-10-02 22:42:43 Stream mapping: Stream #0.1 -> #0.0 (svq1 -> msmpeg4v2) Stream #0.0 -> #0.1 (adpcm_ima_qt -> ac3) Press [q] to stop, [?] for help Program received signal SIGSEGV, Segmentation fault. 0x00756c16 in svq1_decode_block_intra (pixels=0x439cdf0 "", pitch=192, bitbuf=) at libavcodec/svq1dec.c:234 234 memset (&dst[y*(pitch / 4)], 0, width); (gdb) bt #0 0x00756c16 in svq1_decode_block_intra (pixels=0x439cdf0 "", pitch=192, bitbuf=) at libavcodec/svq1dec.c:234 #1 0x00757019 in svq1_decode_frame (avctx=0x3caf440, data=0x3cbc2e0, data_size=0x22dedc, avpkt=0x22de38) at libavcodec/svq1dec.c:704 #2 0x004f6741 in avcodec_decode_video2 (avctx=0x3caf440, picture=0x3cbc2e0, got_picture_ptr=0x22dedc, avpkt=0x22de38) at libavcodec/utils.c:817 #3 0x0040743e in output_packet (ist=0x3cb82f8, ist_index=1, ost_table=0x4218508, nb_ostreams=2, pkt=0x22fbe8) at ffmpeg.c:1691 #4 0x0040a61a in transcode (output_files=, nb_output_files=0, input_files=0x0, nb_input_files=4255059) at ffmpeg.c:2635 #5 0x0022ff48 in ?? () #6 0x00000000 in ?? () (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x756bf6 to 0x756c36: 0x00756bf6 : decl -0x7adbdbbc(%ebx) 0x00756bfc : rorb $0x84,(%edi) 0x00756bff : jo 0x756bfe 0x00756c01 : (bad) 0x00756c02 : decl 0x31042454(%ebx) 0x00756c08 : fisttpl -0x72cbdb94(%ebx) 0x00756c0e : jbe 0x756c10 0x00756c10 : mov %edx,%edi 0x00756c12 : mov %esi,%ecx 0x00756c14 : xor %eax,%eax => 0x00756c16 : rep stos %al,%es:(%edi) 0x00756c18 : inc %ebx 0x00756c19 : add %ebp,%edx 0x00756c1b : cmp 0x24(%esp),%ebx 0x00756c1f : jb 0x756c10 0x00756c21 : incl 0x30(%esp) 0x00756c25 : mov 0x30(%esp),%eax 0x00756c29 : cmp %eax,0x3c(%esp) 0x00756c2d : jg 0x756808 0x00756c33 : jmp 0x756985 End of assembler dump. (gdb) info all-registers eax 0x0 0 ecx 0x8 8 edx 0x439d030 70897712 ebx 0x3 3 esp 0x22d818 0x22d818 ebp 0xc0 0xc0 esi 0x8 8 edi 0x439d030 70897712 eip 0x756c16 0x756c16 eflags 0x210246 [ PF ZF IF RF ID ] cs 0x1b 27 ss 0x23 35 ds 0x23 35 es 0x23 35 fs 0x3b 59 gs 0x0 0 st0 -inf (raw 0xffff0000000000000000) st1 -nan(0x000000010) (raw 0xffff0000000000000010) st2 -0.012505903840065002 (raw 0xbff8cce5900000000000) st3 -8.3927585027721713e-006 (raw 0xbfee8cce9f901b200000) st4 4.928071761160962e-011 (raw 0x3fdcd8bd27c633510000) st5 -0.041961669921875 (raw 0xbffaabe0000000000000) st6 0 (raw 0x00000000000000000000) st7 0 (raw 0x00000000000000000000) fctrl 0xffff037f -64641 fstat 0xffff0120 -65248 ftag 0xffffffff -1 fiseg 0x0 0 fioff 0x0 0 foseg 0xffff0000 -65536 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xd5, 0xb8, 0x9d, 0xb8, 0x8b, 0x9b, 0x47, 0xba, 0xf4, 0xec, 0x24, 0x3a, 0xd8, 0xfe, 0xe4, 0x3a}, v8_int16 = {0xb8d5, 0xb89d, 0x9b8b, 0xba47, 0xecf4, 0x3a24, 0xfed8, 0x3ae4}, v4_int32 = {0xb89db8d5, 0xba479b8b, 0x3a24ecf4, 0x3ae4fed8}, v2_int64 = {0xba479b8bb89db8d5, 0x3ae4fed83a24ecf4}, uint128 = 0x3ae4fed83a24ecf4ba479b8bb89db8d5} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x66, 0x4b, 0x38, 0xba, 0xea, 0x44, 0xed, 0x3b, 0xff, 0x74, 0x57, 0xbb, 0xc4, 0x94, 0x9e, 0xba}, v8_int16 = {0x4b66, 0xba38, 0x44ea, 0x3bed, 0x74ff, 0xbb57, 0x94c4, 0xba9e}, v4_int32 = {0xba384b66, 0x3bed44ea, 0xbb5774ff, 0xba9e94c4}, v2_int64 = {0x3bed44eaba384b66, 0xba9e94c4bb5774ff}, uint128 = 0xba9e94c4bb5774ff3bed44eaba384b66} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xdf, 0x49, 0x99, 0x3b, 0x1e, 0xa, 0xc6, 0x3a, 0x21, 0xa8, 0xb2, 0xba, 0x36, 0x43, 0xcb, 0x38}, v8_int16 = {0x49df, 0x3b99, 0xa1e, 0x3ac6, 0xa821, 0xbab2, 0x4336, 0x38cb}, v4_int32 = {0x3b9949df, 0x3ac60a1e, 0xbab2a821, 0x38cb4336}, v2_int64 = {0x3ac60a1e3b9949df, 0x38cb4336bab2a821}, uint128 = 0x38cb4336bab2a8213ac60a1e3b9949df} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xd4, 0x8b, 0x3a, 0xbb, 0x33, 0x87, 0x90, 0x3a, 0x20, 0xe6, 0xd, 0xbb, 0x80, 0xa0, 0xd6, 0x3b}, v8_int16 = {0x8bd4, 0xbb3a, 0x8733, 0x3a90, 0xe620, 0xbb0d, 0xa080, 0x3bd6}, v4_int32 = {0xbb3a8bd4, 0x3a908733, 0xbb0de620, 0x3bd6a080}, v2_int64 = {0x3a908733bb3a8bd4, 0x3bd6a080bb0de620}, uint128 = 0x3bd6a080bb0de6203a908733bb3a8bd4} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xff, 0xff, 0x7f, 0xbf, 0xff, 0xff, 0x7f, 0xbf, 0xff, 0xff, 0x7f, 0xbf, 0xff, 0xff, 0x7f, 0xbf}, v8_int16 = {0xffff, 0xbf7f, 0xffff, 0xbf7f, 0xffff, 0xbf7f, 0xffff, 0xbf7f}, v4_int32 = {0xbf7fffff, 0xbf7fffff, 0xbf7fffff, 0xbf7fffff}, v2_int64 = {0xbf7fffffbf7fffff, 0xbf7fffffbf7fffff}, uint128 = 0xbf7fffffbf7fffffbf7fffffbf7fffff} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xff, 0xff, 0x7f, 0x3f, 0xff, 0xff, 0x7f, 0x3f, 0xff, 0xff, 0x7f, 0x3f, 0xff, 0xff, 0x7f, 0x3f}, v8_int16 = {0xffff, 0x3f7f, 0xffff, 0x3f7f, 0xffff, 0x3f7f, 0xffff, 0x3f7f}, v4_int32 = {0x3f7fffff, 0x3f7fffff, 0x3f7fffff, 0x3f7fffff}, v2_int64 = {0x3f7fffff3f7fffff, 0x3f7fffff3f7fffff}, uint128 = 0x3f7fffff3f7fffff3f7fffff3f7fffff} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm1 {uint64 = 0x10, v2_int32 = {0x10, 0x0}, v4_int16 = {0x10, 0x0, 0x0, 0x0}, v8_int8 = {0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm2 {uint64 = 0xcce5900000000000, v2_int32 = {0x0, 0xcce59000}, v4_int16 = {0x0, 0x0, 0x9000, 0xcce5}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x90, 0xe5, 0xcc}} mm3 {uint64 = 0x8cce9f901b200000, v2_int32 = {0x1b200000, 0x8cce9f90}, v4_int16 = {0x0, 0x1b20, 0x9f90, 0x8cce}, v8_int8 = {0x0, 0x0, 0x20, 0x1b, 0x90, 0x9f, 0xce, 0x8c}} mm4 {uint64 = 0xd8bd27c633510000, v2_int32 = {0x33510000, 0xd8bd27c6}, v4_int16 = {0x0, 0x3351, 0x27c6, 0xd8bd}, v8_int8 = {0x0, 0x0, 0x51, 0x33, 0xc6, 0x27, 0xbd, 0xd8}} mm5 {uint64 = 0xabe0000000000000, v2_int32 = {0x0, 0xabe00000}, v4_int16 = {0x0, 0x0, 0x0, 0xabe0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe0, 0xab}} mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} (gdb) }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 18:25:09 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 16:25:09 -0000 Subject: [FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.4e838dfd65ba02a6fc624b71a08e80b3@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault --------------------------------+---------------------------------------- Reporter: ignat | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by cehoyos): Is an external library (libx264) necessary to reproduce the crash? Does the crash also happen with current git master? Please provide backtrace etc. as explained on http://ffmpeg.org/bugreports.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 18:29:27 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 16:29:27 -0000 Subject: [FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.374bc19f494e446c52883287e788af61@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault --------------------------------+---------------------------------------- Reporter: ignat | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by ignat): Hi, Thanks for the quick response. I was able to get the crash with latest versions (of x264 and ffmpeg) with following results (below). I will try to reduce command line to see if removing codec changes things. (And since it is my local box now I will provide debug info for latest version, in some time) ignat at optiplex-755:~/Videos/rotation$ /usr/local/bin/ffmpeg -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null ffmpeg version N-34062-g4416931, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 17:18:28 with gcc 4.5.2 configuration: --prefix=/usr/local --enable-shared --enable-libx264 --enable-libfaac --enable-gpl --enable-libmp3lame --enable-pthreads --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-ffserver --disable-ffplay --enable-memalign-hack --disable- decoder=amrnb --enable-nonfree --enable-version3 libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] ISO: File Type Major Brand: 3gp4 [aac @ 0x95f7f00] err{or,}_recognition separate: 1; 1 [aac @ 0x95f7f00] err{or,}_recognition combined: 1; 1 [aac @ 0x95f7f00] Unsupported bit depth: 0 [h264 @ 0x95f8e40] err{or,}_recognition separate: 1; 1 [h264 @ 0x95f8e40] err{or,}_recognition combined: 1; 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] All info found rfps: 29.333333 0.017250 Last message repeated 1 times rfps: 29.416667 0.011961 rfps: 29.500000 0.007650 rfps: 29.583333 0.004317 rfps: 29.666667 0.001963 rfps: 29.750000 0.000586 rfps: 29.833333 0.000187 rfps: 29.916667 0.000766 rfps: 30.000000 0.002323 Last message repeated 1 times rfps: 30.083333 0.004858 Last message repeated 1 times rfps: 30.166667 0.008372 Last message repeated 1 times rfps: 30.250000 0.012863 Last message repeated 1 times rfps: 30.333333 0.018332 Last message repeated 1 times rfps: 59.166667 0.017269 rfps: 59.250000 0.012071 rfps: 59.333333 0.007850 rfps: 59.416667 0.004607 rfps: 59.500000 0.002343 rfps: 59.583333 0.001056 rfps: 59.666667 0.000747 rfps: 59.750000 0.001417 rfps: 59.833333 0.003064 rfps: 59.916667 0.005690 Last message repeated 1 times rfps: 29.970030 0.001651 Last message repeated 1 times rfps: 59.940060 0.006602 Last message repeated 1 times Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.83 (179/6) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s Stream #0:0(eng), 1, 1/16000: Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, s16, 27 kb/s Stream #0:1(eng), 27, 1/30000: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 29.83 tbr, 30k tbn, 60k tbc Please use -b:a or -b:v, -b is ambiguous [buffer @ 0x95f9da0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x95f9f80] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4 [transpose @ 0x95f3d00] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1 [scale @ 0x95f3fa0] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4 [pad @ 0x95f4400] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva] [libx264 @ 0x95f2600] err{or,}_recognition separate: 1; 1 [libx264 @ 0x95f2600] err{or,}_recognition combined: 1; 1 [libx264 @ 0x95f2600] using mv_range_thread = 40 [libx264 @ 0x95f2600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x95f2600] profile Constrained Baseline, level 2.1 [h264 @ 0x95f8e40] err{or,}_recognition separate: 1; 1 [h264 @ 0x95f8e40] err{or,}_recognition combined: 1; 1 Output #0, rawvideo, to '/dev/null': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 encoder : Lavf53.17.0 Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 480x270, 1/20, q=-1--1, pass 1, 768 kb/s, 90k tbn, 20 tbc Stream mapping: Stream #0.1 -> #0.0 (h264 -> libx264) Press [q] to stop, [?] for help Segmentation fault -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 18:33:19 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 16:33:19 -0000 Subject: [FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.8f41d923120f9daedb7e416deb0cb12e@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault --------------------------------+---------------------------------------- Reporter: ignat | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by ignat): Please find gdb output below: ignat at optiplex-755:~/Videos/rotation$ gdb ~/external_src/ffmpeg/ffmpeg_g GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/ignat/external_src/ffmpeg/ffmpeg_g...done. (gdb) r -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null Starting program: /home/ignat/external_src/ffmpeg/ffmpeg_g -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null [Thread debugging using libthread_db enabled] ffmpeg version N-34062-g4416931, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 17:18:28 with gcc 4.5.2 configuration: --prefix=/usr/local --enable-shared --enable-libx264 --enable-libfaac --enable-gpl --enable-libmp3lame --enable-pthreads --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-ffserver --disable-ffplay --enable-memalign-hack --disable- decoder=amrnb --enable-nonfree --enable-version3 libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8068aa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8068aa0] ISO: File Type Major Brand: 3gp4 [aac @ 0x806ef00] err{or,}_recognition separate: 1; 1 [aac @ 0x806ef00] err{or,}_recognition combined: 1; 1 [aac @ 0x806ef00] Unsupported bit depth: 0 [h264 @ 0x806fe40] err{or,}_recognition separate: 1; 1 [h264 @ 0x806fe40] err{or,}_recognition combined: 1; 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8068aa0] All info found rfps: 29.333333 0.017250 Last message repeated 1 times rfps: 29.416667 0.011961 rfps: 29.500000 0.007650 rfps: 29.583333 0.004317 rfps: 29.666667 0.001963 rfps: 29.750000 0.000586 rfps: 29.833333 0.000187 rfps: 29.916667 0.000766 rfps: 30.000000 0.002323 Last message repeated 1 times rfps: 30.083333 0.004858 Last message repeated 1 times rfps: 30.166667 0.008372 Last message repeated 1 times rfps: 30.250000 0.012863 Last message repeated 1 times rfps: 30.333333 0.018332 Last message repeated 1 times rfps: 59.166667 0.017269 rfps: 59.250000 0.012071 rfps: 59.333333 0.007850 rfps: 59.416667 0.004607 rfps: 59.500000 0.002343 rfps: 59.583333 0.001056 rfps: 59.666667 0.000747 rfps: 59.750000 0.001417 rfps: 59.833333 0.003064 rfps: 59.916667 0.005690 Last message repeated 1 times rfps: 29.970030 0.001651 Last message repeated 1 times rfps: 59.940060 0.006602 Last message repeated 1 times Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.83 (179/6) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s Stream #0:0(eng), 1, 1/16000: Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, s16, 27 kb/s Stream #0:1(eng), 27, 1/30000: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 29.83 tbr, 30k tbn, 60k tbc Please use -b:a or -b:v, -b is ambiguous [buffer @ 0x8070da0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x8070f80] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4 [transpose @ 0x806ad00] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1 [scale @ 0x806afa0] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4 [pad @ 0x806b400] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva] [libx264 @ 0x8069600] err{or,}_recognition separate: 1; 1 [libx264 @ 0x8069600] err{or,}_recognition combined: 1; 1 [libx264 @ 0x8069600] using mv_range_thread = 40 [libx264 @ 0x8069600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [New Thread 0xb69dab70 (LWP 7504)] [New Thread 0xb61d9b70 (LWP 7505)] [New Thread 0xb59d8b70 (LWP 7506)] [New Thread 0xb4cbeb70 (LWP 7507)] [libx264 @ 0x8069600] profile Constrained Baseline, level 2.1 [h264 @ 0x806fe40] err{or,}_recognition separate: 1; 1 [h264 @ 0x806fe40] err{or,}_recognition combined: 1; 1 Output #0, rawvideo, to '/dev/null': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 encoder : Lavf53.17.0 Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 480x270, 1/20, q=-1--1, pass 1, 768 kb/s, 90k tbn, 20 tbc Stream mapping: Stream #0.1 -> #0.0 (h264 -> libx264) Press [q] to stop, [?] for help Program received signal SIGSEGV, Segmentation fault. 0xb7222217 in ?? () from /usr/local/lib/libswscale.so.2 (gdb) bt #0 0xb7222217 in ?? () from /usr/local/lib/libswscale.so.2 #1 0x00000000 in ?? () (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0xb72221f7 to 0xb7222237: 0xb72221f7: pmulhw %xmm0,%xmm2 0xb72221fb: pmulhw %xmm0,%xmm5 0xb72221ff: paddw %xmm2,%xmm3 0xb7222203: paddw %xmm5,%xmm4 0xb7222207: jne 0xb72221e0 0xb7222209: psraw $0x3,%xmm3 0xb722220e: psraw $0x3,%xmm4 0xb7222213: packuswb %xmm4,%xmm3 => 0xb7222217: movntdq %xmm3,(%ebx,%ecx,1) 0xb722221c: add $0x10,%ecx 0xb722221f: cmp %eax,%ecx 0xb7222221: movdqa %xmm7,%xmm3 0xb7222225: movdqa %xmm7,%xmm4 0xb7222229: mov 0xc(%esp),%edx 0xb722222d: mov (%edx),%esi 0xb722222f: jb 0xb72221e0 0xb7222231: mov (%esp),%ebx 0xb7222234: mov 0x4(%esp),%esi End of assembler dump. (gdb) info all-registers eax 0x98 152 ecx 0x0 0 edx 0x8292ad8 136915672 ebx 0x8b23864 145897572 esp 0xbfffc684 0xbfffc684 ebp 0x8293a58 0x8293a58 esi 0x0 0 edi 0x0 0 eip 0xb7222217 0xb7222217 eflags 0x210246 [ PF ZF IF RF ID ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st1 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st2 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st3 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st4 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st5 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st6 -nan(0x20002000200020) (raw 0xffff0020002000200020) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x20 32 ftag 0xffff 65535 fiseg 0x73 115 fioff 0x80523c4 134554564 foseg 0x7b 123 fooff 0xbfffcdac -1073754708 fop 0x19c 412 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, v16_int8 = {0x13, 0xc8, 0xfd, 0xff, 0x41, 0x95, 0x1f, 0x0, 0x27, 0xc7, 0xa, 0x0, 0x94, 0xfa, 0xfe, 0xff}, v8_int16 = {0xc813, 0xfffd, 0x9541, 0x1f, 0xc727, 0xa, 0xfa94, 0xfffe}, v4_int32 = {0xfffdc813, 0x1f9541, 0xac727, 0xfffefa94}, v2_int64 = {0x1f9541fffdc813, 0xfffefa94000ac727}, uint128 = 0xfffefa94000ac727001f9541fffdc813} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x76, 0x75, 0x73, 0x6c, 0x6d, 0x76, 0x79, 0x79, 0x75, 0x74, 0x74, 0x72, 0x75, 0x75, 0x76, 0x74}, v8_int16 = {0x7576, 0x6c73, 0x766d, 0x7979, 0x7475, 0x7274, 0x7575, 0x7476}, v4_int32 = {0x6c737576, 0x7979766d, 0x72747475, 0x74767575}, v2_int64 = {0x7979766d6c737576, 0x7476757572747475}, uint128 = 0x74767575727474757979766d6c737576} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x75, 0x0, 0x74, 0x0, 0x74, 0x0, 0x72, 0x0, 0x75, 0x0, 0x75, 0x0, 0x76, 0x0, 0x74, 0x0}, v8_int16 = {0x75, 0x74, 0x74, 0x72, 0x75, 0x75, 0x76, 0x74}, v4_int32 = {0x740075, 0x720074, 0x750075, 0x740076}, v2_int64 = {0x72007400740075, 0x74007600750075}, uint128 = 0x00740076007500750072007400740075} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x82, 0x82, 0x82, 0x82, 0x85, ---Type to continue, or q to quit--- 0x83, 0x81, 0x7d, 0x80, 0x7f, 0x7e, 0x7e, 0x7c, 0x7b, 0x7b, 0x7b}, v8_int16 = {0x8282, 0x8282, 0x8385, 0x7d81, 0x7f80, 0x7e7e, 0x7b7c, 0x7b7b}, v4_int32 = {0x82828282, 0x7d818385, 0x7e7e7f80, 0x7b7b7b7c}, v2_int64 = {0x7d81838582828282, 0x7b7b7b7c7e7e7f80}, uint128 = 0x7b7b7b7c7e7e7f807d81838582828282} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0}, v8_int16 = {0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4}, v4_int32 = {0x40004, 0x40004, 0x40004, 0x40004}, v2_int64 = { 0x4000400040004, 0x4000400040004}, uint128 = 0x00040004000400040004000400040004} mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] mm0 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm1 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm2 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm3 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm4 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm5 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm6 {uint64 = 0x20002000200020, v2_int32 = {0x200020, 0x200020}, v4_int16 = {0x20, 0x20, 0x20, 0x20}, v8_int8 = {0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0}} mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 18:45:00 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 16:45:00 -0000 Subject: [FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.a31894dc2b85669e410b50cb9fd72a92@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault --------------------------------+---------------------------------------- Reporter: ignat | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by cehoyos): Is an external library (libx264) required to reproduce the problem? Please recompile without --enable-shared, this will make the backtrace more useful. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 19:11:14 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 17:11:14 -0000 Subject: [FFmpeg-trac] #594(undetermined:new): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.aeea699a495911524223c5334c067f7e@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault --------------------------------+---------------------------------------- Reporter: ignat | Owner: Type: defect | Status: new Priority: normal | Component: undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------------- Comment (by ignat): Please find gdb output for statically linked ffmpeg below. Crash below was reproduced without transpose=3 filter. I will investigate if using external library (x264) is required to reproduce crash tomorrow. (gdb) r -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf scale=152:270,pad=480:270:164:0 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null Starting program: /home/ignat/external_src/ffmpeg/ffmpeg_g -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf scale=152:270,pad=480:270:164:0 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null [Thread debugging using libthread_db enabled] ..... Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.83 (179/6) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s Stream #0:0(eng), 1, 1/16000: Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, s16, 27 kb/s Stream #0:1(eng), 27, 1/30000: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 29.83 tbr, 30k tbn, 60k tbc Please use -b:a or -b:v, -b is ambiguous [buffer @ 0x8dd9da0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x8dd3880] w:1280 h:720 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4 [pad @ 0x8dd3d60] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva] [libx264 @ 0x8dd2600] err{or,}_recognition separate: 1; 1 [libx264 @ 0x8dd2600] err{or,}_recognition combined: 1; 1 [libx264 @ 0x8dd2600] using mv_range_thread = 40 [libx264 @ 0x8dd2600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [New Thread 0xb77f7b70 (LWP 20488)] [New Thread 0xb6ff6b70 (LWP 20489)] [New Thread 0xb67f5b70 (LWP 20490)] [New Thread 0xb5adbb70 (LWP 20491)] [libx264 @ 0x8dd2600] profile Constrained Baseline, level 2.1 [h264 @ 0x8dd8e40] err{or,}_recognition separate: 1; 1 [h264 @ 0x8dd8e40] err{or,}_recognition combined: 1; 1 Output #0, rawvideo, to '/dev/null': Metadata: major_brand : 3gp4 minor_version : 768 compatible_brands: 3gp43gp6 encoder : Lavf53.17.0 Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 480x270, 1/20, q=-1--1, pass 1, 768 kb/s, 90k tbn, 20 tbc Stream mapping: Stream #0.1 -> #0.0 (h264 -> libx264) Press [q] to stop, [?] for help Program received signal SIGSEGV, Segmentation fault. 0x086d64c7 in yuv2yuvX_sse3 (filter=0x8de9538, filterSize=11, src=0x8dee890, dest=0x97f7e04 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"..., dstW=152, dither=0x88382d8 "@@@@@@@@", offset=0) at libswscale/x86/swscale_mmx.c:196 196 __asm__ volatile( (gdb) bt #0 0x086d64c7 in yuv2yuvX_sse3 (filter=0x8de9538, filterSize=11, src=0x8dee890, dest=0x97f7e04 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"..., dstW=152, dither=0x88382d8 "@@@@@@@@", offset=0) at libswscale/x86/swscale_mmx.c:196 #1 0x086c7bfc in swScale (c=0x8de7ba0, src=0xbfffc9b0, srcStride=0xbfffc980, srcSliceY=0, srcSliceH=720, dst=0xbfffc9a0, dstStride=0xbfffc990) at libswscale/swscale.c:2691 #2 0x086acb50 in sws_scale (c=0x8de7ba0, srcSlice=0xbfffca70, srcStride=0xbfffca50, srcSliceY=0, srcSliceH=720, dst=0xbfffca60, dstStride=0xbfffca40) at libswscale/swscale_unscaled.c:807 #3 0x080a62f6 in scale_slice (link=0x8dd3c60, y=0, h=720, slice_dir=1) at libavfilter/vf_scale.c:294 #4 draw_slice (link=0x8dd3c60, y=0, h=720, slice_dir=1) at libavfilter/vf_scale.c:311 #5 0x08094f9e in avfilter_draw_slice (link=0x8dd3c60, y=0, h=720, slice_dir=1) at libavfilter/avfilter.c:641 #6 0x080a97ff in request_frame (link=0x8dd3c60) at libavfilter/vsrc_buffer.c:191 #7 0x0809433f in avfilter_request_frame (link=0x8dd4380) at libavfilter/avfilter.c:520 #8 0x0809895b in av_buffersink_get_buffer_ref (ctx=0x8def180, bufref=0x8dd2b98, flags=0) at libavfilter/sink_buffer.c:128 #9 0x08080f1b in output_packet (ist=0x8dd9d40, ist_index=1, ost_table=0x8dd2a00, nb_ostreams=1, pkt=0xbfffd17c) at ffmpeg.c:1852 #10 0x080868f5 in transcode (output_files=0x8dd3420, nb_output_files=1, input_files=0x8dd98e0, nb_input_files=1) at ffmpeg.c:2635 #11 0x0808b22d in main (argc=, argv=) at ffmpeg.c:4486 (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x86d64a7 to 0x86d64e7: 0x086d64a7 : pmulhw %xmm0,%xmm2 0x086d64ab : pmulhw %xmm0,%xmm5 0x086d64af : paddw %xmm2,%xmm3 0x086d64b3 : paddw %xmm5,%xmm4 0x086d64b7 : jne 0x86d6490 0x086d64b9 : psraw $0x3,%xmm3 0x086d64be : psraw $0x3,%xmm4 0x086d64c3 : packuswb %xmm4,%xmm3 => 0x086d64c7 : movntdq %xmm3,(%ebx,%ecx,1) 0x086d64cc : add $0x10,%ecx 0x086d64cf : cmp %eax,%ecx 0x086d64d1 : movdqa %xmm7,%xmm3 0x086d64d5 : movdqa %xmm7,%xmm4 0x086d64d9 : mov 0xc(%esp),%edx 0x086d64dd : mov (%edx),%esi 0x086d64df : jb 0x86d6490 0x086d64e1 : mov (%esp),%ebx 0x086d64e4 : mov 0x4(%esp),%esi End of assembler dump. (gdb) info all-registers eax 0x98 152 ecx 0x0 0 edx 0x8de95e8 148805096 ebx 0x97f7e04 159350276 esp 0xbfffc754 0xbfffc754 ebp 0x8dea538 0x8dea538 esi 0x0 0 edi 0x0 0 eip 0x86d64c7 0x86d64c7 eflags 0x210246 [ PF ZF IF RF ID ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st1 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st2 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st3 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st4 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st5 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6) st6 -nan(0x20002000200020) (raw 0xffff0020002000200020) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x20 32 ftag 0xffff 65535 fiseg 0x73 115 fioff 0x80838a4 134756516 foseg 0x7b 123 fooff 0xbfffcdcc -1073754676 fop 0x19c 412 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x9e, 0x9f, 0x9e, 0x9f, 0x0 }, v8_int16 = { 0x9f9e, 0x9f9e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x9f9e9f9e, 0x0, 0x0, 0x0}, v2_int64 = {0x9f9e9f9e, 0x0}, uint128 = 0x0000000000000000000000009f9e9f9e} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x92, 0x92, 0x93, 0x92, 0x90, 0x92, 0x92, 0x90, 0x8a, 0x8d, 0x8f, 0x8f, 0x8d, 0x8b, 0x96, 0x9b}, v8_int16 = {0x9292, 0x9293, 0x9290, 0x9092, 0x8d8a, 0x8f8f, 0x8b8d, 0x9b96}, v4_int32 = {0x92939292, 0x90929290, 0x8f8f8d8a, 0x9b968b8d}, v2_int64 = {0x9092929092939292, 0x9b968b8d8f8f8d8a}, uint128 = 0x9b968b8d8f8f8d8a9092929092939292} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8a, 0x0, 0x8d, 0x0, 0x8f, 0x0, 0x8f, 0x0, 0x8d, 0x0, 0x8b, 0x0, 0x96, 0x0, 0x9b, 0x0}, v8_int16 = {0x8a, 0x8d, 0x8f, 0x8f, 0x8d, 0x8b, 0x96, 0x9b}, v4_int32 = {0x8d008a, 0x8f008f, 0x8b008d, 0x9b0096}, v2_int64 = {0x8f008f008d008a, 0x9b0096008b008d}, uint128 = 0x009b0096008b008d008f008f008d008a} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x82, 0x82, 0x82, 0x82, 0x85, 0x83, 0x81, 0x7d, 0x80, 0x7f, 0x7e, 0x7e, 0x7c, 0x7b, 0x7b, 0x7b}, v8_int16 = {0x8282, 0x8282, 0x8385, 0x7d81, 0x7f80, 0x7e7e, 0x7b7c, 0x7b7b}, ---Type to continue, or q to quit--- v4_int32 = {0x82828282, 0x7d818385, 0x7e7e7f80, 0x7b7b7b7c}, v2_int64 = {0x7d81838582828282, 0x7b7b7b7c7e7e7f80}, uint128 = 0x7b7b7b7c7e7e7f807d81838582828282} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0}, v8_int16 = {0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4}, v4_int32 = {0x40004, 0x40004, 0x40004, 0x40004}, v2_int64 = { 0x4000400040004, 0x4000400040004}, uint128 = 0x00040004000400040004000400040004} mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] mm0 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm1 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm2 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm3 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm4 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm5 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}} mm6 {uint64 = 0x20002000200020, v2_int32 = {0x200020, 0x200020}, v4_int16 = {0x20, 0x20, 0x20, 0x20}, v8_int8 = {0x20, 0x0, 0x20, 0x0, 0x20, 0x0, 0x20, 0x0}} mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Wed Oct 26 23:28:25 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 21:28:25 -0000 Subject: [FFmpeg-trac] #591(avcodec:open): svq1: ffmpeg crashes with enabled lowres In-Reply-To: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> References: <038.85a7bc1a43b69f9d6abafc673f5914ec@avcodec.org> Message-ID: <053.539ed76269e8dd5ed766eae1f4bd024a@avcodec.org> #591: svq1: ffmpeg crashes with enabled lowres -------------------------------------+----------------------------------- Reporter: ami_stuff | Owner: Type: defect | Status: open Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: regression | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | -------------------------------------+----------------------------------- Changes (by cehoyos): * analyzed: 0 => 1 * component: undetermined => avcodec Comment: Also reproducible with ffmpeg, I don't know what I tested. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 00:32:28 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 22:32:28 -0000 Subject: [FFmpeg-trac] #594(undetermined:open): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.43b760d6d499f67b8980c0e3a0a6aeda@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault -------------------------------------+------------------------------------- Reporter: ignat | Owner: Type: defect | Status: open Priority: important | Component: Version: git-master | undetermined Keywords: sse3 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => sse3 * priority: normal => important * version: 0.8.5 => git-master * status: new => open * reproduced: 0 => 1 Comment: Only reproducible on SSE3, but for any yuv input file. {{{ $ make fate-vsynth1-dv $ /ffmpeg -i tests/data/vsynth1/dv.dv -vf transpose=3,scale=152:270,pad=480:270:164:0 -f null - }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 00:43:05 2011 From: trac at avcodec.org (FFmpeg) Date: Wed, 26 Oct 2011 22:43:05 -0000 Subject: [FFmpeg-trac] #332(build system:closed): configure accepts --enable-frei0r even if the dependencies are not met In-Reply-To: <034.2e849e553bc51dfbeea1338d9d23212a@avcodec.org> References: <034.2e849e553bc51dfbeea1338d9d23212a@avcodec.org> Message-ID: <049.a783f8f112277222d1b63ffd5843ba38@avcodec.org> #332: configure accepts --enable-frei0r even if the dependencies are not met -------------------------------------+------------------------------------- Reporter: uidab | Owner: michael Type: defect | Status: closed Priority: minor | Component: build Version: git-master | system Keywords: frei0r | Resolution: invalid Blocking: | Blocked By: Analyzed by developer: 1 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by saste): * analyzed: 0 => 1 * status: open => closed * resolution: => invalid Comment: Marking this ticket as closed, since --enable-frei0r doesn't imply --enable-filter=frei0r. Indeed enabling frei0r only means to enable the library, frei0r library components are detected but the compilation of the frei0r filter is not enabled because of a different problem (likely missing strtok_r or dlopen). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 06:23:51 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 04:23:51 -0000 Subject: [FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA Message-ID: <036.e4552855076671147155f187f8d1e169@avcodec.org> #595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA ---------------------------------------+--------------------------------- Reporter: DonMoir | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: unspecified | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ---------------------------------------+--------------------------------- With this sample: bunny_bad_convert_to_BGRA.mkv (13 MB) http://sms.pangolin.com/temp/bunny_bad_convert_to_BGRA.mkv sws_scale either doesn't do the conversion or the converted pixels are all zero. sws_scale returns success. This file was previously named bunny_rgb_crash.mkv and you already have that. The crash and color ordering problems with this file have been fixed. This is the last version that did the conversion to PIX_FMT_BGRA correctly that I know of. Note: this version had a color ordering problem with this file but the conversion to PIX_FMT_BGRA worked. ffplay version N-32962-gcbf914c, Copyright (c) 2003-2011 the FFmpeg developers built on Sep 25 2011 21:37:29 with gcc 4.6.1 configuration: --disable-static --enable-shared --enable-gpl --enable- version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable- frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable- libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable- librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable- libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable- libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 17. 0 / 51. 17. 0 libavcodec 53. 17. 0 / 53. 17. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 5 / 2. 43. 5 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 So the code for this file has gone thru some changes that fixed the important stuff and broke this conversion. The version tested where the conversion fails is: ffplay version N-34031-ge403a97, Copyright (c) 2003-2011 the FFmpeg developers built on Oct 25 2011 15:09:12 with gcc 4.6.1 ... (same config as above) ... libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 07:31:19 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 05:31:19 -0000 Subject: [FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA In-Reply-To: <036.e4552855076671147155f187f8d1e169@avcodec.org> References: <036.e4552855076671147155f187f8d1e169@avcodec.org> Message-ID: <051.b51fcf378ce855a6df2bbdaf20685af0@avcodec.org> #595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA -------------------------------------+----------------------------------- Reporter: DonMoir | Owner: michael Type: enhancement | Status: new Priority: wish | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos): * priority: normal => wish * version: unspecified => git-master * type: defect => enhancement Comment: Please add a failing command line and complete, uncut output (consider using "Code block"). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 08:01:15 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 06:01:15 -0000 Subject: [FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA In-Reply-To: <036.e4552855076671147155f187f8d1e169@avcodec.org> References: <036.e4552855076671147155f187f8d1e169@avcodec.org> Message-ID: <051.560048750dd6c836a4f0049361050721@avcodec.org> #595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA -------------------------------------+----------------------------------- Reporter: DonMoir | Owner: michael Type: enhancement | Status: new Priority: wish | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by DonMoir): Not sure why you changed it to wish/enhancement... seems like bug to me :) I just don't use swscale anymore for this simple conversion as a work around. Truely I don't use ffplay or ffmpeg command line tools much. Most of the testing I do comes from internal code. As a failing command, I would need to force ffplay or ffmpeg, I think to use BGRA to show the problem. Don't think you can do it with ffplay. So question to you is how to force this output format in a way that would make sense to you. You have to be able to see the output otherwise I don't think any errors are logged. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 08:41:15 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 06:41:15 -0000 Subject: [FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA In-Reply-To: <036.e4552855076671147155f187f8d1e169@avcodec.org> References: <036.e4552855076671147155f187f8d1e169@avcodec.org> Message-ID: <051.14d45ceffaf75cf83d24064c8bec2094@avcodec.org> #595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA -------------------------------------+----------------------------------- Reporter: DonMoir | Owner: michael Type: enhancement | Status: new Priority: wish | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by cehoyos): I changed this to an enhancement, because this conversion never worked (as you correctly pointed out in your original report). You do not have to try to reproduce the problem with ffplay, because you can only report ffplay problems if they are unreproducible with ffmpeg. Please search an encoder that uses RGB as input (png or rawvideo) and provide a minimal (as short as possible) failing command line together with its complete, uncut output (using Code block). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 08:47:43 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 06:47:43 -0000 Subject: [FFmpeg-trac] #584(avformat:new): WTV MUX generates malformed files In-Reply-To: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> References: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> Message-ID: <050.d64edd2dd83a9a5570f0eeaebb510d70@avcodec.org> #584: WTV MUX generates malformed files ------------------------------------+------------------------------------ Reporter: ianken | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: wtv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Please provide a sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 08:52:28 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 06:52:28 -0000 Subject: [FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA In-Reply-To: <036.e4552855076671147155f187f8d1e169@avcodec.org> References: <036.e4552855076671147155f187f8d1e169@avcodec.org> Message-ID: <051.af0a7e3faddc08f7b3a6988fabf8f3f4@avcodec.org> #595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA -------------------------------------+----------------------------------- Reporter: DonMoir | Owner: michael Type: enhancement | Status: new Priority: wish | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by DonMoir): I reported that the conversion did work previously. The issue of color ordering is different. Previously, with the 9-25-2011 build, it did not matter what format was used and the colors were reversed. But the conversion to BGRA did work with the same reversed colors. It did this correcly. Now it seems it either does nothing or all zeros are set. I will see what I can do to produce a failing command. It might be as simple as a conversion from one format to another and check the replay on the converted file but don't know. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 08:55:26 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 06:55:26 -0000 Subject: [FFmpeg-trac] #548(FFplay:closed): ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 In-Reply-To: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> References: <037.743f6c16c182cd03312a1fd57f8920c6@avcodec.org> Message-ID: <052.628f4bf7a6f427dd9cbecba2a6c218a3@avcodec.org> #548: ffplay in fullscreen mode shows greenish image on osx 10.6.6 with libsdl 1.2.14 ------------------------------------+---------------------------------- Reporter: cbsrobot | Owner: Type: defect | Status: closed Priority: normal | Component: FFplay Version: git-master | Resolution: fixed Keywords: sdl | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => fixed Comment: I believe this has been fixed. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 09:07:20 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 07:07:20 -0000 Subject: [FFmpeg-trac] #576(swscale:new): sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 In-Reply-To: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> References: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> Message-ID: <050.b04add26d541cfa3c9f6db8f25dc16e9@avcodec.org> #576: sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 ------------------------------------+----------------------------------- Reporter: rich99 | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Description changed by cehoyos: Old description: > Last ffmpeg built from git, 10/20/2011 10:22:50AM. > > Win7 x64, VS2010, built using migGW and msys, gcc 4.5.2. > > Build options: > ./configure --enable-shared --disable-static --enable-memalign-hack > --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth --enable- > zlib --enable-bzlib --enable-pthreads --enable-runtime-cpudetect > --disable-encoders --enable-swscale --extra-cflags=-U__STRICT_ANSI__ > > Everything works fine with playback except some crashes when using > sws_scale and certain video files. Here is an example that always crashes > with a sample code provided. I have stripped all checks to simplify the > code to the maximum. The sample video is also attached. If I don't use > sws_scale, everything works fine. > > main.cpp > --------------------------------- > #define __STDC_CONSTANT_MACROS > #pragma warning(disable:4244) > > extern "C" > { > #include > #include > > #include "libavformat/avformat.h" > #include "libswscale/swscale.h" > #include "libavcodec/avcodec.h" > #include > } > > int main() > { > av_register_all(); > > AVFormatContext* pFormatCtx; > av_open_input_file(&pFormatCtx, "ffdmjpeg.avi", NULL, 0, NULL); > av_find_stream_info(pFormatCtx); > dump_format(pFormatCtx, 0, "test", 0); > > AVCodecContext* pCodecCtx; > > // i know first stream is at index 0, simplified here > unsigned int videoStream = 0; > pCodecCtx = pFormatCtx->streams[videoStream]->codec; > > AVCodec* pCodec = avcodec_find_decoder(pCodecCtx->codec_id); > avcodec_open(pCodecCtx, pCodec); > > AVFrame* pFrame = avcodec_alloc_frame(); > AVFrame* pFrameRGB = avcodec_alloc_frame(); > > PixelFormat destFormat = PIX_FMT_RGB24; > > // Determine required buffer size and allocate buffer > int numBytes = avpicture_get_size(destFormat, pCodecCtx->width, > pCodecCtx->height); > uint8_t* buffer = (uint8_t *)av_malloc(numBytes*sizeof(uint8_t)); > avpicture_fill((AVPicture *)pFrameRGB, buffer, destFormat, > pCodecCtx->width, pCodecCtx->height); > > int frameFinished; > AVPacket packet; > > SwsContext* swsContext = sws_alloc_context(); > //AVOption options; > av_opt_set_defaults(swsContext); > av_set_int(swsContext, "sws_flags", SWS_POINT); > av_set_int(swsContext, "srcw", pCodecCtx->width); > av_set_int(swsContext, "srch", pCodecCtx->height); > av_set_int(swsContext, "dstw", pCodecCtx->width); > av_set_int(swsContext, "dsth", pCodecCtx->height); > av_set_int(swsContext, "src_format", pCodecCtx->pix_fmt); > av_set_int(swsContext, "dst_format", destFormat); > av_set_int(swsContext, "src_range", 1); > av_set_int(swsContext, "dst_range", 1); > > sws_init_context(swsContext, NULL, NULL); //success > > while(av_read_frame(pFormatCtx, &packet) >= 0) > { > // Is this a packet from the video stream? > if(packet.stream_index == videoStream) > { > // Decode video frame > avcodec_decode_video2(pCodecCtx, pFrame, > &frameFinished, &packet); > > // Did we get a video frame? > if(frameFinished) > { > AVPicture &pic = > *(AVPicture*)pFrame; > AVPicture &picDst = > *(AVPicture*)pFrameRGB; > // [CRASH HERE] > sws_scale(swsContext, > &pic.data[0], &pic.linesize[0], 0, pCodecCtx->height, &picDst.data[0], > &picDst.linesize[0]); > // > printf("."); > } > } > > // Free the packet that was allocated by av_read_frame > av_free_packet(&packet); > } > > av_free(buffer); > av_free(pFrameRGB); > av_free(pFrame); > sws_freeContext(swsContext); > avcodec_close(pCodecCtx); > av_close_input_file(pFormatCtx); > > return 0; > } New description: Last ffmpeg built from git, 10/20/2011 10:22:50AM. Win7 x64, VS2010, built using migGW and msys, gcc 4.5.2. Build options: ./configure --enable-shared --disable-static --enable-memalign-hack --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth --enable-zlib --enable-bzlib --enable-pthreads --enable-runtime-cpudetect --disable- encoders --enable-swscale --extra-cflags=-U__STRICT_ANSI__ Everything works fine with playback except some crashes when using sws_scale and certain video files. Here is an example that always crashes with a sample code provided. I have stripped all checks to simplify the code to the maximum. The sample video is also attached. If I don't use sws_scale, everything works fine. main.cpp {{{ #define __STDC_CONSTANT_MACROS #pragma warning(disable:4244) extern "C" { #include #include #include "libavformat/avformat.h" #include "libswscale/swscale.h" #include "libavcodec/avcodec.h" #include } int main() { av_register_all(); AVFormatContext* pFormatCtx; av_open_input_file(&pFormatCtx, "ffdmjpeg.avi", NULL, 0, NULL); av_find_stream_info(pFormatCtx); dump_format(pFormatCtx, 0, "test", 0); AVCodecContext* pCodecCtx; // i know first stream is at index 0, simplified here unsigned int videoStream = 0; pCodecCtx = pFormatCtx->streams[videoStream]->codec; AVCodec* pCodec = avcodec_find_decoder(pCodecCtx->codec_id); avcodec_open(pCodecCtx, pCodec); AVFrame* pFrame = avcodec_alloc_frame(); AVFrame* pFrameRGB = avcodec_alloc_frame(); PixelFormat destFormat = PIX_FMT_RGB24; // Determine required buffer size and allocate buffer int numBytes = avpicture_get_size(destFormat, pCodecCtx->width, pCodecCtx->height); uint8_t* buffer = (uint8_t *)av_malloc(numBytes*sizeof(uint8_t)); avpicture_fill((AVPicture *)pFrameRGB, buffer, destFormat, pCodecCtx->width, pCodecCtx->height); int frameFinished; AVPacket packet; SwsContext* swsContext = sws_alloc_context(); //AVOption options; av_opt_set_defaults(swsContext); av_set_int(swsContext, "sws_flags", SWS_POINT); av_set_int(swsContext, "srcw", pCodecCtx->width); av_set_int(swsContext, "srch", pCodecCtx->height); av_set_int(swsContext, "dstw", pCodecCtx->width); av_set_int(swsContext, "dsth", pCodecCtx->height); av_set_int(swsContext, "src_format", pCodecCtx->pix_fmt); av_set_int(swsContext, "dst_format", destFormat); av_set_int(swsContext, "src_range", 1); av_set_int(swsContext, "dst_range", 1); sws_init_context(swsContext, NULL, NULL); //success while(av_read_frame(pFormatCtx, &packet) >= 0) { // Is this a packet from the video stream? if(packet.stream_index == videoStream) { // Decode video frame avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet); // Did we get a video frame? if(frameFinished) { AVPicture &pic = *(AVPicture*)pFrame; AVPicture &picDst = *(AVPicture*)pFrameRGB; // [CRASH HERE] sws_scale(swsContext, &pic.data[0], &pic.linesize[0], 0, pCodecCtx->height, &picDst.data[0], &picDst.linesize[0]); // printf("."); } } // Free the packet that was allocated by av_read_frame av_free_packet(&packet); } av_free(buffer); av_free(pFrameRGB); av_free(pFrame); sws_freeContext(swsContext); avcodec_close(pCodecCtx); av_close_input_file(pFormatCtx); return 0; } }}} -- -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 09:11:59 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 07:11:59 -0000 Subject: [FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA In-Reply-To: <036.e4552855076671147155f187f8d1e169@avcodec.org> References: <036.e4552855076671147155f187f8d1e169@avcodec.org> Message-ID: <051.a15724359228841d4f1084f317d87dd2@avcodec.org> #595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA -------------------------------------+----------------------------------- Reporter: DonMoir | Owner: michael Type: enhancement | Status: new Priority: wish | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by DonMoir): This is another one of those simple issues where it takes me 5 minutes to fix it and god only knows how much time to report it. I look forward to the day when I have the time to be more involved and just hand out the patch :) In this case, I just avoided swsscale altogether which is not the best thing. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 09:15:02 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 07:15:02 -0000 Subject: [FFmpeg-trac] #572(undetermined:closed): Video conversion fails with error " Application provided invalid, non monotonically increasing dts to muxer in stream" In-Reply-To: <040.fc0b6b0fa6cd4e4aa99405d5e4fcc5ec@avcodec.org> References: <040.fc0b6b0fa6cd4e4aa99405d5e4fcc5ec@avcodec.org> Message-ID: <055.8e4301005e6a8e45f57a7e30efdc0048@avcodec.org> #572: Video conversion fails with error " Application provided invalid, non monotonically increasing dts to muxer in stream" -------------------------------------+------------------------------------- Reporter: pranav_garg | Owner: Type: defect | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | needs_more_info Analyzed by developer: 0 | Blocked By: | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info Comment: Please reopen if you can provide a sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 09:23:44 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 07:23:44 -0000 Subject: [FFmpeg-trac] #501(undetermined:closed): Extract thumbnails with -ss from WMV big In-Reply-To: <041.a81df10fd683cd96d6f8217e9d0a39b5@avcodec.org> References: <041.a81df10fd683cd96d6f8217e9d0a39b5@avcodec.org> Message-ID: <056.9ca52b9251c8e511a535f3e091d641a6@avcodec.org> #501: Extract thumbnails with -ss from WMV big -------------------------------------+------------------------------------- Reporter: | Owner: michael plaguebreath | Status: closed Type: defect | Component: Priority: normal | undetermined Version: unspecified | Resolution: Keywords: | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info Comment: Please reopen if you can provide a backtrace or a sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 10:06:03 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 08:06:03 -0000 Subject: [FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA In-Reply-To: <036.e4552855076671147155f187f8d1e169@avcodec.org> References: <036.e4552855076671147155f187f8d1e169@avcodec.org> Message-ID: <051.03d74b652904632ff6c4168c90596a42@avcodec.org> #595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA -------------------------------------+----------------------------------- Reporter: DonMoir | Owner: michael Type: enhancement | Status: new Priority: wish | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by DonMoir): Check this png image: http://sms.pangolin.com/temp/bunny.png Shows 9-25-2011 where colors are reversed but conversion is correct. Shows 10-25-2011 where colors are correct but conversion fails. Shows 10-25-2011 where colors are correct with internal fix and is correct -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 10:16:28 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 08:16:28 -0000 Subject: [FFmpeg-trac] #358(undetermined:new): MMS(MMSH) seeking/skipping freezes video In-Reply-To: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> References: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> Message-ID: <050.e51ed144756dc0491c1f9650ea8d050b@avcodec.org> #358: MMS(MMSH) seeking/skipping freezes video -------------------------------------+------------------------------------- Reporter: arnova | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: mms | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by arnova): Commenting out NOBINSEARCH and NOGENSEARCH. does not fix the problem, unfortunately, which totally makes sense since our older ffmpeg which didn't have them also suffered from this problem. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 10:31:28 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 08:31:28 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding Message-ID: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> #596: ffmpeg killed while encoding --------------------------------------+---------------------------------- Reporter: benoit_friry | Type: defect Status: new | Priority: normal Component: undetermined | Version: 0.8.5 Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------------+---------------------------------- Hello, I try to convert a big mjpeg video into h264. ffmpeg crashes while encoding. The command is: $ ./ffmpeg -i ~/tmp/test.avi -an -vcodec libx264 -preset slow -profile high -crf 25 -f mp4 ~/tmp/test.mp4 $ ./ffmpeg -v 9 -loglevel 99 -i ~/tmp/test.avi ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 22:09:58 with gcc 4.6.1 configuration: --prefix=/opt/bf_ffmpeg --enable-gpl --enable-libfaac --enable-libx264 --enable-nonfree --enable-postproc libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x257d400] Format avi probed with size=2048 and score=100 [AVI demuxer @ 0x257da00] use odml:1 st:1 removing common factor 4 from timebase [mjpeg @ 0x257f480] buffer too small, expanding to 108576 bytes [mjpeg @ 0x257f480] marker=d8 avail_size_in_buf=108576 [mjpeg @ 0x257f480] marker parser used 0 bytes (0 bits) [mjpeg @ 0x257f480] marker=fe avail_size_in_buf=108574 [mjpeg @ 0x257f480] marker parser used 14 bytes (112 bits) [mjpeg @ 0x257f480] marker=db avail_size_in_buf=108558 [mjpeg @ 0x257f480] index=0 [mjpeg @ 0x257f480] qscale[0]: 2 [mjpeg @ 0x257f480] marker parser used 67 bytes (536 bits) [mjpeg @ 0x257f480] marker=c4 avail_size_in_buf=108489 [mjpeg @ 0x257f480] class=0 index=0 nb_codes=12 [mjpeg @ 0x257f480] class=0 index=1 nb_codes=12 [mjpeg @ 0x257f480] class=1 index=0 nb_codes=251 [mjpeg @ 0x257f480] class=1 index=1 nb_codes=251 [mjpeg @ 0x257f480] marker parser used 418 bytes (3344 bits) [mjpeg @ 0x257f480] marker=c0 avail_size_in_buf=108069 [mjpeg @ 0x257f480] sof0: picture: 720x576 [mjpeg @ 0x257f480] component 0 2:2 id: 0 quant:0 [mjpeg @ 0x257f480] component 1 1:1 id: 1 quant:0 [mjpeg @ 0x257f480] component 2 1:1 id: 2 quant:0 [mjpeg @ 0x257f480] pix fmt id 22111100 [mjpeg @ 0x257f480] marker parser used 17 bytes (136 bits) [mjpeg @ 0x257f480] escaping removed 1257 bytes [mjpeg @ 0x257f480] marker=da avail_size_in_buf=108050 [mjpeg @ 0x257f480] component: 0 [mjpeg @ 0x257f480] component: 1 [mjpeg @ 0x257f480] component: 2 [mjpeg @ 0x257f480] marker parser used 106792 bytes (854331 bits) [mjpeg @ 0x257f480] marker=d9 avail_size_in_buf=0 [mjpeg @ 0x257f480] mjpeg decode frame unused 0 bytes [avi @ 0x257d400] All info found Input #0, avi, from '/home/benoit/tmp/test.avi': Duration: 00:47:29.56, start: 0.000000, bitrate: 21670 kb/s Stream #0.0, 1, 1/25: Video: mjpeg, yuvj420p, 720x576, 1/25, 25 tbr, 25 tbn, 25 tbc Stream #0.1, 1, 1/44100: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s At least one output file must be specified I didn't succeed to produce a bt. $ gdb ./ffmpeg_g GNU gdb (GDB) 7.3-debian Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/benoit/tmp/bf_ffmpeg/ffmpeg/ffmpeg_g...done. (gdb) r -i ~/tmp/test.avi -an -vcodec libx264 -preset slow -profile high -crf 25 -f mp4 ~/tmp/test.mp4 Starting program: /home/benoit/tmp/bf_ffmpeg/ffmpeg/ffmpeg_g -i ~/tmp/test.avi -an -vcodec libx264 -preset slow -profile high -crf 25 -f mp4 ~/tmp/test.mp4 [Thread debugging using libthread_db enabled] ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 22:09:58 with gcc 4.6.1 configuration: --prefix=/opt/bf_ffmpeg --enable-gpl --enable-libfaac --enable-libx264 --enable-nonfree --enable-postproc libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, avi, from '/home/benoit/tmp/test.avi': Duration: 00:47:29.56, start: 0.000000, bitrate: 21670 kb/s Stream #0.0: Video: mjpeg, yuvj420p, 720x576, 25 tbr, 25 tbn, 25 tbc Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s [buffer @ 0x13ee3c0] w:720 h:576 pixfmt:yuvj420p tb:1/1000000 sar:0/1 sws_param: [libx264 @ 0x13e5e60] using cpu capabilities: MMX2 SSE2Slow SlowCTZ [libx264 @ 0x13e5e60] profile High, level 3.0 [libx264 @ 0x13e5e60] 264 - core 119 r2106 07efeb4 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=25.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/home/benoit/tmp/test.mp4': Metadata: encoder : Lavf53.4.0 Stream #0.0: Video: libx264, yuvj420p, 720x576, q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help frame= 5934 fps= 1 q=30.0 size= 62734kB time=00:03:55.24 bitrate=2184.7kbits/s dup=537 drop=0 Program terminated with signal SIGKILL, Killed. The program no longer exists. (gdb) bt No stack. (gdb) disass $pc-32,$pc+32 No registers. (gdb) info all-registers The program has no registers now. (gdb) quit -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 14:37:53 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 12:37:53 -0000 Subject: [FFmpeg-trac] #587(avcodec:closed): Avoid integer overflow in av_resample's rate calculation In-Reply-To: <036.41f07fe66a3fa359419ccdd2309d1c18@avcodec.org> References: <036.41f07fe66a3fa359419ccdd2309d1c18@avcodec.org> Message-ID: <051.74effcfb8347e367f41b4c1b8bd8338a@avcodec.org> #587: Avoid integer overflow in av_resample's rate calculation ------------------------------------+----------------------------------- Reporter: radford | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: resample | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by michael): * status: new => closed * resolution: => fixed Comment: Fixed differently (simpler), will be in main git in a moment thanks -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 15:31:32 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 13:31:32 -0000 Subject: [FFmpeg-trac] #586(avcodec:closed): av_resample takes (short) samples not bytes In-Reply-To: <036.9b0656ba9feab21dc1fee79c63da23cb@avcodec.org> References: <036.9b0656ba9feab21dc1fee79c63da23cb@avcodec.org> Message-ID: <051.ead4bb4cbaa6d889330f888c063266ea@avcodec.org> #586: av_resample takes (short) samples not bytes ------------------------------------+----------------------------------- Reporter: radford | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: resample | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by michael): * status: new => closed * resolution: => fixed Comment: Fixed differently, lenout is a count of samples, as can also be seen by it being multiplied by sizeof(short) in some places. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 15:37:08 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 13:37:08 -0000 Subject: [FFmpeg-trac] #597(FFmpeg:new): mkv -> avi [just copying streams] PROBLEM Message-ID: <036.311b75457647e7486bac833b43cd25ae@avcodec.org> #597: mkv -> avi [just copying streams] PROBLEM --------------------------------------+--------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: FFmpeg Version: git-master | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 --------------------------------------+--------------------------------- {{{ d:\2.prog\video\ffmpeg>ffmpeg -i y:\test\uk.top.40.week42.(2011.10.09).2011.h263 .satrip.sonic.d.mkv -c:v copy -c:a copy y:\test\uk.top.40.week42.(2011.10.09).20 11.h263.satrip.sonic.d.avi ffmpeg version N-33591-gf884ef0, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 13 2011 02:23:02 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 20. 1 / 53. 20. 1 libavformat 53. 15. 0 / 53. 15. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska,webm @ 020598E0] Unknown entry 0x80 Input #0, matroska,webm, from 'y:\test\uk.top.40.week42.(2011.10.09).2011.h263.s atrip.sonic.d.mkv': Duration: 02:34:15.08, start: 0.000000, bitrate: 1133 kb/s Stream #0:0(eng): Video: mpeg4 (Simple Profile), yuv420p, 512x368 [SAR 1:1 D AR 32:23], 25 fps, 25 tbr, 1k tbn, 25 tbc (default) Stream #0:1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s (default) Output #0, avi, to 'y:\test\uk.top.40.week42.(2011.10.09).2011.h263.satrip.sonic .d.avi': Metadata: ISFT : Lavf53.15.0 Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 512x368 [SAR 1: 1 DAR 32:23], q=2-31, 50 tbn, 50 tbc (default) Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, 128 kb/s (d efault) Stream mapping: Stream #0.0 -> #0.0 (copy) Stream #0.1 -> #0.1 (copy) Press [q] to stop, [?] for help [avi @ 021757C0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1414 >= 1414 av_interleaved_write_frame(): Invalid argument }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 15:51:40 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 13:51:40 -0000 Subject: [FFmpeg-trac] #594(avfilter:closed): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.a4600327275a50629f8bdaf3586b7636@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault ------------------------------------+------------------------------------ Reporter: ignat | Owner: Type: defect | Status: closed Priority: important | Component: avfilter Version: git-master | Resolution: fixed Keywords: sse3 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: open => closed * resolution: => fixed * component: undetermined => avfilter Comment: This specific crash has been fixed, please (test and) open a new ticket if you find related ones. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 15:53:56 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 13:53:56 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.f2ed5a0abd7295f2aed1019ebee221d3@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Is this also reproducible with -vcodec mpeg4 (instead of libx264)? Do you see the same problem with current git head? Is a specific sample needed? If yes, please upload to http://www.datafilehost.com/ and post the link. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 15:55:33 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 13:55:33 -0000 Subject: [FFmpeg-trac] #597(undetermined:new): mkv -> avi [just copying streams] PROBLEM In-Reply-To: <036.311b75457647e7486bac833b43cd25ae@avcodec.org> References: <036.311b75457647e7486bac833b43cd25ae@avcodec.org> Message-ID: <051.0447f4f49034d4dff70160004c3096a5@avcodec.org> #597: mkv -> avi [just copying streams] PROBLEM -------------------------------------+------------------------------------- Reporter: StevenG | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * component: FFmpeg => undetermined Comment: Please test with -an and -vn and please attach a short sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 16:23:31 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 14:23:31 -0000 Subject: [FFmpeg-trac] #358(undetermined:open): MMS(MMSH) seeking/skipping freezes video In-Reply-To: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> References: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> Message-ID: <050.c4a00440df0116a2acafbd6e6d4f8bbd@avcodec.org> #358: MMS(MMSH) seeking/skipping freezes video -------------------------------------+------------------------------------- Reporter: arnova | Owner: Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: mms | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * version: unspecified => git-master * reproduced: 0 => 1 Comment: Also reproducible with ffmpeg -ss 5 -i ... -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 16:39:17 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 14:39:17 -0000 Subject: [FFmpeg-trac] #594(avfilter:closed): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.09fb841db1e5b600a6d52f7dea22da01@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault ------------------------------------+------------------------------------ Reporter: ignat | Owner: Type: defect | Status: closed Priority: important | Component: avfilter Version: git-master | Resolution: fixed Keywords: sse3 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by ignat): Replying to [comment:8 cehoyos]: > This specific crash has been fixed, please (test and) open a new ticket if you find related ones. For some reason I still can reproduce the issue with latest (ffmpeg version N-34062-g4416931) ffmpeg and I can't find and resent pushes to git that would mention this ticket :( Sorry for being insistent :( -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 17:02:14 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 15:02:14 -0000 Subject: [FFmpeg-trac] #594(avfilter:closed): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.48734e9c0263bcc73355593759499f23@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault ------------------------------------+------------------------------------ Reporter: ignat | Owner: Type: defect | Status: closed Priority: important | Component: avfilter Version: git-master | Resolution: fixed Keywords: sse3 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Replying to [comment:9 ignat]: > Replying to [comment:8 cehoyos]: > > This specific crash has been fixed, please (test and) open a new ticket if you find related ones. > > For some reason I still can reproduce the issue with latest (ffmpeg version N-34062-g4416931) ffmpeg and I can't find any resent pushes to git that would mention this ticket :( This is the version you originally used when reporting the problem (and the version I used to reproduce it). Please update to current git head and test again. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 17:26:23 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 15:26:23 -0000 Subject: [FFmpeg-trac] #594(avfilter:closed): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.c4101ed498fafade6ad4a9b8c8588c0a@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault ------------------------------------+------------------------------------ Reporter: ignat | Owner: Type: defect | Status: closed Priority: important | Component: avfilter Version: git-master | Resolution: fixed Keywords: sse3 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by ignat): Thanks, turned out that I don't have understanding in teh ways of git. Got changes - will verify. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 17:36:48 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 15:36:48 -0000 Subject: [FFmpeg-trac] #594(avfilter:closed): Combination of transpose, scale, pad filters results in segfault In-Reply-To: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> References: <034.202df0d71ee33a026a59a9fbbd98165d@avcodec.org> Message-ID: <049.f8b087d44ecf2b726dd2d551832b21a3@avcodec.org> #594: Combination of transpose, scale, pad filters results in segfault ------------------------------------+------------------------------------ Reporter: ignat | Owner: Type: defect | Status: closed Priority: important | Component: avfilter Version: git-master | Resolution: fixed Keywords: sse3 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by ignat): Yes, I can confirm that it works. Have to run more thorough tests though. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 18:39:44 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 16:39:44 -0000 Subject: [FFmpeg-trac] #358(undetermined:open): MMS(MMSH) seeking/skipping freezes video In-Reply-To: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> References: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> Message-ID: <050.7aff425e214d27e557db3e1c63971831@avcodec.org> #358: MMS(MMSH) seeking/skipping freezes video -------------------------------------+------------------------------------- Reporter: arnova | Owner: Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: mms | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by bwallen): Replying to [comment:4 arnova]: > Commenting out NOBINSEARCH and NOGENSEARCH. does not fix the problem, unfortunately, which totally makes sense since our older ffmpeg which didn't have them also suffered from this problem. Yeah, I found that out with some more testing. It seemed to fix the problem with on stream I tried but not any others. I'm not beat yet, though. I'm gonna try to track this bug down since it's preventing me from being able to upgrade XBMC. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 20:30:58 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 18:30:58 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.f3e1d555fb73046e6e6ddc78ea52304a@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by benoit_friry): I did not reproduce the error with -vcodec mpeg4. Same error with git head. It do not reproduce the error with all input file. The one I use to do tests is 7.2GB! Not easy to upload. I don't understand why bt do not work. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 21:47:58 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 19:47:58 -0000 Subject: [FFmpeg-trac] #577(avformat:closed): RAW AAC in MPEG-TS wrongly probed as MP1 (was: LATM AAC in MPEG-TS wrongly probed as MP1) In-Reply-To: <038.a45462d5292bfb371af05a5f4d378705@avcodec.org> References: <038.a45462d5292bfb371af05a5f4d378705@avcodec.org> Message-ID: <053.63b16b38b852fbe1db1fa27a48900437@avcodec.org> #577: RAW AAC in MPEG-TS wrongly probed as MP1 -------------------------------------+------------------------------------- Reporter: heleppkes | Owner: Type: defect | Status: closed Priority: important | Component: avformat Version: git-master | Resolution: fixed Keywords: aac | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by michael): * status: open => closed * resolution: => fixed Comment: Fixed locally will be in main git in a moment -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 22:23:47 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 20:23:47 -0000 Subject: [FFmpeg-trac] #358(undetermined:open): MMS(MMSH) seeking/skipping freezes video In-Reply-To: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> References: <035.36d22d6ddffcab1aa131f136e794ae98@avcodec.org> Message-ID: <050.a9fd6e4b7df049c09a6e1d9370cf683c@avcodec.org> #358: MMS(MMSH) seeking/skipping freezes video -------------------------------------+------------------------------------- Reporter: arnova | Owner: Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: mms | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by bwallen): I've been trying to figure this out but so far I haven't had any luck. I've traced the problem as far back as retry_transfer_wrapper() in avio.c. When the error occurs, retry_transfer_wrapper() returns a negative number due to transfer_func(). This negative number makes it's way to line 83 in mmsh.c where it fails. I guess I don't understand what exactly transfer_func() is supposed to be doing. I think it's the key to the problem, but I could be wrong. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 22:35:42 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 20:35:42 -0000 Subject: [FFmpeg-trac] #576(swscale:new): sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 In-Reply-To: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> References: <035.f31b41ba6e61f02c652a89b7a63906af@avcodec.org> Message-ID: <050.86607637d353f9822ae34820ea702a91@avcodec.org> #576: sws_scale crash with PIX_FMT_YUVJ420P -> PIX_FMT_RGB24 ------------------------------------+----------------------------------- Reporter: rich99 | Owner: michael Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by rich99): Just to make sure, this is the final code, also attached as cpp. {{{ #define __STDC_CONSTANT_MACROS extern "C" { #include #include #include #include } int main(int argc, char *argv[]) { av_register_all(); AVFormatContext* pFormatCtx; if (argc == 2) { av_open_input_file(&pFormatCtx, argv[1], NULL, 0, NULL); } else { printf("need filename\n"); return -1; } av_find_stream_info(pFormatCtx); dump_format(pFormatCtx, 0, "test", 0); AVCodecContext* pCodecCtx; // i know first stream is at index 0, simplified here unsigned int videoStream = 0; pCodecCtx = pFormatCtx->streams[videoStream]->codec; AVCodec* pCodec = avcodec_find_decoder(pCodecCtx->codec_id); avcodec_open(pCodecCtx, pCodec); AVFrame* pFrame = avcodec_alloc_frame(); AVFrame* pFrameRGB = avcodec_alloc_frame(); PixelFormat destFormat = PIX_FMT_YUV420P; // Determine required buffer size and allocate buffer int numBytes = avpicture_get_size(destFormat, pCodecCtx->width, pCodecCtx->height); uint8_t* buffer = (uint8_t *)av_malloc(numBytes*sizeof(uint8_t)); avpicture_fill((AVPicture *)pFrameRGB, buffer, destFormat, pCodecCtx->width, pCodecCtx->height); int frameFinished; AVPacket packet; SwsContext* swsContext = sws_alloc_context(); //AVOption options; av_opt_set_defaults(swsContext); av_set_int(swsContext, "sws_flags", SWS_POINT); av_set_int(swsContext, "srcw", pCodecCtx->width); av_set_int(swsContext, "srch", pCodecCtx->height); av_set_int(swsContext, "dstw", pCodecCtx->width); av_set_int(swsContext, "dsth", pCodecCtx->height); av_set_int(swsContext, "src_format", pCodecCtx->pix_fmt); av_set_int(swsContext, "dst_format", destFormat); av_set_int(swsContext, "src_range", 1); av_set_int(swsContext, "dst_range", 1); sws_init_context(swsContext, NULL, NULL); //success while(av_read_frame(pFormatCtx, &packet) >= 0) { // Is this a packet from the video stream? if(packet.stream_index == videoStream) { // Decode video frame avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet); // Did we get a video frame? if(frameFinished) { AVPicture &pic = *(AVPicture*)pFrame; AVPicture &picDst = *(AVPicture*)pFrameRGB; // [CRASH HERE] sws_scale(swsContext, &pic.data[0], &pic.linesize[0], 0, pCodecCtx->height, &picDst.data[0], &picDst.linesize[0]); // printf("."); } } // Free the packet that was allocated by av_read_frame av_free_packet(&packet); } av_free(buffer); av_free(pFrameRGB); av_free(pFrame); sws_freeContext(swsContext); avcodec_close(pCodecCtx); av_close_input_file(pFormatCtx); return 0; } }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Thu Oct 27 23:24:43 2011 From: trac at avcodec.org (FFmpeg) Date: Thu, 27 Oct 2011 21:24:43 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.7fa09ca73e698bc310db4fe3d737b675@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Since I suspect it goes OOM, can you try with valgrind (assuming it reports something useful in that case)? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 02:14:40 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 00:14:40 -0000 Subject: [FFmpeg-trac] #324(FFmpeg:closed): floating point exception while generation of 1s silence In-Reply-To: <042.0262433c7db5c124d31c8a456b8d69f5@avcodec.org> References: <042.0262433c7db5c124d31c8a456b8d69f5@avcodec.org> Message-ID: <057.71ca3a3dd359ed5bed34f0874e6629bc@avcodec.org> #324: floating point exception while generation of 1s silence -------------------------------------+------------------------------------- Reporter: | Owner: michael Schweinebacke | Status: closed Type: defect | Component: FFmpeg Priority: critical | Resolution: fixed Version: git-master | Blocked By: Keywords: fpe | Reproduced by developer: 1 regression | Blocking: | Analyzed by developer: 1 | -------------------------------------+------------------------------------- Changes (by saste): * analyzed: 0 => 1 * status: open => closed * resolution: => fixed Comment: Fixed in commit: {{{ commit aa638b4600e1fa7a1b64323b8228c459af644a47 Author: Stefano Sabatini Date: Thu Oct 27 01:38:21 2011 +0200 rawdec: add check on sample_rate Prevent error condition in case sample_rate is unset or set to a negative value. In particular, fix divide-by-zero error occurring in ffmpeg due to sample_rate set to 0 in output_packet(), in code: ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) / ist->st->codec->sample_rate; Fix trac ticket #324. }}} The user is forced to specify a samplerate, the default value of 0 is rejected, and the FPE is thus avoided. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 09:47:56 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 07:47:56 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.a90af2d963db2dc1c1a28069b460e17a@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by benoit_friry): I've never used valgrind. http://valgrind.org/docs/manual/quick-start.html #quick-start.intro states the program will run 20 to 30 times slower. As my test is 1 to 2 hours long (without valgrind), I'd prefer check twice what you need... ;) {{{ valgrind --leak-check=yes ffmpeg_g -i ~/tmp/test.avi -an -vcodec libx264 -preset slow -profile high -crf 25 -f mp4 ~/tmp/test.mp4 }}} Or without "--leak-check=yes"? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 10:06:04 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 08:06:04 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.6a00b0bd0f3372510b526d66ab33c6d2@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:4 benoit_friry]: > As my test is 1 to 2 hours long Then I suggest you either watch memory consumption while running ffmpeg or significantly (temporarily) increase the size of your swap partition. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 17:54:52 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 15:54:52 -0000 Subject: [FFmpeg-trac] #568(avcodec:closed): H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder In-Reply-To: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> References: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> Message-ID: <056.d44ccd8a7d1f8ba175e489374a177f72@avcodec.org> #568: H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder --------------------------------------+----------------------------------- Reporter: hardiksharma | Owner: michael Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | --------------------------------------+----------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: Fixed by Michael. The reference decoder omits one frame (the fourth frame that ffmpeg outputs), all other frames are now bit-identical for the given sample, no artefacts visible. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 17:56:56 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 15:56:56 -0000 Subject: [FFmpeg-trac] #568(avcodec:closed): H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder In-Reply-To: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> References: <041.1b8da076326efcdd1113cc69e4972bb6@avcodec.org> Message-ID: <056.8bb372487090389e8736dc17cde354c7@avcodec.org> #568: H264 frame drop with the drop of one slice / visible artefacts that do not happen with the reference decoder --------------------------------------+----------------------------------- Reporter: hardiksharma | Owner: michael Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: h264 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | --------------------------------------+----------------------------------- Changes (by cehoyos): * keywords: => h264 -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 18:00:45 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 16:00:45 -0000 Subject: [FFmpeg-trac] #598(FFmpeg:new): Subtitle on some BD/m2ts files are not handle. Message-ID: <038.f3befa32a194325336c106e768016dbf@avcodec.org> #598: Subtitle on some BD/m2ts files are not handle. -------------------------------------+------------------------------------- Reporter: Sebastiii | Owner: michael Type: defect | Status: new Priority: normal | Component: FFmpeg Version: git- | Keywords: subtitle master | m2ts pmt bluray Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 -------------------------------------+------------------------------------- Hello, On some BD/M2TS files, ffplay/ffmpeg didn't detect subtitle. It seems related that Ffmpeg relys it on the pmt. This is a sample for testing : http://dl.dropbox.com/u/10536084/mp/Sample/00002_nosubs_detected.m2ts It only detect this : {{{ ffprobe version N-33818-gd049257, Copyright (c) 2007-2011 the FFmpeg developers built on Oct 19 2011 22:57:39 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable- libspeex --en able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 22. 0 / 53. 22. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 44. 1 / 2. 44. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpegts @ 01B58BC0] PES packet size mismatch [mpegts @ 01B58BC0] PES packet size mismatch [mpegts @ 01B58BC0] PES packet size mismatch [mpegts @ 01B58BC0] PES packet size mismatch [mpegts @ 01B58BC0] PES packet size mismatch [mpegts @ 01B58BC0] PES packet size mismatch Input #0, mpegts, from 'E:\!BDSample\00002.m2ts': Duration: 00:01:05.53, start: 1.991000, bitrate: 32881 kb/s Program 1 No Program Stream #0:0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16: 9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Stream #0:1[0x1102]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:2[0x1103]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:3[0x1104]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:4[0x1105]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:5[0x1101]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s Stream #0:6[0x1100]: Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16, 1536 kb/s }}} Thanks if you can fix it :) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 18:24:58 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 16:24:58 -0000 Subject: [FFmpeg-trac] #598(undetermined:new): Subtitle on some BD/m2ts files are not handle. In-Reply-To: <038.f3befa32a194325336c106e768016dbf@avcodec.org> References: <038.f3befa32a194325336c106e768016dbf@avcodec.org> Message-ID: <053.45e01da26ff43e3786f49ec2e3cf10d8@avcodec.org> #598: Subtitle on some BD/m2ts files are not handle. -------------------------------------+------------------------------------- Reporter: Sebastiii | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: subtitle | Resolution: m2ts pmt bluray | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * component: FFmpeg => undetermined Comment: Which application shows subtitles for the uploaded stream? (How do you know that the stream contains subtitles?) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 18:51:21 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 16:51:21 -0000 Subject: [FFmpeg-trac] #598(undetermined:new): Subtitle on some BD/m2ts files are not handle. In-Reply-To: <038.f3befa32a194325336c106e768016dbf@avcodec.org> References: <038.f3befa32a194325336c106e768016dbf@avcodec.org> Message-ID: <053.7b3d1adbfb868a71b70d8adc1eda416a@avcodec.org> #598: Subtitle on some BD/m2ts files are not handle. -------------------------------------+------------------------------------- Reporter: Sebastiii | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: subtitle | Resolution: m2ts pmt bluray | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Sebastiii): Hi cehoyos, I use mpc-hc and Mediaportal with Lav Splitter based on ffmpeg. I use ffplay from http://ffmpeg.zeranoe.com/builds/ and subs are not detected. I have try xine on Ubuntu and didn't work. If i use TsRemux, i get this (5 Subtitles): {{{ MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500 V_MPEG4/ISO/AVC, "00002_nosubs_detected.m2ts", fps=23.976, insertSEI, contSPS, track=4113 A_DTS, "00002_nosubs_detected.m2ts", timeshift=-8ms, track=4352 A_AC3, "00002_nosubs_detected.m2ts", timeshift=-8ms, track=4353 A_AC3, "00002_nosubs_detected.m2ts", timeshift=-8ms, track=4354 A_AC3, "00002_nosubs_detected.m2ts", timeshift=-8ms, track=4355 A_AC3, "00002_nosubs_detected.m2ts", timeshift=-8ms, track=4356 A_AC3, "00002_nosubs_detected.m2ts", timeshift=-8ms, track=4357 S_HDMV/PGS, "00002_nosubs_detected.m2ts",bottom-offset=24,font-border=2 ,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4608 S_HDMV/PGS, "00002_nosubs_detected.m2ts",bottom-offset=24,font-border=2 ,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4609 S_HDMV/PGS, "00002_nosubs_detected.m2ts",bottom-offset=24,font-border=2 ,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4610 S_HDMV/PGS, "00002_nosubs_detected.m2ts",bottom-offset=24,font-border=2 ,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4611 S_HDMV/PGS, "00002_nosubs_detected.m2ts",bottom-offset=24,font-border=2 ,text-align=center,video-width=1920,video-height=1080,fps=23.976, track=4612 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 19:11:50 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 17:11:50 -0000 Subject: [FFmpeg-trac] #598(undetermined:new): Subtitle on some BD/m2ts files are not handle. In-Reply-To: <038.f3befa32a194325336c106e768016dbf@avcodec.org> References: <038.f3befa32a194325336c106e768016dbf@avcodec.org> Message-ID: <053.afdbbbd1af26df8e37c7507e4afc8738@avcodec.org> #598: Subtitle on some BD/m2ts files are not handle. -------------------------------------+------------------------------------- Reporter: Sebastiii | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: subtitle | Resolution: m2ts pmt bluray | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by reimar): MPlayer can show the subtitles (though you can select them only from the point where the first packets appear). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 19:31:40 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 17:31:40 -0000 Subject: [FFmpeg-trac] #598(undetermined:new): Subtitle on some BD/m2ts files are not handle. In-Reply-To: <038.f3befa32a194325336c106e768016dbf@avcodec.org> References: <038.f3befa32a194325336c106e768016dbf@avcodec.org> Message-ID: <053.22a4362cef148edabc7a446979b2ad7c@avcodec.org> #598: Subtitle on some BD/m2ts files are not handle. -------------------------------------+------------------------------------- Reporter: Sebastiii | Owner: michael Type: defect | Status: new Priority: normal | Component: Version: git-master | undetermined Keywords: subtitle | Resolution: m2ts pmt bluray | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Sebastiii): Thanks reimar, I have run the file in ffplay and wait when first subtitle packet should comes (40s) and i didn't see it. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 19:56:43 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 17:56:43 -0000 Subject: [FFmpeg-trac] #598(avformat:open): Subtitle on some BD/m2ts files are not handle. In-Reply-To: <038.f3befa32a194325336c106e768016dbf@avcodec.org> References: <038.f3befa32a194325336c106e768016dbf@avcodec.org> Message-ID: <053.49826ddfed68c5214e1713f7da2e2452@avcodec.org> #598: Subtitle on some BD/m2ts files are not handle. -------------------------------------+------------------------------------- Reporter: Sebastiii | Owner: michael Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: subtitle | Blocked By: m2ts pmt bluray | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * component: undetermined => avformat * reproduced: 0 => 1 Comment: Press "j" to switch subtitles in MPlayer (once they are available). -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Fri Oct 28 23:16:11 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 21:16:11 -0000 Subject: [FFmpeg-trac] #599(undetermined:new): Retrieving bad duration from h264 mov file Message-ID: <041.7beb1e1415f7b60c013383842443ca6e@avcodec.org> #599: Retrieving bad duration from h264 mov file -------------------------------------+------------------------------------- Reporter: | Type: defect faroutliving | Priority: normal Status: new | Version: git- Component: | master undetermined | Blocked By: Keywords: h264 bad | Reproduced by developer: 0 duration | Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- When executing the command "ffmpeg -i h264_bad_duration.mov", ffmpeg returns the below details. The important (wrong) part is Duration. The video duration is (roughly) 30 seconds, but ffmpeg shows it as 5:34.49. It does appear to play correctly in mplayer (though it reports the same wrong duration, which should be no surprise). File located at http://usmediavault.com/h264_bad_duration.mov I tried uploading to upload.ffmpeg.org, but was unable to. Thanks for looking at this. Deron Kazmaier deron at faroutliving.com ------------------------------------------------------------------------------ ffmpeg version N-34139-gad2d597, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 28 2011 12:57:49 with gcc 4.5.2 configuration: --enable-gpl libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 1 / 2. 45. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 1 codec frame rate differs from container frame rate: 11988.00 (11988/1) -> 59.94 (2997/50) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'h264_bad_duration.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-10-27 20:31:39 Duration: 00:05:34.49, start: 0.000000, bitrate: 2775 kb/s Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s Metadata: creation_time : 2011-10-27 20:31:39 handler_name : ?Apple Alias Data Handler Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 2636 kb/s, 5.37 fps, 59.94 tbr, 5994 tbn, 11988 tbc Metadata: creation_time : 2011-10-27 20:31:39 handler_name : ?Apple Alias Data Handler At least one output file must be specified -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 29 00:06:16 2011 From: trac at avcodec.org (FFmpeg) Date: Fri, 28 Oct 2011 22:06:16 -0000 Subject: [FFmpeg-trac] #598(avformat:open): Subtitle on some BD/m2ts files are not handle. In-Reply-To: <038.f3befa32a194325336c106e768016dbf@avcodec.org> References: <038.f3befa32a194325336c106e768016dbf@avcodec.org> Message-ID: <053.07453c6a47c4d0529103fde2455170d9@avcodec.org> #598: Subtitle on some BD/m2ts files are not handle. -------------------------------------+------------------------------------- Reporter: Sebastiii | Owner: michael Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: subtitle | Blocked By: m2ts pmt bluray | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Sebastiii): Hi, Thanks, I think i have a similar issue with this sample, should i open another ticket ? http://dl.dropbox.com/u/10536084/mp/Sample/Hop_no_subs_detected.vob Seb. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 29 09:23:14 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 29 Oct 2011 07:23:14 -0000 Subject: [FFmpeg-trac] #599(avformat:open): Retrieving bad duration from h264 mov file In-Reply-To: <041.7beb1e1415f7b60c013383842443ca6e@avcodec.org> References: <041.7beb1e1415f7b60c013383842443ca6e@avcodec.org> Message-ID: <056.3a4189804a25179fcb81ffc37c5d0dea@avcodec.org> #599: Retrieving bad duration from h264 mov file --------------------------------------+------------------------------------ Reporter: faroutliving | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: mov duration | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | --------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: h264 bad duration => mov duration * status: new => open * component: undetermined => avformat * reproduced: 0 => 1 Old description: > When executing the command "ffmpeg -i h264_bad_duration.mov", ffmpeg > returns the below details. The important (wrong) part is Duration. The > video duration is (roughly) 30 seconds, but ffmpeg shows it as 5:34.49. > It does appear to play correctly in mplayer (though it reports the same > wrong duration, which should be no surprise). > > File located at http://usmediavault.com/h264_bad_duration.mov > > I tried uploading to upload.ffmpeg.org, but was unable to. > > Thanks for looking at this. > > Deron Kazmaier > deron at faroutliving.com > > ------------------------------------------------------------------------------ > > ffmpeg version N-34139-gad2d597, Copyright (c) 2000-2011 the FFmpeg > developers > built on Oct 28 2011 12:57:49 with gcc 4.5.2 > configuration: --enable-gpl > libavutil 51. 22. 0 / 51. 22. 0 > libavcodec 53. 23. 0 / 53. 23. 0 > libavformat 53. 17. 0 / 53. 17. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 45. 1 / 2. 45. 1 > libswscale 2. 1. 0 / 2. 1. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > > Seems stream 1 codec frame rate differs from container frame rate: > 11988.00 (11988/1) -> 59.94 (2997/50) > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'h264_bad_duration.mov': > Metadata: > major_brand : qt > minor_version : 537199360 > compatible_brands: qt > creation_time : 2011-10-27 20:31:39 > Duration: 00:05:34.49, start: 0.000000, bitrate: 2775 kb/s > Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, > stereo, s16, 1536 kb/s > Metadata: > creation_time : 2011-10-27 20:31:39 > handler_name : ?Apple Alias Data Handler > Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, > 1280x720, 2636 kb/s, 5.37 fps, 59.94 tbr, 5994 tbn, 11988 tbc > Metadata: > creation_time : 2011-10-27 20:31:39 > handler_name : ?Apple Alias Data Handler > At least one output file must be specified New description: When executing the command "ffmpeg -i h264_bad_duration.mov", ffmpeg returns the below details. The important (wrong) part is Duration. The video duration is (roughly) 30 seconds, but ffmpeg shows it as 5:34.49. It does appear to play correctly in mplayer (though it reports the same wrong duration, which should be no surprise). File located at http://usmediavault.com/h264_bad_duration.mov I tried uploading to upload.ffmpeg.org, but was unable to. Thanks for looking at this. Deron Kazmaier deron at faroutliving.com ------------------------------------------------------------------------------ {{{ ffmpeg version N-34139-gad2d597, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 28 2011 12:57:49 with gcc 4.5.2 configuration: --enable-gpl libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 1 / 2. 45. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 1 codec frame rate differs from container frame rate: 11988.00 (11988/1) -> 59.94 (2997/50) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'h264_bad_duration.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-10-27 20:31:39 Duration: 00:05:34.49, start: 0.000000, bitrate: 2775 kb/s Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s Metadata: creation_time : 2011-10-27 20:31:39 handler_name : ?Apple Alias Data Handler Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 2636 kb/s, 5.37 fps, 59.94 tbr, 5994 tbn, 11988 tbc Metadata: creation_time : 2011-10-27 20:31:39 handler_name : ?Apple Alias Data Handler At least one output file must be specified }}} -- Comment: QuickTime and vlc show the correct duration of 29 seconds. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 29 17:29:22 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 29 Oct 2011 15:29:22 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.923577dfcf62cce5e86d23ca0a8a9574@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by benoit_friry): Run command: {{{ $ ./ffmpeg_g -i ~/tmp/test.avi -an -vcodec libx264 -preset slow -profile high -crf 25 -f mp4 ~/tmp/test.h264.mp4 }}} which ended by: {{{ [libx264 @ 0x34b5860] frame=11886 QP=29.57 NAL=2 Slice:B Poc:96 I:29 P:1243 SKIP:272 size=8734 bytes [mjpeg @ 0x34a3bc0] marker=d8 avail_size_in_buf=105714 [mjpeg @ 0x34a3bc0] marker parser used 0 bytes (0 bits) [mjpeg @ 0x34a3bc0] marker=fe avail_size_in_buf=105712 [mjpeg @ 0x34a3bc0] mjpeg comment: 'Lavc52.72.2' [mjpeg @ 0x34a3bc0] marker parser used 14 bytes (112 bits) [mjpeg @ 0x34a3bc0] marker=db avail_size_in_buf=105696 [mjpeg @ 0x34a3bc0] index=0 [mjpeg @ 0x34a3bc0] qscale[0]: 2 [mjpeg @ 0x34a3bc0] marker parser used 67 bytes (536 bits) [mjpeg @ 0x34a3bc0] marker=c4 avail_size_in_buf=105627 [mjpeg @ 0x34a3bc0] class=0 index=0 nb_codes=12 [mjpeg @ 0x34a3bc0] class=0 index=1 nb_codes=12 [mjpeg @ 0x34a3bc0] class=1 index=0 nb_codes=251 [mjpeg @ 0x34a3bc0] class=1 index=1 nb_codes=251 [mjpeg @ 0x34a3bc0] marker parser used 418 bytes (3344 bits) [mjpeg @ 0x34a3bc0] marker=c0 avail_size_in_buf=105207 [mjpeg @ 0x34a3bc0] sof0: picture: 720x576 [mjpeg @ 0x34a3bc0] component 0 2:2 id: 0 quant:0 [mjpeg @ 0x34a3bc0] component 1 1:1 id: 1 quant:0 [mjpeg @ 0x34a3bc0] component 2 1:1 id: 2 quant:0 [mjpeg @ 0x34a3bc0] pix fmt id 22111100 [mjpeg @ 0x34a3bc0] marker parser used 17 bytes (136 bits) [mjpeg @ 0x34a3bc0] escaping removed 2132 bytes [mjpeg @ 0x34a3bc0] marker=da avail_size_in_buf=105188 [mjpeg @ 0x34a3bc0] component: 0 [mjpeg @ 0x34a3bc0] component: 1 [mjpeg @ 0x34a3bc0] component: 2 [mjpeg @ 0x34a3bc0] sequential DCT p:0 >>:0 ilv:63 bits:8 skip:0 comp:3 [mjpeg @ 0x34a3bc0] marker parser used 103055 bytes (824439 bits) [mjpeg @ 0x34a3bc0] marker=d9 avail_size_in_buf=0 [mjpeg @ 0x34a3bc0] mjpeg decode frame unused 0 bytes zsh: killed ./ffmpeg_g -i ~/tmp/test.avi -an -vcodec libx264 -preset slow -profile high }}} Meanwhile, i watched for memory consumption: {{{ $ while true; do ps -o cp,cputime,%mem,rss,sz,vsz -p 6983 >> ~/tmp/ffmpeg_g_ps.log; sleep 1 ; done }}} The log is {{{ CP TIME %MEM RSS SZ VSZ 3 00:00:00 4.3 89904 31373 125492 7 00:00:01 4.3 90172 31373 125492 11 00:00:02 4.8 99080 33216 132864 15 00:00:03 5.0 102988 34450 137800 18 00:00:04 5.1 105512 34450 137800 23 00:00:05 5.2 107976 35052 140208 26 00:00:05 5.2 108064 35052 140208 29 00:00:06 5.2 108064 35052 140208 33 00:00:07 5.2 108064 35052 140208 37 00:00:08 5.2 108084 35052 140208 [...] 850 00:56:27 5.3 110128 35151 140604 850 00:56:28 5.3 110128 35151 140604 850 00:56:29 5.3 110128 35151 140604 850 00:56:30 5.3 110128 35151 140604 850 00:56:31 5.3 110128 35151 140604 850 00:56:32 5.3 110128 35151 140604 851 00:56:33 5.3 110128 35151 140604 851 00:56:33 5.3 110128 35151 140604 851 00:56:34 5.3 110128 35151 140604 851 00:56:35 5.3 110128 35151 140604 851 00:56:36 5.3 110132 35151 140604 851 00:56:37 5.3 110132 35151 140604 851 00:56:38 5.3 110132 35151 140604 851 00:56:39 5.3 110132 35151 140604 851 00:56:40 5.3 110132 35151 140604 850 00:56:41 5.3 110132 35151 140604 851 00:56:42 5.3 110132 35151 140604 851 00:56:43 5.3 110132 35151 140604 }}} After 00:56:43 process was died. Full log attached, but nothing particular in it. Should I try to run valgrind? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sat Oct 29 20:35:18 2011 From: trac at avcodec.org (FFmpeg) Date: Sat, 29 Oct 2011 18:35:18 -0000 Subject: [FFmpeg-trac] #589(FFmpeg:closed): Segfault with libx264+aac+ffserver In-Reply-To: <034.daa57dc1865fdc6f068ac3f2044de9b7@avcodec.org> References: <034.daa57dc1865fdc6f068ac3f2044de9b7@avcodec.org> Message-ID: <049.69992d20e6237ac02bb5778b2319d169@avcodec.org> #589: Segfault with libx264+aac+ffserver ------------------------------------+----------------------------------- Reporter: burek | Owner: michael Type: defect | Status: closed Priority: normal | Component: FFmpeg Version: git-master | Resolution: fixed Keywords: regression | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by michael): * keywords: => regression * status: new => closed * resolution: => fixed * reproduced: 0 => 1 Comment: segfault fixed locally, will push in a moment note, theres a good chance that there are more bugs in this code path so dont hesitate to open more reports if after the segfault you run in more problems -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 08:16:22 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 07:16:22 -0000 Subject: [FFmpeg-trac] #584(avformat:new): WTV MUX generates malformed files In-Reply-To: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> References: <035.47acf777387ae043b47d8e28017bdf18@avcodec.org> Message-ID: <050.37244292d2cc3b6b1fb3aeaa422b6c43@avcodec.org> #584: WTV MUX generates malformed files ------------------------------------+------------------------------------ Reporter: ianken | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: wtv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by ianken): http://www.funkbasealpha.DOTCOM/Video/test1.wtv -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 08:28:40 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 07:28:40 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.16dd6357fb0be24f7f74faa6957df6a8@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by benoit_friry): Valgrind run: {{{ $ nice -20 valgrind ./ffmpeg -i ~/tmp/test.avi -an -vcodec libx264 -preset slow -profile high -crf 25 -f mp4 ~/tmp/test.mp4 ==26549== Memcheck, a memory error detector ==26549== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==26549== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==26549== Command: ./ffmpeg -i /home/benoit/tmp/test.avi -an -vcodec libx264 -preset slow -profile high -crf 25 -f mp4 /home/benoit/tmp/test.mp4 ==26549== ffmpeg version git-2011-10-27-3e7db0a, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 27 2011 19:06:23 with gcc 4.6.1 configuration: --prefix=/opt/bf_ffmpeg --enable-gpl --enable-libfaac --enable-libx264 --enable-nonfree --enable-postproc libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x5866820] parser not found for codec pcm_s16le, packets or times may be invalid. Input #0, avi, from '/home/benoit/tmp/test.avi': Duration: 00:47:29.56, start: 0.000000, bitrate: 21670 kb/s Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p, 720x576, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s [buffer @ 0x6460940] w:720 h:576 pixfmt:yuvj420p tb:1/1000000 sar:0/1 sws_param: [libx264 @ 0x645b880] using cpu capabilities: MMX2 SSE2Slow SlowCTZ [libx264 @ 0x645b880] profile High, level 3.0 [libx264 @ 0x645b880] 264 - core 119 r2106 07efeb4 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=25.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/home/benoit/tmp/test.mp4': Metadata: encoder : Lavf53.17.0 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuvj420p, 720x576, q=-1--1, 25 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 (mjpeg -> libx264) Press [q] to stop, [?] for help zsh: killed nice -20 valgrind ./ffmpeg -i ~/tmp/test.avi -an -vcodec libx264 -preset slow0 }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 13:29:31 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 12:29:31 -0000 Subject: [FFmpeg-trac] #588(avcodec:open): FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine In-Reply-To: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> References: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> Message-ID: <050.3541db8e8170e0c69723cca53db7ed6a@avcodec.org> #588: FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine -------------------------------------+----------------------------------- Reporter: eiljoe | Owner: michael Type: defect | Status: open Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: win64 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by michael): Looks like an alignment issue try to compile with --enable-memalign-hack and report back if that helped -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 14:37:16 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 13:37:16 -0000 Subject: [FFmpeg-trac] #600(avcodec:new): Crash (segmentation fault) decoding a bad flac (my fix incl.) Message-ID: <033.7ede43bc6433d761aa82a976c5fd11c5@avcodec.org> #600: Crash (segmentation fault) decoding a bad flac (my fix incl.) ---------------------------------+--------------------------------------- Reporter: BJoe | Type: defect Status: new | Priority: normal Component: avcodec | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+--------------------------------------- I am trying to decode a bad flac file ffmpeg crashed (segmentation fault) ffmpeg -i fileEEmUGd.flac output.wav NOTE: I tried to provide a sample flac file for this, but when cut down to 10MB, I can't reproduce the crash. (currently I can cut it to 30MB for recreating the error) MY FIX: File: golomb.h Function: get_ur_golomb_jpegls Before: }else{ int i; for(i=0; SHOW_UBITS(re, gb, 1) == 0; i++){ LAST_SKIP_BITS(re, gb, 1); UPDATE_CACHE(re, gb); } After: }else{ int i; for(i=0; SHOW_UBITS(re, gb, 1) == 0; i++){ if (get_bits_left(gb)<=0) return -1; LAST_SKIP_BITS(re, gb, 1); UPDATE_CACHE(re, gb); } EXPLANATION: The for loop keeps reading bits with value '0' until value '1' appears, on a corrupted file, it keeps reading values until segmentation fault occurred. If reading beyond the buffer size, return -1, as in case as the limit check (afterwards) fails. linux at linux-VirtualBox:~/ffmpegtest/ffmpegnew/ffmpeg$ ./ffmpeg -v 9 -loglevel 99 -i fileEEmUGd.flac output.wav ffmpeg version N-34109-g3e43758, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 27 2011 11:45:37 with gcc 4.6.1 configuration: libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 [flac @ 0x2a32760] Format flac probed with size=2048 and score=50 [NULL @ 0x2a38ae0] Max Blocksize: 4096 [NULL @ 0x2a38ae0] Max Framesize: 12667 [NULL @ 0x2a38ae0] Samplerate: 44100 [NULL @ 0x2a38ae0] Channels: 2 [NULL @ 0x2a38ae0] Bits: 16 [flac @ 0x2a38ae0] err{or,}_recognition separate: 1; 1 [flac @ 0x2a38ae0] err{or,}_recognition combined: 1; 1 [flac @ 0x2a38ae0] Max Blocksize: 4096 [flac @ 0x2a38ae0] Max Framesize: 12667 [flac @ 0x2a38ae0] Samplerate: 44100 [flac @ 0x2a38ae0] Channels: 2 [flac @ 0x2a38ae0] Bits: 16 [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 65 times [flac @ 0x2a38ae0] crc check failed from offset 57299 (frame 34) to 12121033 (frame 1251) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 50123 (frame 33) to 12121033 (frame 1251) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 42311 (frame 32) to 12121033 (frame 1251) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 51442 (frame 34) to 12126800 (frame 1252) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 44266 (frame 33) to 12126800 (frame 1252) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 1 times [flac @ 0x2a38ae0] crc check failed from offset 44584 (frame 34) to 12131506 (frame 1253) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 5 times [flac @ 0x2a38ae0] Junk frame till offset 12085549 [flac @ 0x2a32760] Probe buffer size limit 5000000 reached Input #0, flac, from 'fileEEmUGd.flac': Metadata: track : 4 TITLE : Blackest Eyes ARTIST : Porcupine Tree ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL MIX] DATE : 2007 GENRE : Progressive Rock Duration: 00:05:33.69, bitrate: 819 kb/s Stream #0:0, 32, 1/44100: Audio: flac, 44100 Hz, stereo, s16 File 'output.wav' already exists. Overwrite ? [y/N] y err{or,}_recognition separate: 1; 1 [pcm_s16le @ 0x2a2d5a0] err{or,}_recognition combined: 1; 1 [flac @ 0x2a38ae0] err{or,}_recognition separate: 1; 1 [flac @ 0x2a38ae0] err{or,}_recognition combined: 1; 1 [flac @ 0x2a38ae0] Max Blocksize: 4096 [flac @ 0x2a38ae0] Max Framesize: 12667 [flac @ 0x2a38ae0] Samplerate: 44100 [flac @ 0x2a38ae0] Channels: 2 [flac @ 0x2a38ae0] Bits: 16 Output #0, wav, to 'output.wav': Metadata: track : 4 TITLE : Blackest Eyes ARTIST : Porcupine Tree ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL MIX] DATE : 2007 GENRE : Progressive Rock encoder : Lavf53.17.0 Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Stream mapping: Stream #0.0 -> #0.0 (flac -> pcm_s16le) Press [q] to stop, [?] for help [flac @ 0x2a38ae0] underread: 12078722 orig size: 12085549 Multiple frames in a packet from stream 0 [flac @ 0x2a38ae0] underread: 12070910 orig size: 12078722 Multiple frames in a packet from stream 0 [flac @ 0x2a38ae0] underread: 12063734 orig size: 12070910 Multiple frames in a packet from stream 0 [flac @ 0x2a38ae0] overread: 266206 Error while decoding stream #0.0 [flac @ 0x2a38ae0] dropping low score 43 frame header from offset 0 to 6827 [flac @ 0x2a38ae0] dropping low score 33 frame header from offset 6827 to 14639 [flac @ 0x2a38ae0] dropping low score 23 frame header from offset 14639 to 21815 [flac @ 0x2a38ae0] dropping low score 13 frame header from offset 21815 to 12085549 [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 35 times Segmentation faultme=00:00:04.73 bitrate=1383.6kbits/s linux at linux-VirtualBox:~/ffmpegtest/ffmpegnew/ffmpeg$ (gdb) bt #0 get_ur_golomb_jpegls (esc_len=0, limit=2147483647, k=9, gb=) at libavcodec/golomb.h:306 #1 get_sr_golomb_flac (esc_len=0, limit=2147483647, k=9, gb=0x13695a8) at libavcodec/golomb.h:348 #2 decode_residuals (s=0x1369580, channel=1, pred_order=) at libavcodec/flacdec.c:274 #3 0x0000000000601bf2 in decode_subframe_lpc (pred_order=6, channel=1, s=0x1369580) at libavcodec/flacdec.c:361 #4 decode_subframe (channel=1, s=0x1369580) at libavcodec/flacdec.c:443 #5 decode_frame (s=0x1369580) at libavcodec/flacdec.c:533 #6 flac_decode_frame (avctx=, data=0x7ffff4c59040, data_size=0x7fffffffc35c, avpkt=) at libavcodec/flacdec.c:583 #7 0x0000000000854d8a in avcodec_decode_audio3 (avctx=0x1373ae0, samples=, frame_size_ptr=, avpkt=) at libavcodec/utils.c:875 #8 0x0000000000438dd6 in output_packet (ist=, ist_index=0, ost_table=0x1368a70, nb_ostreams=1, pkt=) at ffmpeg.c:1666 #9 0x000000000043be01 in transcode (output_files=0x1368ce0, nb_output_files=1, input_files=0x1375110, nb_input_files=1) at ffmpeg.c:2635 #10 0x0000000000433ff2 in main (argc=, argv=0x7fffffffe658) at ffmpeg.c:4486 (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x601398 to 0x6013d8: 0x0000000000601398 : xor %esi,%esi 0x000000000060139a : shr $0xff,%ecx 0x000000000060139d : test %ecx,%ecx 0x000000000060139f : jne 0x601464 0x00000000006013a5 : nopl (%rax) 0x00000000006013a8 : add $0x1,%eax 0x00000000006013ab : add $0x1,%esi 0x00000000006013ae : mov %eax,%edx 0x00000000006013b0 : mov %eax,%ecx 0x00000000006013b2 : and $0x7,%ecx 0x00000000006013b5 : shr $0x3,%edx => 0x00000000006013b8 : mov (%r8,%rdx,1),%edx 0x00000000006013bc : bswap %edx 0x00000000006013be : shl %cl,%edx 0x00000000006013c0 : mov %edx,%ecx 0x00000000006013c2 : shr $0xff,%ecx 0x00000000006013c5 : test %ecx,%ecx 0x00000000006013c7 : je 0x6013a8 0x00000000006013c9 : add %edx,%edx 0x00000000006013cb : add $0x1,%eax 0x00000000006013ce : cmp $0x7ffffffd,%esi 0x00000000006013d4 : jle 0x6013f8 0x00000000006013d6 : xor %ecx,%ecx End of assembler dump. (gdb) info all-registers rax 0xa6130a8 174141608 rbx 0x0 0 rcx 0x0 0 rdx 0x14c2615 21767701 rsi 0x107e08 1080840 rdi 0x1369580 20354432 rbp 0x1396050 0x1396050 rsp 0x7fffffffbdd0 0x7fffffffbdd0 r8 0x20049e8 33573352 r9 0xa50b2a0 173060768 r10 0xf4 244 r11 0x9 9 r12 0x200 512 r13 0x1f 31 r14 0x500 1280 r15 0x0 0 rip 0x6013b8 0x6013b8 eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 0 (raw 0x00000000000000000000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x8, 0x0, 0x0}, v2_double = {0x36000, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb, 0x41, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x410b, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x410b0000, 0x0, 0x0}, v2_int64 = {0x410b000000000000, 0x0}, uint128 = 0x0000000000000000410b000000000000} xmm1 {v4_float = {0x0, 0x4d680000, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x7d, 0xc3, 0x94, 0x25, 0xad, 0x49, 0xb2, 0x54, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc37d, 0x2594, 0x49ad, 0x54b2, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2594c37d, 0x54b249ad, 0x0, 0x0}, v2_int64 = {0x54b249ad2594c37d, 0x0}, uint128 = 0x000000000000000054b249ad2594c37d} xmm2 {v4_float = {0x0, 0x7, 0x0, 0x0}, v2_double = {0xac44, 0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x80, 0x88, 0xe5, 0x40, 0xb, 0xf0, 0x2c, 0xff, 0xa6, 0xe0, 0xf7, 0xf1}, v8_int16 = {0x0, 0x0, 0x8880, 0x40e5, 0xf00b, 0xff2c, 0xe0a6, 0xf1f7}, v4_int32 = {0x0, 0x40e58880, 0xff2cf00b, 0xf1f7e0a6}, v2_int64 = {0x40e5888000000000, 0xf1f7e0a6ff2cf00b}, uint128 = 0xf1f7e0a6ff2cf00b40e5888000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x5d, 0xe5, 0xce, 0xef, 0x6b, 0xe8, 0xac, 0xef, 0xbd, 0xf3, 0xac, 0xf5, 0xd3, 0x1, 0x6f, 0x2}, v8_int16 = {0xe55d, 0xefce, 0xe86b, 0xefac, 0xf3bd, 0xf5ac, 0x1d3, 0x26f}, v4_int32 = {0xefcee55d, 0xeface86b, 0xf5acf3bd, 0x26f01d3}, v2_int64 = {0xeface86befcee55d, 0x26f01d3f5acf3bd}, uint128 = 0x026f01d3f5acf3bdeface86befcee55d} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xb1, 0x0, 0x52, 0xfc, 0x96, 0xff, 0xa4, 0xfa, 0xd0, 0xf8, 0xaa, 0xf7, 0x1b, 0xed, 0x73, 0xf3}, v8_int16 = {0xb1, 0xfc52, 0xff96, 0xfaa4, 0xf8d0, 0xf7aa, 0xed1b, 0xf373}, v4_int32 = { 0xfc5200b1, 0xfaa4ff96, 0xf7aaf8d0, 0xf373ed1b}, v2_int64 = {0xfaa4ff96fc5200b1, 0xf373ed1bf7aaf8d0}, uint128 = 0xf373ed1bf7aaf8d0faa4ff96fc5200b1} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x1e, 0xa, 0x7c, 0xff, 0x8b, 0x4, 0xaf, 0xf8, 0x7c, 0xfb, 0x49, 0xec, 0x6f, 0xf4, 0x6f, 0xe2}, v8_int16 = {0xa1e, 0xff7c, 0x48b, 0xf8af, 0xfb7c, 0xec49, 0xf46f, 0xe26f}, v4_int32 = { 0xff7c0a1e, 0xf8af048b, 0xec49fb7c, 0xe26ff46f}, v2_int64 = {0xf8af048bff7c0a1e, 0xe26ff46fec49fb7c}, uint128 = 0xe26ff46fec49fb7cf8af048bff7c0a1e} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7c, 0xec, 0x2c, 0xf2, 0x73, 0xe7, ---Type to continue, or q to quit--- 0xc4, 0xed, 0x1b, 0xe5, 0xf4, 0xe9, 0x2a, 0xe5, 0x4b, 0xe6}, v8_int16 = {0xec7c, 0xf22c, 0xe773, 0xedc4, 0xe51b, 0xe9f4, 0xe52a, 0xe64b}, v4_int32 = { 0xf22cec7c, 0xedc4e773, 0xe9f4e51b, 0xe64be52a}, v2_int64 = {0xedc4e773f22cec7c, 0xe64be52ae9f4e51b}, uint128 = 0xe64be52ae9f4e51bedc4e773f22cec7c} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7d, 0xe4, 0xac, 0xe4, 0x2d, 0xe3, 0x4d, 0xe5, 0x78, 0xe1, 0xd9, 0xe3, 0x16, 0xe0, 0xf8, 0xdd}, v8_int16 = {0xe47d, 0xe4ac, 0xe32d, 0xe54d, 0xe178, 0xe3d9, 0xe016, 0xddf8}, v4_int32 = { 0xe4ace47d, 0xe54de32d, 0xe3d9e178, 0xddf8e016}, v2_int64 = {0xe54de32de4ace47d, 0xddf8e016e3d9e178}, uint128 = 0xddf8e016e3d9e178e54de32de4ace47d} xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 = { 0x3ed6592484460000, 0x0}, uint128 = 0x00000000000000003ed6592484460000} xmm11 {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f, 0xbd, 0xff, 0xff, 0xff, 0x0, 0x0, 0x0, 0xff, 0x0}, v8_int16 = {0xa26a, 0x5065, 0xeaf2, 0xbd8f, 0xffff, 0xff, 0x0, 0xff}, v4_int32 = {0x5065a26a, 0xbd8feaf2, 0xffffff, 0xff0000}, v2_int64 = {0xbd8feaf25065a26a, 0xff000000ffffff}, uint128 = 0x00ff000000ffffffbd8feaf25065a26a} xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3cc4, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3cc40000, 0x0, 0x0}, v2_int64 = {0x3cc4000000000000, 0x0}, uint128 = 0x00000000000000003cc4000000000000} xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x59, 0xbc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0xbc59, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbc598000, 0x0, 0x0}, v2_int64 = {0xbc59800000000000, 0x0}, uint128 = 0x0000000000000000bc59800000000000} xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 = { 0x3c5324f0e883858e, 0x0}, uint128 = 0x00000000000000003c5324f0e883858e} xmm15 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0}, v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0x4046, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 = { 0x4046dfb516f209c0, 0x0}, uint128 = 0x00000000000000004046dfb516f209c0} mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] (gdb) -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 16:06:40 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 15:06:40 -0000 Subject: [FFmpeg-trac] #600(avcodec:new): Crash (segmentation fault) decoding a bad flac (my fix incl.) In-Reply-To: <033.7ede43bc6433d761aa82a976c5fd11c5@avcodec.org> References: <033.7ede43bc6433d761aa82a976c5fd11c5@avcodec.org> Message-ID: <048.316aa2d4f1011593625abb4ef48682fa@avcodec.org> #600: Crash (segmentation fault) decoding a bad flac (my fix incl.) -------------------------------------+----------------------------------- Reporter: BJoe | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Old description: > I am trying to decode a bad flac file > ffmpeg crashed (segmentation fault) > > ffmpeg -i fileEEmUGd.flac output.wav > > NOTE: I tried to provide a sample flac file for this, but when cut down > to 10MB, I can't reproduce the crash. (currently I can cut it to 30MB for > recreating the error) > > MY FIX: > File: golomb.h > Function: get_ur_golomb_jpegls > > Before: > }else{ > int i; > for(i=0; SHOW_UBITS(re, gb, 1) == 0; i++){ > LAST_SKIP_BITS(re, gb, 1); > UPDATE_CACHE(re, gb); > } > After: > }else{ > int i; > for(i=0; SHOW_UBITS(re, gb, 1) == 0; i++){ > if (get_bits_left(gb)<=0) return -1; > LAST_SKIP_BITS(re, gb, 1); > UPDATE_CACHE(re, gb); > } > > EXPLANATION: > The for loop keeps reading bits with value '0' until value '1' appears, > on a corrupted file, it keeps reading values until segmentation fault > occurred. > If reading beyond the buffer size, return -1, as in case as the limit > check (afterwards) fails. > > linux at linux-VirtualBox:~/ffmpegtest/ffmpegnew/ffmpeg$ ./ffmpeg -v 9 > -loglevel 99 -i fileEEmUGd.flac output.wav > ffmpeg version N-34109-g3e43758, Copyright (c) 2000-2011 the FFmpeg > developers > built on Oct 27 2011 11:45:37 with gcc 4.6.1 > configuration: > libavutil 51. 22. 0 / 51. 22. 0 > libavcodec 53. 23. 0 / 53. 23. 0 > libavformat 53. 17. 0 / 53. 17. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 45. 0 / 2. 45. 0 > libswscale 2. 1. 0 / 2. 1. 0 > [flac @ 0x2a32760] Format flac probed with size=2048 and score=50 > [NULL @ 0x2a38ae0] Max Blocksize: 4096 > [NULL @ 0x2a38ae0] Max Framesize: 12667 > [NULL @ 0x2a38ae0] Samplerate: 44100 > [NULL @ 0x2a38ae0] Channels: 2 > [NULL @ 0x2a38ae0] Bits: 16 > [flac @ 0x2a38ae0] err{or,}_recognition separate: 1; 1 > [flac @ 0x2a38ae0] err{or,}_recognition combined: 1; 1 > [flac @ 0x2a38ae0] Max Blocksize: 4096 > [flac @ 0x2a38ae0] Max Framesize: 12667 > [flac @ 0x2a38ae0] Samplerate: 44100 > [flac @ 0x2a38ae0] Channels: 2 > [flac @ 0x2a38ae0] Bits: 16 > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > Last message repeated 65 times > [flac @ 0x2a38ae0] crc check failed from offset 57299 (frame 34) to > 12121033 (frame 1251) > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > [flac @ 0x2a38ae0] crc check failed from offset 50123 (frame 33) to > 12121033 (frame 1251) > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > [flac @ 0x2a38ae0] crc check failed from offset 42311 (frame 32) to > 12121033 (frame 1251) > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > [flac @ 0x2a38ae0] crc check failed from offset 51442 (frame 34) to > 12126800 (frame 1252) > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > [flac @ 0x2a38ae0] crc check failed from offset 44266 (frame 33) to > 12126800 (frame 1252) > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > Last message repeated 1 times > [flac @ 0x2a38ae0] crc check failed from offset 44584 (frame 34) to > 12131506 (frame 1253) > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > Last message repeated 5 times > [flac @ 0x2a38ae0] Junk frame till offset 12085549 > [flac @ 0x2a32760] Probe buffer size limit 5000000 reached > Input #0, flac, from 'fileEEmUGd.flac': > Metadata: > track : 4 > TITLE : Blackest Eyes > ARTIST : Porcupine Tree > ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL > MIX] > DATE : 2007 > GENRE : Progressive Rock > Duration: 00:05:33.69, bitrate: 819 kb/s > Stream #0:0, 32, 1/44100: Audio: flac, 44100 Hz, stereo, s16 > File 'output.wav' already exists. Overwrite ? [y/N] y > err{or,}_recognition separate: 1; 1 > [pcm_s16le @ 0x2a2d5a0] err{or,}_recognition combined: 1; 1 > [flac @ 0x2a38ae0] err{or,}_recognition separate: 1; 1 > [flac @ 0x2a38ae0] err{or,}_recognition combined: 1; 1 > [flac @ 0x2a38ae0] Max Blocksize: 4096 > [flac @ 0x2a38ae0] Max Framesize: 12667 > [flac @ 0x2a38ae0] Samplerate: 44100 > [flac @ 0x2a38ae0] Channels: 2 > [flac @ 0x2a38ae0] Bits: 16 > Output #0, wav, to 'output.wav': > Metadata: > track : 4 > TITLE : Blackest Eyes > ARTIST : Porcupine Tree > ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL > MIX] > DATE : 2007 > GENRE : Progressive Rock > encoder : Lavf53.17.0 > Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), > 44100 Hz, stereo, s16, 1411 kb/s > Stream mapping: > Stream #0.0 -> #0.0 (flac -> pcm_s16le) > Press [q] to stop, [?] for help > [flac @ 0x2a38ae0] underread: 12078722 orig size: 12085549 > Multiple frames in a packet from stream 0 > [flac @ 0x2a38ae0] underread: 12070910 orig size: 12078722 > Multiple frames in a packet from stream 0 > [flac @ 0x2a38ae0] underread: 12063734 orig size: 12070910 > Multiple frames in a packet from stream 0 > [flac @ 0x2a38ae0] overread: 266206 > Error while decoding stream #0.0 > [flac @ 0x2a38ae0] dropping low score 43 frame header from offset 0 to > 6827 > [flac @ 0x2a38ae0] dropping low score 33 frame header from offset 6827 to > 14639 > [flac @ 0x2a38ae0] dropping low score 23 frame header from offset 14639 > to 21815 > [flac @ 0x2a38ae0] dropping low score 13 frame header from offset 21815 > to 12085549 > [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames > Last message repeated 35 times > Segmentation faultme=00:00:04.73 bitrate=1383.6kbits/s > linux at linux-VirtualBox:~/ffmpegtest/ffmpegnew/ffmpeg$ > > > > (gdb) bt > #0 get_ur_golomb_jpegls (esc_len=0, limit=2147483647, k=9, gb= out>) at libavcodec/golomb.h:306 > #1 get_sr_golomb_flac (esc_len=0, limit=2147483647, k=9, gb=0x13695a8) > at libavcodec/golomb.h:348 > #2 decode_residuals (s=0x1369580, channel=1, pred_order=) > at libavcodec/flacdec.c:274 > #3 0x0000000000601bf2 in decode_subframe_lpc (pred_order=6, channel=1, > s=0x1369580) at libavcodec/flacdec.c:361 > #4 decode_subframe (channel=1, s=0x1369580) at libavcodec/flacdec.c:443 > #5 decode_frame (s=0x1369580) at libavcodec/flacdec.c:533 > #6 flac_decode_frame (avctx=, data=0x7ffff4c59040, > data_size=0x7fffffffc35c, avpkt=) at > libavcodec/flacdec.c:583 > #7 0x0000000000854d8a in avcodec_decode_audio3 (avctx=0x1373ae0, > samples=, frame_size_ptr=, avpkt= out>) > at libavcodec/utils.c:875 > #8 0x0000000000438dd6 in output_packet (ist=, > ist_index=0, ost_table=0x1368a70, nb_ostreams=1, pkt=) at > ffmpeg.c:1666 > #9 0x000000000043be01 in transcode (output_files=0x1368ce0, > nb_output_files=1, input_files=0x1375110, nb_input_files=1) at > ffmpeg.c:2635 > #10 0x0000000000433ff2 in main (argc=, > argv=0x7fffffffe658) at ffmpeg.c:4486 > (gdb) disass $pc-32,$pc+32 > Dump of assembler code from 0x601398 to 0x6013d8: > 0x0000000000601398 : xor %esi,%esi > 0x000000000060139a : shr $0xff,%ecx > 0x000000000060139d : test %ecx,%ecx > 0x000000000060139f : jne 0x601464 > > 0x00000000006013a5 : nopl (%rax) > 0x00000000006013a8 : add $0x1,%eax > 0x00000000006013ab : add $0x1,%esi > 0x00000000006013ae : mov %eax,%edx > 0x00000000006013b0 : mov %eax,%ecx > 0x00000000006013b2 : and $0x7,%ecx > 0x00000000006013b5 : shr $0x3,%edx > => 0x00000000006013b8 : mov (%r8,%rdx,1),%edx > 0x00000000006013bc : bswap %edx > 0x00000000006013be : shl %cl,%edx > 0x00000000006013c0 : mov %edx,%ecx > 0x00000000006013c2 : shr $0xff,%ecx > 0x00000000006013c5 : test %ecx,%ecx > 0x00000000006013c7 : je 0x6013a8 > > 0x00000000006013c9 : add %edx,%edx > 0x00000000006013cb : add $0x1,%eax > 0x00000000006013ce : cmp $0x7ffffffd,%esi > 0x00000000006013d4 : jle 0x6013f8 > > 0x00000000006013d6 : xor %ecx,%ecx > End of assembler dump. > (gdb) info all-registers > rax 0xa6130a8 174141608 > rbx 0x0 0 > rcx 0x0 0 > rdx 0x14c2615 21767701 > rsi 0x107e08 1080840 > rdi 0x1369580 20354432 > rbp 0x1396050 0x1396050 > rsp 0x7fffffffbdd0 0x7fffffffbdd0 > r8 0x20049e8 33573352 > r9 0xa50b2a0 173060768 > r10 0xf4 244 > r11 0x9 9 > r12 0x200 512 > r13 0x1f 31 > r14 0x500 1280 > r15 0x0 0 > rip 0x6013b8 0x6013b8 > eflags 0x10202 [ IF RF ] > cs 0x33 51 > ss 0x2b 43 > ds 0x0 0 > es 0x0 0 > fs 0x0 0 > gs 0x0 0 > st0 0 (raw 0x00000000000000000000) > st1 0 (raw 0x00000000000000000000) > st2 0 (raw 0x00000000000000000000) > st3 0 (raw 0x00000000000000000000) > st4 0 (raw 0x00000000000000000000) > st5 0 (raw 0x00000000000000000000) > st6 0 (raw 0x00000000000000000000) > st7 0 (raw 0x00000000000000000000) > fctrl 0x37f 895 > fstat 0x0 0 > ftag 0xffff 65535 > fiseg 0x0 0 > fioff 0x0 0 > foseg 0x0 0 > fooff 0x0 0 > fop 0x0 0 > xmm0 {v4_float = {0x0, 0x8, 0x0, 0x0}, v2_double = {0x36000, > 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb, 0x41, 0x0, 0x0, 0x0, > 0x0, 0x0, > 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x410b, 0x0, 0x0, 0x0, > 0x0}, v4_int32 = {0x0, 0x410b0000, 0x0, 0x0}, v2_int64 = > {0x410b000000000000, 0x0}, > uint128 = 0x0000000000000000410b000000000000} > xmm1 {v4_float = {0x0, 0x4d680000, 0x0, 0x0}, v2_double = > {0x8000000000000000, 0x0}, v16_int8 = {0x7d, 0xc3, 0x94, 0x25, 0xad, > 0x49, 0xb2, 0x54, > 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc37d, 0x2594, > 0x49ad, 0x54b2, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2594c37d, 0x54b249ad, > 0x0, > 0x0}, v2_int64 = {0x54b249ad2594c37d, 0x0}, uint128 = > 0x000000000000000054b249ad2594c37d} > xmm2 {v4_float = {0x0, 0x7, 0x0, 0x0}, v2_double = {0xac44, > 0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x80, 0x88, 0xe5, > 0x40, 0xb, > 0xf0, 0x2c, 0xff, 0xa6, 0xe0, 0xf7, 0xf1}, v8_int16 = {0x0, 0x0, > 0x8880, 0x40e5, 0xf00b, 0xff2c, 0xe0a6, 0xf1f7}, v4_int32 = {0x0, > 0x40e58880, > 0xff2cf00b, 0xf1f7e0a6}, v2_int64 = {0x40e5888000000000, > 0xf1f7e0a6ff2cf00b}, uint128 = 0xf1f7e0a6ff2cf00b40e5888000000000} > xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = > {0x8000000000000000, 0x0}, v16_int8 = {0x5d, 0xe5, 0xce, 0xef, 0x6b, > 0xe8, 0xac, 0xef, 0xbd, > 0xf3, 0xac, 0xf5, 0xd3, 0x1, 0x6f, 0x2}, v8_int16 = {0xe55d, 0xefce, > 0xe86b, 0xefac, 0xf3bd, 0xf5ac, 0x1d3, 0x26f}, v4_int32 = {0xefcee55d, > 0xeface86b, > 0xf5acf3bd, 0x26f01d3}, v2_int64 = {0xeface86befcee55d, > 0x26f01d3f5acf3bd}, uint128 = 0x026f01d3f5acf3bdeface86befcee55d} > xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = > {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xb1, 0x0, 0x52, > 0xfc, 0x96, 0xff, 0xa4, > 0xfa, 0xd0, 0xf8, 0xaa, 0xf7, 0x1b, 0xed, 0x73, 0xf3}, v8_int16 = > {0xb1, 0xfc52, 0xff96, 0xfaa4, 0xf8d0, 0xf7aa, 0xed1b, 0xf373}, v4_int32 > = { > 0xfc5200b1, 0xfaa4ff96, 0xf7aaf8d0, 0xf373ed1b}, v2_int64 = > {0xfaa4ff96fc5200b1, 0xf373ed1bf7aaf8d0}, uint128 = > 0xf373ed1bf7aaf8d0faa4ff96fc5200b1} > xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = > {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x1e, 0xa, 0x7c, > 0xff, 0x8b, 0x4, 0xaf, > 0xf8, 0x7c, 0xfb, 0x49, 0xec, 0x6f, 0xf4, 0x6f, 0xe2}, v8_int16 = > {0xa1e, 0xff7c, 0x48b, 0xf8af, 0xfb7c, 0xec49, 0xf46f, 0xe26f}, v4_int32 > = { > 0xff7c0a1e, 0xf8af048b, 0xec49fb7c, 0xe26ff46f}, v2_int64 = > {0xf8af048bff7c0a1e, 0xe26ff46fec49fb7c}, uint128 = > 0xe26ff46fec49fb7cf8af048bff7c0a1e} > xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = > {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7c, 0xec, 0x2c, > 0xf2, 0x73, 0xe7, > ---Type to continue, or q to quit--- > 0xc4, 0xed, 0x1b, 0xe5, 0xf4, 0xe9, 0x2a, 0xe5, 0x4b, 0xe6}, v8_int16 > = {0xec7c, 0xf22c, 0xe773, 0xedc4, 0xe51b, 0xe9f4, 0xe52a, 0xe64b}, > v4_int32 = { > 0xf22cec7c, 0xedc4e773, 0xe9f4e51b, 0xe64be52a}, v2_int64 = > {0xedc4e773f22cec7c, 0xe64be52ae9f4e51b}, uint128 = > 0xe64be52ae9f4e51bedc4e773f22cec7c} > xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = > {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7d, 0xe4, 0xac, > 0xe4, 0x2d, 0xe3, > 0x4d, 0xe5, 0x78, 0xe1, 0xd9, 0xe3, 0x16, 0xe0, 0xf8, 0xdd}, v8_int16 > = {0xe47d, 0xe4ac, 0xe32d, 0xe54d, 0xe178, 0xe3d9, 0xe016, 0xddf8}, > v4_int32 = { > 0xe4ace47d, 0xe54de32d, 0xe3d9e178, 0xddf8e016}, v2_int64 = > {0xe54de32de4ace47d, 0xddf8e016e3d9e178}, uint128 = > 0xddf8e016e3d9e178e54de32de4ace47d} > xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, > v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, > 0x0, > 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, > uint128 = 0x00000000000000000000000000000000} > xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, > v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, > 0x0, > 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, > uint128 = 0x00000000000000000000000000000000} > xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, > v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, > 0x0, 0x0, > 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, > 0x0, 0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 = { > 0x3ed6592484460000, 0x0}, uint128 = > 0x00000000000000003ed6592484460000} > xmm11 {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, > 0x0}, v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f, 0xbd, 0xff, > 0xff, > 0xff, 0x0, 0x0, 0x0, 0xff, 0x0}, v8_int16 = {0xa26a, 0x5065, 0xeaf2, > 0xbd8f, 0xffff, 0xff, 0x0, 0xff}, v4_int32 = {0x5065a26a, 0xbd8feaf2, > 0xffffff, > 0xff0000}, v2_int64 = {0xbd8feaf25065a26a, 0xff000000ffffff}, uint128 > = 0x00ff000000ffffffbd8feaf25065a26a} > xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, > v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4, 0x3c, 0x0, 0x0, 0x0, 0x0, > 0x0, > 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3cc4, 0x0, 0x0, 0x0, > 0x0}, v4_int32 = {0x0, 0x3cc40000, 0x0, 0x0}, v2_int64 = > {0x3cc4000000000000, 0x0}, > uint128 = 0x00000000000000003cc4000000000000} > xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, > v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x59, 0xbc, 0x0, 0x0, 0x0, > 0x0, 0x0, > 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0xbc59, 0x0, 0x0, 0x0, > 0x0}, v4_int32 = {0x0, 0xbc598000, 0x0, 0x0}, v2_int64 = > {0xbc59800000000000, > 0x0}, uint128 = 0x0000000000000000bc59800000000000} > xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, > v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, > 0x0, 0x0, > 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, > 0x0, 0x0, 0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 = > { > 0x3c5324f0e883858e, 0x0}, uint128 = > 0x00000000000000003c5324f0e883858e} > xmm15 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0}, > v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, > 0x0, > 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0x4046, 0x0, > 0x0, 0x0, 0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 = > { > 0x4046dfb516f209c0, 0x0}, uint128 = > 0x00000000000000004046dfb516f209c0} > mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] > (gdb) New description: I am trying to decode a bad flac file ffmpeg crashed (segmentation fault) ffmpeg -i fileEEmUGd.flac output.wav NOTE: I tried to provide a sample flac file for this, but when cut down to 10MB, I can't reproduce the crash. (currently I can cut it to 30MB for recreating the error) MY FIX: File: golomb.h Function: get_ur_golomb_jpegls Before: }else{ int i; for(i=0; SHOW_UBITS(re, gb, 1) == 0; i++){ LAST_SKIP_BITS(re, gb, 1); UPDATE_CACHE(re, gb); } After: }else{ int i; for(i=0; SHOW_UBITS(re, gb, 1) == 0; i++){ if (get_bits_left(gb)<=0) return -1; LAST_SKIP_BITS(re, gb, 1); UPDATE_CACHE(re, gb); } EXPLANATION: The for loop keeps reading bits with value '0' until value '1' appears, on a corrupted file, it keeps reading values until segmentation fault occurred. If reading beyond the buffer size, return -1, as in case as the limit check (afterwards) fails. {{{ linux at linux-VirtualBox:~/ffmpegtest/ffmpegnew/ffmpeg$ ./ffmpeg -v 9 -loglevel 99 -i fileEEmUGd.flac output.wav ffmpeg version N-34109-g3e43758, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 27 2011 11:45:37 with gcc 4.6.1 configuration: libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 [flac @ 0x2a32760] Format flac probed with size=2048 and score=50 [NULL @ 0x2a38ae0] Max Blocksize: 4096 [NULL @ 0x2a38ae0] Max Framesize: 12667 [NULL @ 0x2a38ae0] Samplerate: 44100 [NULL @ 0x2a38ae0] Channels: 2 [NULL @ 0x2a38ae0] Bits: 16 [flac @ 0x2a38ae0] err{or,}_recognition separate: 1; 1 [flac @ 0x2a38ae0] err{or,}_recognition combined: 1; 1 [flac @ 0x2a38ae0] Max Blocksize: 4096 [flac @ 0x2a38ae0] Max Framesize: 12667 [flac @ 0x2a38ae0] Samplerate: 44100 [flac @ 0x2a38ae0] Channels: 2 [flac @ 0x2a38ae0] Bits: 16 [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 65 times [flac @ 0x2a38ae0] crc check failed from offset 57299 (frame 34) to 12121033 (frame 1251) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 50123 (frame 33) to 12121033 (frame 1251) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 42311 (frame 32) to 12121033 (frame 1251) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 51442 (frame 34) to 12126800 (frame 1252) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames [flac @ 0x2a38ae0] crc check failed from offset 44266 (frame 33) to 12126800 (frame 1252) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 1 times [flac @ 0x2a38ae0] crc check failed from offset 44584 (frame 34) to 12131506 (frame 1253) [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 5 times [flac @ 0x2a38ae0] Junk frame till offset 12085549 [flac @ 0x2a32760] Probe buffer size limit 5000000 reached Input #0, flac, from 'fileEEmUGd.flac': Metadata: track : 4 TITLE : Blackest Eyes ARTIST : Porcupine Tree ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL MIX] DATE : 2007 GENRE : Progressive Rock Duration: 00:05:33.69, bitrate: 819 kb/s Stream #0:0, 32, 1/44100: Audio: flac, 44100 Hz, stereo, s16 File 'output.wav' already exists. Overwrite ? [y/N] y err{or,}_recognition separate: 1; 1 [pcm_s16le @ 0x2a2d5a0] err{or,}_recognition combined: 1; 1 [flac @ 0x2a38ae0] err{or,}_recognition separate: 1; 1 [flac @ 0x2a38ae0] err{or,}_recognition combined: 1; 1 [flac @ 0x2a38ae0] Max Blocksize: 4096 [flac @ 0x2a38ae0] Max Framesize: 12667 [flac @ 0x2a38ae0] Samplerate: 44100 [flac @ 0x2a38ae0] Channels: 2 [flac @ 0x2a38ae0] Bits: 16 Output #0, wav, to 'output.wav': Metadata: track : 4 TITLE : Blackest Eyes ARTIST : Porcupine Tree ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL MIX] DATE : 2007 GENRE : Progressive Rock encoder : Lavf53.17.0 Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Stream mapping: Stream #0.0 -> #0.0 (flac -> pcm_s16le) Press [q] to stop, [?] for help [flac @ 0x2a38ae0] underread: 12078722 orig size: 12085549 Multiple frames in a packet from stream 0 [flac @ 0x2a38ae0] underread: 12070910 orig size: 12078722 Multiple frames in a packet from stream 0 [flac @ 0x2a38ae0] underread: 12063734 orig size: 12070910 Multiple frames in a packet from stream 0 [flac @ 0x2a38ae0] overread: 266206 Error while decoding stream #0.0 [flac @ 0x2a38ae0] dropping low score 43 frame header from offset 0 to 6827 [flac @ 0x2a38ae0] dropping low score 33 frame header from offset 6827 to 14639 [flac @ 0x2a38ae0] dropping low score 23 frame header from offset 14639 to 21815 [flac @ 0x2a38ae0] dropping low score 13 frame header from offset 21815 to 12085549 [flac @ 0x2a38ae0] sample/frame number mismatch in adjacent frames Last message repeated 35 times Segmentation faultme=00:00:04.73 bitrate=1383.6kbits/s linux at linux-VirtualBox:~/ffmpegtest/ffmpegnew/ffmpeg$ (gdb) bt #0 get_ur_golomb_jpegls (esc_len=0, limit=2147483647, k=9, gb=) at libavcodec/golomb.h:306 #1 get_sr_golomb_flac (esc_len=0, limit=2147483647, k=9, gb=0x13695a8) at libavcodec/golomb.h:348 #2 decode_residuals (s=0x1369580, channel=1, pred_order=) at libavcodec/flacdec.c:274 #3 0x0000000000601bf2 in decode_subframe_lpc (pred_order=6, channel=1, s=0x1369580) at libavcodec/flacdec.c:361 #4 decode_subframe (channel=1, s=0x1369580) at libavcodec/flacdec.c:443 #5 decode_frame (s=0x1369580) at libavcodec/flacdec.c:533 #6 flac_decode_frame (avctx=, data=0x7ffff4c59040, data_size=0x7fffffffc35c, avpkt=) at libavcodec/flacdec.c:583 #7 0x0000000000854d8a in avcodec_decode_audio3 (avctx=0x1373ae0, samples=, frame_size_ptr=, avpkt=) at libavcodec/utils.c:875 #8 0x0000000000438dd6 in output_packet (ist=, ist_index=0, ost_table=0x1368a70, nb_ostreams=1, pkt=) at ffmpeg.c:1666 #9 0x000000000043be01 in transcode (output_files=0x1368ce0, nb_output_files=1, input_files=0x1375110, nb_input_files=1) at ffmpeg.c:2635 #10 0x0000000000433ff2 in main (argc=, argv=0x7fffffffe658) at ffmpeg.c:4486 (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x601398 to 0x6013d8: 0x0000000000601398 : xor %esi,%esi 0x000000000060139a : shr $0xff,%ecx 0x000000000060139d : test %ecx,%ecx 0x000000000060139f : jne 0x601464 0x00000000006013a5 : nopl (%rax) 0x00000000006013a8 : add $0x1,%eax 0x00000000006013ab : add $0x1,%esi 0x00000000006013ae : mov %eax,%edx 0x00000000006013b0 : mov %eax,%ecx 0x00000000006013b2 : and $0x7,%ecx 0x00000000006013b5 : shr $0x3,%edx => 0x00000000006013b8 : mov (%r8,%rdx,1),%edx 0x00000000006013bc : bswap %edx 0x00000000006013be : shl %cl,%edx 0x00000000006013c0 : mov %edx,%ecx 0x00000000006013c2 : shr $0xff,%ecx 0x00000000006013c5 : test %ecx,%ecx 0x00000000006013c7 : je 0x6013a8 0x00000000006013c9 : add %edx,%edx 0x00000000006013cb : add $0x1,%eax 0x00000000006013ce : cmp $0x7ffffffd,%esi 0x00000000006013d4 : jle 0x6013f8 0x00000000006013d6 : xor %ecx,%ecx End of assembler dump. (gdb) info all-registers rax 0xa6130a8 174141608 rbx 0x0 0 rcx 0x0 0 rdx 0x14c2615 21767701 rsi 0x107e08 1080840 rdi 0x1369580 20354432 rbp 0x1396050 0x1396050 rsp 0x7fffffffbdd0 0x7fffffffbdd0 r8 0x20049e8 33573352 r9 0xa50b2a0 173060768 r10 0xf4 244 r11 0x9 9 r12 0x200 512 r13 0x1f 31 r14 0x500 1280 r15 0x0 0 rip 0x6013b8 0x6013b8 eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 0 (raw 0x00000000000000000000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x8, 0x0, 0x0}, v2_double = {0x36000, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb, 0x41, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x410b, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x410b0000, 0x0, 0x0}, v2_int64 = {0x410b000000000000, 0x0}, uint128 = 0x0000000000000000410b000000000000} xmm1 {v4_float = {0x0, 0x4d680000, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x7d, 0xc3, 0x94, 0x25, 0xad, 0x49, 0xb2, 0x54, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc37d, 0x2594, 0x49ad, 0x54b2, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2594c37d, 0x54b249ad, 0x0, 0x0}, v2_int64 = {0x54b249ad2594c37d, 0x0}, uint128 = 0x000000000000000054b249ad2594c37d} xmm2 {v4_float = {0x0, 0x7, 0x0, 0x0}, v2_double = {0xac44, 0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x80, 0x88, 0xe5, 0x40, 0xb, 0xf0, 0x2c, 0xff, 0xa6, 0xe0, 0xf7, 0xf1}, v8_int16 = {0x0, 0x0, 0x8880, 0x40e5, 0xf00b, 0xff2c, 0xe0a6, 0xf1f7}, v4_int32 = {0x0, 0x40e58880, 0xff2cf00b, 0xf1f7e0a6}, v2_int64 = {0x40e5888000000000, 0xf1f7e0a6ff2cf00b}, uint128 = 0xf1f7e0a6ff2cf00b40e5888000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x5d, 0xe5, 0xce, 0xef, 0x6b, 0xe8, 0xac, 0xef, 0xbd, 0xf3, 0xac, 0xf5, 0xd3, 0x1, 0x6f, 0x2}, v8_int16 = {0xe55d, 0xefce, 0xe86b, 0xefac, 0xf3bd, 0xf5ac, 0x1d3, 0x26f}, v4_int32 = {0xefcee55d, 0xeface86b, 0xf5acf3bd, 0x26f01d3}, v2_int64 = {0xeface86befcee55d, 0x26f01d3f5acf3bd}, uint128 = 0x026f01d3f5acf3bdeface86befcee55d} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xb1, 0x0, 0x52, 0xfc, 0x96, 0xff, 0xa4, 0xfa, 0xd0, 0xf8, 0xaa, 0xf7, 0x1b, 0xed, 0x73, 0xf3}, v8_int16 = {0xb1, 0xfc52, 0xff96, 0xfaa4, 0xf8d0, 0xf7aa, 0xed1b, 0xf373}, v4_int32 = { 0xfc5200b1, 0xfaa4ff96, 0xf7aaf8d0, 0xf373ed1b}, v2_int64 = {0xfaa4ff96fc5200b1, 0xf373ed1bf7aaf8d0}, uint128 = 0xf373ed1bf7aaf8d0faa4ff96fc5200b1} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x1e, 0xa, 0x7c, 0xff, 0x8b, 0x4, 0xaf, 0xf8, 0x7c, 0xfb, 0x49, 0xec, 0x6f, 0xf4, 0x6f, 0xe2}, v8_int16 = {0xa1e, 0xff7c, 0x48b, 0xf8af, 0xfb7c, 0xec49, 0xf46f, 0xe26f}, v4_int32 = { 0xff7c0a1e, 0xf8af048b, 0xec49fb7c, 0xe26ff46f}, v2_int64 = {0xf8af048bff7c0a1e, 0xe26ff46fec49fb7c}, uint128 = 0xe26ff46fec49fb7cf8af048bff7c0a1e} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7c, 0xec, 0x2c, 0xf2, 0x73, 0xe7, ---Type to continue, or q to quit--- 0xc4, 0xed, 0x1b, 0xe5, 0xf4, 0xe9, 0x2a, 0xe5, 0x4b, 0xe6}, v8_int16 = {0xec7c, 0xf22c, 0xe773, 0xedc4, 0xe51b, 0xe9f4, 0xe52a, 0xe64b}, v4_int32 = { 0xf22cec7c, 0xedc4e773, 0xe9f4e51b, 0xe64be52a}, v2_int64 = {0xedc4e773f22cec7c, 0xe64be52ae9f4e51b}, uint128 = 0xe64be52ae9f4e51bedc4e773f22cec7c} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7d, 0xe4, 0xac, 0xe4, 0x2d, 0xe3, 0x4d, 0xe5, 0x78, 0xe1, 0xd9, 0xe3, 0x16, 0xe0, 0xf8, 0xdd}, v8_int16 = {0xe47d, 0xe4ac, 0xe32d, 0xe54d, 0xe178, 0xe3d9, 0xe016, 0xddf8}, v4_int32 = { 0xe4ace47d, 0xe54de32d, 0xe3d9e178, 0xddf8e016}, v2_int64 = {0xe54de32de4ace47d, 0xddf8e016e3d9e178}, uint128 = 0xddf8e016e3d9e178e54de32de4ace47d} xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 = { 0x3ed6592484460000, 0x0}, uint128 = 0x00000000000000003ed6592484460000} xmm11 {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f, 0xbd, 0xff, 0xff, 0xff, 0x0, 0x0, 0x0, 0xff, 0x0}, v8_int16 = {0xa26a, 0x5065, 0xeaf2, 0xbd8f, 0xffff, 0xff, 0x0, 0xff}, v4_int32 = {0x5065a26a, 0xbd8feaf2, 0xffffff, 0xff0000}, v2_int64 = {0xbd8feaf25065a26a, 0xff000000ffffff}, uint128 = 0x00ff000000ffffffbd8feaf25065a26a} xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3cc4, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3cc40000, 0x0, 0x0}, v2_int64 = {0x3cc4000000000000, 0x0}, uint128 = 0x00000000000000003cc4000000000000} xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x59, 0xbc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0xbc59, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbc598000, 0x0, 0x0}, v2_int64 = {0xbc59800000000000, 0x0}, uint128 = 0x0000000000000000bc59800000000000} xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8e, 0x85, 0x83, 0xe8, 0xf0, 0x24, 0x53, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x858e, 0xe883, 0x24f0, 0x3c53, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xe883858e, 0x3c5324f0, 0x0, 0x0}, v2_int64 = { 0x3c5324f0e883858e, 0x0}, uint128 = 0x00000000000000003c5324f0e883858e} xmm15 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0}, v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0x4046, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 = { 0x4046dfb516f209c0, 0x0}, uint128 = 0x00000000000000004046dfb516f209c0} mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] (gdb) }}} -- Comment (by cehoyos): Please upload your 30MB sample to http://www.datafilehost.com and post the download link here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 17:53:21 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 16:53:21 -0000 Subject: [FFmpeg-trac] #588(avcodec:open): FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine In-Reply-To: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> References: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> Message-ID: <050.d4f04d7c70f2ef74cbb990937eb3c9fe@avcodec.org> #588: FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine -------------------------------------+----------------------------------- Reporter: eiljoe | Owner: michael Type: defect | Status: open Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: win64 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by cehoyos): --enable-memalign-hack does not help: {{{ (gdb) break ff_imdct_half_sse Breakpoint 1 at 0x9d7560 (gdb) break ff_imdct_half_sse.pre Breakpoint 2 at 0x9d75a2 (gdb) r -i ffmpeg-crash-around-frame-60.wmv -vn -f null - ffmpeg version N-34276-g02fa529, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 30 2011 17:33:40 with gcc 4.7.0 20110827 (experimental) configuration: --enable-memalign-hack libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 25. 0 / 53. 25. 0 libavformat 53. 18. 0 / 53. 18. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 1 / 2. 45. 1 libswscale 2. 1. 0 / 2. 1. 0 [wmav2 @ 0000000005B15BC0] Warning: not compiled with thread support, using thread emulation [wmv2 @ 0000000005B16580] Warning: not compiled with thread support, using thread emulation [asf @ 000000000032BAE0] parser not found for codec wmav2, packets or times may be invalid. Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, asf, from 'ffmpeg-crash-around-frame-60.wmv': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 8464 ??????????????????????????? Buffer Average : 8514 ??????????????????????????? Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze Duration: 00:01:20.02, start: 0.000000, bitrate: 153 kb/s Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 channels, s16, 128 kb/s Stream #0:1: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 1280x720, 18000 kb/s, 25 tbr, 1k tbn, 1k tbc [pcm_s16le @ 0000000005B74400] Warning: not compiled with thread support, using thread emulation [wmav2 @ 0000000005B15BC0] Warning: not compiled with thread support, using thread emulation Output #0, null, to 'pipe:': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 8464 ??????????????????????????? Buffer Average : 8514 ??????????????????????????? Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze encoder : Lavf53.18.0 Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Stream mapping: Stream #0.0 -> #0.0 (wmav2 -> pcm_s16le) Press [q] to stop, [?] for help Breakpoint 1, 0x00000000009d7560 in ff_imdct_half_sse () (gdb) bt #0 0x00000000009d7560 in ff_imdct_half_sse () #1 0x00000000009d4779 in ff_imdct_calc_sse (s=, output=0x5b51a3c, input=) at libavcodec/x86/fft_sse.c:89 #2 0x00000000007464d5 in wma_decode_block (s=0x5b45560) at libavcodec/wmadec.c:756 #3 0x0000000000000000 in ?? () (gdb) disass $pc,$pc+128 Dump of assembler code from 0x9d7560 to 0x9d75e0: => 0x00000000009d7560 : push %rdi 0x00000000009d7561 : push %rsi 0x00000000009d7562 : sub $0x30,%rsp 0x00000000009d7566 : movaps %xmm7,0x18(%rsp) 0x00000000009d756b : movaps %xmm6,0x8(%rsp) 0x00000000009d7570 : push %r12 0x00000000009d7572 : push %r13 0x00000000009d7574 : push %r14 0x00000000009d7576 : mov 0x18(%rcx),%r9d 0x00000000009d757a : add %r9,%r8 0x00000000009d757d : shr %r9 0x00000000009d7580 : mov 0x20(%rcx),%r11 0x00000000009d7584 : mov 0x28(%rcx),%r12 0x00000000009d7588 : add %r9,%r11 0x00000000009d758b : add %r9,%r12 0x00000000009d758e : shr %r9 0x00000000009d7591 : mov 0x8(%rcx),%r10 0x00000000009d7595 : add %r9,%r10 0x00000000009d7598 : sub $0x4,%r9 0x00000000009d759c : xor %rdi,%rdi 0x00000000009d759f : sub %r9,%rdi 0x00000000009d75a2 : movaps (%r8,%r9,4),%xmm0 0x00000000009d75a7 : movaps -0x10(%r8,%rdi,4),%xmm1 0x00000000009d75ad : movaps %xmm0,%xmm2 0x00000000009d75b0 : shufps $0x88,%xmm1,%xmm0 0x00000000009d75b4 : shufps $0x77,%xmm2,%xmm1 0x00000000009d75b8 : movlps (%r11,%r9,2),%xmm4 0x00000000009d75bd : movlps (%r12,%r9,2),%xmm5 0x00000000009d75c2 : movhps -0x8(%r11,%rdi,2),%xmm4 0x00000000009d75c8 : movhps -0x8(%r12,%rdi,2),%xmm5 0x00000000009d75ce : movaps %xmm0,%xmm2 0x00000000009d75d1 : movaps %xmm1,%xmm3 0x00000000009d75d4 : mulps %xmm5,%xmm0 0x00000000009d75d7 : mulps %xmm4,%xmm1 0x00000000009d75da : mulps %xmm4,%xmm2 0x00000000009d75dd : mulps %xmm5,%xmm3 End of assembler dump. (gdb) info registers rax 0x3e95a40 65624640 rbx 0x3e92a3c 65612348 rcx 0x3e95a40 65624640 rdx 0x3e92a3c 65612348 rsi 0x400 1024 rdi 0x1000 4096 rbp 0x3e91a3c 0x3e91a3c rsp 0x22dd68 0x22dd68 r8 0x3e8da3c 65591868 r9 0x38d780 3725184 r10 0x800 2048 r11 0x4 4 r12 0x0 0 r13 0x0 0 r14 0x29 41 r15 0x3e85560 65557856 rip 0x9d7560 0x9d7560 eflags 0x206 [ PF IF ] cs 0x33 51 ss 0x206002b 33947691 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x2b0000 2818048 (gdb) s Single stepping until exit from function ff_imdct_half_sse, which has no line number information. Breakpoint 2, 0x00000000009d75a2 in ff_imdct_half_sse.pre () (gdb) bt #0 0x00000000009d75a2 in ff_imdct_half_sse.pre () #1 0x0000000000000029 in ?? () #2 0x0000000000000000 in ?? () (gdb) info registers rax 0x3e95a40 65624640 rbx 0x3e92a3c 65612348 rcx 0x3e95a40 65624640 rdx 0x3e92a3c 65612348 rsi 0x400 1024 rdi 0xfffffffffffffc04 -1020 rbp 0x3e91a3c 0x3e91a3c rsp 0x22dd10 0x22dd10 r8 0x3e8ea3c 65595964 r9 0x3fc 1020 r10 0x38e660 3728992 r11 0x3efaca0 66038944 r12 0x3efbca0 66043040 r13 0x0 0 r14 0x29 41 r15 0x3e85560 65557856 rip 0x9d75a2 0x9d75a2 eflags 0x293 [ CF AF SF IF ] cs 0x33 51 ss 0x293002b 43188267 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x2b0000 2818048 xmm0 = 0 (gdb) s Single stepping until exit from function ff_imdct_half_sse.pre, which has no line number information. Program received signal SIGSEGV, Segmentation fault. 0x00000000009d75a2 in ff_imdct_half_sse.pre () (gdb) bt #0 0x00000000009d75a2 in ff_imdct_half_sse.pre () #1 0x0000000000000029 in ?? () #2 0x0000000000000000 in ?? () }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 19:47:47 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 18:47:47 -0000 Subject: [FFmpeg-trac] #466(undetermined:open): Does FFMPEG support MPEGTS + H.264? In-Reply-To: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> References: <041.6cfbb0db8029956ca50d74362853713d@avcodec.org> Message-ID: <056.65ff06447b43ba0e50c71e7c0c4e563e@avcodec.org> #466: Does FFMPEG support MPEGTS + H.264? -------------------------------------+------------------------------------- Reporter: | Owner: sunshine_uyl | Status: open Type: defect | Component: Priority: normal | undetermined Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Plays fine now with mplayer -demuxer mpegts, mplayer -demuxer lavf and ffplay, the problems when converting with ffmpeg are still reproducible. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Sun Oct 30 23:12:22 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 22:12:22 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.ade701ae3aefe2b838b03d98c5420909@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by graylion): running with latest snapshot, we'll see what happens. can you give me an example how I would use gdb here? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 00:05:03 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 23:05:03 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.905b509743f83ef57a8d99d70a4d33c3@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by graylion): result with latest snapshot: frame= 3538 fps= 34 q=2.0 size= 160982kB time=00:02:27.56 bitrate=8936.9kbits/sffmpeg: libavcodec/ratecontrol.c:696: ff_rate_estimate_qscale: Assertion `picture_numbernum_entries' failed. Aborted -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 00:21:04 2011 From: trac at avcodec.org (FFmpeg) Date: Sun, 30 Oct 2011 23:21:04 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.179817f03c680b556203bdab83909963@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by graylion): OK, have figured out how to gdb, running with gdb and waiting for failure -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 01:05:03 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 00:05:03 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.133c9f6a34268b151efb44ec043a89d1@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by graylion): I have installed the debug symbols for libc, but gdb doesn't seem to find them. I'll try again after a reboot: backtrace: $sudo gdb /usr/bin/ffmpeg 12593 GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/ffmpeg...(no debugging symbols found)...done. Attaching to program: /usr/bin/ffmpeg, process 12593 Cannot access memory at address 0x40ccb38b2414ff49 Cannot access memory at address 0x40ccb38b2414ff49 Cannot access memory at address 0x40ccb38b2414ff49 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Cannot access memory at address 0x40ccb38b2414ff49 0x000000000069af90 in ?? () (gdb) c Continuing. Program received signal SIGABRT, Aborted. 0x00007fce1a7a8d05 in ?? () (gdb) bt #0 0x00007fce1a7a8d05 in ?? () #1 0x00007fce1a7acab6 in ?? () #2 0x00000000000002b8 in ?? () #3 0x00007fce1a8c868e in ?? () #4 0x0000000000acc700 in ?? () #5 0x00007fce1a8c66da in ?? () #6 0x00007fffe24641f0 in ?? () #7 0x00007fce1a7db862 in ?? () #8 0x0000003000000018 in ?? () #9 0x00007fffe2464200 in ?? () #10 0x00007fffe2464120 in ?? () #11 0x00007fce1a7c5d74 in ?? () #12 0x0000003000000030 in ?? () #13 0x00007fffe2464218 in ?? () #14 0x0000000001c51d40 in ?? () #15 0x00000000000020e0 in ?? () #16 0x0000000001c89730 in ?? () #17 0x7265626d756e5f65 in ?? () #18 0x00007fffe24673db in ?? () #19 0x00007fce1a8c66da in ?? () #20 0x0000000000acc1c3 in ?? () ---Type to continue, or q to quit--- #21 0x00000000000002b8 in ?? () #22 0x0000000000000020 in ?? () #23 0x0000000000000000 in ?? () -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 02:07:28 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 01:07:28 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.e51018e8dfcdb4830099e2057f055e47@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): As explained on http://ffmpeg.org/bugreports.html do not run "gdb /usr/bin/ffmpeg", but "gdb ffmpeg_g" from your build directory to get symbols needed for backtrace etc. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 08:13:06 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 07:13:06 -0000 Subject: [FFmpeg-trac] #600(avcodec:new): Crash (segmentation fault) decoding a bad flac (my fix incl.) In-Reply-To: <033.7ede43bc6433d761aa82a976c5fd11c5@avcodec.org> References: <033.7ede43bc6433d761aa82a976c5fd11c5@avcodec.org> Message-ID: <048.70234eaaff03d70f23af971cdf49e9f0@avcodec.org> #600: Crash (segmentation fault) decoding a bad flac (my fix incl.) -------------------------------------+----------------------------------- Reporter: BJoe | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by BJoe): Please find the audio sample here: http://www.datafilehost.com/download-2465f636.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:01:53 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:01:53 -0000 Subject: [FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file Message-ID: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: ffmpeg | Blocked By: libx264 | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- FFmpeg or libx264 or some combination of the two produces an invalid mp4 that will crash ffprobe / probably others (VLC crashes on the file as well). The source is a number of PNG images and the output is a 2 pass encoded libx264 coded video. Here is the command line I used: carl at af:~/fractal$ ffmpeg -r 30 -i fracs/fractal%05d.png -vcodec libx264 -b:v 4096k -t 60 -threads 0 -pass 1 preview.mp4 ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 03:55:48 with gcc 4.4.3 configuration: --enable-librtmp --enable-gpl --enable-shared --enable- nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- libvorbis -- enable-libfaac --enable-libtheora --enable-libvpx libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, image2, from 'fracs/fractal%05d.png': Duration: 00:05:19.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24, 1440x900, 30 fps, 30 tbr, 30 tbn, 30 tbc File 'preview.mp4' already exists. Overwrite ? [y/N] y w:1440 h:900 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param: [libx264 @ 0x9121a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x9121a80] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit [libx264 @ 0x9121a80] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref= 1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 dir ect=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=4096 ratetol=1.0 qcomp=0.6 0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'preview.mp4': Metadata: encoder : Lavf53.16.1 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), rgb24, 1440x900, q=-1 --1, pass 1, 4096 kb/s, 30 tbn, 30 tbc Stream mapping: Stream #0.0 -> #0.0 (png -> libx264) Press [q] to stop, [?] for help frame= 1800 fps= 15 q=-1.0 Lsize= 35021kB time=00:00:59.93 bitrate=4786.9kbits/s video:34994kB audio:0kB global headers:0kB muxing overhead 0.076605% ====================================================== For the second pass: carl at af:~/fractal$ ffmpeg -r 30 -i fracs/fractal%05d.png -i Midnight.mp3 -vcodec libx264 -b:v 4096k -acodec libfaac -ab 160k -t 60 -threads 0 -pass 2 preview.mp4 ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 03:55:48 with gcc 4.4.3 configuration: --enable-librtmp --enable-gpl --enable-shared --enable- nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- libvorbis --enable-libfaac --enable-libtheora --enable-libvpx libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, image2, from 'fracs/fractal%05d.png': Duration: 00:05:19.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24, 1440x900, 30 fps, 30 tbr, 30 tbn, 30 tbc [mp3 @ 0x9dd0780] max_analyze_duration 5000000 reached at 5015510 [mp3 @ 0x9dd0780] Estimating duration from bitrate, this may be inaccurate Input #1, mp3, from 'Midnight.mp3': Metadata: title : {Midnight} (ID: 60919) album : Newgrounds Audio Portal track : 01/01 artist : cornandbeans Duration: 00:05:18.88, start: 0.000000, bitrate: 95 kb/s Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s File 'preview.mp4' already exists. Overwrite ? [y/N] y w:1440 h:900 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param: [libx264 @ 0x9de7060] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x9de7060] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit [libx264 @ 0x9de7060] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=2pass mbtree=1 bitrate=4096 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'preview.mp4': Metadata: encoder : Lavf53.16.1 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), rgb24, 1440x900, q=-1 --1, pass 2, 4096 kb/s, 30 tbn, 30 tbc Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo, s16, 160 kb/s Stream mapping: Stream #0.0 -> #0.0 (png -> libx264) Stream #1.0 -> #0.1 (mp3 -> libfaac) Press [q] to stop, [?] for help frame= 1800 fps= 9 q=-1.0 Lsize= 30945kB time=00:00:59.93 bitrate=4229.7kbits/s video:29784kB audio:1114kB global headers:0kB muxing overhead 0.153548% =================================================== Finally, trying to probe: carl at af:~/fractal$ ffprobe preview.mp4 ffprobe version N-33758-gc4e02d3, Copyright (c) 2007-2011 the FFmpeg developers built on Oct 18 2011 03:55:48 with gcc 4.4.3 configuration: --enable-librtmp --enable-gpl --enable-shared --enable- nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- libvorbis --enable-libfaac --enable-libtheora --enable-libvpx libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 *** glibc detected *** ffprobe: free(): invalid pointer: 0xb605f020 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb6855591] /lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xb6856de8] /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb6859ecd] /usr/local/lib/libavutil.so.51(av_freep+0x12)[0xb6992ef2] ======= Memory map: ======== 08048000-08051000 r-xp 00000000 08:02 2496305 /usr/local/bin/ffprobe 08051000-08052000 r--p 00009000 08:02 2496305 /usr/local/bin/ffprobe 08052000-08053000 rw-p 0000a000 08:02 2496305 /usr/local/bin/ffprobe 08976000-08a62000 rw-p 00000000 00:00 0 [heap] ... There is lots more, and I can include the video source and output files. They are fairly large though. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:15:58 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:15:58 -0000 Subject: [FFmpeg-trac] #600(avcodec:open): Crash (segmentation fault) decoding a bad flac (my fix incl.) In-Reply-To: <033.7ede43bc6433d761aa82a976c5fd11c5@avcodec.org> References: <033.7ede43bc6433d761aa82a976c5fd11c5@avcodec.org> Message-ID: <048.73e6645c5faa6438eae8e9ecd2b61685@avcodec.org> #600: Crash (segmentation fault) decoding a bad flac (my fix incl.) -------------------------------------+------------------------------------- Reporter: BJoe | Owner: Type: defect | Status: open Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: flac crash | Blocked By: SIGSEGV | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => flac crash SIGSEGV * priority: normal => important * version: unspecified => git-master * status: new => open * reproduced: 0 => 1 Comment: Not reproducible on ia32. {{{ (gdb) r -i small-fileEEmUGd.flac -f null - Starting program: ffmpeg_g -i small-fileEEmUGd.flac -f null - [Thread debugging using libthread_db enabled] ffmpeg version N-34304-gc0dbab9, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 31 2011 10:08:50 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --disable-optimizations libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 26. 0 / 53. 26. 0 libavformat 53. 18. 0 / 53. 18. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 2 / 2. 45. 2 libswscale 2. 1. 0 / 2. 1. 0 Input #0, flac, from 'small-fileEEmUGd.flac': Metadata: track : 4 TITLE : Blackest Eyes ARTIST : Porcupine Tree ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL MIX] DATE : 2007 GENRE : Progressive Rock Duration: 00:05:33.69, bitrate: 736 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 Output #0, null, to 'pipe:': Metadata: track : 4 TITLE : Blackest Eyes ARTIST : Porcupine Tree ALBUM : 2007-10-26 New Orleans, LA (tooligan Matrix) [FINAL MIX] DATE : 2007 GENRE : Progressive Rock encoder : Lavf53.18.0 Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Stream mapping: Stream #0.0 -> #0.0 (flac -> pcm_s16le) Press [q] to stop, [?] for help [flac @ 0x14afaa0] overread: 266343 Error while decoding stream #0.0 size= -0kB time=00:00:04.73 bitrate= -0.0kbits/s Program received signal SIGSEGV, Segmentation fault. 0x000000000062d637 in get_ur_golomb_jpegls (gb=0x14a5368, k=9, limit=2147483647, esc_len=0) at libavcodec/golomb.h:306 306 UPDATE_CACHE(re, gb); (gdb) bt #0 0x000000000062d637 in get_ur_golomb_jpegls (gb=0x14a5368, k=9, limit=2147483647, esc_len=0) at libavcodec/golomb.h:306 #1 0x000000000062d72e in get_sr_golomb_flac (gb=0x14a5368, k=9, limit=2147483647, esc_len=0) at libavcodec/golomb.h:348 #2 0x000000000062dfa6 in decode_residuals (s=0x14a5340, channel=1, pred_order=6) at libavcodec/flacdec.c:274 #3 0x000000000062e42d in decode_subframe_lpc (s=0x14a5340, channel=1, pred_order=6) at libavcodec/flacdec.c:361 #4 0x000000000062e92b in decode_subframe (s=0x14a5340, channel=1) at libavcodec/flacdec.c:443 #5 0x000000000062ed1e in decode_frame (s=0x14a5340) at libavcodec/flacdec.c:533 #6 0x000000000062eed5 in flac_decode_frame (avctx=0x14afaa0, data=0x7ffff340b040, data_size=0x7fffffffc4ec, avpkt=0x7fffffffc4f0) at libavcodec/flacdec.c:583 #7 0x000000000084479b in avcodec_decode_audio3 (avctx=0x14afaa0, samples=0x7ffff340b040, frame_size_ptr=0x7fffffffc4ec, avpkt=0x7fffffffc4f0) at libavcodec/utils.c:875 #8 0x000000000040a1c5 in output_packet (ist=0x14b1000, ist_index=0, ost_table=0x14af6a0, nb_ostreams=1, pkt=0x7fffffffd910) at ffmpeg.c:1666 #9 0x000000000040de7f in transcode (output_files=0x14af910, nb_output_files=1, input_files=0x14b10d0, nb_input_files=1) at ffmpeg.c:2636 #10 0x00000000004149fb in main (argc=6, argv=0x7fffffffdde8) at ffmpeg.c:4506 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x62d617 to 0x62d657: 0x000000000062d617 : add %al,(%rax) 0x000000000062d619 : add %al,(%rax) 0x000000000062d61b : jmp 0x62d651 0x000000000062d61d : addl $0x1,-0x10(%rbp) 0x000000000062d621 : mov -0x30(%rbp),%rax 0x000000000062d625 : mov (%rax),%rax 0x000000000062d628 : mov %rax,%rdx 0x000000000062d62b : mov -0x10(%rbp),%eax 0x000000000062d62e : shr $0x3,%eax 0x000000000062d631 : mov %eax,%eax 0x000000000062d633 : lea (%rdx,%rax,1),%rax 0x000000000062d637 : mov (%rax),%eax 0x000000000062d639 : mov %eax,%edi 0x000000000062d63b : callq 0x62c9ba 0x000000000062d640 : mov -0x10(%rbp),%edx 0x000000000062d643 : and $0x7,%edx 0x000000000062d646 : mov %edx,%ecx 0x000000000062d648 : shl %cl,%eax 0x000000000062d64a : mov %eax,-0x14(%rbp) 0x000000000062d64d : addl $0x1,-0x18(%rbp) 0x000000000062d651 : mov -0x14(%rbp),%eax 0x000000000062d654 : mov $0x1,%esi End of assembler dump. (gdb) info register rax 0x4414ffd 71389181 rbx 0x0 0 rcx 0xffffffff 4294967295 rdx 0x32a51c8 53105096 rsi 0x1 1 rdi 0x0 0 rbp 0x7fffffffc0a0 0x7fffffffc0a0 rsp 0x7fffffffc060 0x7fffffffc060 r8 0x62ed62 6483298 r9 0x0 0 r10 0x22 34 r11 0x246 582 r12 0x405500 4216064 r13 0x7fffffffdde0 140737488346592 r14 0x0 0 r15 0x0 0 rip 0x62d637 0x62d637 eflags 0x10206 [ PF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:19:11 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:19:11 -0000 Subject: [FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file In-Reply-To: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> References: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> Message-ID: <052.c6817308c9d953f9c79731df2a1ff208@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: ffmpeg libx264 => Comment: Does the crash also happen if you add -vn or -an to the second encode? Is two-pass really necessary or can you produce a file that crashes with one pass only? Does only ffprobe crash or also ffmpeg -i preview.mp4 (or ffmpeg -i preview.mp4 -f null -)? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:20:31 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:20:31 -0000 Subject: [FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file In-Reply-To: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> References: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> Message-ID: <052.6c6426a6f2d5b6bacd459aaecf0014dc@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Description changed by cehoyos: Old description: > FFmpeg or libx264 or some combination of the two produces an invalid mp4 > that will crash ffprobe / probably others (VLC crashes on the file as > well). > > The source is a number of PNG images and the output is a 2 pass encoded > libx264 coded video. > > Here is the command line I used: > carl at af:~/fractal$ ffmpeg -r 30 -i fracs/fractal%05d.png -vcodec libx264 > -b:v 4096k -t 60 -threads 0 -pass 1 preview.mp4 > ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg > developers > built on Oct 18 2011 03:55:48 with gcc 4.4.3 > configuration: --enable-librtmp --enable-gpl --enable-shared --enable- > nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- > libvorbis -- > enable-libfaac --enable-libtheora --enable-libvpx > libavutil 51. 21. 0 / 51. 21. 0 > libavcodec 53. 21. 0 / 53. 21. 0 > libavformat 53. 16. 1 / 53. 16. 1 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 43. 7 / 2. 43. 7 > libswscale 2. 1. 0 / 2. 1. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > Input #0, image2, from 'fracs/fractal%05d.png': > Duration: 00:05:19.00, start: 0.000000, bitrate: N/A > Stream #0:0: Video: png, rgb24, 1440x900, 30 fps, 30 tbr, 30 tbn, 30 > tbc > File 'preview.mp4' already exists. Overwrite ? [y/N] y > w:1440 h:900 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param: > [libx264 @ 0x9121a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 > [libx264 @ 0x9121a80] profile High 4:4:4 Predictive, level 4.0, 4:4:4 > 8-bit > [libx264 @ 0x9121a80] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC > codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: > cabac=1 ref= > 1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 > mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 > deadzone=21,11 fast_pskip=1 > chroma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=1 > interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 > b_adapt=1 b_bias=0 dir > ect=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 > intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=4096 ratetol=1.0 > qcomp=0.6 > 0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 > Output #0, mp4, to 'preview.mp4': > Metadata: > encoder : Lavf53.16.1 > Stream #0:0: Video: h264 (![0][0][0] / 0x0021), rgb24, 1440x900, q=-1 > --1, pass 1, 4096 kb/s, 30 tbn, 30 tbc > Stream mapping: > Stream #0.0 -> #0.0 (png -> libx264) > Press [q] to stop, [?] for help > frame= 1800 fps= 15 q=-1.0 Lsize= 35021kB time=00:00:59.93 > bitrate=4786.9kbits/s > video:34994kB audio:0kB global headers:0kB muxing overhead 0.076605% > > ====================================================== > For the second pass: > > carl at af:~/fractal$ ffmpeg -r 30 -i fracs/fractal%05d.png -i Midnight.mp3 > -vcodec libx264 -b:v 4096k -acodec libfaac -ab 160k -t 60 -threads 0 > -pass 2 preview.mp4 > ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg > developers > built on Oct 18 2011 03:55:48 with gcc 4.4.3 > configuration: --enable-librtmp --enable-gpl --enable-shared --enable- > nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- > libvorbis --enable-libfaac --enable-libtheora --enable-libvpx > libavutil 51. 21. 0 / 51. 21. 0 > libavcodec 53. 21. 0 / 53. 21. 0 > libavformat 53. 16. 1 / 53. 16. 1 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 43. 7 / 2. 43. 7 > libswscale 2. 1. 0 / 2. 1. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > Input #0, image2, from 'fracs/fractal%05d.png': > Duration: 00:05:19.00, start: 0.000000, bitrate: N/A > Stream #0:0: Video: png, rgb24, 1440x900, 30 fps, 30 tbr, 30 tbn, 30 > tbc > [mp3 @ 0x9dd0780] max_analyze_duration 5000000 reached at 5015510 > [mp3 @ 0x9dd0780] Estimating duration from bitrate, this may be > inaccurate > Input #1, mp3, from 'Midnight.mp3': > Metadata: > title : {Midnight} (ID: 60919) > album : Newgrounds Audio Portal > track : 01/01 > artist : cornandbeans > Duration: 00:05:18.88, start: 0.000000, bitrate: 95 kb/s > Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s > File 'preview.mp4' already exists. Overwrite ? [y/N] y > w:1440 h:900 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param: > [libx264 @ 0x9de7060] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 > [libx264 @ 0x9de7060] profile High 4:4:4 Predictive, level 4.0, 4:4:4 > 8-bit > [libx264 @ 0x9de7060] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC > codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: > cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 > psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 > cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 > sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 > constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 > weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 > intra_refresh=0 rc_lookahead=40 rc=2pass mbtree=1 bitrate=4096 > ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 cplxblur=20.0 qblur=0.5 > ip_ratio=1.40 aq=1:1.00 > Output #0, mp4, to 'preview.mp4': > Metadata: > encoder : Lavf53.16.1 > Stream #0:0: Video: h264 (![0][0][0] / 0x0021), rgb24, 1440x900, q=-1 > --1, pass 2, 4096 kb/s, 30 tbn, 30 tbc > Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo, s16, > 160 kb/s > Stream mapping: > Stream #0.0 -> #0.0 (png -> libx264) > Stream #1.0 -> #0.1 (mp3 -> libfaac) > Press [q] to stop, [?] for help > frame= 1800 fps= 9 q=-1.0 Lsize= 30945kB time=00:00:59.93 > bitrate=4229.7kbits/s > video:29784kB audio:1114kB global headers:0kB muxing overhead 0.153548% > > > =================================================== > Finally, trying to probe: > > carl at af:~/fractal$ ffprobe preview.mp4 > ffprobe version N-33758-gc4e02d3, Copyright (c) 2007-2011 the FFmpeg > developers > built on Oct 18 2011 03:55:48 with gcc 4.4.3 > configuration: --enable-librtmp --enable-gpl --enable-shared --enable- > nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- > libvorbis --enable-libfaac --enable-libtheora --enable-libvpx > libavutil 51. 21. 0 / 51. 21. 0 > libavcodec 53. 21. 0 / 53. 21. 0 > libavformat 53. 16. 1 / 53. 16. 1 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 43. 7 / 2. 43. 7 > libswscale 2. 1. 0 / 2. 1. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > *** glibc detected *** ffprobe: free(): invalid pointer: 0xb605f020 *** > ======= Backtrace: ========= > /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb6855591] > /lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xb6856de8] > /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb6859ecd] > /usr/local/lib/libavutil.so.51(av_freep+0x12)[0xb6992ef2] > ======= Memory map: ======== > 08048000-08051000 r-xp 00000000 08:02 2496305 /usr/local/bin/ffprobe > 08051000-08052000 r--p 00009000 08:02 2496305 /usr/local/bin/ffprobe > 08052000-08053000 rw-p 0000a000 08:02 2496305 /usr/local/bin/ffprobe > 08976000-08a62000 rw-p 00000000 00:00 0 [heap] > > ... > > There is lots more, and I can include the video source and output files. > They are fairly large though. New description: FFmpeg or libx264 or some combination of the two produces an invalid mp4 that will crash ffprobe / probably others (VLC crashes on the file as well). The source is a number of PNG images and the output is a 2 pass encoded libx264 coded video. Here is the command line I used: {{{ carl at af:~/fractal$ ffmpeg -r 30 -i fracs/fractal%05d.png -vcodec libx264 -b:v 4096k -t 60 -threads 0 -pass 1 preview.mp4 ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 03:55:48 with gcc 4.4.3 configuration: --enable-librtmp --enable-gpl --enable-shared --enable- nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- libvorbis -- enable-libfaac --enable-libtheora --enable-libvpx libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, image2, from 'fracs/fractal%05d.png': Duration: 00:05:19.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24, 1440x900, 30 fps, 30 tbr, 30 tbn, 30 tbc File 'preview.mp4' already exists. Overwrite ? [y/N] y w:1440 h:900 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param: [libx264 @ 0x9121a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x9121a80] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit [libx264 @ 0x9121a80] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref= 1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 dir ect=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=4096 ratetol=1.0 qcomp=0.6 0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'preview.mp4': Metadata: encoder : Lavf53.16.1 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), rgb24, 1440x900, q=-1 --1, pass 1, 4096 kb/s, 30 tbn, 30 tbc Stream mapping: Stream #0.0 -> #0.0 (png -> libx264) Press [q] to stop, [?] for help frame= 1800 fps= 15 q=-1.0 Lsize= 35021kB time=00:00:59.93 bitrate=4786.9kbits/s video:34994kB audio:0kB global headers:0kB muxing overhead 0.076605% }}} ====================================================== For the second pass: {{{ carl at af:~/fractal$ ffmpeg -r 30 -i fracs/fractal%05d.png -i Midnight.mp3 -vcodec libx264 -b:v 4096k -acodec libfaac -ab 160k -t 60 -threads 0 -pass 2 preview.mp4 ffmpeg version N-33758-gc4e02d3, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 18 2011 03:55:48 with gcc 4.4.3 configuration: --enable-librtmp --enable-gpl --enable-shared --enable- nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- libvorbis --enable-libfaac --enable-libtheora --enable-libvpx libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, image2, from 'fracs/fractal%05d.png': Duration: 00:05:19.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24, 1440x900, 30 fps, 30 tbr, 30 tbn, 30 tbc [mp3 @ 0x9dd0780] max_analyze_duration 5000000 reached at 5015510 [mp3 @ 0x9dd0780] Estimating duration from bitrate, this may be inaccurate Input #1, mp3, from 'Midnight.mp3': Metadata: title : {Midnight} (ID: 60919) album : Newgrounds Audio Portal track : 01/01 artist : cornandbeans Duration: 00:05:18.88, start: 0.000000, bitrate: 95 kb/s Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s File 'preview.mp4' already exists. Overwrite ? [y/N] y w:1440 h:900 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param: [libx264 @ 0x9de7060] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x9de7060] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit [libx264 @ 0x9de7060] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=2pass mbtree=1 bitrate=4096 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'preview.mp4': Metadata: encoder : Lavf53.16.1 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), rgb24, 1440x900, q=-1 --1, pass 2, 4096 kb/s, 30 tbn, 30 tbc Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo, s16, 160 kb/s Stream mapping: Stream #0.0 -> #0.0 (png -> libx264) Stream #1.0 -> #0.1 (mp3 -> libfaac) Press [q] to stop, [?] for help frame= 1800 fps= 9 q=-1.0 Lsize= 30945kB time=00:00:59.93 bitrate=4229.7kbits/s video:29784kB audio:1114kB global headers:0kB muxing overhead 0.153548% }}} =================================================== Finally, trying to probe: {{{ carl at af:~/fractal$ ffprobe preview.mp4 ffprobe version N-33758-gc4e02d3, Copyright (c) 2007-2011 the FFmpeg developers built on Oct 18 2011 03:55:48 with gcc 4.4.3 configuration: --enable-librtmp --enable-gpl --enable-shared --enable- nonfree --enable-pthreads --enable-libx264 --enable-libmp3lame --enable- libvorbis --enable-libfaac --enable-libtheora --enable-libvpx libavutil 51. 21. 0 / 51. 21. 0 libavcodec 53. 21. 0 / 53. 21. 0 libavformat 53. 16. 1 / 53. 16. 1 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 7 / 2. 43. 7 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 *** glibc detected *** ffprobe: free(): invalid pointer: 0xb605f020 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb6855591] /lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xb6856de8] /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb6859ecd] /usr/local/lib/libavutil.so.51(av_freep+0x12)[0xb6992ef2] ======= Memory map: ======== 08048000-08051000 r-xp 00000000 08:02 2496305 /usr/local/bin/ffprobe 08051000-08052000 r--p 00009000 08:02 2496305 /usr/local/bin/ffprobe 08052000-08053000 rw-p 0000a000 08:02 2496305 /usr/local/bin/ffprobe 08976000-08a62000 rw-p 00000000 00:00 0 [heap] ... }}} There is lots more, and I can include the video source and output files. They are fairly large though. -- -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:22:18 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:22:18 -0000 Subject: [FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file In-Reply-To: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> References: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> Message-ID: <052.a2d500a50342ac6ee1e2f4eea2270242@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): And please upload preview.mp4 to http://www.datafilehost.com/ and post the download link here. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:26:33 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:26:33 -0000 Subject: [FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file In-Reply-To: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> References: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> Message-ID: <052.a7f7a5a73a2508cf289bcb994cef6d34@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by shifter1): Replying to [comment:1 cehoyos]: > Does the crash also happen if you add -vn or -an to the second encode? > Is two-pass really necessary or can you produce a file that crashes with one pass only? > Does only ffprobe crash or also ffmpeg -i preview.mp4 (or ffmpeg -i preview.mp4 -f null -)? Yes, it does crash with that command. I have uploaded a single pass version which crashes here: http://www.datafilehost.com/download- d595b7f9.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:37:55 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:37:55 -0000 Subject: [FFmpeg-trac] #588(avcodec:open): FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine In-Reply-To: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> References: <035.84dfd383b4c738ed8b5f021a95d816d6@avcodec.org> Message-ID: <050.3837c8112d93651e166a8151ee9e898b@avcodec.org> #588: FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine -------------------------------------+----------------------------------- Reporter: eiljoe | Owner: michael Type: defect | Status: open Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: win64 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by DonMoir): I've been able to determine it's not an alignment issue. Looks like a bad count or similiar and results in access violation. All I have is the raw assembly starting from avcodec_decode_video2 and can't tell you much more than this about it at the moment. Registers at time of crash: EAX = 0536F96C EBX = 00000053 ECX = 00000008 EDX = 0BC7116D ESI = 0000000A EDI = 000000A6 EIP = 0A3D8B84 ESP = 0536F8F0 EBP = 00000053 EFL = 00000297 EDX is bad in the 10th loop of the following: ESI contains the count 0A3D8A20 55 push ebp 0A3D8A21 57 push edi 0A3D8A22 56 push esi 0A3D8A23 53 push ebx 0A3D8A24 8B 5C 24 18 mov ebx,dword ptr [esp+18h] 0A3D8A28 85 DB test ebx,ebx 0A3D8A2A 0F 8E 5A 01 00 00 jle 0A3D8B8A 0A3D8A30 31 F6 xor esi,esi LOOP: 0A3D8A32 0F B6 3A movzx edi,byte ptr [edx] ; crash right here 0A3D8A35 0F B6 5A 01 movzx ebx,byte ptr [edx+1] 0A3D8A39 0F B6 6A FF movzx ebp,byte ptr [edx-1] 0A3D8A3D 01 FB add ebx,edi 0A3D8A3F 0F B6 7A 02 movzx edi,byte ptr [edx+2] 0A3D8A43 8D 1C DB lea ebx,[ebx+ebx*8] 0A3D8A46 01 EF add edi,ebp 0A3D8A48 29 FB sub ebx,edi ................... ................... ................... 0A3D8B4E 88 58 06 mov byte ptr [eax+6],bl 0A3D8B51 0F B6 7A 07 movzx edi,byte ptr [edx+7] 0A3D8B55 0F B6 5A 08 movzx ebx,byte ptr [edx+8] 0A3D8B59 0F B6 6A 06 movzx ebp,byte ptr [edx+6] 0A3D8B5D 01 FB add ebx,edi 0A3D8B5F 0F B6 7A 09 movzx edi,byte ptr [edx+9] 0A3D8B63 8D 1C DB lea ebx,[ebx+ebx*8] 0A3D8B66 03 54 24 14 add edx,dword ptr [esp+14h] 0A3D8B6A 01 EF add edi,ebp 0A3D8B6C 29 FB sub ebx,edi 0A3D8B6E 83 C3 08 add ebx,8 0A3D8B71 C1 FB 04 sar ebx,4 0A3D8B74 0F B6 9B 80 13 02 0B movzx ebx,byte ptr [ebx+0B021380h] 0A3D8B7B 88 58 07 mov byte ptr [eax+7],bl 0A3D8B7E 01 C8 add eax,ecx 0A3D8B80 3B 74 24 18 cmp esi,dword ptr [esp+18h] 0A3D8B84 0F 85 A8 FE FF FF jne 0A3D8A32 0A3D8B8A 5B pop ebx ..................... ..................... -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:42:47 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:42:47 -0000 Subject: [FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file In-Reply-To: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> References: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> Message-ID: <052.2bd2051aa5ae27de785efaa2071f3131@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:4 shifter1]: > I have uploaded a single pass version which crashes here: http://www.datafilehost.com/download-d595b7f9.html Works fine for me (ffplay and mplayer play preview.mp4 as expected), please update to latest git head. (Note that you are encoding to H264 RGB which is unusual and it is likely that most applications except MPlayer and FFmpeg do not support it. You may of course argue that -pix_fmt yuv420p should be made standard in this case.) {{{ $ md5sum preview.mp4 0ef0a6aee29e893d0928c7ffb3ea3e11 preview.mp4 $ ffmpeg -i preview.mp4 -f null - ffmpeg version N-34304-gc0dbab9, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 31 2011 10:34:46 with gcc 4.5.3 configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 26. 0 / 53. 26. 0 libavformat 53. 18. 0 / 53. 18. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 2 / 2. 45. 2 libswscale 2. 1. 0 / 2. 1. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'preview.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.16.1 Duration: 00:00:10.00, start: 0.000000, bitrate: 706 kb/s Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), gbr24p, 1440x900, 702 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc Metadata: creation_time : 1970-01-01 00:00:00 handler_name : [buffer @ 0x138b5e0] w:1440 h:900 pixfmt:gbr24p tb:1/1000000 sar:0/1 sws_param: Output #0, null, to 'pipe:': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.18.0 Stream #0:0(und): Video: rawvideo, gbr24p, 1440x900, q=2-31, 200 kb/s, 90k tbn, 30 tbc Metadata: creation_time : 1970-01-01 00:00:00 handler_name : Stream mapping: Stream #0.0 -> #0.0 (h264 -> rawvideo) Press [q] to stop, [?] for help frame= 300 fps=125 q=0.0 Lsize= -0kB time=00:00:10.00 bitrate= -0.0kbits/s video:0kB audio:0kB global headers:0kB muxing overhead -inf% }}} -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 10:53:07 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 09:53:07 -0000 Subject: [FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file In-Reply-To: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> References: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> Message-ID: <052.9ab362c4607b3482e92f268fa4ba076f@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by shifter1): Replying to [comment:5 cehoyos]: > Replying to [comment:4 shifter1]: > > I have uploaded a single pass version which crashes here: http://www.datafilehost.com/download-d595b7f9.html > > Works fine for me (ffplay and mplayer play preview.mp4 as expected), please update to latest git head. > (Note that you are encoding to H264 RGB which is unusual and it is likely that most applications except MPlayer and FFmpeg do not support it. You may of course argue that -pix_fmt yuv420p should be made standard in this case.) > {{{ > $ md5sum preview.mp4 > 0ef0a6aee29e893d0928c7ffb3ea3e11 preview.mp4 > $ ffmpeg -i preview.mp4 -f null - > ffmpeg version N-34304-gc0dbab9, Copyright (c) 2000-2011 the FFmpeg developers > built on Oct 31 2011 10:34:46 with gcc 4.5.3 > configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc > libavutil 51. 22. 0 / 51. 22. 0 > libavcodec 53. 26. 0 / 53. 26. 0 > libavformat 53. 18. 0 / 53. 18. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 45. 2 / 2. 45. 2 > libswscale 2. 1. 0 / 2. 1. 0 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'preview.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > creation_time : 1970-01-01 00:00:00 > encoder : Lavf53.16.1 > Duration: 00:00:10.00, start: 0.000000, bitrate: 706 kb/s > Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), gbr24p, 1440x900, 702 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc > Metadata: > creation_time : 1970-01-01 00:00:00 > handler_name : > [buffer @ 0x138b5e0] w:1440 h:900 pixfmt:gbr24p tb:1/1000000 sar:0/1 sws_param: > Output #0, null, to 'pipe:': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > creation_time : 1970-01-01 00:00:00 > encoder : Lavf53.18.0 > Stream #0:0(und): Video: rawvideo, gbr24p, 1440x900, q=2-31, 200 kb/s, 90k tbn, 30 tbc > Metadata: > creation_time : 1970-01-01 00:00:00 > handler_name : > Stream mapping: > Stream #0.0 -> #0.0 (h264 -> rawvideo) > Press [q] to stop, [?] for help > frame= 300 fps=125 q=0.0 Lsize= -0kB time=00:00:10.00 bitrate= -0.0kbits/s > video:0kB audio:0kB global headers:0kB muxing overhead -inf% > }}} Just pulled and recompiled. The error goes away in ff*, but persists in VLC. Oh well, I guess you can't have everything. Thanks for the help. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 11:10:18 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 10:10:18 -0000 Subject: [FFmpeg-trac] #601(undetermined:closed): ffmpeg / libx264 produces invalid MP4 file In-Reply-To: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> References: <037.45bd52e05675ad8cdc7b9fc6d9af2ace@avcodec.org> Message-ID: <052.d151f8cd1ec670cd31a6cd12bbeabb1c@avcodec.org> #601: ffmpeg / libx264 produces invalid MP4 file -------------------------------------+------------------------------------- Reporter: shifter1 | Owner: Type: defect | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: invalid Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => invalid Comment: Replying to [comment:6 shifter1]: > Replying to [comment:5 cehoyos]: > > Replying to [comment:4 shifter1]: > > Works fine for me (ffplay and mplayer play preview.mp4 as expected), please update to latest git head. > > (Note that you are encoding to H264 RGB which is unusual and it is likely that most applications except MPlayer and FFmpeg do not support it. You may of course argue that -pix_fmt yuv420p should be made standard in this case.) > Just pulled and recompiled. The error goes away in ff*, but persists in VLC. Oh well, I guess you can't have everything. I suspect you want to add -pix_fmt yuv420p to your command line to get a file every application can play. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 14:15:29 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 13:15:29 -0000 Subject: [FFmpeg-trac] #506(undetermined:closed): FFMPEG32 Windows Build CRASH In-Reply-To: <041.e715042621da3ea0df3b5bb4e04ab917@avcodec.org> References: <041.e715042621da3ea0df3b5bb4e04ab917@avcodec.org> Message-ID: <056.f93f65676b23f1a108c4a15865b1ef9c@avcodec.org> #506: FFMPEG32 Windows Build CRASH -------------------------------------+------------------------------------- Reporter: | Owner: michael plaguebreath | Status: closed Type: defect | Component: Priority: normal | undetermined Version: unspecified | Resolution: Keywords: | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info Comment: Please reopen if a sample is available to reproduce the problem. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 14:21:38 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 13:21:38 -0000 Subject: [FFmpeg-trac] #509(avcodec:new): Non monotonically increasing dts to muxer in stream In-Reply-To: <034.fd29d571f936aeacd544e5f0c0c93649@avcodec.org> References: <034.fd29d571f936aeacd544e5f0c0c93649@avcodec.org> Message-ID: <049.33640587bafb9907d6bdd1290c36f324@avcodec.org> #509: Non monotonically increasing dts to muxer in stream --------------------------------+----------------------------------- Reporter: Gagan | Owner: Type: defect | Status: new Priority: normal | Component: avcodec Version: 0.8.4 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+----------------------------------- Comment (by cehoyos): Please test current ffmpeg (the application), provide complete, uncut output and a sample. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 14:39:00 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 13:39:00 -0000 Subject: [FFmpeg-trac] #602(undetermined:new): feature request: movie sink for ffplay Message-ID: <039.6baf89da2c2202bbb9af36c2516c5210@avcodec.org> #602: feature request: movie sink for ffplay -------------------------------------+------------------------------------- Reporter: rogerdpack | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- The scenarios that would this attempt to handle better: 1) someone is recording from their webcam, wants to see the output as it is (simultaneously) recorded. 2) same thing, but they want to stream it, while it is being recorded, or the like. Basically this is a feature request to make ffplay/ffserver into "movie sink's" which I think would handle this. I'm mostly basing this from VLC, which can split and stream or convert or display (and since ffmpeg can split now, it might be nice to do the other things too): VLC: duplicate{dst=display} http://www.videolan.org/doc/streaming- howto/en/ch04.html Making ffserver programmable via command-line (as VLC's is) would be convenient, at times, too. Cheers! -roger- ref: http://ffmpeg.org/pipermail/ffmpeg-user/2011-October/002904.html -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 20:10:34 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 19:10:34 -0000 Subject: [FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5 In-Reply-To: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> References: <037.5e1bb2c72a9d4e81ef6891cd8ac442b0@avcodec.org> Message-ID: <052.5c69bd35cc19f095b9c6ad7486247e35@avcodec.org> #582: error on transcoding from h264 to MP4 with 0.8.5 -------------------------------------+------------------------------------- Reporter: graylion | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by reimar): > libavcodec/ratecontrol.c:696: ff_rate_estimate_qscale: Assertion `picture_numbernum_entries' failed. This means the second pass has been processing more frames than the first pass has recorded in the log file. Are you sure you did run the first pass with the same options and the 1st- pass logfile has not been corrupted? -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 20:19:11 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 19:19:11 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.f223f3825a262d978c433f442f53813b@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by reimar): Definitely OOM killer. If I am right that you run a 32 bit FFmpeg, please use a more reasonable swap size. With a 4 GB swap a 32 bit version will always allow to get a proper backtrace instead of invoking the OOM killer. In case of a 64 bit version you could set the memory ulimit to achieve a similar effect, however x264 using up several GB of RAM is not necessarily a bug, and I do not know what usual memory usage numbers are for which profile. -- Ticket URL: FFmpeg FFmpeg issue tracker From trac at avcodec.org Mon Oct 31 21:54:17 2011 From: trac at avcodec.org (FFmpeg) Date: Mon, 31 Oct 2011 20:54:17 -0000 Subject: [FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding In-Reply-To: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> References: <041.e9699d76b37758ec6729028488a96a67@avcodec.org> Message-ID: <056.da49aa52baf900fa4e2372d02c53479d@avcodec.org> #596: ffmpeg killed while encoding -------------------------------------+------------------------------------- Reporter: | Owner: benoit_friry | Status: new Type: defect | Component: Priority: normal | undetermined Version: 0.8.5 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by benoit_friry): {{{ $ file ffmpeg_g ffmpeg_g: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x9f7abf9f378f342a2bc75c4cd8e02f35cff6a8c8, not stripped $ ulimit unlimited }}} I have 2GB RAM and 1GB swap. Can you please explain what makes you think about a OOM? The program being killed without any bt is a good sign, but I don't see any memory saturation. VSZ does not exceed 150 MB. -- Ticket URL: FFmpeg FFmpeg issue tracker