Carl, if you don't mind, I see a similar problem with wmv files. I used this sample file: http://techslides.com/demos/samples/sample.wmv
The trick with mp4, -vbsf dump_extra, did nothing in this case. I am getting a non-playable transport stream file after converting it, here is the console trace. Any ideas here? Thanks in advance! /Fredrik $ wget http://techslides.com/demos/samples/sample.wmv --2016-11-23 11:28:00-- http://techslides.com/demos/samples/sample.wmv Resolving techslides.com (techslides.com)... 107.170.15.66 Connecting to techslides.com (techslides.com)|107.170.15.66|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 554297 (541K) [video/x-ms-wmv] Saving to: ‘sample.wmv’ sample.wmv 100%[===============================================>] 541,31K 929KB/s in 0,6s 2016-11-23 11:28:01 (929 KB/s) - ‘sample.wmv’ saved [554297/554297] $ mediainfo sample.wmv General Complete name : sample.wmv Format : Windows Media File size : 541 KiB Duration : 5s 587ms Overall bit rate : 794 Kbps Maximum Overall bit rate : 1 024 Kbps Encoded date : UTC 1970-01-01 00:00:00.000 WM/EncodingSettings : Lavf52.103.0 Video ID : 1 Format : WMV2 Codec ID : WMV2 Codec ID/Info : Windows Media Video 8 Description of the codec : wmv2 Duration : 5s 600ms Bit rate : 529 Kbps Width : 320 pixels Height : 240 pixels Display aspect ratio : 4:3 Frame rate : 30.000 fps Bit depth : 8 bits Bits/(Pixel*Frame) : 0.230 Stream size : 362 KiB (67%) Audio ID : 2 Format : WMA Format version : Version 2 Codec ID : 161 Codec ID/Info : Windows Media Audio Description of the codec : Windows Media Audio V8 Duration : 5s 587ms Bit rate : 224 Kbps Channel(s) : 1 channel Sampling rate : 48.0 KHz Bit depth : 16 bits Stream size : 153 KiB (28%) $ ffmpeg -i sample.wmv -codec copy sample.ts ffmpeg version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Guessed Channel Layout for Input Stream #0.1 : mono Input #0, asf, from 'sample.wmv': Metadata: encoder : Lavf52.103.0 Duration: 00:00:05.59, start: 0.000000, bitrate: 793 kb/s Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 320x240, 30 fps, 30 tbr, 1k tbn, 1k tbc Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 1 channels, fltp, 224 kb/s Output #0, mpegts, to 'sample.ts': Metadata: encoder : Lavf56.40.101 Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 320x240, q=2-31, 30 fps, 30 tbr, 90k tbn, 1k tbc Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono, 224 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 166 fps=0.0 q=-1.0 Lsize= 577kB time=00:00:05.58 bitrate= 846.2kbits/s video:353kB audio:153kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 14.101769% $ mediainfo sample.ts General ID : 1 (0x1) Complete name : sample.ts Format : MPEG-TS File size : 577 KiB Duration : 3s 333ms Overall bit rate : 910 Kbps Menu ID : 4096 (0x1000) Menu ID : 1 (0x1) Duration : 3s 333ms List : 256 (0x100) () / 257 (0x101) () Service name : Service01 Service provider : FFmpeg Service type : digital television $ ffplay sample.ts ffplay version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2003-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Input #0, mpegts, from 'sample.ts':0KB vq= 0KB sq= 0B f=0/0 Duration: 00:00:05.54, start: 1.400000, bitrate: 852 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Data: bin_data ([6][0][0][0] / 0x0006) Stream #0:1[0x101]: Data: bin_data ([6][0][0][0] / 0x0006) Failed to open file 'sample.ts' or configure filtergraph nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 $ On Tue, Nov 8, 2016 at 6:48 PM, Fredrik Persson <[email protected] > wrote: > This works perfectly, thank you Carl! > > /Fredrik Persson > > On Tue, Nov 8, 2016 at 12:09 PM, Carl Eugen Hoyos <[email protected]> > wrote: > >> 2016-11-07 17:21 GMT+01:00 Fredrik Persson <[email protected]>: >> >> > ffmpeg -i big-mpeg4.mp4 -codec copy big-mpeg4.ts >> >> Needs -vbsf dump_extra >> >> For future questions: Please remember to always provide >> the command line that allows to reproduce your issue >> together with the complete, uncut console output and >> please read https://ffmpeg.org/contact.html again. >> >> Carl Eugen >> _______________________________________________ >> ffmpeg-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> [email protected] with subject "unsubscribe". > > > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
