On 08/05/11 19:02, LouL wrote: > Please show your ffmpeg command and the complete terminal output. We > need to be able to duplicate your issue and can't do that without this > information. > > ** Changed in: ffmpeg (Ubuntu) > Status: New => Incomplete > I have an flv file downloaded from BBC using get_iplayer. Its metadata is
INFO: Metadata: INFO: duration 3568.13 INFO: moovPosition 32.00 INFO: width 832.00 INFO: height 468.00 INFO: videocodecid avc1 INFO: audiocodecid mp4a INFO: avcprofile 77.00 INFO: avclevel 30.00 INFO: aacaot 2.00 INFO: videoframerate 25.00 INFO: audiosamplerate 24000.00 INFO: audiochannels 2.00 INFO: trackinfo: INFO: length 89201000.00 INFO: timescale 25000.00 INFO: language eng INFO: sampledescription: INFO: sampletype avc1 INFO: length 85635072.00 INFO: timescale 24000.00 INFO: language eng INFO: sampledescription: INFO: sampletype mp4a This is converted to mkv using ffmpeg's copy facility ffmpeg -i <input_file.flv> -vcodec copy -acodec copy <outfile.mkv> the headers of the mkv file then read + EBML head |+ EBML version: 1 |+ EBML read version: 1 |+ EBML maximum ID length: 4 |+ EBML maximum size length: 8 |+ Doc type: matroska |+ Doc type version: 2 |+ Doc type read version: 2 + Segment, size 668733161 |+ Seek head (subentries will be skipped) |+ EbmlVoid (size: 145) |+ Segment information | + Timecode scale: 1000000 | + Muxing application: Lavf52.64.2 | + Writing application: Lavf52.64.2 | + Segment UID: 0x0f 0xc3 0xb5 0x94 0x2d 0xe9 0x2d 0x20 0x40 0x93 0x1d 0x48 0xd1 0x6e 0x14 0x3d | + Duration: 3568.127s (00:59:28.127) |+ Segment tracks | + A track | + Track number: 1 | + Track UID: 1 | + Lacing flag: 0 | + Language: und | + Codec ID: V_MPEG4/ISO/AVC | + Track type: video | + Default duration: 1.000ms (1000.000 fps for a video track) | + Video track | + Pixel width: 832 | + Pixel height: 468 | + Display width: 832 | + Display height: 468 | + CodecPrivate, length 70 (h.264 profile: Main @L3.0) | + A track | + Track number: 2 | + Track UID: 2 | + Lacing flag: 0 | + Language: und | + Codec ID: A_AAC | + Track type: audio | + Audio track | + Channels: 2 | + Sampling frequency: 24000 | + CodecPrivate, length 2 |+ Cluster see the default duration data in particular. This wont run on WDTV ! I am getting around by using mkvmerge -o <newfile.mkv> --default-duration 1:40ms --compression 1:none <oldfile.mkv hope this helps. regards Andy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/779535 Title: mkv default duration is 1ms -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
