Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #7561 > unrolled thread
| Started by | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| First post | 2013-03-22 23:14 +0000 |
| Last post | 2013-03-25 10:00 +1100 |
| Articles | 14 — 6 participants |
Back to article view | Back to comp.os.linux.misc
video transcoding softeater. The Natural Philosopher <tnp@invalid.invalid> - 2013-03-22 23:14 +0000
Re: video transcoding softeater. J G Miller <miller@yoyo.ORG> - 2013-03-22 23:56 +0000
Re: video transcoding softeater. The Natural Philosopher <tnp@invalid.invalid> - 2013-03-23 09:17 +0000
Re: video transcoding softeater. Johann Klammer <klammerj@NOSPAM.a1.net> - 2013-03-23 13:52 +0100
Re: video transcoding softeater. Chris Davies <chris-usenet@roaima.co.uk> - 2013-03-23 20:15 +0000
Re: video transcoding softeater. The Natural Philosopher <tnp@invalid.invalid> - 2013-03-24 10:49 +0000
Re: video transcoding softeater. SwissCheese <swisscheese@cfl.rr.com> - 2013-03-24 08:31 -0400
Re: video transcoding softeater. The Natural Philosopher <tnp@invalid.invalid> - 2013-03-24 14:58 +0000
Re: video transcoding softeater. Chris Davies <chris-usenet@roaima.co.uk> - 2013-03-24 14:29 +0000
Re: video transcoding softeater. The Natural Philosopher <tnp@invalid.invalid> - 2013-03-24 15:22 +0000
Re: video transcoding softeater. The Natural Philosopher <tnp@invalid.invalid> - 2013-03-24 15:53 +0000
Re: video transcoding softeater. The Natural Philosopher <tnp@invalid.invalid> - 2013-03-24 15:58 +0000
Re: video transcoding softeater. Chris Davies <chris-usenet@roaima.co.uk> - 2013-03-24 16:28 +0000
Re: video transcoding softeater. faeychild <faeychild@noname.afraid.org> - 2013-03-25 10:00 +1100
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-22 23:14 +0000 |
| Subject | video transcoding softeater. |
| Message-ID | <kiiol0$fmp$1@news.albasani.net> |
I record TV prtograms. They end up as .m2t files. I want to turn them into neat little mpgs and cxlean them up and even remove ads. The first step is to tidy up the execrable crap that seems to be brodcast. I now have 3 files that I can play, but do nothing else with because every single transcoding program I have tried cops out and say 'error'. ffmpeg. VLC projecttX what else is there to try? Oh and are there any GUI front ends that don't look like the flight deck of the starship enterprise that, say, autodetect what it is, and make sensible assumptions when you tell it what you want it to be? Or actually come with manuals or help systems that tell you what the 578 controls actually do and mean? -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [next] | [standalone]
| From | J G Miller <miller@yoyo.ORG> |
|---|---|
| Date | 2013-03-22 23:56 +0000 |
| Message-ID | <kiir3a$ee7$4@dont-email.me> |
| In reply to | #7561 |
On Friday, March 22nd, 2013, at 23:14:43h +0000, The Natural Philosopher wrote: > I record TV prtograms. > > They end up as .m2t files. > > I want to turn them into neat little mpgs and cxlean them up and even > remove ads. How about avidemux? Presumably .m2t is indicating an MPEG-2 transport stream. > every single transcoding program I have tried cops out and say 'error'. To what format and container do you want to transcode them? ffmpeg is, as far as I am aware, very picky about one using the correct command line flags specifying both the video type and audio type of the input file, so if those are wrong, it is not surpring you get "error".
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-23 09:17 +0000 |
| Message-ID | <kijrug$9lm$3@news.albasani.net> |
| In reply to | #7562 |
On 22/03/13 23:56, J G Miller wrote: > On Friday, March 22nd, 2013, at 23:14:43h +0000, > The Natural Philosopher wrote: > >> I record TV prtograms. >> >> They end up as .m2t files. >> >> I want to turn them into neat little mpgs and cxlean them up and even >> remove ads. > > How about avidemux? > > Presumably .m2t is indicating an MPEG-2 transport stream. > >> every single transcoding program I have tried cops out and say 'error'. > > To what format and container do you want to transcode them? > > ffmpeg is, as far as I am aware, very picky about one using the correct > command line flags specifying both the video type and audio type of the > input file, so if those are wrong, it is not surpring you get "error". > oh I dont get an immediate error. It gets halfway through.. -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Johann Klammer <klammerj@NOSPAM.a1.net> |
|---|---|
| Date | 2013-03-23 13:52 +0100 |
| Message-ID | <514da58d$0$2776$91cee783@newsreader04.highway.telekom.at> |
| In reply to | #7569 |
The Natural Philosopher wrote: > On 22/03/13 23:56, J G Miller wrote: >> On Friday, March 22nd, 2013, at 23:14:43h +0000, >> The Natural Philosopher wrote: >> >>> I record TV prtograms. >>> >>> They end up as .m2t files. >>> >>> I want to turn them into neat little mpgs and cxlean them up and even >>> remove ads. >> >> How about avidemux? >> >> Presumably .m2t is indicating an MPEG-2 transport stream. >> >>> every single transcoding program I have tried cops out and say 'error'. >> >> To what format and container do you want to transcode them? >> >> ffmpeg is, as far as I am aware, very picky about one using the correct >> command line flags specifying both the video type and audio type of the >> input file, so if those are wrong, it is not surpring you get "error". >> > oh I dont get an immediate error. > It gets halfway through.. > > Expect all that software to be broken to a certain degree... I've given up all transcoding efforts in the early 200x.
[toc] | [prev] | [next] | [standalone]
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Date | 2013-03-23 20:15 +0000 |
| Message-ID | <a3f12ax6p5.ln2@news.roaima.co.uk> |
| In reply to | #7561 |
The Natural Philosopher <tnp@invalid.invalid> wrote: > I record TV prtograms. > They end up as .m2t files. > I want to turn them into neat little mpgs and cxlean them up and even > remove ads. Do either of these help? http://ubuntuforums.org/showthread.php?t=1572473&page=2 http://duq.ca/duqamuq/?tag=ffmpeg Providing us your command line and the error that gets spat out would help tremdendously. Chris
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-24 10:49 +0000 |
| Message-ID | <kimloc$g7t$1@news.albasani.net> |
| In reply to | #7599 |
On 23/03/13 20:15, Chris Davies wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> I record TV prtograms.
>> They end up as .m2t files.
>
>> I want to turn them into neat little mpgs and cxlean them up and even
>> remove ads.
>
> Do either of these help?
>
> http://ubuntuforums.org/showthread.php?t=1572473&page=2
> http://duq.ca/duqamuq/?tag=ffmpeg
>
> Providing us your command line and the error that gets spat out would
> help tremdendously.
>
> Chris
>
Ok here you are. Personal details altered
ffmpeg -i ~/Videos/Robin\ Hood.m2t -ab 128 -ar 44100 -vn Robin\ Hood.mpg
ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012
the Libav developers
built on Jan 24 2013 18:01:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a
future release. Please use avconv instead.
[mpeg2video @ 0x19b0ec0] mpeg_decode_postinit() failure
Last message repeated 4 times
[mpegts @ 0x19ab9a0] max_analyze_duration reached
[NULL @ 0x19b3980] start time is not set in estimate_timings_from_pts
[NULL @ 0x19cf3c0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x19ab9a0] PES packet size mismatch
Input #0, mpegts, from '/home/leo/Videos/Robin Hood.m2t':
Duration: 02:36:10.37, start: 89877.835300, bitrate: 1850 kb/s
Program 27136
Stream #0.0[0x2bd]: Video: mpeg2video (Main), yuv420p, 544x576 [PAR
32:17 DAR 16:9], 15000 kb/s, 25.61 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x2be](eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
Stream #0.2[0x2c0](eng): Audio: mp3, 0 channels, s16 (visual impaired)
Stream #0.3[0x2bf](eng): Subtitle: dvbsub
File 'Robin Hood.mpg' already exists. Overwrite ? [y/N] y
The bitrate parameter is set too low.It takes bits/s as argument, not
kbits/s
Output #0, mpeg, to 'Robin Hood.mpg':
Metadata:
encoder : Lavf53.21.1
Stream #0.0(eng): Audio: mp2, 44100 Hz, stereo, s16, 0 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press ctrl-c to stop encoding
[NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s
Last message repeated 1 timesate= 3.4kbits/s
[mpegts @ 0x19ab9a0] Invalid timestamps stream=0, pts=707,
dts=8589924499, size=11045
[NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s
Last message repeated 3 timesate= 3.4kbits/s
[mpegts @ 0x19ab9a0] PES packet size mismatch
[mp2 @ 0x19b2f20] incomplete frame
Error while decoding stream #0.1
size= 3904kB time=9368.29 bitrate= 3.4kbits/s
video:0kB audio:3852kB global headers:0kB muxing overhead 1.337565%
..and there it aborts.
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | SwissCheese <swisscheese@cfl.rr.com> |
|---|---|
| Date | 2013-03-24 08:31 -0400 |
| Message-ID | <kimrja$53a$1@dont-email.me> |
| In reply to | #7615 |
On 03/24/2013 06:49 AM, The Natural Philosopher wrote: > On 23/03/13 20:15, Chris Davies wrote: >> The Natural Philosopher <tnp@invalid.invalid> wrote: >>> I record TV prtograms. >>> They end up as .m2t files. >> >>> I want to turn them into neat little mpgs and cxlean them up and even >>> remove ads. >> >> Do either of these help? >> >> http://ubuntuforums.org/showthread.php?t=1572473&page=2 >> http://duq.ca/duqamuq/?tag=ffmpeg >> >> Providing us your command line and the error that gets spat out would >> help tremdendously. >> >> Chris >> > > > Ok here you are. Personal details altered > > ffmpeg -i ~/Videos/Robin\ Hood.m2t -ab 128 -ar 44100 -vn Robin\ Hood.mpg > ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 > the Libav developers > built on Jan 24 2013 18:01:36 with gcc 4.6.3 > *** THIS PROGRAM IS DEPRECATED *** > This program is only provided for compatibility and will be removed in a > future release. Please use avconv instead. > [mpeg2video @ 0x19b0ec0] mpeg_decode_postinit() failure > Last message repeated 4 times > [mpegts @ 0x19ab9a0] max_analyze_duration reached > [NULL @ 0x19b3980] start time is not set in estimate_timings_from_pts > [NULL @ 0x19cf3c0] start time is not set in estimate_timings_from_pts > [mpegts @ 0x19ab9a0] PES packet size mismatch > Input #0, mpegts, from '/home/leo/Videos/Robin Hood.m2t': > Duration: 02:36:10.37, start: 89877.835300, bitrate: 1850 kb/s > Program 27136 > Stream #0.0[0x2bd]: Video: mpeg2video (Main), yuv420p, 544x576 [PAR > 32:17 DAR 16:9], 15000 kb/s, 25.61 fps, 25 tbr, 90k tbn, 50 tbc > Stream #0.1[0x2be](eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s > Stream #0.2[0x2c0](eng): Audio: mp3, 0 channels, s16 (visual impaired) > Stream #0.3[0x2bf](eng): Subtitle: dvbsub > File 'Robin Hood.mpg' already exists. Overwrite ? [y/N] y > The bitrate parameter is set too low.It takes bits/s as argument, not > kbits/s maybe this ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^? > Output #0, mpeg, to 'Robin Hood.mpg': > Metadata: > encoder : Lavf53.21.1 > Stream #0.0(eng): Audio: mp2, 44100 Hz, stereo, s16, 0 kb/s > Stream mapping: > Stream #0.1 -> #0.0 > Press ctrl-c to stop encoding > [NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s > Last message repeated 1 timesate= 3.4kbits/s > [mpegts @ 0x19ab9a0] Invalid timestamps stream=0, pts=707, > dts=8589924499, size=11045 > [NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s > Last message repeated 3 timesate= 3.4kbits/s > [mpegts @ 0x19ab9a0] PES packet size mismatch > [mp2 @ 0x19b2f20] incomplete frame > Error while decoding stream #0.1 > size= 3904kB time=9368.29 bitrate= 3.4kbits/s > video:0kB audio:3852kB global headers:0kB muxing overhead 1.337565% > > ...and there it aborts. > > > -- Norman Registered Linux user #461062 AMD64X2 6400+ Ubuntu 10.04 64bit
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-24 14:58 +0000 |
| Message-ID | <kin4aa$e73$1@news.albasani.net> |
| In reply to | #7619 |
On 24/03/13 12:31, SwissCheese wrote: > On 03/24/2013 06:49 AM, The Natural Philosopher wrote: >> On 23/03/13 20:15, Chris Davies wrote: >>> The Natural Philosopher <tnp@invalid.invalid> wrote: >>>> I record TV prtograms. >>>> They end up as .m2t files. >>> >>>> I want to turn them into neat little mpgs and cxlean them up and even >>>> remove ads. >>> >>> Do either of these help? >>> >>> http://ubuntuforums.org/showthread.php?t=1572473&page=2 >>> http://duq.ca/duqamuq/?tag=ffmpeg >>> >>> Providing us your command line and the error that gets spat out would >>> help tremdendously. >>> >>> Chris >>> >> >> >> Ok here you are. Personal details altered >> >> ffmpeg -i ~/Videos/Robin\ Hood.m2t -ab 128 -ar 44100 -vn Robin\ Hood.mpg >> ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 >> the Libav developers >> built on Jan 24 2013 18:01:36 with gcc 4.6.3 >> *** THIS PROGRAM IS DEPRECATED *** >> This program is only provided for compatibility and will be removed in a >> future release. Please use avconv instead. >> [mpeg2video @ 0x19b0ec0] mpeg_decode_postinit() failure >> Last message repeated 4 times >> [mpegts @ 0x19ab9a0] max_analyze_duration reached >> [NULL @ 0x19b3980] start time is not set in estimate_timings_from_pts >> [NULL @ 0x19cf3c0] start time is not set in estimate_timings_from_pts >> [mpegts @ 0x19ab9a0] PES packet size mismatch >> Input #0, mpegts, from '/home/leo/Videos/Robin Hood.m2t': >> Duration: 02:36:10.37, start: 89877.835300, bitrate: 1850 kb/s >> Program 27136 >> Stream #0.0[0x2bd]: Video: mpeg2video (Main), yuv420p, 544x576 [PAR >> 32:17 DAR 16:9], 15000 kb/s, 25.61 fps, 25 tbr, 90k tbn, 50 tbc >> Stream #0.1[0x2be](eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s >> Stream #0.2[0x2c0](eng): Audio: mp3, 0 channels, s16 (visual >> impaired) >> Stream #0.3[0x2bf](eng): Subtitle: dvbsub >> File 'Robin Hood.mpg' already exists. Overwrite ? [y/N] y >> The bitrate parameter is set too low.It takes bits/s as argument, not >> kbits/s > maybe this ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^? > Nope. it ignores that and starts transcoding, >> Output #0, mpeg, to 'Robin Hood.mpg': >> Metadata: >> encoder : Lavf53.21.1 >> Stream #0.0(eng): Audio: mp2, 44100 Hz, stereo, s16, 0 kb/s >> Stream mapping: >> Stream #0.1 -> #0.0 >> Press ctrl-c to stop encoding >> [NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s >> Last message repeated 1 timesate= 3.4kbits/s >> [mpegts @ 0x19ab9a0] Invalid timestamps stream=0, pts=707, >> dts=8589924499, size=11045 >> [NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s >> Last message repeated 3 timesate= 3.4kbits/s >> [mpegts @ 0x19ab9a0] PES packet size mismatch >> [mp2 @ 0x19b2f20] incomplete frame >> Error while decoding stream #0.1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is the problem. Broken audio channel I think. Same with avconv. Same message, same abort. >> size= 3904kB time=9368.29 bitrate= 3.4kbits/s >> video:0kB audio:3852kB global headers:0kB muxing overhead 1.337565% >> >> ...and there it aborts. >> >> >> > > -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Date | 2013-03-24 14:29 +0000 |
| Message-ID | <48f32axvnt.ln2@news.roaima.co.uk> |
| In reply to | #7615 |
The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 23/03/13 20:15, Chris Davies wrote:
>> The Natural Philosopher <tnp@invalid.invalid> wrote:
>>> I record TV prtograms. They end up as .m2t files.
>> Providing us your command line and the error that gets spat out would
>> help tremdendously.
> Ok here you are. Personal details altered
> ffmpeg -i ~/Videos/Robin\ Hood.m2t -ab 128 -ar 44100 -vn Robin\ Hood.mpg
> ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012
> the Libav developers
> built on Jan 24 2013 18:01:36 with gcc 4.6.3
> *** THIS PROGRAM IS DEPRECATED ***
> This program is only provided for compatibility and will be removed in a
> future release. Please use avconv instead.
I've managed to avoid this deprecation warning so far. But I know that
Debian's also switched to avconv so I guess I'll have to head that way
sooner or later.
> Input #0, mpegts, from '/home/leo/Videos/Robin Hood.m2t':
> Duration: 02:36:10.37, start: 89877.835300, bitrate: 1850 kb/s
> Program 27136
> Stream #0.0[0x2bd]: Video: mpeg2video (Main), yuv420p, 544x576 [PAR
> 32:17 DAR 16:9], 15000 kb/s, 25.61 fps, 25 tbr, 90k tbn, 50 tbc
> Stream #0.1[0x2be](eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
> Stream #0.2[0x2c0](eng): Audio: mp3, 0 channels, s16 (visual impaired)
> Stream #0.3[0x2bf](eng): Subtitle: dvbsub
This is the exciting stuff. You're using -vn to strip out the video,
which leaves the two audio channels. You haven't specified which one to
use so ffmpeg maps the first and ignores the second.
> The bitrate parameter is set too low.It takes bits/s as argument, not
> kbits/s
Ah! You've asked for an audio bitrate of 128 bits/second; you're more
likely to be expecting 128 kbit/sec, so you need "-ab 128k".
> Output #0, mpeg, to 'Robin Hood.mpg':
> Metadata:
> encoder : Lavf53.21.1
> Stream #0.0(eng): Audio: mp2, 44100 Hz, stereo, s16, 0 kb/s
Your 128 bits/sec audio stream is also shown here ("0 kb/s") ^^
> [NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s
> Last message repeated 1 timesate= 3.4kbits/s
> [mpegts @ 0x19ab9a0] Invalid timestamps stream=0, pts=707,
> dts=8589924499, size=11045
Not sure about this. I'm hoping for now it'll go away once you fix the
bitrate. If it doesn't please come back here with an update and I'll
dig some more. Most of my stuff doesn't record with errors, though,
so it's tricky for me to test any suggestions.
One of the more helpful ffmpeg pages out there is
http://howto-pages.org/ffmpeg/ which I would strongly recommend you
peruse. (When you have an hour or three.)
Chris
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-24 15:22 +0000 |
| Message-ID | <kin5mr$hjg$1@news.albasani.net> |
| In reply to | #7622 |
On 24/03/13 14:29, Chris Davies wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> On 23/03/13 20:15, Chris Davies wrote:
>>> The Natural Philosopher <tnp@invalid.invalid> wrote:
>>>> I record TV prtograms. They end up as .m2t files.
>
>>> Providing us your command line and the error that gets spat out would
>>> help tremdendously.
>
>> Ok here you are. Personal details altered
>> ffmpeg -i ~/Videos/Robin\ Hood.m2t -ab 128 -ar 44100 -vn Robin\ Hood.mpg
>> ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012
>> the Libav developers
>> built on Jan 24 2013 18:01:36 with gcc 4.6.3
>> *** THIS PROGRAM IS DEPRECATED ***
>> This program is only provided for compatibility and will be removed in a
>> future release. Please use avconv instead.
>
> I've managed to avoid this deprecation warning so far. But I know that
> Debian's also switched to avconv so I guess I'll have to head that way
> sooner or later.
>
>
>> Input #0, mpegts, from '/home/leo/Videos/Robin Hood.m2t':
>> Duration: 02:36:10.37, start: 89877.835300, bitrate: 1850 kb/s
>> Program 27136
>> Stream #0.0[0x2bd]: Video: mpeg2video (Main), yuv420p, 544x576 [PAR
>> 32:17 DAR 16:9], 15000 kb/s, 25.61 fps, 25 tbr, 90k tbn, 50 tbc
>> Stream #0.1[0x2be](eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
>> Stream #0.2[0x2c0](eng): Audio: mp3, 0 channels, s16 (visual impaired)
>> Stream #0.3[0x2bf](eng): Subtitle: dvbsub
>
> This is the exciting stuff. You're using -vn to strip out the video,
> which leaves the two audio channels. You haven't specified which one to
> use so ffmpeg maps the first and ignores the second.
>
>> The bitrate parameter is set too low.It takes bits/s as argument, not
>> kbits/s
>
> Ah! You've asked for an audio bitrate of 128 bits/second; you're more
> likely to be expecting 128 kbit/sec, so you need "-ab 128k".
>
>
>> Output #0, mpeg, to 'Robin Hood.mpg':
>> Metadata:
>> encoder : Lavf53.21.1
>> Stream #0.0(eng): Audio: mp2, 44100 Hz, stereo, s16, 0 kb/s
>
> Your 128 bits/sec audio stream is also shown here ("0 kb/s") ^^
>
>
>> [NULL @ 0x19cf3c0] Junk in packetate= 3.4kbits/s
>> Last message repeated 1 timesate= 3.4kbits/s
>> [mpegts @ 0x19ab9a0] Invalid timestamps stream=0, pts=707,
>> dts=8589924499, size=11045
>
> Not sure about this. I'm hoping for now it'll go away once you fix the
> bitrate.
Ok trying this and also the video, since what I want is a cleaned up
mpeg stream for archival. Or burning to DVD.
If it doesn't please come back here with an update and I'll
> dig some more. Most of my stuff doesn't record with errors, though,
> so it's tricky for me to test any suggestions.
>
Will do.
Unusual to find anyone who cares..
> One of the more helpful ffmpeg pages out there is
> http://howto-pages.org/ffmpeg/ which I would strongly recommend you
> peruse. (When you have an hour or three.)
>
yes..i had hoped that software would have been good enough not to have
to understand how to modulate the spark intensity on the plugs..to drive
the sodding car...:-)
> Chris
>
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-24 15:53 +0000 |
| Message-ID | <kin7i3$l5g$1@news.albasani.net> |
| In reply to | #7623 |
well after correcting the command line to fix audio bitrates and include
the video..
<snip lots of good stuff - 30 mins worth or so>
frame= 6965 fps=204 q=31.0 size= 12384kB time=277.79 bitrate=
365.2kbits/s dupframe= 7071 fps=204 q=31.0 size= 12584kB time=282.10
bitrate= 365.4kbits/s dupframe= 7173 fps=204 q=31.0 size= 12766kB
time=286.07 bitrate= 365.6kbits/s dup[mpeg2video @ 0x1edeec0] Warning
MVs not available25.95 bitrate= 421.8kbits/s dup=21 drop=0
[mpeg2video @ 0x1edeec0] concealing 1 DC, 1 AC, 1 MV errors
[NULL @ 0x1efd3c0] Junk in packet 261036kB time=4975.31 bitrate=
429.8kbits/s dup=21 drop=0
Last message repeated 1 times 290494kB time=5565.02 bitrate=
427.6kbits/s dup=21 drop=0
[mpegts @ 0x1ed99a0] Invalid timestamps stream=0, pts=707,
dts=8589924499, size=11045
[NULL @ 0x1efd3c0] Junk in packet 296266kB time=5690.85 bitrate=
426.5kbits/s dup=21 drop=0
Last message repeated 3 times 415556kB time=7966.67 bitrate=
427.3kbits/s dup=21 drop=0
[mpeg2video @ 0x1edeec0] Warning MVs not available
[mpeg2video @ 0x1edeec0] concealing 3 DC, 3 AC, 3 MV errors
[mpegts @ 0x1ed99a0] PES packet size mismatchime=9364.30 bitrate=
444.5kbits/s dup=21 drop=0
[mpeg2video @ 0x1edeec0] concealing 578 DC, 578 AC, 578 MV errors
[mp2 @ 0x1ee0f20] incomplete frame
Error while decoding stream #0.1
frame=234262 fps=184 q=31.0 Lsize= 508292kB time=9368.29 bitrate=
444.5kbits/s dup=21 drop=0
video:356995kB audio:146380kB global headers:0kB muxing overhead 0.976855%
And there it dies. I think. Total file size 520MB where source file is
2.2GB..
I'll check whether it actually completed in a half hour or so. My wife
is insisting that I play the 'flying burrito brothers' on the computer
and that's taking up the media play software..
But I think its crapped out at the same place for the same reason..
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-03-24 15:58 +0000 |
| Message-ID | <kin7q9$l5g$2@news.albasani.net> |
| In reply to | #7625 |
On 24/03/13 15:53, The Natural Philosopher wrote: > well after correcting the command line to fix audio bitrates and include > the video.. > <snip lots of good stuff - 30 mins worth or so> > > frame= 6965 fps=204 q=31.0 size= 12384kB time=277.79 bitrate= > 365.2kbits/s dupframe= 7071 fps=204 q=31.0 size= 12584kB time=282.10 > bitrate= 365.4kbits/s dupframe= 7173 fps=204 q=31.0 size= 12766kB > time=286.07 bitrate= 365.6kbits/s dup[mpeg2video @ 0x1edeec0] Warning > MVs not available25.95 bitrate= 421.8kbits/s dup=21 drop=0 > [mpeg2video @ 0x1edeec0] concealing 1 DC, 1 AC, 1 MV errors > [NULL @ 0x1efd3c0] Junk in packet 261036kB time=4975.31 bitrate= > 429.8kbits/s dup=21 drop=0 > Last message repeated 1 times 290494kB time=5565.02 bitrate= > 427.6kbits/s dup=21 drop=0 > [mpegts @ 0x1ed99a0] Invalid timestamps stream=0, pts=707, > dts=8589924499, size=11045 > [NULL @ 0x1efd3c0] Junk in packet 296266kB time=5690.85 bitrate= > 426.5kbits/s dup=21 drop=0 > Last message repeated 3 times 415556kB time=7966.67 bitrate= > 427.3kbits/s dup=21 drop=0 > [mpeg2video @ 0x1edeec0] Warning MVs not available > [mpeg2video @ 0x1edeec0] concealing 3 DC, 3 AC, 3 MV errors > [mpegts @ 0x1ed99a0] PES packet size mismatchime=9364.30 bitrate= > 444.5kbits/s dup=21 drop=0 > [mpeg2video @ 0x1edeec0] concealing 578 DC, 578 AC, 578 MV errors > [mp2 @ 0x1ee0f20] incomplete frame > Error while decoding stream #0.1 > frame=234262 fps=184 q=31.0 Lsize= 508292kB time=9368.29 bitrate= > 444.5kbits/s dup=21 drop=0 > video:356995kB audio:146380kB global headers:0kB muxing overhead 0.976855% > > > And there it dies. I think. Total file size 520MB where source file is > 2.2GB.. > > I'll check whether it actually completed in a half hour or so. My wife > is insisting that I play the 'flying burrito brothers' on the computer > and that's taking up the media play software.. > > > But I think its crapped out at the same place for the same reason.. > > MM if you want the source file I could probably post it up somewhere to download.. -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Date | 2013-03-24 16:28 +0000 |
| Message-ID | <j6m32ax658.ln2@news.roaima.co.uk> |
| In reply to | #7626 |
The Natural Philosopher <tnp@invalid.invalid> wrote: > MM if you want the source file I could probably post it up somewhere to > download.. Email me (reply-to is valid). I'm heading out now for the evening but I can pick it up either late tonight to else some point tomorrow - let me know if there's a time I shouldn't do so. Chris
[toc] | [prev] | [next] | [standalone]
| From | faeychild <faeychild@noname.afraid.org> |
|---|---|
| Date | 2013-03-25 10:00 +1100 |
| Message-ID | <kio0ds$khj$1@dont-email.me> |
| In reply to | #7561 |
The Natural Philosopher wrote: > I record TV prtograms. > > They end up as .m2t files. > I want to turn them into neat little mpgs and cxlean them up and even > remove ads. > > The first step is to tidy up the execrable crap that seems to be brodcast. > > I now have 3 files that I can play, but do nothing else with because > every single transcoding program I have tried cops out and say 'error'. > > ffmpeg. > VLC > projecttX Have you tried the forum? http://ffmpeg.gusari.org/ -- faeychild Mandriva Linux release 2010.2 (Official) for i586 Running KDE 4.4.5 on 2.6.36.2-desktop-2mnb kernel.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.misc
csiph-web